Hitachi SH7750 series Hardware Manual page 564

Superh risc engine
Hide thumbs Also See for SH7750 series:
Table of Contents

Advertisement

Initialization
Clear TE and RE bits
in SCSCR1 to 0
Set RIE, TIE, TEIE, MPIE, CKE1
and CKE0 bits in SCSCR1
(leaving TE and RE bits
cleared to 0)
Set data transfer format
in SCSMR1
Set value in SCBRR1
1-bit interval elapsed?
Yes
Set TE and RE bits in SCSCR1
to 1, and set RIE, TIE, TEIE,
and MPIE bits
End
Figure 15.18 Sample SCI Initialization Flowchart
Wait
No
1. Set the clock selection in SCSCR1.
Be sure to clear bits RIE, TIE, TEIE,
and MPIE, TE and RE, to 0.
2. Set the data transfer format in
SCSMR1.
3. Write a value corresponding to the bit
rate into SCBRR1. (Not necessary if
an external clock is used.)
4. Wait at least one bit interval, then set
the TE bit or RE bit in SCSCR1 to 1.
Also set the RIE, TIE, TEIE, and MPIE
bits. Setting the TE and RE bits
enables the TxD and RxD pins to be
used.
Rev. 4.0, 04/00, page 553 of 850

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750sSh7750

Table of Contents