English
Language : 

SH7080_09 Datasheet, PDF (905/1622 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family
Section 16 Serial Communication Interface with FIFO (SCIF)
Transmitting Serial Data (Clock Synchronous Mode): Figure 16.13 shows a sample flowchart
for transmitting serial data.
Start of transmission
Read TDFE flag in SCFSR
[1]
No
TDFE = 1?
Yes
Write transmit data to SCFTDR
and clear TDFE flag
and TEND flag in SCFSR to 0
after reading them as 1
All data transmitted?
Yes
No
[2]
Read TEND flag in SCFSR
No
TEND = 1?
Yes
Clear TE bit in SCSCR to 0
[1] SCIF status check and transmit data
write:
Read SCFSR and check that the
TDFE flag and the TEND flag are set
to 1, then write transmit data to
SCFTDR, and clear the TDFE flag
and the TEND flag to 0.
[2] Serial transmission continuation
procedure:
To continue serial transmission, read
1 from the TDFE flag to confirm that
writing is possible, them write data to
SCFTDR, and then clear the TDFE
flag to 0.
End of transmission
Figure 16.13 Sample Flowchart for Transmitting Serial Data
Rev. 4.00 Dec. 15, 2009 Page 845 of 1558
REJ09B0181-0400