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

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Continuous Receive Operation:
Figure 16.21 shows the sample flowchart for the operations in slave receive mode (HNDS = 0).
Figure 16.21 Sample Flowchart for Operations in Slave Receive Mode (HNDS = 0)
Read AASX, AAS and ADZ in ICSR
No
No
and TRS = 0 in ICCR
Set ACKB = 0 in ICSR
Set HNDS = 0 in ICXR
Set ACKB = 1 in ICSR
Slave receive mode
Clear IRIC in ICCR
Read IRIC in ICCR
Clear IRIC in ICCR
Read TRS in ICCR
Read IRIC in ICCR
Clear IRIC in ICCR
Clear IRIC in ICCR
Wait for one frame
Set MST = 0
and ADZ = 1?
(n-2)th-byte
ICDRF = 1?
ICDRF = 1?
ESTP = 1 or
ICDRF = 1?
Read ICDR
Read ICDR
STOP = 1?
Read ICDR
reception?
IRIC = 1?
TRS = 1?
IRIC = 1?
AAS = 1
End
Yes
Yes
No
Yes
Yes
No
No
No
Yes
Yes
No
No
No
Yes
* n: Address + total number of bytes received
Slave transmit mode
[3] to [7] Wait for one byte to be received (slave address + R/W)
General call address processing
[10] Read the receive data. The first read is a dummy read.
[11] Wait for one byte to be received
[1] Select slave receive mode.
[9] Wait for ACKB setting and set acknowledge data
[2] Read the receive data remaining unread.
[12] Detect stop condition
[8] Clear IRIC
[13] Clear IRIC
[14] Read the last receive data
[15] Clear IRIC
(after the rise of the 9th clock of (n-1)th byte data)
for the last reception
(Set IRIC at the rise of the 9th clock)
(Set IRIC at the rise of the 9th clock)
* Description omitted
Rev. 2.0, 08/02, page 441 of 788

Related parts for HD6432160