English
Language : 

H836109 Datasheet, PDF (423/622 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family / H8/300H Tiny Series
Section 17 Serial Communication Interface 3 (SCI3)
Start reception
Read OER, PER, and
FER flags in SSR
[1]
[1] Read the OER, PER, and FER flags in SSR
to identify the error. If a receive error occurs,
performs the appropriate error processing.
OER+PER+FER = 1
Yes
[4]
[2] Read SSR and check that RDRF = 1, then
read the receive data in RDR. The RDRF
No
Error processing
flag is cleared automatically.
(Continued on next page)
[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.
Read RDRF flag in SSR
[2]
No
RDRF = 1
Yes
[4] If a receive error occurs, read the OER, PER,
and FER flags in SSR to identify the error.
After performing the appropriate error
processing, ensure that the OER, PER, and
FER flags are all cleared to 0. Reception
cannot be resumed if any of these flags are
set to 1. In the case of a framing error, a
Read receive data in RDR
break can be detected by reading the 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 17.8 Sample Serial Reception Data Flowchart (Asynchronous Mode) (1)
Rev. 1.50 Sep. 18, 2007 Page 389 of 584
REJ09B0240-0150