Re: The perfect part except ...




mhahn@xxxxxxxxxx wrote:
>
> Lewin's right about the speed tradeoff, but doing a uart in software is
> a lot harder than doing a SPI interface in software.

"Harder" in the sense of "more difficult" or in the sense of "occupying
more resources on the uC"?

Yes, it's "harder" to write an asynchronous soft-UART than it is to
implement synchronous serial protocols. However, if one can't get it
working inside one, perhaps two days at most, then someone else should
be writing the code :)

Considering the data volumes, the uC is going to spend a lot more time
executing SPI code vs. soft-async-UART code.

.