HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 786

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 19 Serial Communication Interface with FIFO (SCIF)
• Transmitting Serial Data (Synchronous Mode)
Figure 19.13 shows a sample flowchart for transmitting serial data.
Use the following procedure for serial data transmission after enabling the SCIF for transmission.
Rev. 4.00 Sep. 14, 2005 Page 736 of 982
REJ09B0023-0400
Write transmit data to SCFTDR
Clear TE bit in SCSCR to 0
Read TDFE flag in SCFSR
Read TEND flag in SCFSR
Figure 19.13 Sample Flowchart for Transmitting Serial Data
and clear TDFE flag
All data transmitted?
Start of transmission
End of transmission
in SCFSR to 0
TEND = 1?
TDFE = 1?
Yes
Yes
Yes
No
No
No
[2]
[1]
[1] SCIF status check and transmit data
[2] Serial transmission continuation
write:
TDFE flag is set to 1, then write
transmit data to SCFTDR, and clear
the TDFE flag to 0. The transition of
the TDFE flag from 0 to 1 can also be
identified by a TXI interrupt.
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
To continue serial transmission, read

Related parts for HD6417641