English
Language : 

HD64F2638F20J Datasheet, PDF (578/1512 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
Section 14 Smart Card Interface
H8S/2639, H8S/2638, H8S/2636,
H8S/2630, H8S/2635 Group
14.3.4 Register Settings
Table 14-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 14-3 Smart Card Interface Register Settings
Bit
Register Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
SMR
BRR
SCR
GM
BRR7
TIE
BLK
BRR6
RIE
1
BRR5
TE
O/E
BRR4
RE
BCP1
BRR3
0
BCP0
BRR2
0
CKS1
BRR1
CKE1*
CKS0
BRR0
CKE0
TDR
SSR
TDR7
TDRE
TDR6
RDRF
TDR5
ORER
TDR4
ERS
TDR3
PER
TDR2
TEND
TDR1
0
TDR0
0
RDR
RDR7 RDR6 RDR5 RDR4 RDR3 RDR2 RDR1 RDR0
SCMR
—
—
—
—
SDIR SINV —
SMIF
Notes: —: Unused bit.
*: The CKE1 bit must be cleared to 0 when the GM bit in SMR is cleared to 0.
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. Bits BCP1 and
BCP0 select the number of basic clock periods in a 1-bit transfer interval. For details, see section
14.3.5, Clock.
The BLK bit is cleared to 0 in normal smart card interface mode, and set to 1 in block transfer
mode.
BRR Setting: BRR is used to set the bit rate. See section 14.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 13, 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.
Page 528 of 1458
REJ09B0103-0800 Rev. 8.00
May 28, 2010