English
Language : 

HD64F2357VF13 Datasheet, PDF (556/1049 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
15.3.4 Register Settings
Table 15-3 shows a bit map of the registers used by the Smart Card interface.
Bits indicated as 0 or 1 must be set to the value shown. The setting of other bits is described below.
Table 15-3 Smart Card Interface Register Settings
Bit
Register Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
SMR
GM
0
1
O/E
1
0
BRR
BRR7 BRR6 BRR5 BRR4 BRR3 BRR2
SCR
TIE
RIE
TE
RE
0
0
TDR
TDR7 TDR6 TDR5 TDR4 TDR3 TDR2
SSR
TDRE RDRF ORER ERS
PER
TEND
RDR
RDR7 RDR6 RDR5 RDR4 RDR3 RDR2
SCMR
—
—
—
—
SDIR SINV
Notes: — : Not used.
* The CKE1 bit must be cleared to 0 when the GM bit in SMR is cleared to 0.
Bit 1
CKS1
BRR1
CKE1*
TDR1
0
RDR1
—
Bit 0
CKS0
BRR0
CKE0
TDR0
0
RDR0
SMIF
SMR Setting: The GM bit is cleared to 0 in normal Smart Card interface mode, and set to 1 in GSM mode. The O/E bit is
cleared to 0 if the IC card is of the direct convention type, and set to 1 if of the inverse convention type.
Bits CKS1 and CKS0 select the clock source of the on-chip baud rate generator. See section 15.3.5, Clock.
BRR Setting: BRR is used to set the bit rate. See section 15.3.5, Clock, for the method of calculating the value to be set.
SCR Setting: The function of the TIE, RIE, TE, and RE bits is the same as for the normal SCI. For details, see section 14,
Serial Communication Interface (SCI).
Bits CKE1 and CKE0 specify the clock output. When the GM bit in SMR is cleared to 0, set these bits to B'00 if a clock
is not to be output, or to B'01 if a clock is to be output. When the GM bit in SMR is set to 1, clock output is performed.
The clock output can also be fixed high or low.
Smart Card Mode Register (SCMR) Setting:
The SDIR bit is cleared to 0 if the IC card is of the direct convention type, and set to 1 if of the inverse convention type.
The SINV bit is cleared to 0 if the IC card is of the direct convention type, and set to 1 if of the inverse convention type.
The SMIF bit is set to 1 in the case of the Smart Card interface.
Examples of register settings and the waveform of the start character are shown below for the two types of IC card (direct
convention and inverse convention).
Rev.6.00 Oct.28.2004 page 526 of 1016
REJ09B0138-0600H