r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 596

no-image

r5f71374an80fpv

Manufacturer Part Number
r5f71374an80fpv
Description
32-bit Risc Microcomputer Superh?? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F71374AN80FPV
Manufacturer:
TI
Quantity:
1 001
Section 14 Serial Communication Interface (SCI)
Transmitting Serial Data (Asynchronous Mode):
Figure 14.4 shows a sample flowchart for serial transmission.
Use the following procedure for serial data transmission after enabling the SCI for transmission.
Rev. 1.00 Sep. 21, 2007 Page 570 of 1124
REJ09B0402-0100
and clear TDRE bit in SCSSR to 0
Write transmit data in SCTDR
Read TDRE flag in SCSSR
Read TEND flag in SCSSR
Clear TE bit in SCSCR to 0
Clear SPB0DT to 0 and
Figure 14.4 Sample Flowchart for Transmitting Serial Data
Start of transmission
All data transmitted?
End of transmission
set SPB0IO to 1
Break output?
TDRE = 1?
TEND = 1?
Yes
Yes
Yes
Yes
No
No
No
No
[1] SCI status check and transmit data
[2] Serial transmission continuation
[3] Break output at the end of serial
write:
Read SCSSR and check that the
TDRE flag is set to 1, then write
transmit data to SCTDR, and clear
the TDRE flag to 0.
procedure:
To continue serial transmission, read
1 from the TDRE flag to confirm that
writing is possible, then write data to
SCTDR, and then clear the TDRE
flag to 0.
Checking and clearing of the TDRE
flag is automatic when the DTC is
activated by a transmit data empty
interrupt (TXI) request, and data is
written to SCTDR.
transmission:
To output a break in serial
transmission, clear the SPB0DT bit to
0 and set the SPB0IO bit to 1 in
SCSPTR, then clear the TE bit in
SCSCR to 0.

Related parts for r5f71374an80fpv