English
Language : 

SH7201 Datasheet, PDF (744/1196 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 16 Serial Communication Interface with FIFO (SCIF)
• Transmitting Serial Data (Clocked Synchronous Mode)
Figure 16.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
and read 1 from TDFE and [1]
TEND flags in SCFSR, then clear
these flags to 0
All data transmitted?
Yes
No
[2]
Read TEND flag in SCFSR
No
TEND = 1?
Yes
Clear TE bit in SCSCR to 0
End of transmission
[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, and read
1 from the TDFE and TEND flags,
then clear these flags to 0.
[2] Serial transmission continuation
procedeure:
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.
Figure 16.11 Sample Flowchart for Transmitting Serial Data
Rev. 2.00 Sep. 07, 2007 Page 716 of 1164
REJ09B0321-0200