DS8113
Smart Card Interface
_______________________________________________________________________________________ 7
Pin Description
PIN NAME FUNCTION
1, 2
CLKDIV1,
CLKDIV2
Clock Divider. Determines the divided-down input clock frequency (presented at XTAL1 or from a
crystal at XTAL1 and XTAL2) on the CLK output pin. Dividers of 1, 2, 4, and 8 are available.
3 5V/3V
5V/3V Selection Pin. Allows selection of 5V or 3V for communication with an IC card. Logic-high
selects 5V operation; logic-low selects 3V operation. The 1_8V pin overrides the setting on this pin if
active. See Table 3 for a complete description of choosing card voltages.
4 PGND Analog Ground
5, 7 CP2, CP1 Step-Up Converter Contact. Unused for the DS8113.
6 VDDA Charge Pump Supply. Must be equal to or higher than V
DD
. For the DS8113 this must be at least 5.0V.
8 VUP Charge Pump Output. Unused for the DS8113.
9 PRES
Card Presence Indicator. Active-low card presence inputs. When the presence indicator becomes
active, a debounce timeout begins. After 8ms (typ) the OFF signal becomes active.
10 PRES
Card Presence Indicator. Active-high card presence inputs. When the presence indicator becomes
active, a debounce timeout begins. After 8ms (typ) the OFF signal becomes active.
11 I/O Smart Card Data-Line Output. Card data communication line, contact C7.
12, 13
AUX2,
AUX1
Smart Card Auxiliary Line (C4, C8) Output. Data line connected to card reader contacts C4 (AUX1)
and C8 (AUX2).
14 CGND Smart Card Ground
15 CLK Smart Card Clock. Card clock, contact C3.
16 RST Smart Card Reset. Card reset output from contact C2.
17 VCC
Smart Card Supply Voltage. Decouple to CGND (card ground) with 2 x 100nF or 100 + 220nF
capacitors (ESR < 100m).
18 1_8V
1.8V Operation Selection. Active-high selection for 1.8V smart card communication. An active-high
signal on this pin overrides any setting on the 5V/3V pin.
19 CMDVCC Activation Sequence Initiate. Active-low input from host.
20 RSTIN Card Reset Input. Reset input from the host.
21 VDD Supply Voltage
22 GND Digital Ground
23 OFF Status Output. Active-low interrupt output to the host. Use a 20k integrated pullup resistor to VDD.
24, 25
XTAL1,
XTAL2
Crystal/Clock Input. Connect an input from an external clock to XTAL1 or connect a crystal across
XTAL1 and XTAL2. For the low idle-mode current variant, an external clock must be driven on
XTAL1.
26 I/OIN I/O Input. Host-to-interface chip data I/O line.
27, 28
AUX1IN,
AUX2IN
C4/C8 Input. Host-to-interface I/O line for auxiliary connections to C4 and C8.
DS8113
Detailed Description
The DS8113 is an analog front-end for communicating
with 1.8V, 3V, and 5V smart cards. It is a dual input-
voltage device, requiring one supply to match that of a
host microcontroller and a separate +5V supply for
generating correct smart card supply voltages. The
DS8113 translates all communication lines to the cor-
rect voltage level and provides power for smart card
operation. It is a low-power device, consuming very lit-
tle current in active-mode operation (during a smart
card communication session), and is suitable for use in
battery-powered devices such as laptops and PDAs,
consuming only 10nA in stop mode. See Figure 1 for a
functional diagram.
Power Supply
The DS8113 is a dual-supply device. The supply pins
for the device are VDD, GND, VDDA, and PGND. V
DD
should be in the range of 2.7V to 6.0V, and is the sup-
ply for signals that interface with the host controller. It
should, therefore, be the same supply as used by the
host controller. All smart card contacts remain inactive
during power-on or power-off. The internal circuits are
kept in the reset state until V
DD
reaches V
TH2
+ V
HYS2
and for the duration of the internal power-on reset
pulse, t
W
. A deactivation sequence is executed when
V
DD
falls below V
TH2
.
An internal regulator generates the 1.8V, 3V, or 5V card
supply voltage (V
CC
). The regulator should be supplied
separately by VDDA and PGND. VDDA should be con-
nected to a minimum 5.0V supply in order to provide
the correct supply voltage for 5V smart cards.
Voltage Supervisor
The voltage supervisor monitors the V
DD
supply. A
220µs reset pulse (t
W
) is used internally to keep the
device inactive during power-on or power-off of the
V
DD
supply. See Figure 2.
The DS8113 card interface remains inactive no matter
the levels on the command lines until duration t
W
after
V
DD
has reached a level higher than V
TH2
+ V
HYS2
.
When V
DD
falls below V
TH2
, the DS8113 executes a
card deactivation sequence if its card interface is
active.
Smart Card Interface
8 _______________________________________________________________________________________
TEMPERATURE
MONITOR
CARD VOLTAGE
GENERATOR
CLOCK
GENERATION
CONTROL
SEQUENCER
POWER-SUPPLY
SUPERVISOR
I/O TRANSCEIVER
VDD
GND
VDDA
PGND
CP1
CP2
VUP
VCC
XTAL1
XTAL2
CLKDIV1
CLKDIV2
1_8V
5V/3V
CMDVCC
RSTIN
CGND
RST
CLK
I/O
AUX1
AUX2
PRES
PRES
OFF
I/OIN
AUX1IN
AUX2IN
DS8113
Figure 1. Functional Diagram
VDD
ALARM
(INTERNAL SIGNAL)
POWER ON
t
W
t
W
POWER OFF
V
TH2
+ V
HYS2
V
TH2
SUPPLY DROPOUT
Figure 2. Voltage Supervisor Behavior
Clock Circuitry
The card clock signal (CLK) is derived from a clock sig-
nal input to XTAL1 or from a crystal operating at up to
20MHz connected between XTAL1 and XTAL2. The
output clock frequency of CLK is selectable through
inputs CLKDIV1 and CLKDIV2. The CLK signal fre-
quency can be f
XTAL
, f
XTAL
/2, f
XTAL
/4, or f
XTAL
/8. See
Table 1 for the frequency generated on the CLK signal
given the inputs to CLKDIV1 and CLKDIV2.
Note that CLKDIV1 and CLKDIV2 must not be changed
simultaneously; a delay of 10ns minimum between
changes is needed. The minimum duration of any state
of CLK is eight periods of XTAL1.
The frequency change is synchronous: during a transi-
tion of the clock divider, no pulse is shorter than 45% of
the smallest period, and the first and last clock pulses
about the instant of change have the correct width.
When changing the frequency dynamically, the change
is effective for only eight periods of XTAL1 after the
command.
The f
XTAL
duty factor depends on the input signal on
XTAL1. To reach a 45% to 55% duty factor on CLK,
XTAL1 should have a 48% to 52% duty factor with tran-
sition times less than 5% of the period.
With a crystal, the duty factor on CLK can be 45% to
55% depending on the circuit layout and on the crystal
characteristics and frequency. In other cases, the duty
factor on CLK is guaranteed between 45% and 55% of
the clock period.
If the crystal oscillator is used or if the clock pulse on
XTAL1 is permanent, the clock pulse is applied to the
card as shown in the activation sequences in Figures 3
and 4. If the signal applied to XTAL1 is controlled by
the host microcontroller, the clock pulse is applied to
the card when it is sent by the system microcontroller
(after completion of the activation sequence).
I/O Transceivers
The three data lines I/O, AUX1, and AUX2 are identical.
This section describes the characteristics of I/O and
I/OIN but also applies to AUX1, AUX1IN, AUX2, and
AUX2IN.
I/O and I/OIN are pulled high with an 11kΩ resistor (I/O
to VCC and I/OIN to VDD) in the inactive state. The first
side of the transceiver to receive a falling edge
becomes the master. When a falling edge is detected
(and the master is decided), the detection of falling
edges on the line of the other side is disabled; that side
then becomes a slave. After a time delay t
D(EDGE)
, an n
transistor on the slave side is turned on, thus transmit-
ting the logic 0 present on the master side.
When the master side asserts a logic 1, a p transistor
on the slave side is activated during the time delay t
PU
and then both sides return to their inactive (pulled up)
states. This active pullup provides fast low-to-high tran-
sitions. After the duration of t
PU
, the output voltage
depends only on the internal pullup resistor and the
load current. Current to and from the card I/O lines is
limited internally to 15mA. The maximum frequency on
these lines is 1MHz.
Inactive Mode
The DS8113 powers up with the card interface in the
inactive mode. Minimal circuitry is active while waiting
for the host to initiate a smart card session.
All card contacts are inactive (approximately 200Ω
to GND).
Pins I/OIN, AUX1IN, and AUX2IN are in the high-
impedance state (11kΩ pullup resistor to VDD).
Voltage generators are stopped.
XTAL oscillator is running (if included in the device).
Voltage supervisor is active.
The internal oscillator is running at its low frequency.
Activation Sequence
After power-on and the reset delay, the host microcon-
troller can monitor card presence with signals OFF and
CMDVCC, as shown in Table 2.
DS8113
Smart Card Interface
_______________________________________________________________________________________ 9
Table 1. Clock Frequency Selection
CLKDIV1 CLKDIV2 f
CLK
0 0 f
XTAL
/8
0 1 f
XTAL
/4
1 1 f
XTAL
/2
1 0 f
XTAL
Table 2. Card Presence Indication
OFF CMDVCC STATUS
High High Card present.
Low High Card not present.

DS8113-RNG+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Interface - Specialized 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