English
Language : 

SH7203 Datasheet, PDF (802/1686 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 15 Serial Communication Interface with FIFO (SCIF)
• Transmitting Serial Data (Clock Synchronous Mode)
Figure 15.13 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 TDFE and TEND flags
in SCFSR as 1,
[1]
and then clear the 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
[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. Clear the
TDFE and TEND flags to 0 after
reading them as 1.
[2] 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.
End of transmission
Figure 15.13 Sample Flowchart for Transmitting Serial Data
Rev. 2.00 Apr. 16, 2008 Page 772 of 1652
REJ09B0313-0200