CHAPTER 15 SERIAL INTERFACE IICA
Page 500 of 920
Figure 15 - 40 Example of Master to Slave Communication
(When 9-Clock Wait Is Selected for Master, 9-Clock Wait Is Selected for Slave) (1/4)
(1) Start condition ~ address ~ data
Note 1.
Write data to IICAn, not setting the WRELn bit, in order to cancel a wait state during transmission by a master device.
Note 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.
Note 3.
For releasing wait state during reception of a slave device, write “FFH” to IICAn or set the WRELn bit.
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)
AD5
AD4
AD3
AD2
AD1
AD0
Note 2
D
1
7
: Wait state by slave device
: Wait state by master and slave devices
Slave address
Start condition
Note 1
Note 3
W
ACK
<1>
<2>
<3>
<4>
<5>
<6>
AD6
H
H
L
L
H
H
L
L
Содержание RL78/G1H
Страница 941: ...R01UH0575EJ0120 RL78 G1H...