Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | SPI versus I2C

Discussion forum for the BasicX family of microcontroller chips.

SPI versus I2C - David Sousa Mendes - Apr 14 15:52:21 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.

[Non-text portions of this message have been removed]


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: SPI versus I2C - Mechatronics At Camden CC - Jul 5 23:53:02 2007

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.

[Non-text portions of this message have been removed]

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

[Non-text portions of this message have been removed]


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )