Information
44.4 Functional Description
This section provides a comprehensive functional description of the I2C module.
44.4.1 I2C Protocol
The I2C bus system uses a serial data line (SDA) and a serial clock line (SCL) for data
transfers. All devices connected to it must have open drain or open collector outputs. A
logic AND function is exercised on both lines with external pull-up resistors. The value
of these resistors depends on the system.
Normally, a standard instance of communication is composed of four parts:
1. START signal
2. Slave address transmission
3. Data transfer
4. STOP signal
The STOP signal should not be confused with the CPU STOP instruction. The following
figure illustrates I2C bus system communication.
S C L
S D A
D 0
D a ta B y te
N e w C a llin g A d d r e s s
X X
W r it e
C a llin g A d d r e s s
W r it e
W r ite
S D A
C a llin g A d d re s s R e a d /
X X X D 7 D 6 D 5 D 4 D 3 D 2 D 1A D 6 A D 5A D 7 A D 4
L S B
M S B
1
6
2
5
8
3
4
7
9
1
6
2
5
8
3
4
7
9
L S B
M S B
1
6
2
5
8
3
4
7
9
L S B
M S B
1
6
2
5
8
3
4
7
9
L S B
M S B
A D 6 R / WA D 3 A D 2 A D 1A D 5A D 7 A D 4 A D 6 R /WA D 3 A D 2 A D 1A D 5A D 7 A D 4
R e a d /
R e a d /
R / WA D 3 A D 2 A D 1
SCL
Start Signal
Ack
Bit
No
Ack
Bit
Stop
Signal
Start
Signal
Ack
Bit
Repeated
Start
Signal
No
Ack
Bit
Stop
Signal
Figure 44-38. I2C Bus Transmission Signals
Functional Description
K10 Sub-Family Reference Manual, Rev. 6, Nov 2011
1230 Freescale Semiconductor, Inc.
