r8a77850anbg Renesas Electronics Corporation., r8a77850anbg Datasheet - Page 1117

no-image

r8a77850anbg

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r8a77850anbgV
Manufacturer:
Renesas Electronics America
Quantity:
10 000
TTRG1 and TTRG0 bits in SCFCR,
and clear TFCL and RFCL bits to 0
in SCSCR (leaving TE, RE, TIE,
Set TE and RE bits in SCSCR
Set RTRG1 and RTRG0 and
Set external pins to be used
and RIE bits cleared to 0)
Set CKE1 and CKE0 bits
Set TFCL and RFCL bits
(SCIF_CLK, SCIF_TXD,
Set data transfer format
and ER flags in SCFSR,
After reading BRK, DR,
in SCFCR to 1 to clear
to 1, and set TIE, RIE,
1-bit interval elapsed?
write 0 to clear them
Clear TE and RE bits
Set value in SCBRR
Start of initialization
End of initialization
and SCIF_RXD)
in SCSCR to 0
the FIFO buffer
and REIE bits
Figure 21.16 Sample SCIF Initialization Flowchart
in SCSMR
Yes
Wait
No
[1]
[2]
[3]
[4]
[5]
[6]
21. Serial Communication Interface with FIFO (SCIF)
[1]
[2]
[3]
[4]
[5]
[6]
Leave the TE and RE bits cleared
to 0 until the initialization almost
ends. Be sure to clear the TIE,
RIE, TE, and RE bits to 0.
Set the CKE1 and CKE0 bits.
Set the data transfer format in
SCSMR.
Write a value corresponding to
the bit rate into SCBRR. This
is not necessary if an external
clock is used. Wait at least one
bit interval after this write before
moving to the next step.
Set the external pins to be used.
Set SCIF_RXD input for reception and
SCIF_TXD output for transmission.
The input/output of the SCIF_CLK pin
must match the setting of the CKE1
and CKE0 bits.
Set the TE or RE bit in SCSCR
to 1. Also set the TIE, RIE, and
REIE bits to enable the SCIF_TXD,
SCIF_RXD, and SCIF_CLK pins to
be used. When transmitting, the
SCIF_TXD pin goes to the mark
state. When receiving in clocked
synchronous mode with the
synchronization clock output (clock
master) selected, a clock starts to
be output from the SCIF_CLK pin
at this point.
Rev.1.00 Jan. 10, 2008 Page 1087 of 1658
REJ09B0261-0100

Related parts for r8a77850anbg