Difference between I2C and SPI

Author
lynal
Starting Member
  • Total Posts : 37
  • Reward points : 0
  • Joined: 2007/01/26 03:08:29
  • Location: 0
  • Status: offline
2007/03/22 00:46:51 (permalink)
0

Difference between I2C and SPI

Hello guys !
 
I'd like to know what's the main difference between I2C and SPI, advantages and disadvantage of each, because I didn't find enough information about SPI.
 
Thanks
#1

4 Replies Related Threads

    Artic
    Super Member
    • Total Posts : 2288
    • Reward points : 0
    • Joined: 2004/06/17 06:21:59
    • Location: Wales now in Sofia,BG
    • Status: offline
    RE: Difference between I2C and SPI 2007/03/22 01:08:02 (permalink)
    0
    Hi,
    I'd like to know what's the main difference between I2C and SPI, advantages and disadvantage of each, because I didn't find enough information about SPI.
    ..really? no information?? wow! I've just done a search on the web for..
    "SPI Bus Specification" and got 500,000+ websites.
    "I2C Bus Specification" and got 250,000+ websites.
    It might help to change your search engine you are using...
     
    There is not really a "controlled" generic SPI bus specification - but each manufacturer that uses the SPI bus usually provides an SPI specification for their own SPI bus interface (even Microchip have a few application notes on this subject)
     
    For the I2C bus - this is very much controlled by Philips (or whatever they are called this week!).
    The spec can be found here...http://www.nxp.com/acrobat_download/literature/9398/39340011.pdf
     
    Cheers
    Artic
    #2
    zac79x
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2006/11/06 07:34:26
    • Location: Italy
    • Status: offline
    RE: Difference between I2C and SPI 2007/03/22 13:50:51 (permalink)
    0
    As a good advantage on I2C side i would suggest the possibility of multi-slave and multi-master comunication, if i'm not wrong the SPI has not this capability. As Artic states there's a lot of info....
    #3
    DarioG
    humans, die, please
    • Total Posts : 53231
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: porcodioland
    • Status: offline
    RE: Difference between I2C and SPI 2007/03/22 14:03:29 (permalink)
    0
    It's an interesting point, I guess that SPI can be multi-master and multi-slave too, provided enough CS (bidirectional?) are provided.
    Indeed I2C has (may have) such capabilities embedded. At the expense of lower speed.

    if only every single human would die...

    flooding around turin! :D

    #4
    zac79x
    Starting Member
    • Total Posts : 69
    • Reward points : 0
    • Joined: 2006/11/06 07:34:26
    • Location: Italy
    • Status: offline
    RE: Difference between I2C and SPI 2007/03/25 15:04:35 (permalink)
    0
    Yes Dario, i think you have touched the 2 most important things:
    SPI can be very fast but needs CS (for example SD card at 25mhz)
    I2C is lower in speed but doesn't need CS

    #5
    Jump to:
    © 2018 APG vNext Trial Version 4.5