HD6412373R RENESAS [Renesas Technology Corp], HD6412373R Datasheet - Page 868

no-image

HD6412373R

Manufacturer Part Number
HD6412373R
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 16 I
Rev.7.00 Mar. 18, 2009 page 800 of 1136
REJ09B0109-0700
Additional information: If only one byte is received, steps [2] through [6] are omitted following step [1],
2
C Bus Interface 2 (IIC2) (Option)
No
No
No
Set ACKBT=0 in ICIER
Set ACKBT=1 in ICIER
Dummy read ICDRR
Read RDRF in ICSR
Read RDRF in ICSR
Slave receive mode
Clear AAS in ICSR
Figure 16.17 Sample Flowchart for Slave Receive Mode
The last receive
Read ICDRR
Read ICDRR
Read ICDRR
TDRE=0 ?
RDRF=1 ?
RDRF=1 ?
RDRF=1 ?
End
and processing jumps to step [7].
- 1?
Yes
Yes
Yes
No
Yes
Yes
No
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
Slave transmit mode
[1] Clear the flag AAS.
[2] Set the acknowledge for the transmit device.
[3] Dummy read ICDRR.
[4] Wait the reception end of 1 byte.
[5] Judge the (last receive - 1).
[6] Read the received data, and clear RDRF to 0.
[7] Set the acknowledge for the last byte.
[8] Read the received data of the (last byte - 1),
[9] Wait the reception end of the last byte.
[10] Read the received data of the last byte,
and clear RDRF to 0.
and clear RDRF to 0.

Related parts for HD6412373R