r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 613

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
14.4.5
Figure 14.16 shows a sample flowchart for multiprocessor serial data transmission. For an ID
transmission cycle, set the MPBT bit in SCSSR to 1 before transmission. For a data transmission
cycle, clear the MPBT bit in SCSSR to 0 before transmission. All other SCI operations are the
same as those in asynchronous mode.
Multiprocessor Serial Data Transmission
Figure 14.16 Sample Multiprocessor Serial Transmission Flowchart
Write transmit data to SCTDR and
as an output port with the PFC
Clear TE bit in SCSCR to 0;
Read TDRE flag in SCSSR
Read TEND flag in SCSSR
set MPBT bit in SCSSR
Clear TDRE flag to 0
All data transmitted?
select the TXD pin
Start transmission
Break output?
Clear DR to 0
Initialization
TDRE = 1?
TEND = 1?
<End>
Yes
Yes
Yes
Yes
No
No
No
No
[1]
[2]
[3]
[4]
Section 14 Serial Communication Interface (SCI)
[1]
[2]
[3]
[4]
SCI initialization:
Set the TXD pin using the PFC.
After the TE bit is set to 1, 1 is output
for one frame, and transmission is
enabled. However, data is not
transmitted.
SCI status check and transmit data
write:
Read SCSSR and check that the
TDRE flag is set to 1, then write
transmit data to SCTDR. Set the
MPBT bit in SCSSR to 0 or 1. Finally,
clear the TDRE flag to 0.
Serial transmission continuation
procedure:
To continue serial transmission, be
sure to 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.
Break output at the end of serial
transmission:
To output a break in serial
transmission, first clear the port data
register (DR) to 0, then clear the TE
bit to 0 in SCSCR and use the PFC to
select the TXD pin as an output port.
Rev. 1.00 Sep. 21, 2007 Page 587 of 1124
REJ09B0402-0100

Related parts for r5f71374an80fpv