Datasheet

Section 16 Synchronous Serial Communication Unit (SSU)
Rev. 4.00 Mar. 15, 2006 Page 365 of 556
REJ09B0026-0400
Ye s
Ye s
No
Ye s
No
No
Start
Initialization
Read TDRE bit in SSSR[1]
[2]
[3]
[1] After reading SSSR and confirming
that the TDRE bit is 1, write transmit
data in SSTDR. Then the TDRE bit is
automatically cleared to 0.
[2] Determine whether data transmission
is continued.
[3] Read 1 from the TEND bit in SSSR
to confirm that data transmission is
completed. After the TEND bit is set to 1,
clear the TEND bit and TE bit in SSER
to 0 and transmit mode is ended.
TDRE = 1?
Write transmit data
in SSTDR
Data transmission
continued?
Read TEND bit in SSSR
TEND = 1?
Clear TEND bit and
TE bit in SSER to 0
End
Figure 16.6 Sample Serial Transmission Flowchart