??? 07/05/11 02:39 Read: times Msg Score: -1 -1 Answer is Wrong |
#182803 - tell us, Per, what data types does SPI support? Responding to: ???'s previous message |
Doesn't SPI have both commands and data? That's the reason I don't try to use it unless I have to use an SPI-compatible device. I haven't used it in several years, but it seems to me there IS an overlying protocol. Unlike a 74HC595, you have to tell the device what to do.
I'd refer you to http://en.wikipedia.org/wiki/Seri...erface_Bus to start out. While it may be possible to make some SPI masters drive some ttl-lookalike SIPO registers, it's not likely you'll make it work with all of them. After all, you have to tell the slave whether it's receiving data from the master or transmitting it. That's done by means of a command. You also have to tell it something about the clock data relationship ... and that's not all ... RE |