+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Full Member level 1
    Points: 1,747, Level: 9

    Join Date
    Sep 2008
    Location
    Chennai, INDIA
    Posts
    117
    Helped
    3 / 3
    Points
    1,747
    Level
    9

    Application level differences between I2C and SPI

    could anyone explain some application level diff btwn I2C and SPI. i am not asking abt the structure difference.

    Thnx in advance......

    •   Alt3rd October 2008, 08:18

      advertising

        
       

  2. #2
    Advanced Member level 1
    Points: 5,871, Level: 18

    Join Date
    Dec 2005
    Posts
    466
    Helped
    27 / 27
    Points
    5,871
    Level
    18

    spi vs i2c

    for a high speed short distance(same PCB) I2C would be best...
    and for a few distance away, with less speed on data transmission, use SPI...


    2 members found this post helpful.

    •   Alt3rd October 2008, 08:24

      advertising

        
       

  3. #3
    Full Member level 4
    Points: 3,209, Level: 13

    Join Date
    Dec 2005
    Posts
    202
    Helped
    19 / 19
    Points
    3,209
    Level
    13

    difference between i2c and spi

    Quote Originally Posted by dhanraj_kmr
    could anyone explain some application level diff btwn I2C and SPI. i am not asking abt the structure difference.

    Thnx in advance......
    In I2C the programmer has to write clock transitions for reading/writing data..
    It is not required in SPI.



    •   Alt3rd October 2008, 10:11

      advertising

        
       

  4. #4
    Junior Member level 1
    Points: 1,577, Level: 9

    Join Date
    Apr 2006
    Location
    Romania
    Posts
    16
    Helped
    3 / 3
    Points
    1,577
    Level
    9

    i2c versus spi

    The SPI means Serial Pheripheals Interface and is sincronous serial with a posibity to program how to operate. The speed can be set from very low to very high (10Mbit/s). Usualy SPI is used for high speed transfer of data between two equipement. The stardard does not support addresing so if you connect more that one device you have to handle this in your sw conform how the hw was made. The hw uses 4 wires (1 - CLK, 2- DataIn, 3 -DataOut, 4 - CS).

    The I2C (was develop by Philips) and means Interconect Integrated Circuit and is used to comunicate, on the same board, two or more devices. The protocol support addressing (7bit) and the user can check in the sw if a slave is present on the bus or not The ususaly speed is 100K and 400K and for fast devices 1M. The hw uses only 2 wires (1 - CLK, 2 - Data(bidirectional).

    I hope this will clarify a little bit the differences between SPI and I2C.


    1 members found this post helpful.

  5. #5
    Full Member level 5
    Points: 3,108, Level: 13

    Join Date
    Nov 2004
    Location
    UK
    Posts
    283
    Helped
    6 / 6
    Points
    3,108
    Level
    13

    difference between spi and i2c

    The difference is obvious.

    SPI or CSI is a simple master/slave communication protocol.

    I2C is a networking communication protocol with a multi-master support

    I2C is a standard in terms of clock speed, addressing and commands, where SPI can be customized to a specific design


    1 members found this post helpful.

+ Post New Thread
Please login