[1]
[2]
Figure 14.12 Sample Serial Transmission Flowchart (Clocked Synchronous Mode)
Rev. 1.00, 11/03, page 210 of 376
Downloaded from
Elcodis.com
electronic components distributor
Start transmission
Read TDRE flag in SSR
TDRE = 1
Yes
Write transmit data to TDR
All data transmitted?
No
Read TEND flag in SSR
TEND = 1
Yes
Clear TE bit in SCR3 to 0
<End>
[1]
Read SSR and check that the TDRE flag is
set to 1, then write transmit data to TDR.
When data is written to TDR, the TDRE flag
is automatically cleared to 0 and clocks are
output to start the data transmission.
[2]
To continue serial transmission, be sure to
No
read 1 from the TDRE flag to confirm that
writing is possible, then write data to TDR.
When data is written to TDR, the TDRE flag
is automatically cleared to 0.
Yes
No