English
Language : 

SH7751 Datasheet, PDF (833/1224 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
17. Smart Card Interface
Initialization
Clear TE and RE bits
in SCSCR1 to 0
1
Clear FER/ERS, PER, and
ORER flags in SCSCR1 to 0
2
In SCSMR1, set parity in O/E bit,
clock in CKS1 and CKS0 bits, 3
and set GM
Set SMIF, SDIR, and SINV bits
in SCSCMR1
4
Set value in SCBRR1
5
In SCSCR1, set clock in CKE1
and CKE0 bits, and clear TIE, 6
RIE, TE, RE, MPIE, and
TEIE bits to 0.
Wait
No
1-bit interval elapsed?
Yes
Set TIE, RIE, TE, and RE bits
in SCSCR1
7
End
Figure 17.7 Sample Initialization Flowchart
Rev.4.00 Oct. 10, 2008 Page 735 of 1122
REJ09B0370-0400