In I2C, both buses are bidirectional, which means the master able to send and receive the data from the slave. In which one wire is used for the data (SDA) and other wire is used for the clock (SCL). I2C is basically a two-wire communication protocol. It provides good support to the slow devices, for example, EEPROM, ADC, and RTC etc.I2c are not only used with the single board but also used with the other external components which have connected with boards through the cables. Both protocols are commonly used in electronic devices like smartphones, TV, and laptops to control peripherals like power management chips, memory devices, input devices, etc. I2C is two-wire communication made by Philips (Nowadays NXP) and SPI is made by Motorola. I2C and SPI both are bus protocol to allow the user for short-distance, serial data transfer. There is a lot of serial communication protocol but in which I2C and SPI are very famous, In this article, I will discuss the difference between I2C and SPI ( I2C vs SPI ).
0 Comments
Leave a Reply. |