Renesas RL78/G1P Hardware User Manual page 556

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
(9-Clock Wait Is Selected for Master, 9-Clock Wait Is Selected for Slave) (2/4)
(2) Address ~ data ~ data
Master side
IICAn
ACKDn
(ACK detection)
WTIMn
(8 or 9 clock wait)
ACKEn
(ACK control)
MSTSn
(communication status)
STTn
(ST trigger)
SPTn
(SP trigger)
WRELn
(wait cancellation)
INTIICAn
(interrupt)
TRCn
(transmit/receive)
Bus line
SCLAn (bus)
(clock line)
SDAAn (bus)
(data line)
Slave side
IICAn
ACKDn
(ACK detection)
STDn
(ST detection)
SPDn
(SP detection)
WTIMn
(8 or 9 clock wait)
ACKEn
(ACK control)
MSTSn
(communication status)
WRELn
(wait cancellation)
INTIICAn
(interrupt)
TRCn
(transmit/receive)
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
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 12-32. Example of Master to Slave Communication
Note 1
<5>
H
H
H
L
L
L
H
<4>
W ACK
D
7
D
1
<3>
L
H
H
L
<6>
Note 2
L
: Wait state by slave device
: Wait state by master and slave devices
CHAPTER 12 SERIAL INTERFACE IICA
6
D
5
D
4
D
3
D
2
1
1
1
1
1
Note 1
<9>
<8>
ACK
D
1
D
0
1
1
<7>
<10>
D
7
2
Note 2
537

Advertisement

Table of Contents
loading

Table of Contents