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

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
Transmitting and Receiving Data:
• SCI Initialization (Synchronous Mode): Before transmitting or receiving data, clear the TE and
Figure 12.15 shows a sample flowchart for initializing the SCI.
Rev.4.00 Aug. 20, 2007 Page 370 of 638
REJ09B0395-0400
Note: * In simultaneous transmitting and receiving, the TE and RE bits should be cleared to 0
RE bits to 0 in SCR, then initialize the SCI as follows.
When changing the communication mode or format, always clear the TE and RE bits to 0
before following the procedure given below. Clearing TE to 0 sets the TDRE flag to 1 and
initializes TSR. Clearing RE to 0, however, does not initialize the RDRF, PER, FER, and
ORER flags, or RDR, which retain their previous contents.
CKE0 bits in SCR (leaving TE and
Clear TE and RE bits to 0 in SCR
<Start transmitting or receiving>
Set RIE, TIE, MPIE, CKE1 and
Select communication format
Set RIE, TIE, TEIE, and MPIE
Set TE or RE bit to 1 in SCR
or set to 1 simultaneously.
1-bit interval elapsed?
RE bits cleared to 0)
Start of initialization
Set value in BRR
bits as necessary
in SMR
Figure 12.15 Sample Flowchart for SCI Initialization
Yes
Wait
Yes
(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.*
Set 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