hd66100 Renesas Electronics Corporation., hd66100 Datasheet - Page 298

no-image

hd66100

Manufacturer Part Number
hd66100
Description
H8/3867 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
hd66100F
Manufacturer:
HIT
Quantity:
1 810
Part Number:
hd66100F
Manufacturer:
SW
Quantity:
1 815
Part Number:
hd66100F
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Figure 10.5 shows an example of a flowchart for initializing SCI3.
1
2
3
4
SPC32 to 1 in SPCR
Set bits SPC31 and
SCR3, and set bits
MPIE, and TEIE in
Clear bits TE and
Set bits TIE, RIE,
Set data transfer
Set value in BRR
RE to 0 in SCR3
Has 1-bit period
RE and TE to 1
Set bits CKE1
format in SMR
and CKE0
elapsed?
in PMR7
Start
End
Yes
Figure 10.5 Example of SCI3 Initialization Flowchart
Wait
No
1.
2.
3.
4.
Set clock selection in SCR3. Be sure to
clear the other bits to 0. If clock output
is selected in asynchronous mode, the
clock is output immediately after setting
bits CKE1 and CKE0. If clock output is
selected for reception in synchronous
mode, the clock is output immediately
after bits CKE1, CKE0, and RE are
set to 1.
Set the data transfer format in the serial
mode register (SMR).
Write the value corresponding to the
transfer rate in BRR. This operation is
not necessary when an external clock
is selected.
Wait for at least one bit period, then set
bits TIE, RIE, MPIE, and TEIE in SCR3,
and set bits RE and TE to 1 in PMR7.
Setting bits TE and RE enables the TXD3x
and RXD3x pins to be used. In asynchronous
mode the mark state is established when
transmitting, and the idle state waiting for
a start bit when receiving.
283

Related parts for hd66100