Datasheet
510
Start reception
Initialization
Read ORER, PER, and
FER bits in SSR
Read reception data of RDR and
clear RDRF bit in SSR to 0
End reception
1
4
No
No
Yes
Yes
Read the RDRF bit in SSR
RDRF = 1?
PER, FER,
ORER = 1?
Clear the RE bit of SCR to 0
Yes
No
3
Error handling
2
All data received?
Figure 14.7 Sample Flowchart for Receiving Serial Data (1)