Rev. 5.00, 09/03, page 504 of 760
Start
End of transmission
Start of transmission
Initialize
Write transmit data in SCTDR
and clear TDRE
flag in SCSSR to 0
(1)
Clear TE bit in SCSCR to 0
(6)
Error handling
(2)
FER/ERS = 0?
TEND = 1?
Yes
Yes
Yes
Yes
No
No
All data transmitted?
No
TEND = 1?
No
Error handling
FER/ERS = 0?
Yes
No
(4)
(5)
(3)
Note: Numbers in parentheses refer to steps in the preceding procedure description.
Figure 15.6 Transmission Flowchart