HD6432160 RENESAS [Renesas Technology Corp], HD6432160 Datasheet - Page 474

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Rev. 2.0, 08/02, page 434 of 788
Figure 16.15 Sample Flowchart for Operations in Master Receive Mode
No
No
Clear IRIC flag in ICCR
Clear IRIC flag in ICCR
Read IRIC flag in ICCR
Clear IRIC flag in ICCR
Set HNDS = 0 in ICXR
Read IRIC flag in ICCR
Set ACKB = 0 in ICSR
Set ACKB = 1 in ICSR
Set TRS = 0 in ICCR
Set WAIT = 0 in ICMR
Set TRS = 1 in ICCR
Set WAIT = 0 in ICMR
Slave receive mode
Set BBSY = 0 and
SCP = 0 in ICCR
(receiving a single byte) (WAIT = 1)
Read ICDR
Read ICDR
IRIC = 1?
IRIC = 1?
End
Yes
Yes
[1] Select receive mode.
[2] Start receiving. The first read
[7] Set acknowledge data for
[9] Set TRS for stop condition issuance
[11] Clear IRIC flag.
[12] Wait for 1 byte to be received.
[15] Clear wait mode.
[16] Read the last receive data
[17] Generate stop condition
(Set IRIC at the rise of the 9th clock)
is a dummy read.
the last reception.
(to end the wait insertion)
Clear IRIC flag.
( IRIC flag should be cleared to 0
after setting WAIT = 0.)

Related parts for HD6432160