English
Language : 

HD64F3670 Datasheet, PDF (199/323 Pages) Renesas Technology Corp – Hitachi Single-Chip Microcomputer
Start reception
[1] Read the OER, PER, and FER flags in
SSR to identify the error. If a receive
error occurs, performs the appropriate
Read OER, PER, and
[1]
FER flags in SSR
error processing.
[2] Read SSR and check that RDRF = 1,
then read the receive data in RDR.
The RDRF flag is cleared automatically.
OER+PER+FER = 1
No
Yes
[4]
Error processing
[3] To continue serial reception, before the
stop bit for the current frame is
received, read the RDRF flag and read
RDR.
The RDRF flag is cleared automatically.
(Continued on next page) [4] If a receive error occurs, read the OER,
Read RDRF flag in SSR
[2]
PER, and FER flags in SSR to identify
the error. After performing the
appropriate error processing, ensure
No
RDRF = 1
that the OER, PER, and FER flags are
all cleared to 0. Reception cannot be
resumed if any of these flags are set to
Yes
1. In the case of a framing error, a
break can be detected by reading the
Read receive data in RDR
value of the input port corresponding to
the RxD pin.
Yes
All data received?
[3]
(A)
No
Clear RE bit in SCR3 to 0
<End>
Figure 13.8 Sample Serial Data Reception Flowchart (Asynchronous mode)(1)
Rev. 2.0, 03/02, page 175 of 298