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