Professional Documents
Culture Documents
Embedded Systems
Embedded Systems
I2C
Feature
• 3 wire
GND
SCL(clock)
SDA(data)
• All devices share the same bus wire
• Using wire and, each device gain access to
bus (become bus master) by arbiter protocol
• Speed
Standard——100Kbps
Fast-mode——400Kbps
High-speed mode——3.Mbsp
Wire and
structure
Connection of devices
Single
Master
Multiple
Master
Master/Slave
• Master is the initiator of data Tx/Rx
• Master drive the SCL
• Slave passively receive command and
execute command sent by master, can
only control SDA Signal
Start/Stop of data transfer
• SCL=H, falling edge of SDA indicates start of
transmission
• SCL=H, rising edge of SDA indicates stop of
transmission
• When transmitting data, SDA can only change when
SCL=0
• MSB transmitted first
Mast write operation