HD6433045 HITACHI [Hitachi Semiconductor], HD6433045 Datasheet - Page 483

no-image

HD6433045

Manufacturer Part Number
HD6433045
Description
Hitachi Single-Chip Microcomputer
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433045A58F
Manufacturer:
PWRT
Quantity:
4 172
Part Number:
HD6433045SA27F
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD6433045SA28FV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6433045SA37FV
Manufacturer:
RENESAS
Quantity:
1 000
Receiving Serial Data (Asynchronous Mode): Figure 13-7 shows a sample flowchart for
receiving serial data and indicates the procedure to follow.
No
No
Clear RE bit to 0 in SCR
Read RDRF flag in SSR
RDRF flag to 0 in SSR
and FER flags in SSR
from RDR, and clear
Read ORER, PER,
Read receive data
Start receiving
PER
ORER = 1?
RDRF = 1?
receiving?
Finished
Initialize
End
Figure 13-7 Sample Flowchart for Receiving Serial Data (1)
FER
No
Yes
Yes
(continued on next page)
Yes
Error handling
5
1
2
4
3
472
1.
2, 3.
4.
5.
SCI initialization: the receive data function of
the RxD pin is selected automatically.
detection: if a receive error occurs, read the
ORER, PER, and FER flags in SSR to identify
the error. After executing the necessary error
handling, clear the ORER, PER, and FER
flags all to 0. Receiving cannot resume if any
of the ORER, PER, and FER flags remains
set to 1. When a framing error occurs, the
RxD pin can be read to detect the break state.
SCI status check and receive data read: read
SSR, check that RDRF is set to 1, then read
receive data from RDR and clear the RDRF
flag to 0. Notification that the RDRF flag has
changed from 0 to 1 can also be given by the
RXI interrupt.
To continue receiving serial data: check the
RDRF flag, read RDR, and clear the RDRF
flag to 0 before the stop bit of the current
frame is received. If the DMAC is activated
by an RXI interrupt to read the RDR value,
the RDRF flag is cleared automatically.
Receive error handling and break

Related parts for HD6433045