English
Language : 

SH7615 Datasheet, PDF (660/925 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7600 Series
• Serial Data Transmission (Synchronous Mode)
Figure 14.18 shows a sample flowchart for serial transmission.
Use the following procedure for serial data transmission after enabling the SCIF for
transmission.
Initialization
[1]
Start of transmission
Read TDFE flag in SC1SSR [2]
TDFE = 1?
No
Yes
Write transmit data to SCFTDR
and clear TDFE flag to 0
in SC1SSR
[1] PFC initialization: Set the TxD pin,
and the SCK pin if necessary, with
the PFC.
[2] SCIF status check and transmit data
write: Read SC1SSR and check that
TDFE =1, then write transmit data to
the transmit FIFO data register
(SCFTDR) and clear the TDFE flag
to 0.
[3] Serial transmission continuation
procedure: To continue serial
transmission, read 1 from the TDFE
flag to confirm that writing is possible,
then write data to SCFTDR, and then
clear the TDFE flag to 0.
All data transmitted?
No
[3]
Yes
Read TEND flag in SC1SSR
No
TEND = 1?
Yes
Clear TE bit to 0 in SCSCR
End
Figure 14.18 Sample Serial Transmission Flowchart
Rev. 2.00, 03/05, page 622 of 884