English
Language : 

SH7280 Datasheet, PDF (899/1726 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine family
Section 17 Serial Communication Interface with FIFO (SCIF)
• Transmitting Serial Data (Clocked Synchronous Mode)
Figure 17.11 shows a sample flowchart for transmitting serial data. Use the following procedure
for serial data transmission after enabling the SCIF for transmission.
Start of transmission
Read TDFE flag in SCFSR
No
TDFE = 1?
Yes
Write transmit data to SCFTDR,
read 1 from TDFE and FEND [1]
flags in SCFSR, and
clear them to 0
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 is set to 1, then write
transmit data to SCFTDR. Read 1
from the TDFE and TEND flags, then
clear these flags 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
End of transmission
Figure 17.11 Sample Flowchart for Transmitting Serial Data
Rev. 1.00 Jun. 26, 2008 Page 869 of 1692
REJ09B0393-0100