Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/13/04 09:15
Read: times


 
#77309 - RE: Microwire and SPI
Responding to: ???'s previous message
I've read this fine article on www.ucproc.com, but there is one thing that made me a bit confused (at first). But it's actually OK:

CPHA determines on which clock edges data is shifted in and out (CPHA=0 MOSI data is shifted out on falling edge, MISO data is shifted in on rising edge).

We know that MOSI stands for MasterOut-SlaveIn, and MISO MasterIn-SlaveOut. One could think that data from master and from slave change at different edges, which is not true, they change simultaneously, on the same clock edge. But from the aspect of only master (or only a slave as well), the data output (shift out) happens on one edge, and data input (shift in, or reading) happens on the other - when the line is stable.

That's my little remark, I hope it can help a little to those without experience in SPI.

Regards, Slobodan

List of 4 messages in thread
TopicAuthorDate
Microwire and SPI            01/01/70 00:00      
   RE: Microwire and SPI            01/01/70 00:00      
      Previously on 8052.com...            01/01/70 00:00      
      RE: Microwire and SPI            01/01/70 00:00      

Back to Subject List