CHAPTER 16 I
2
C BUS
User’s Manual U16896EJ2V0UD
527
Figure 16-20. Example of Master to Slave Communication
(When 9-Clock Wait Is Selected for Both Master and Slave) (3/3)
(c) Stop condition
IIC0
ACKD0
STD0
SPD0
WTIM0
H
H
L
L
L
L
H
H
H
L
ACKE0
MSTS0
STT0
SPT0
WREL0
INTIIC0
TRC0
IIC0
ACKD0
STD0
SPD0
WTIM0
ACKE0
MSTS0
STT0
SPT0
WREL0
INTIIC0
TRC0
SCL0
SDA0
Processing by master device
Transfer lines
Processing by slave device
1
2
3
4
5
6
7
8
9
2
1
D7
D6
D5
D4
D3
D2
D1
D0
AD5
AD6
IIC0
←
data
IIC0
←
address
IIC0
←
FFH
Note
IIC0
←
FFH
Note
Stop
condition
Start
condition
Transmit
Note
Note
(when SPIE0 = 1)
Receive
(when SPIE0 = 1)
ACK
Note
To cancel slave wait, write FFH to IIC0 or set WREL0.
<R>