Datasheet

Section 17 Serial Communication Interface 3 (SCI3)
Rev. 3.00 Mar. 15, 2006 Page 324 of 526
REJ09B0060-0300
Yes
Yes
Yes
<End>
No
No
No
Start reception
[1]
Read RDRF flag in SSR
Read receive data in RDR
Clear RE bit in SCR3 to 0
[2]
[3]
Read OER, PER, and
FER flags in SSR
Error processing
(Continued on next page)
[4]
OER+PER+FER = 1
RDRF = 1
All data received?
[1] Read the OER, PER, and FER flags in SSR
to identify the error. If a receive error occurs,
performs the appropriate error processing.
[2] Read SSR and check that RDRF = 1, then
read the receive data in RDR. The RDRF
flag is cleared automatically.
[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.
[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
break can be detected by reading the value
of the input port corresponding to the RxD
pin.
(A)
Figure 17.8 Sample Serial Reception Data Flowchart (Asynchronous Mode) (1)