Renesas RL78/G1P Hardware User Manual page 566

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

Advertisement

RL78/G1P
(8-Clock and 9-Clock Wait Is Selected for Master, 9-Clock Wait Is Selected for Slave) (3/3)
(3) Data ~ data ~ stop condition
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. To cancel a wait state, write "FFH" to IICAn or set the WRELn bit.
2. Make sure that the time between the rise of the SCLAn pin signal and the generation of the stop
condition after a stop condition has been issued is at least 4.0
least 0.6
3. Write data to IICAn, not setting the WRELn bit, in order to cancel a wait state during transmission by a
slave device.
4. If a wait state during transmission by a slave device is canceled by setting the WRELn bit, the TRCn bit
will be cleared.
Remark n = 0, 1
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 12-33. Example of Slave to Master Communication
L
Note 1
<9>
L
<8>
<11>
ACK
D
0
D
7
15
16
<10>
Note 3
<12>
L
H
H
L
: Wait state by master device
: Wait state by slave device
: Wait state by master and slave devices
s when specifying fast mode.
CHAPTER 12 SERIAL INTERFACE IICA
Stop condition
D
6
D
5
D
4
D
3
D
2
16
16
16
16
16
<14>
<17>
Note 1
<15>
<13>
<16>
Note 2
D
1
D
0
NACK
16
16
<19>
<18>
Notes 1, 4
Note 4
s when specifying standard mode and at
547

Advertisement

Table of Contents
loading

Table of Contents