Rev. 5.00, 09/03, page 546 of 760
Start of reception
Read ORER, PER, FER
flags in SCSSR
All data received?
End of reception
No
Yes
PER v FER v ORER = 1?
RDF = 1?
Yes
Yes
Clear RE bit in SCSCR to 0
No
No
Read RDF flag in SCSSR
Error handling
Read receive data from SCFRDR,
and clear RDF flag in
SCSSR to 0
(1)
(2)
(3)
Note: Numbers in parentheses refer to steps in the preceding procedure description.
Figure 16.9 Sample Flowchart for Receiving Serial Data