English
Language : 

SH7618 Datasheet, PDF (410/646 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7618 Series
Section 14 Serial Communication Interface with FIFO (SCIF)
Transmitting Serial Data (Synchronous Mode): Figure 14.13 shows a sample flowchart for
transmitting serial data.
Start of transmission
Read TDFE flag in SCFSR
[1] SCIF status check and transmit data
write:
Read SCFSR and check that the
No
TDFE = 1?
TDFE flag is set to 1, then write
transmit data to SCFTDR. Read the
Yes
TDFE and TEND flags while they are
1, then clear them to 0.
Write transmit data to SCFTDR
Read TDFE and TEND flags
in SCFSR while they are 1, then
[1]
[2] Serial transmission continuation
clear them to 0
procedeure:
All data transmitted?
Yes
No
[2]
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.
Read TEND flag in SCFSR
No
TEND = 1?
Yes
Clear TE bit in SCSCR to 0
End of transmission
Figure 14.13 Sample Flowchart for Transmitting Serial Data
Rev. 6.00 Jun. 12, 2007 Page 378 of 610
REJ09B0131-0600