r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 595

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
Note : * In simultaneous transmit/receive operation, the TE and RE bits must be cleared to 0 or set to 1
Set the PFC for the external pins to be
Set the RIE, TIE, TEIE, and MPIE bits
Set CKE1 and CKE0 bits in SCSCR
Set TE and RE bits of SCSCR to 1
simultaneously.
TE, and RE bits in SCSCR to 0*
Clear RIE, TIE, TEIE, MPIE,
Set data transfer format in
< Initialization completed>
used (SCK, TXD, RXD)
(TE and RE bits are 0)
1-bit interval elapsed?
Set value in SCBRR
SCSMR, SCSDCR
Figure 14.3 Sample Flowchart for SCI Initialization
Start initialization
in SCSCR
Yes
Wait
No
[1]
[2]
[3]
[4]
[5]
Section 14 Serial Communication Interface (SCI)
[1] Set the clock selection in SCSCR.
[2] Set the data transfer format in SCSMR
[3] Write a value corresponding to the bit
[4] Set PFC of the external pin used. Set
[5] Set the TE bit or RE bit in SCSCR to 1.*
and SCSDCR.
rate to SCBRR. Not necessary if an
external clock is used.
RXD input during receiving and TXD
output during transmitting. Set SCK
input/output according to contents set by
CKE1 and CKE0. When CKE1 and
CKE0 are 0 in asynchronous mode,
setting the SCK pin is unnecessary.
Outputting clocks from the SCK pin
starts at synchronous clock output
setting.
Also make settings of the RIE, TIE,
TEIE, and MPIE bits. At this time, the
TXD, RXD, and SCK pins are ready to
be used. The TXD pin is in a mark state
during transmitting, and RXD pin is in an
idle state for waiting the start bit during
receiving.
Rev. 1.00 Sep. 21, 2007 Page 569 of 1124
REJ09B0402-0100

Related parts for r5f71374an80fpv