HD6413008F RENESAS [Renesas Technology Corp], HD6413008F Datasheet - Page 400

no-image

HD6413008F

Manufacturer Part Number
HD6413008F
Description
Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6413008F25
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6413008F25
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6413008F25V
Manufacturer:
MITSUMI
Quantity:
2 949
Part Number:
HD6413008F25V
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD6413008F25V
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6413008FBL25
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6413008FBL25
Manufacturer:
HIT
Quantity:
9 676
12. Serial Communication Interface
Rev.4.00 Aug. 20, 2007 Page 356 of 638
REJ09B0395-0400
Note: * In simultaneous transmitting and receiving, the TE and RE bits should be cleared to
Figure 12.4 shows a sample flowchart for initializing the SCI.
Set CKE1 and CKE0 bits in SCR
Select communication format
Set TE or RE bit to 1 in SCR
Set the RIE, TIE, TEIE, and
(leaving TE and RE bits
Clear TE and RE bits
1-bit interval elapsed?
<End of initialization>
Start of initialization
0 or set to 1 simultaneously.
Set value in BRR
cleared to 0)
to 0 in SCR
MPIE bits
in SMR
Figure 12.4 Sample Flowchart for SCI Initialization
Yes
Wait
No
(1)
(2)
(3)
(4)
(1)
(2)
(3)
(4)
Set the clock source in SCR. Clear the
RIE, TIE, TEIE, MPIE, TE, and RE bits to
0. If clock output is selected in
asynchronous mode, clock output starts
immediately after the setting is made in
SCR.
Select the communication format in SMR.
Write the value corresponding to the bit
rate in BRR.
This step is not necessary when an
external clock is used.
Wait for at least the interval required to
transmit or receive one bit, then set the
TE or RE bit to 1 in SCR*. Set the RIE,
TIE, TEIE, and MPIE bits as necessary.
Setting the TE or RE bit enables the SCI
to use the TxD or RxD pin.

Related parts for HD6413008F