English
Language : 

HD6417727BP160CV Datasheet, PDF (614/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Section 18 Smart Card Interface
Initialize
Clear TE and RE bits in SCSCR to 0 (1)
Clear SCSSR's FER/ERS,
(2)
PER and ORER flags to 0
Set SCSMR's O/E bit to parity,
set CKS1 and CKS0 bits to
(3)
the clock and set C/A
Set SCSMR's SMIF, SDIR,
(4)
and SINV bits
Set value in SCBRR
(5)
Set SCSCR's CKE1 and CKE0 bits
to the clock and clear TIE, RIE, (6)
TE, RE, MPIE, and TEIE bits to 0
Wait
Has a 1-bit
interval elapsed?
Yes
Set SCSCR's
TIE, RIE, TE, and RE bits
No
(7)
End
Note: Numbers refer to the preceding procedure.
Figure 18.5 Initialization Flowchart (Example)
Rev.6.00 Mar. 27, 2009 Page 556 of 1036
REJ09B0254-0600