English
Language : 

SH7147 Datasheet, PDF (643/1108 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 14 Synchronous Serial Communication Unit
Start
[1]
Initial setting
[2]
Read TDRE in SSSR
No
TDRE = 1?
Yes
Write transmit data to SSTDR
TDRE automatically cleared
Data transferred from SSTDR to SSTRSR
Set TDRE to 1 to start transmission
[3]
Yes
Consecutive data transmission?
No
Read TEND in SSSR
No
TEND = 1?
Yes
Clear TEND to 0
[1] Initial setting:
Specify the transmit data format.
[2] Check that the synchronous serial communication unit state and
write transmit data:
Write transmit data to SSTDR after reading and confirming
that the TDRE bit is 1. The TDRE bit is automatically cleared
to 0 and transmission is started by writing data to SSTDR.
[3] Procedure for consecutive data transmission:
To continue data transmission, confirm that the TDRE bit is 1
meaning that SSTDR is ready to be written to. After that, data
can be written to SSTDR. The TDRE bit is automatically
cleared to 0 by writing data to SSTDR.
[4] Procedure for data transmission end:
To end data transmission, confirm that the TEND bit is cleared
to 0. After completion of transmitting the last bit, clear the TE
bit to 0.
Confirm that TEND is cleared to 0
[4]
One bit time
No
quantum elapsed?
Yes
Clear TE in SSER to 0
End transmission
Note: Hatching boxes represent synchronous serial
communication unit internal operations.
Figure 14.6 Flowchart Example of Data Transmission (Synchronous Serial Communication
Mode)
Rev. 3.00 Oct. 06, 2008 Page 619 of 1080
REJ09B0230-0300