DS8023
Smart Card Interface
_______________________________________________________________________________________ 7
Detailed Description
The DS8023 is an analog front-end for communicating
with 1.8V, 3V, and 5V smart cards. Using an integrated
charge pump, the DS8023 can operate from a single
input voltage. The device translates all communication
lines to the correct voltage level and provides power for
smart card operation. It can operate from a wide input
voltage range (3.0V to 6.0V) and provides an extremely
low-power stop mode, consuming only 10nA while in
stop mode. The DS8023 is very compatible with the
NXP TDA8024. Many applications can upgrade with
very minor hardware changes, and only need to add
support in software to activate the ultra-low-power stop
mode. (Note that the PORADJ pin is not present in the
DS8023. It is replaced by the 1_8V selection pin.)
Power Supply
The DS8023 can operate from a single supply or a dual
supply. The supply pins for the device are V
DD
, GND,
V
DDA
, and PGND. 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 inter-
nal power-on reset pulse, t
W
. A deactivation sequence
is executed when V
DD
falls below V
TH2
.
An internal charge pump and regulator generate the
3V or 5V card supply voltage (V
CC
). The charge pump
and regulator are supplied by V
DDA
and PGND. V
DDA
should be connected to a minimum 3.0V (maximum
6.0V) supply and should be at a potential that is equal
to or higher than V
DD
.
The charge pump operates in a 1x (voltage follower) or
2x (voltage doubler) mode depending on the input
V
DDA
and the selected card voltage (5V or 3V).
For 5V cards, the DS8023 operates in a 1x mode
for V
DDA
> 5.8V and in a 2x mode for V
DDA
< 5.8V.
For 3V cards, the DS8023 operates in a 1x mode
for V
DDA
> 4.1V and in a 2x mode for V
DDA
< 4.1V.
For 1.8V cards, the DS8023 operates in a 1x mode
for V
DDA
> 2.9V and in a 2x mode for V
DDA
< 2.9V.
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.
TEMPERATURE
MONITOR
CARD VOLTAGE
GENERATOR
AND
CHARGE PUMP
CLOCK
GENERATION
CONTROL
SEQUENCER
POWER-SUPPLY
SUPERVISOR
I/O TRANSCEIVER
V
DD
GND
V
DDA
PGND
CP1
CP2
V
UP
V
CC
XTAL1
XTAL2
CLKDIV1
CLKDIV2
1_8V
5V/3V
CMDVCC
RSTIN
CGND
RST
CLK
I/O
AUX1
AUX2
OFF
PRES
PRES
I/OIN
AUX1IN
AUX2IN
DS8023
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
DS8023
Smart Card Interface
8 _______________________________________________________________________________________
The DS8023 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 DS8023 executes a
card deactivation sequence if its card interface is active.
Clock Circuitry
The clock signal from the DS8023 to the smart card
(CLK) is generated from the clock input on XTAL1 or
from a crystal operating at up to 20MHz connected
between pins XTAL1 and XTAL2. The inputs CLKDIV1
and CLKDIV2 determine the frequency of the CLK sig-
nal, which can be f
XTAL
, f
XTAL/2
, f
XTAL/4
, or f
XTAL/8
.
Table 1 shows the relationship between CLKDIV1 and
CLKDIV2 and the frequency of CLK.
Do not change the state of pins CLKDIV1 and CLKDIV2
simultaneously; a delay of 10ns minimum between
changes is required. The minimum duration of any state
of CLK is 8 periods of XTAL1.
The hardware in the DS8023 guarantees that the fre-
quency change is synchronous. During a transition of
the clock divider, no pulse is shorter than 45% of the
smallest period, and the clock pulses before and after
the instant of change have the correct width.
To achieve a 45% to 55% duty factor on pin CLK when
no crystal is present, the input signal on XTAL1 should
have a 48% to 52% duty factor. Transition time on
XTAL1 should be less than 5% of the period.
With a crystal, the duty factor on pin CLK may be 45%
to 55% depending on the circuit layout and on the crys-
tal characteristics and frequency.
The DS8023 crystal oscillator runs when the device is
powered up. If the crystal oscillator is used or the clock
pulse on pin XTAL1 is permanent, the clock pulse is
applied to the card at time t
4
(see Figures 7 and 8). 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 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 the master is decided, the
opposite side switches to slave mode, ignoring subse-
quent edges until the master releases. After a time delay
t
D(EDGE)
, an n transistor on the slave side is turned on,
thus transmitting 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
transitions. 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 DS8023 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 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.
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.
DS8023
Smart Card Interface
_______________________________________________________________________________________ 9
When a card is inserted into the reader (if PRES is
active), the host microcontroller can begin an activation
sequence (start a card session) by pulling CMDVCC
low. The following events form an activation sequence
(Figure 3):
1) Host: CMDVCC is pulled low.
2) DS8023: The internal oscillator changes to high
frequency (t
0
).
3) DS8023: The voltage generator is started
(between t
0
and t
1
).
4) DS8023: Raise V
CC
from 0 to 5V, 3V, or 1.8V with
a controlled slope (t
2
= t
1
+ 1.5 × T). T is 64 times
the internal oscillator period (approximately 25µs).
5) DS8023: I/O, AUX1, and AUX2 are enabled
(t
3
= t
1
+ 4T).
6) DS8023: The CLK signal is applied to the C3 con-
tact (t
4
).
7) DS8023: RST is enabled (t
5
= t
1
+ 7T).
An alternate sequence allows the application to control
when the clock is applied to the card.
1) Host: Set RSTIN high.
2) Host: Set CMDVCC low.
3) Host: Set RSTIN low between t
3
and t
5
; CLK will now
start.
4) DS8023: RST stays low until t
5
, then RST becomes
the copy of RSTIN.
5) DS8023: RSTIN has no further effect on CLK after t
5
.
If the applied clock is not needed, set CMDVCC low
with RSTIN low. In this case, CLK starts at t
3
(minimum
200ns after the transition on I/O, see Figure 4); after t
5
,
RSTIN can be set high to obtain an answer to request
(ATR) from an inserted smart card. Do not perform acti-
vation with RSTIN held permanently high.
ATR
CMDVCC
RST
RSTIN
CLK
V
CC
I/O
I/OIN
t
0
t
1
t
2
t
3
t
4
t
5
= t
ACT
Figure 3. Activation Sequence Using RSTIN and CMDVCC

DS8023-RJX+

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