![Renesas RL78/G1H Скачать руководство пользователя страница 530](http://html.mh-extra.comrl78-g1h_user-manual_1440449530.png)
CHAPTER 15 SERIAL INTERFACE IICA
Page 512 of 920
Figure 15 - 46 Example of Slave to Master Communication
(When 8-Clock and 9-Clock Wait Is Selected for Master, 9-Clock Wait Is Selected for Slave) (3/3)
(3) Data ~ data ~ stop condition
Note 1.
To cancel a wait state, write “FFH” to IICAn or set the WRELn bit.
Note 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
μ
s when specifying standard mode and at least 0.6
μ
s when specifying fast
mode.
Note 3.
Write data to IICAn, not setting the WRELn bit, in order to cancel a wait state during transmission by a slave device.
Note 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
ACKDn
(ACK detection)
IICAn
WTIMn
(8 or 9 clock wait)
ACKEn
(ACK control)
MSTSn
(communication status)
STTn
(ST trigger)
SPTn
(SP trigger)
WRELn
(wait cancellation)
INTIICAn
(interrupt)
Bus line
TRCn
(transmit/receive)
Master side
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)
<14>
<13>
D
16
0
: Wait state by master device
: Wait state by slave device
: Wait state by master and slave devices
D
16
6
D
16
5
D
16
4
D
16
3
D
16
2
D
16
1
<16>
<8>
<15>
D
15
0
D
16
7
ACK
<9>
<10>
<12>
<17>
Note 4
<18>
<11>
Note 1
Note 3
Note 1
NACK
Note 2
Notes 1, 4
<19>
Stop condition
H
H
L
L
L
L
Содержание RL78/G1H
Страница 941: ...R01UH0575EJ0120 RL78 G1H...