SPI versus I2C

Started by David Sousa Mendes April 14, 2007
Hello fellows
Even though a bit out of context:
I'm finding some difficulties with learning the SPI protocol...
Some of my basic questions:
1- Did any of you set two machines talking via SPI?
2- What are the differences/ ressemblances with I2C?
3- Why must the commands be sent in hexadecimal?! It's so NOT practical...
4 - Any sites/pdf with easy to understand tricks and first steps?
5- The machine with which I need to talk has the following interfaces: SPI/QSPI... Does this include I2C?

Cheers!

David M.
I2c is addressed. Or every device is addressed to talk to it and it is one direction at a time
http://www.embedded.com/story/OEG20010718S0073

SPI Your need to toggle one on at a time but it can TX and RX at the same time.
With every device you need to use an output from the master to the slave to talk to it.
http://www.embedded.com/story/OEG20020124S0116

hope this helps

David Sousa Mendes wrote:
Hello fellows
Even though a bit out of context:
I'm finding some difficulties with learning the SPI protocol...
Some of my basic questions:
1- Did any of you set two machines talking via SPI?
2- What are the differences/ ressemblances with I2C?
3- Why must the commands be sent in hexadecimal?! It's so NOT practical...
4 - Any sites/pdf with easy to understand tricks and first steps?
5- The machine with which I need to talk has the following interfaces: SPI/QSPI... Does this include I2C?

Cheers!

David M.



---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.