English
Language : 

HD64F2149 Datasheet, PDF (556/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
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
TRS = 0?
Yes
No
General call address processing
* Description omitted
No
Slave transmit mode
Last receive?
Yes
No
Read ICDR
[3]
Clear IRIC in ICCR
Read IRIC in ICCR
No
[4]
IRIC = 1?
Yes
Set ACKB = 1 in ICSR
[5]
Read ICDR
[6]
[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.
Clear IRIC in ICCR
Read IRIC in ICCR
[7]
No
IRIC = 1?
Yes
Read ICDR
[8]
Clear IRIC in ICCR
End
Figure 16.16 Flowchart for Slave Receive Mode (Example)
522