false

false

中文

The difference between I2C and SPI

snowwhite

2019-05-11 20:38:54

In MCU, both I2C and SPI are important protocols. What’s the differences between them?

Hot Latest

4 Answers

Gemini

2019-05-11 20:39:55

 I2C can be multi-master and multi-slave, which means there can be more than one master and slave attached to the I2C bus. SPI can be multi-save but does not a multi-master serial protocol, that means there can be only one master attached to SPI bus.   

1 Comment

Your comment

Stark

2019-05-11 20:40:53

I2C is half-duplex communication protocol. SPI is a full duplex commination protocol.

0 Comments

Your comment

Solin

2019-05-11 20:42:38

I2C and SPI have their own strengths. I2C is more complex to set-up, once stable you can so easily extend. SPI is easy to set-up, you can bit bang it very easily if required.

0 Comments

Your comment

snowwhite

2019-05-11 20:43:38

Compared with I2C, SPI is faster. SPI needs three or four wire for communication (depends on requirement), MOSI, MISO, SCL and Chip-select pin. I2C is used only two wire for the communication, one wire is used for the data and the second wire is used for the clock.

0 Comments

Your comment

4record
1

Your Answer