Register Settings; Table 13.3 Smart Card Interface Register Settings - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

13.3.4

Register Settings

Table 13.3 shows a bit map of the registers used in the smart card interface. Bits indicated as 0 or
1 must be set to the value shown. The setting of other bits is described in this section.

Table 13.3 Smart Card Interface Register Settings

Register Address *
SMR
H'FFFB0
BRR
H'FFFB1
SCR
H'FFFB2
TDR
H'FFFB3
SSR
H'FFFB4
RDR
H'FFFB5
SCMR
H'FFFB6
Notes: —: Unused bit.
*1 Lower 20 bits of the address in advanced mode
*2 When GM is cleared to 0 in SMR, the CKE1 bit must also be cleared to 0.
Serial Mode Register (SMR) Settings: Clear the GM bit to 0 when using the normal smart card
interface mode, or set to 1 when using GSM mode. Clear the O/E bit to 0 if the smart card is of the
direct convention type, or set to 1 if of the inverse convention type.
Bits CKS1 and CKS0 select the clock source of the built-in baud rate generator. See section
13.3.5, Clock.
Bit Rate Register (BRR) Settings: BRR is used to set the bit rate. See section 13.3.5, Clock, for
the method of calculating the value to be set.
Serial Control Register (SCR) Settings: The TIE, RIE, TE, and RE bits have their normal serial
communication functions. See section 12, Serial Communication Interface, for details. The CKE1
and CKE0 bits specify clock output. To disable clock output, clear these bits to 00; to enable clock
output, set these bits to 01. Clock output is performed when the GM bit is set to 1 in SMR. Clock
output can also be fixed low or high.
Smart Card Mode Register (SCMR) Settings: Clear both the SDIR bit and SINV bit cleared to
0 if the smart card is of the direct convention type, and set both to 1 if of the inverse convention
type. To use the smart card interface, set the SMIF bit to 1.
432
1
Bit 7
Bit 6
GM
0
BRR7
BRR6
TIE
RIE
TDR7
TDR6
TDRE
RDRF
RDR7
RDR6
Bit
Bit 5
Bit 4
Bit 3
1
O/E
1
BRR5
BRR4
BRR3
TE
RE
0
TDR5
TDR4
TDR3
ORER
ERS
PER
RDR5
RDR4
RDR3
SDIR
Bit 2
Bit 1
Bit 0
0
CKS1
CKS0
BRR2
BRR1
BRR0
2
CKE1 *
0
CKE0
TDR2
TDR1
TDR0
TEND
0
0
RDR2
RDR1
RDR0
SINV
SMIF

Advertisement

Table of Contents
loading

Table of Contents