Aktu PPT 10
Aktu PPT 10
Tukur Gupta
Assistant Professor
Department of Electronics & Communication Engineering
Ajay Kumar Garg Engineering College, Ghaziabad
INTER-INTEGRATED CIRCUIT
(I2C)
• I2C is a serial communication protocol, so data is transferred
bit by bit along a single wire (the SDA line).
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.
HOW I2C WORKS?
• With I2C, data is transferred in messages.
• Messages are broken up into frames of data.
• Each message has an address frame that contains the binary
address of the slave, and one or more data frames that contain the
data being transmitted.
• The message also includes start and stop conditions, read/write
bits, and ACK/NACK bits between each data frame:
MESSAGE IN I2C
Start Condition: The SDA line switches from a high voltage level to a low
voltage level before the SCL line switches from high to low.
Stop Condition: The SDA line switches from a low voltage level to a high
voltage level after the SCL line switches from low to high.