R5S72011 RENESAS [Renesas Technology Corp], R5S72011 Datasheet - Page 744

no-image

R5S72011

Manufacturer Part Number
R5S72011
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
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.
Rev. 2.00 Sep. 07, 2007 Page 716 of 1164
REJ09B0321-0200
TEND flags in SCFSR, then clear
Write transmit data to SCFTDR
Clear TE bit in SCSCR to 0
Read TDFE flag in SCFSR
and read 1 from TDFE and
Read TEND flag in SCFSR
Figure 16.11 Sample Flowchart for Transmitting Serial Data
All data transmitted?
Start of transmission
End of transmission
these flags to 0
TEND = 1?
TDFE = 1?
Yes
Yes
Yes
[1]
No
No
No
[2]
[1] SCIF status check and transmit data
[2] Serial transmission continuation
write:
procedeure:
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 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.
To continue serial transmission, read

Related parts for R5S72011