
RL78/G1P
CHAPTER 12 SERIAL INTERFACE IICA
R01UH0895EJ0100 Rev.1.00
537
Nov 29, 2019
Figure 12-32. Example of Master to Slave Communication
(9-Clock Wait Is Selected for Master, 9-Clock Wait Is Selected for Slave) (2/4)
(2) Address ~ data ~ data
IICAn
STTn
(ST trigger)
SPTn
(SP trigger)
ACKDn
(ACK detection)
WTIMn
(8 or 9 clock wait)
ACKEn
(ACK control)
MSTSn
(communication status)
TRCn
(transmit/receive)
SCLAn (bus)
(clock line)
WRELn
(wait cancellation)
INTIICAn
(interrupt)
SDAAn (bus)
(data line)
IICAn
STDn
(ST detection)
SPDn
(SP detection)
ACKDn
(ACK detection)
WTIMn
(8 or 9 clock wait)
ACKEn
(ACK control)
MSTSn
(communication status)
TRCn
(transmit/receive)
WRELn
(wait cancellation)
INTIICAn
(interrupt)
W ACK
Master side
Bus line
Slave side
H
H
L
H
L
L
L
H
H
L
L
D
1
6 D
1
5 D
1
4 D
1
3 D
1
2 D
1
1 D
1
0
D
1
7
D
2
7
ACK
H
Note 2
<10>
<6>
<7>
<8>
<3>
<4>
Note 1
Note 1
<9>
<5>
Note 2
: Wait state by slave device
: Wait state by master and slave devices
Notes 1.
Write data to IICAn, not setting the WRELn bit, in order to cancel a wait state during transmission by a
master device.
2.
For releasing wait state during reception of a slave device, write “FFH” to IICAn or set the WRELn bit.
Remark
n = 0, 1