Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 5

I2C Communication Protocol

(I2C/IIC/TWI)
Inter Integrated Circuit bus
Introduction
 Invented by Philips in order to attach low speed
peripherals.
 Two wire interface (Serial Data-SDA, Serial
Clock-SCL).
 7-Bit addressing space.
 Master-slave operation.
 10 KHz Low Speed, 100 KHz Standard Speed,
400 KHz Fast Mode, 3.4 High Speed Mode)
 Multiple devices on the same bus.
Operation Modes
 Master Device:
 Master transmit.
 Master receive.
 Slave Device:
 Slave transmit.
 Slave receive.
 Multiple masters possible.
The Communication Protocol

Write to device: Read from device:


 Send Start Sequence  Send Start Sequence
 Write I2C device address (R/W  Write I2C device address
Bit Low) (R/W Bit High)
 Write device register address  Write device register address
 Send data byte  Resend Start Sequence
 Send stop sequence  Write device
 Send stop sequence
Communication Example

You might also like