Register Settings - Renesas H8/3067 Series User Manual

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for H8/3067 Series:
Table of Contents

Advertisement

Section 14 Smart Card Interface
the receiving device places the signal line in the high-impedance state again. The signal line is
pulled high again by a pull-up resistor.
5. If the transmitting device does not receive an error signal, it proceeds to transmit the next data
frame. If it receives an error signal, however, it returns to step 2 and transmits the same data
again.
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
Register Address *
1
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
Rev. 4.00 Jan 26, 2006 page 554 of 938
REJ09B0276-0400
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
CKE1 *
2
CKE0
TDR1
TDR0
0
0
RDR1
RDR0
SMIF

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3067H8/3066H8/3065H8/3067rf

Table of Contents