Table 15.11 shows the states of the SSR status flags and receive data handling when a receive
error is detected. If a receive error is detected, the RDRF flag retains its state before receiving
data. Reception cannot be resumed while a receive error flag is set to 1. Accordingly, clear the
ORER, FER, PER, and RDRF bits to 0 before resuming reception. Figure 15.9 shows a sample
flowchart for serial data reception.
Table 15.11 SSR Status Flags and Receive Data Handling
SSR Status Flag
RDRF*
ORER
1
1
0
0
0
0
1
1
1
1
0
0
1
1
Note:
The RDRF flag retains the state it had before data reception.
*
FER
PER
0
0
1
0
0
1
1
0
0
1
1
1
1
1
Section 15 Serial Communication Interface (SCI, IrDA)
Receive Data
Lost
Transferred to RDR
Transferred to RDR
Lost
Lost
Transferred to RDR
Lost
Rev. 3.00 Jul. 14, 2005 Page 463 of 986
Receive Error Type
Overrun error
Framing error
Parity error
Overrun error + framing error
Overrun error + parity error
Framing error + parity error
Overrun error + framing error +
parity error
REJ09B0098-0300