R01UH0822EJ0100 Rev.1.00
Page 759 of 1041
Jul 31, 2019
RX13T Group
24. I
2
C-bus Interface (RIICa)
Figure 24.6
Example of Master Transmission Flowchart
Yes
ICCR2.BBSY = 0?
ICSR2.STOP = 0
Master transmission
ICCR2.SP = 1
ICSR2.NACKF = 0
End of master transmission
ICCR2.ST = 1
Yes
No
ICSR2.TDRE = 1?
Write data to ICDRT register
Initial settings
Yes
Yes
All data transmitted?
ICSR2.TEND = 1?
Yes
ICSR2.STOP = 1?
ICSR2.STOP = 0
No
No
No
No
No
[1] Initial settings
[2] Check I
2
C-bus occupation and issue
a start condition.
[6] Check stop condition issuance
[7] Processing for the next transfer
operation
Yes
[5] Check end of last data transmission
and issue a stop condition.
[3] Transmit slave address and W (first byte).
[4] Check ACK and set transmit data.
ICSR2.NACKF = 0?