Register Settings - Hitachi H8/3006 Hardware Manual

Table of Contents

Advertisement

14.3.4

Register Settings

Table 14.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 14.3 Smart Card Interface Register Settings
*1
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
14.3.5, Clock.
Bit Rate Register (BRR) Settings: BRR is used to set the bit rate. See section 14.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 13, 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 not 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.
500
Bit 7
Bit 6
Bit 5
GM
0
1
BRR7
BRR6
BRR5
TIE
RIE
TE
TDR7
TDR6
TDR5
TDRE
RDRF
ORER
RDR7
RDR6
RDR5
Bit
Bit 4
Bit 3
Bit 2
O/E
1
0
BRR4
BRR3
BRR2
RE
0
0
TDR4
TDR3
TDR2
ERS
PER
TEND
RDR4
RDR3
RDR2
SDIR
SINV
Bit 1
Bit 0
CKS1
CKS0
BRR1
BRR0
2
CKE1*
CKE0
TDR1
TDR0
0
0
RDR1
RDR0
SMIF

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3007Hd6413006Hd6413007

Table of Contents