??? 02/27/07 07:58 Read: times |
#133775 - I agree with you, Erik Responding to: ???'s previous message |
Yes. But you have to reverse the bit order of the data, because SPI is MS bit first, instead UART is LS bit first.
Possible? Reverse the bit order of the data before it is supplied to the UART. Usually, a 256-bytes look-up table is used. but why not do it the easy way? I agree with you, Erik. Even if the UART is applied, the procedure is still complicated. Programmer have to ensure that this messy procedure works fine. He must concentrate his effort on the body of the job, instead of this kind of trivial matter, which is solved just by on-chip SPI peripheral. Tsuneo |
Topic | Author | Date |
at89c4051/at89c52 SPI | 01/01/70 00:00 | |
Bit-bang I'll bet | 01/01/70 00:00 | |
mcp42010 datasheet | 01/01/70 00:00 | |
spi bit banging | 01/01/70 00:00 | |
SPI Interface Is 16-Bit | 01/01/70 00:00 | |
SPI Interface Is 16-Bit | 01/01/70 00:00 | |
Reverse the bit order | 01/01/70 00:00 | |
why not do it the easy way ? | 01/01/70 00:00 | |
I agree with you, Erik | 01/01/70 00:00 | |
Usually? | 01/01/70 00:00 | |
Thanks Andy, | 01/01/70 00:00 | |
Reverse the bit order | 01/01/70 00:00 | |
bit banging | 01/01/70 00:00 | |
that is the easy part | 01/01/70 00:00 | |
project requirement![]() | 01/01/70 00:00 |