Rev. 5.00, 09/03, page 542 of 760
Start of transmission
Read TDFE bit in SCSSR
TEND= 1?
Read TEND bit in SCSSR
Clear TE bit in SCSCR to 0
Set SCPDR and SCPCR
Yes
No
TDFE= 1?
No
All data transmitted?
No
Yes
Yes
Break output?
Yes
No
Write transmit data (16 - transmit
trigger set number) to SCFTDR, read 1
from TDFE bit and TEND flag in
SCSSR, then clear to 0
End of transmission
(1)
(2)
(3)
Note: Numbers in parentheses refer to steps in the preceding procedure description.
Figure 16.6 Sample Flowchart for Transmitting Serial Data