DS8313/DS8314
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 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.
5, 7, 8, 9,
12, 13, 27,
28
N.C. No Connection/Don’t Care. These pins are not bonded out.
6, 18
V
DDA
(N.C.)
Analog (Smart Card) Supply. Connect to 5V power supply. Pin 18 is N.C. for the DS8314.
10 PRES
Card Presence Indicator. Active-high card presence input from the DS8313 to the microcontroller.
When the presence indicator becomes active, a debounce timeout begins. After 8ms (typ), the OFF
signal becomes active. A trim optim defines whether or not the part provides active-low presence
detection.
11 I/O Smart Card Data-Line Output. Card data communication line, contact C7.
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 V
CC
Smart Card Supply Voltage. Decouple to CGND (card ground) with 2 x 100nF or 100 + 220nF
capacitors (ESR < 100m).
19 CMDVCC Activation Sequence Initiate. Active-low input from host.
20 RSTIN Card Reset Input. Reset input from the host.
21 V
DD
Supply Voltage
22 GND Digital Ground
23 OFF
Status Output. Active-low interrupt output to the host. Includes a 24k integrated pullup resistor to
V
DD
.
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.
DS8313/DS8314
Smart Card Interface
8 _______________________________________________________________________________________
Detailed Description
The DS8313 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
DS8313 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. The DS8313 is
designed for applications that do not require communi-
cation using the C4 and C8 card contacts (AUX1 and
AUX2). It is suitable for SIM/SAM interfacing, as well as
for applications where only the I/O line is used to com-
municate with a smart card.
The DS8314 is nearly identical to the DS8313, but only
uses one V
DDA
input; therefore, it has reduced capaci-
ty to deliver current to 5V smart cards. However, the
DS8314 can drop into many existing TDA8024 applica-
tions with minimal or no hardware changes. See Figure
1 for a functional diagram.
Power Supply
The DS8313/DS8314 are dual-supply devices. The sup-
ply pins for the devices are V
DD
, GND, and V
DDA
. V
DD
should be in the 2.7V to 6.0V range, and is the supply
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 V
DDA
. V
DDA
should be connected to a
minimum 4.75V supply to provide the correct supply
voltage for 5V smart cards.
TEMPERATURE
MONITOR
CARD VOLTAGE
GENERATOR
CLOCK
GENERATION
CONTROL
SEQUENCER
POWER-SUPPLY
SUPERVISOR
I/O TRANSCEIVER
V
DD
GND
*USED ONLY ON THE DS8313.
V
DDA
V
DDA
*
V
CC
XTAL1
XTAL2
CLKDIV1
CLKDIV2
1_8V
RSTIN
CGND
RST
CLK
I/O
PRES
OFF
5V/3V
CMDVCC
I/OIN
DS8313
DS8314
Figure 1. Functional Diagram
V
DD
ALARM
(INTERNAL SIGNAL)
POWER ON
t
W
t
W
POWER OFF
V
TH2
+ V
HYS2
V
TH2
SUPPLY DROPOUT
Figure 2. Voltage Supervisor Behavior
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 DS8313/DS8314 card interface remains inactive
regardless of 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
DS8313/DS8314 execute a card deactivation sequence
if their card interface is active.
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 frequen-
cy 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 transition
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 effec-
tive 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.
I/O Transceivers
I/O and I/OIN are pulled high with an 11kΩ resistor (I/O
to V
CC
and I/OIN to V
DD
) 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 DS8313/DS8314 power 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).
The I/OIN pin in the high-impedance state (11kΩ
pullup resistor to V
DD
).
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.
DS8313/DS8314
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.

DS8313-RRX+

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