I2C Protocol: (Inter-Integrated Circuits)
Krupa Shankar S
Master Degree in VLSI Design | Semiconductor | VLSI Engineer | Physical Design (PnR) | Static Timing Analysis (STA) | Digital Electronics | Verilog | CMOS | Synthesis | ASIC | FPGA | TCL |
-> I2C is used to connect devices like microcontrollers, EEPROMs, I/O interfaces, and other peripheral devices in an embedded system. A microcontroller is often used as the master device, and other peripheral devices are used as slave devices.
=> It was originally designed by Philips Semiconductor in 1982. Recently, it is a widely used protocol for short-distance communication. It is also known as Two Wired Interface(TWI).
-> I2C combines the best features of SPI and UARTs. With I2C, you can?connect multiple slaves to a single master (like SPI) and you can have multiple masters controlling single, or multiple slaves. This is?really useful when you want to have more than one microcontroller logging data to a single memory card or displaying text to a single LCD.
SDA (Serial Data)?– The line for the master and slave to send and receive data.
SCL (Serial Clock)?– The line?that carries?the clock signal.
It uses only 2 bi-directional open-drain lines for data communication called SDA and SCL. Both these lines are pulled high.
According to I2C protocols, the data line can not change when the clock line is high, it can change only when the clock line is low. The 2 lines are open drain, hence a pull-up resistor is required so that the lines are high since the devices on the I2C bus are active low. The data is transmitted in the form of packets which comprises 9 bits.
-> The data transferring is done in messages, which are broken up into frames of data. The message includes address frame that contains the binary address of the slave, start/stop conditions, read/write bits and ACK/NACK between each data frame.
领英推荐
Single Master with Multiple Slaves:
Multiple Masters with Multiple Slaves:
Advantages :
Limitations :
#vlsi #semiconductor #i2c #protocols #hardware
英特尔 , 高通 , 恩智浦半导体 , AMD , 德州仪器 , 英伟达 , Applied Materials India , 意法半导体 , 铿腾设计系统公司 , 新思科技 , Samsung Semiconductor , 美光科技 , Microchip Technology Inc. , MosChip? , 博通 , GlobalFoundries