RL78/G1P
CHAPTER 12 SERIAL INTERFACE IICA
R01UH0895EJ0100 Rev.1.00
535
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) (1/4)
(1) Start condition ~ address ~ 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)
W ACK
<2>
IICAn
STDn
(ST detection)
SPDn
(SP detection)
ACKDn
(ACK detection)
ACKEn
(ACK control)
MSTSn
(communication status)
TRCn
(transmit/receive)
WRELn
(wait cancellation)
INTIICAn
(interrupt)
Master side
Bus line
Slave side
Slave address
L
L
H
L
H
H
H
L
AD5 AD4 AD3 AD2 AD1 AD0
WTIMn
(8 or 9 clock wait)
Note 1
Start condition
D
1
7
AD6
Note 2
Note 3
<5>
<1>
<4>
<3>
<6>
: 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.
Make sure that the time between the fall of the SDAAn pin signal and the fall of the SCLAn pin signal is
at least 4.0
s when specifying standard mode and at least 0.6
s when specifying fast mode.
3.
For releasing wait state during reception of a slave device, write “FFH” to IICAn or set the WRELn bit.
Remark
n = 0, 1