English
Language : 

HD6432633 Datasheet, PDF (899/1453 Pages) Renesas Technology Corp – Series of Microcomputers (MCUs: microcomputer units)
Start
Initialize
Set MST = 0
and TRS = 0 in ICCR
[1]
Set ACKB = 0 in ICSR
Read IRIC in ICCR
[2]
No
IRIC = 1?
Yes
Read AAS and ADZ in ICSR
AAS = 1
and ADZ = 0?
Yes
Read TRS in ICCR
No
General call address processing
* Description omitted
TRS = 0?
Yes
No
Slave transmit mode
Yes
Last receive?
No
Read ICDR
[3]
Clear IRIC in ICCR
Read IRIC in ICCR
No
[4]
IRIC = 1?
Yes
Set ACKB = 0 in ICSR
[5]
[1] Select slave receive mode.
[2] Wait for the first byte to be received (slave
address).
[3] Start receiving. The first read is a dummy read.
[4] Wait for the transfer to end.
[5] Set acknowledge data for the last receive.
[6] Start the last receive.
[7] Wait for the transfer to end.
[8] Read the last receive data.
Read ICDR
[6]
Clear IRIC in ICCR
Read IRIC in ICCR
[7]
No
IRIC = 1?
Yes
Read ICDR
[8]
Clear IRIC in ICCR
End
Figure 18-19 Flowchart for Slave Transmit Mode (Example)
845