DS8007
Multiprotocol Dual Smart Card Interface
______________________________________________________________________________________ 13
Detailed Description
The following describes the major functional features of
the device. Use of this document requires the reader
have a basic understanding of ISO 7816 terminology.
Parallel Bus Interface
The device interfaces to a host computer/processor
through a multiplexed or demultiplexed, parallel, 8-bit
data bus (D0–D7). The parallel bus interface monitors
the ALE signal and automatically detects whether a
multiplexed or nonmultiplexed external bus interface is
intended. The nonmultiplexed external bus interface is
the default configuration and is maintained so long as
no edge (activity) is detected on the ALE pin. Once a
rising edge is detected on the ALE pin, the DS8007 is
placed into the multiplexed mode of operation. Once in
the multiplexed mode of operation, a reset/power cycle
or the deassertion of CS forces the device to the non-
multiplexed mode. Connecting the ALE pin to V
DD
or
ground forces the device into nonmultiplexed parallel
bus mode. Figure 7 shows that the bus recognition dic-
tates whether the external address lines (AD3–AD0)
can be used directly or whether the external data lines
(D7–D0) must be latched according to the ALE input
signal. In the multiplexed mode of operation, a new
address is latched irrespective of the state of CS.
ANALOG
INTERFACE
POWER-SUPPLY
SUPERVISOR
CONTROL
SEQUENCERS
ISO
UART
DIGITAL
INTERFACE
CLOCK
GENERATION
TIMEOUT
COUNTER
GNDB
I/OB
C4B
C8B
PRESB
RSTB
INT
CS
INTAUX
I/OAUX
AD0
AD1
AD2
AD3
ALE
RD
WR
D0
D1
D2
D3
D4
CLKB
V
CCB
GNDA
I/OA
C4A
C8A
PRESA
RSTA
CLKA
V
CCA
RSTOUT
DELAY
V
DD
GND
V
DDA
AGND
V
UP
DC-DC
CONVERTER
CPA1
CPA2
CPB1
CPB2
D5
D6
D7
XTAL1
XTAL2
DS8007
Figure 6. Block Diagram
Multiplexed Mode
In the multiplexed mode of operation, the D7–D0 sig-
nals are multiplexed between address and data. The
falling edge of the address latch enable (ALE) signal
from the host microcontroller latches the address
(D3–D0), and the RD and WR strobe input signals are
used to enable a read or write operation, respectively, if
the DS8007 is selected (i.e., CS = 0). See the AC timing
for the multiplexed parallel bus mode found earlier in
this data sheet.
Nomultiplexed Mode
In the nonmultiplexed mode of operation, the address is
always provided on the AD3–AD0 signals, and the data
is always transacted on the D7–D0 signals. The RD input
signal is used as a read/write (R/W) operation select. The
WR and CS input signals serve as active-low enables,
and must be asserted for the read or write operation to
take place. See the AC timing for the nonmultiplexed
parallel bus mode found earlier in this data sheet.
DS8007
Multiprotocol Dual Smart Card Interface
14 ______________________________________________________________________________________
REGISTERS
0
AD3–AD0
D3–D0
D7–D0
CS
RD
WR
LATCH
ALE
CS
RST
CONTROL
LOGIC
OR
V
DD
RST
1
Figure 7. Parallel Bus Interface
DS8007
*
u = unchanged, x = always reflects state of external device pin, even when RIU = 0.
Note: Writes to unimplemented bits have no effect. Reads of unimplemented bits return 0.
Table 1. Special Function Register Map
ADDRESS
(HEX)
REGISTER
NAME
R/W BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 RESET RIU = 0*
00 CSR R/W CSR7 CSR6 CSR5 CSR4 RIU SC3 SC2 SC1 0011 0000 0011 0uuu
01 CCR R/W SHL CST SC AC2 AC1 AC0 0000 0000 00uu uuuu
02 PDR R/W PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 0000 0000 uuuu uuuu
03 UCR2 R/W
DISTBE/
RBF
DISAUX PDWN SAN AUTOC CKU PSC 0000 0000 uuuu uuuu
05 GTR R/W GTR.7 GTR.6 GTR.5 GTR.4 GTR.3 GTR.2 GTR.1 GTR.0 0000 0000 uuuu uuuu
06 UCR1 R/W FTE0 FIP — PROT T/R LCT SS CONV 0000 0000 0uuu 00uu
07 PCR R/W C8 C4 1V8 RSTIN 3V/5V START 0011 0000 0011 uuuu
08 TOC R/W TOC7 TOC6 TOC5 TOC4 TOC3 TOC2 TOC1 TOC0 0000 0000 0000 0000
09 TOR1 W TOL7 TOL6 TOL5 TOL4 TOL3 TOL2 TOL1 TOL0 0000 0000 uuuu uuuu
0A TOR2 W TOL15 TOL14 TOL13 TOL12 TOL11 TOL10 TOL9 TOL8 0000 0000 uuuu uuuu
0B TOR3 W TOL23 TOL22 TOL21 TOL20 TOL19 TOL18 TOL17 TOL16 0000 0000 uuuu uuuu
0C MSR R CLKSW FE BGT CRED PRB PRA INTAUX
TBE/
RBF
0101 0000 u1u1 uuu0
0C FCR W PEC2 PEC1 PEC0 FTE1 FL2 FL1 FL0 0000 0000 0uuu 0uuu
0D URR R UR7 UR6 UR5 UR4 UR3 UR2 UR1 UR0 0000 0000 0000 0000
0D UTR W UT7 UT6 UT5 UT4 UT3 UT2 UT1 UT0 0000 0000 0000 0000
0E USR R TO3 TO2 TO1 EA PE OVR FER
TBE/
RBF
0000 0000 0000 0000
0F HSR R PRTLB PRTLA SUPL PRLB PRLA INTAUXL PTL 0001 0000 0uuu xxxu
Multiprotocol Dual Smart Card Interface
______________________________________________________________________________________ 15
Control Registers
Special control registers that the host computer/micro-
controller accesses through the parallel bus manage
most DS8007 features. Many of the registers, although
only mentioned once in the listing, are duplicated for
each card interface. The PDR, GTR, UCR1, UCR2, and
CCR registers exist separately for each of the three
card interfaces. The PCR register is provided only for
card interface A and card interface B.
The specific register to be accessed is controlled by
the current setting of the SC3–SC1 bits in the Card
Select Register. For example, there are three instances
of the UART Control Register 1 (UCR1) at address 06h.
If the SC3–SC1 bits are configured so that card A is
selected, then all reads and writes to address 06h only
affect card A. If SC3–SC1 are changed to select card
B, then all reads and writes to address 06h only affect
card B, etc.
In addition, some registers have different functions
based on whether the register is being read from or writ-
ten to. An example of this are the UART Receive
(URR)/UART Transmit (UTR) registers located at address
0Dh. Although they share the same address, during read
operations the receive register is read, and write opera-
tions go to a separate transmit register. This selection
requires no extra configuration by the software.

DS8007-ENG+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Interface - Specialized Multiprotocol Dual Smart Card Interface
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet