Datasheet
Section 22 Synchronous Serial Communication Unit (SSU)
Page 786 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
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 22.6 Sample Serial Transmission Flowchart