BAT32G1x9 user manual | Chapter 20 Serial interface IICA
805 / 1149
Rev.1.02
FIG 20-
31 Communication example of a master device → slave device
(Master: Select 9 clocks to wait, Slave: Choose 9 clocks to wait) (2/4).
(2) Address ~ data ~ data
master control
IICAn
ACKDn
(
ACK detection
)
WTIMn
(8 or 9 clock cycles
waiting)
H
ACKEn
(
ACK control
)
MSTSn
(communicdati
on state)
STTn
(ST trigger)
H
SPTn
(
SP trigger
)
L
WRELn
(
release from
wait
)
L
INTIICAn
(
interrupt
)
TRCn
(
transmit
/reception
)
bus
SCLAn( bus )
(
Clock line
)
SDAAn( bus )
(
data line
)
slave
IICAn
ACKDn
(
ACK detection
)
STDn
(
ST detection
)
SPDn
(
SP detection
)
WTIMn
(8 or 9 clock cycles
waiting)
ACKEn
(ACK control)
MSTSn
(communicdati
on state)
WRELn
(release from
wait)
INTIICAn
(
interrupt
)
TRCn
(
transmit
/reception
)
H
H
L
L
D
2
7
note 1
:
slave device waits
:
master device and slave device wait
H
L
note
1
H
W
D
1
7
D
1
6
D
1
5
D
1
4
ACK
D
1
3
D
1
2
D
1
1
D
1
0
L
note 2
note 2
ACK
Note: 1
To remove the wait during the master send, the
IICAn
must be
written to the data instead of the
WRELn
position
bit.
2. To lift the wait during slave reception,
the IICAn
must be
placed in
the "FFH"
or
WRELn
position.