Datasheet
Section 20 Serial Communication Interface 3 (SCI3, IrDA)
Page 710 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
Yes
<End>
No
Start reception
[1]
[4]
No
Yes
Read RDRF flag in SSR [2]
[3]
Clear RE bit in SCR3 to 0
Overrun error processing
(Continued below)
Read receive data in RDR
Yes
No
OER = 1
RDRF = 1
Is data reception continued?
Read OER flag in SSR
<End>
Overrun error processing
Overrun error processing
Clear OER flag in SSR to 0
[4]
[1] Read the OER flag in SSR to determine if
there is an error. If an overrun error has
occurred, execute overrun error processing.
[2] Read SSR and check that the RDRF flag is
set to 1, then read the receive data in RDR.
When data is read from RDR, the RDRF
flag is automatically cleared to 0.
If RDR data is transferred by the DTC with a
receive data full interrupt (RXI) request, the
RDRF flag is cleared automatically.
[3] To continue data reception, before the MSB
(bit 7) of the current frame is received,
reading the RDRF flag and reading RDR
should be finished. When data is read from
RDR, the RDRF flag is automatically
cleared to 0.
[4] If an overrun error occurs, read the OER
flag in SSR, and after performing the
appropriate error processing, clear the OER
flag to 0. Reception cannot be resumed if
the OER flag is set to 1.
Figure 20.13 Sample Flowchart for Data Reception (Clocked Synchronous Mode)