BAT32G1x9 user manual | Chapter 20 Serial interface IICA
810 / 1149
Rev.1.02
FIG 20-30(4) data ~ restart condition ~ address" of Fig.20-30 are as follows. After performing steps (7) and
(8), perform <1> to <3 >, and return to the data sending step of step (3).
(7) After the data transfer is completed, because the ACKEn bit of the slave is "1", the ACK is sent to the
master control through hardware. The master detects ACK on the rising edge of the 9th clock
(ACKDn=1).
(8) Both the master and the slave enter a waiting state (SCLAn= 0,1) on the falling edge of the 9th clock,
and both produce interrupts (INTIICAn: Transmit End Interrupt).
<1> the slave reads and receives the data, and the wait is lifted (WRELn=1).
<2> if the master triggers the start condition again (STTn=1), the bus clock line rises (SCLAn=1) and the
bus data line drops (SDAAn=0,1) after the preparation time for the new start condition ), generate start
conditions (change SDAAn from "1" to "0" by SCLAn=1). Then, if a start condition is detected, the bus
clock line drops (SCLAn=0,1) just after the hold time has elapsed, ending the communication
preparation.
<3> if the master writes an aR/W (transmit) to the IICA shift register n (IICAn), the slave
address is sent.
Note: n=0,1