Rev. 2.00, 09/03, page 418 of 690
Figure 16.13 shows sample SCIF initialization flowcharts.
No
Yes
Wait
End
1-bit interval elapsed?
Set transmit trigger number in TTRG1
and TTRG0 in SCFCR, write transmit
data exceeding transmit trigger setting
number, and clear TDFE flag to 0 after
reading 1 from it
Initialization
Clear TE and RE bits in SCSCR to 0
Set TFRST bit in SCFCR to 1
Set CKE1 and CKE0 bits in SCSCR
(leaving TE and RE bits cleared to 0)
Set C/A bit in SCSMR to 1
Set CKS1 and CKS0 bits
Set value in SCBRR
Clear TFRST bit to 0
[1] Be sure to set the TFRST bit in
SCFCR to 1, to reset the FIFOs.
[2] Set the clock selection in SCSCR.
Be sure to clear bits RIE, TIE, TE,
and RE to 0.
[3] Set the clock source selection in
SCSMR.
[4] Write a value corresponding to the
bit rate into SCBRR.
[5] Clear the TFRST bit in SCFCR to 0.
[6] Set the transmit trigger number,
write transmit data exceeding the
transmit trigger setting number, and
clear the TDFE flag to 0 after reading
it.
[7] Wait one bit interval.
[1]
[2]
[3]
[4]
[5]
[6]
[7]
Figure 16.13 Sample SCIF Initialization Flowchart (1) (Transmission)
Summary of Contents for SH7705
Page 2: ......
Page 70: ...Rev 2 00 09 03 page 24 of 690 ...
Page 194: ...Rev 2 00 09 03 page 148 of 690 ...
Page 284: ...Rev 2 00 09 03 page 238 of 690 ...
Page 338: ...Rev 2 00 09 03 page 292 of 690 ...
Page 354: ...Rev 2 00 09 03 page 308 of 690 ...
Page 374: ...Rev 2 00 09 03 page 328 of 690 ...
Page 420: ...Rev 2 00 09 03 page 374 of 690 ...
Page 476: ...Rev 2 00 09 03 page 430 of 690 ...
Page 482: ...Rev 2 00 09 03 page 436 of 690 ...
Page 552: ...Rev 2 00 09 03 page 506 of 690 ...
Page 630: ...Rev 2 00 09 03 page 584 of 690 ...
Page 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...