HD6417021 Hitachi Semiconductor, HD6417021 Datasheet - Page 400

no-image

HD6417021

Manufacturer Part Number
HD6417021
Description
SuperH RISC engine
Manufacturer
Hitachi Semiconductor
Datasheet
1. Select the communication format in the serial mode register (SMR).
2. Write the value corresponding to the bit rate in the bit rate register (BRR) unless an external
3. Select the clock source in the serial control register (SCR). Leave RIE, TIE, TEIE, MPIE, TE
4. Wait for at least the interval required to transmit or receive one bit, then set TE or RE in the
Note:
clock is used.
and RE cleared to 0.
serial control register (SCR) to 1. Also set RIE, TIE, TEIE and MPIE. Setting the
corresponding bit of the pin function controller, TE and RE enables the SCI to use the TxD or
RxD pin.
High except in continuous transmitting or receiving.
Figure 13.16 Sample Flowchart for SCI Initialization
Select communication format in SMR
Clear TE and RE bits to 0 in SCR
Set RIE, TIE, TEIE, MPIE, CKE1,
(leaving TE and RE cleared to 0)
Set RIE, TIE, TEIE, and MPIE
Set TE or RE to 1 in SCR;
and CKE0 bits in SCR
1-bit interval elapsed?
Start of initialization
Set value in BRR
End
Yes
Wait
No
(1)
(2)
(3)
(4)
HITACHI 387

Related parts for HD6417021