HD6433682 ETC, HD6433682 Datasheet - Page 342

no-image

HD6433682

Manufacturer Part Number
HD6433682
Description
Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Manufacturer
ETC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433682A45HV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6433682C74HV
Manufacturer:
HITACHI/日立
Quantity:
20 000
Rev. 3.00, 05/03, page 312 of 472
No
No
No
Clear ACKBT in ICIER to 0
Clear RCVD in ICCR1 to 0
Clear TRS in ICCR1 to 0
Set ACKBT in ICIER to 1
Clear MST in ICCR1 to 0
Set RCVD in ICCR1 to 1
Clear STOP in ICSR.
Clear TEND in ICSR
Clear TDRE in ICSR
Dummy-read ICDRR
Read RDRF in ICSR
Read RDRF in ICSR
Read STOP in ICSR
Mater receive mode
Write 0 to BBSY
Read ICDRR
Read ICDRR
Read ICDRR
Last receive
RDRF=1 ?
RDRF=1 ?
STOP=1 ?
and SCP
End
- 1?
Figure 17.18 Sample Flowchart for Master Receive Mode
Yes
Yes
Yes
No
Yes
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10] Clear the STOP flag.
[11] Issue the stop condition.
[12] Wait for the creation of stop condition.
[13] Read the last byte of receive data.
[14] Clear RCVD.
[15] Set slave receive mode.
Note: Do not activate an interrupt during the execution of steps [1] to [3].
Clear TEND, select master receive mode, and then clear TDRE.*
Set acknowledge to the transmit device.*
Dummy-read ICDDR.*
Wait for 1 byte to be received
Check whether it is the (last receive - 1).
Read the receive data last.
Set acknowledge of the final byte. Disable continuous reception (RCVD = 1).
Read the (final byte - 1) of receive data.
Wait for the last byte to be receive.

Related parts for HD6433682