answersLogoWhite

0


Best Answer

Major Difference Between SPI and I2C is: SPI is full Duplex (SPI can be full/half duplex, depending on the hardware, 3 or 4 wire) and I2C is half duplex communication....we cannt send and receive data at a time in I2c..but it possible in SPI ....SPI much faster Than I2C.......

Main topic to discuss the difference is

1) speed is difference

in case of i2c is 100/400kbps in 7 bit mode max 400kbps (But High speed I2C communication protocols allow speeds upto 3.4Mbps!!)

in case of spi speed is upto 1mbps (the higher speed of SPI is due to fact that unlike I2C, SPI interfaces to a slave device using a sperate pin called the slave select + no concept of acknowledgements which means increased Band width..)

2)Connection wise: i2c require less pin then spi (SPI 3wire: 3 IOs, SPI 4 wire: 4 IOs, I2C: 2 IOs)

as spi require slave select for individual device...

3)it is better to use i2c in case of if u want to connect more device to connect. (slave addressing advantageous over SPI slave select individual pins for individual slaves)

4)bus arbitration is possible in case of i2c... not in case of spi... (SPI does not require it, since only 1 slave is controlled by the master at any given point)

6)noise sensitivity of i2c is high... there is chance to corrupt the r/w bit... then whole data is corrputed... but in case of spi.. chance is very less as whole word is trasmitted... However, I must say that I2C is more reliable, since the protocol supports slave feedback machanism (ACK) to detect whether was received correctly or corrupt.

8) it is easy to implement the spi...while i2c is little bit complex... (over heads)

Formatted Answer @: http://www.bubblews.com/account/65122-kapilddit

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between i2c and spi?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between SPI and I2C microcontroller communication interfaces?

Check these articles:http://www.ucpros.com/work%20samples/Microcontroller%20Communication%20Interfaces%201.htmhttp://www.ucpros.com/work%20samples/Microcontroller%20Communication%20Interfaces%202.htm


What is the competition of the aardvark?

Byte Paradigm has got a product range that more or less compete with Aardvack. However, products do not strictly overlap. SPI Storm from Byte Paradigm is a SPI Adapter with support of dual-SPI, Quad-SPI and user-defined serial protocols. It supports protocols up to 100 MHz. SPI Xpress from Byte Paradigm is a more limited, yet entry-level price. It support SPI up to 50 MHz. As for I²C, they also have I2C Xpress.


What is the difference between CAN and I2C?

We can use I2C only for small distance communication not more than 1 meter, but CAN bus can be used for more than this distance that's why in todays world CAN bus is most preferred in Automotive Industry.


What is the differences between i2c and can bus?

hfghfgh


In addition to RS-232 two additional ways to transfer data serially SPI and I2C what is it?

in addition to the 2 you mentioned there there are numerous other ways to transfer data serially, but the main I think would be USB.


What is the difference between i2c and rs232?

I2C (Inter-Integrated Circuit) is a serial communication protocol that uses two wire lines for communication, allowing multiple devices to be connected in a network. RS232 (Recommended Standard 232) is a serial communication standard that uses a single wire for data transfer and is commonly used for connecting devices like modems, printers, and GPS receivers. Additionally, RS232 uses voltage levels for signaling while I2C uses open-drain signals.


Is there a difference between a Network hub and a router?

A network hub absconds with any stateful packet inspection (SPI), so it won't act as a firewall.


What does i2c stand for in the terms of power?

In terms of power I2C stands for an "Inter-Integrated Circuit". An I2C is used to connect slow speed computer components to the motherboard or other electronic devices.


What is SPI and PII?

whai is SPi?


What is the difference between CPI and SPI?

CPI mean (consumer price index ) which measure change in the level of consumer goods and services purchase by consumer.SPI mean ( Share Price index)


What does SPI mean?

SPI, in Project Management Terms, is short for Schedule Performance Index. It's an indicator on whether the Project is on Schedule (SPI = 1), Ahead of Schedule (SPI > 1), or behind Schedule (SPI < 1).


What is the difference between 'GPIB' and 'I2C' and 'RS485'?

HP is a company that makes and market particular hardware / software for speciallist application. An example is the 12C calculator which is capable of using a GPIB standard chip to send a signal through a RS485 cable to a computer