Renesas SH7709S Manual Do Utilizador

Página de 807
Rev. 5.00, 09/03, page 540 of 760
Initialization
Clear TE and RE bits in SCSCR to 0
Set TFRST and RFRST bits in
SCFCR to 1
1-bit interval elapsed?
Set RTRG1-0, TTRG1-0, and MCE 
in SCFCR
Clear TFRST and RFRST bits to 0
Set TE and RE bits in 
SCSCR to 1,and set RIE, TIE, 
TEIE, and MPIE bits
Set communication format in SCSMR
Yes
No
Set value in SCBRR
Set CKE1 and CKE0 
bits in SCSCR (leaving TE and RE 
bits cleared to 0)
End
(1) 
(2) 
(3) 
(4) 
Wait
Note:  Numbers in parentheses refer to steps in the preceding procedure description.
Figure 16.5   Sample Flowchart for SCIF Initialization