Jump to content


Photo

SPI protocol


  • Please log in to reply
2 replies to this topic

#1 Hannes

Hannes

    Junior Member

  • Members
  • PipPip
  • 2 posts

Posted 09 January 2004 - 02:36 PM

I'm searching for notes/instructions about the SPI protocol from motorola.

Please help.

#2 marke

marke

    Posting Freak

  • Moderator
  • PipPipPipPipPipPip
  • 2,651 posts
  • Gender:Male
  • Location:Christchurch, New Zealand

Posted 11 January 2004 - 01:27 AM

Hello Hannes

Welcome to the forum.
Unlike the I2C bus, there is no real protocol for the SPI bus.

Essentially, you have a clock line, a data line and an enable line. If you wish to send a byte to a peripheral, you pull is /SS line low, and then clock the data into it using the data and clock lines.
Any addressing, must be done by hardware. i.e. if you have a number of peripheral devices, you need to control the /SS lines independantly whereas with the I2C system, you send the address and then the data complete with start and stop bits.
The SPI requires more addressing logic (or more pins) than the I2C but it can transfer the data quicker. For multiple peripheral devices, the I2C bus requires less interconnection lines. I2C devices also include a higher level of digital filtering on their inputs making them more immune to noise than the SPI devices.

Does this help??

Best regards,

#3 Hannes

Hannes

    Junior Member

  • Members
  • PipPip
  • 2 posts

Posted 14 January 2004 - 05:36 PM

Yes it helps!
Thank you




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users