General features
■ 3V or 5V supply for the IC
■ Step-up converter for V
■ 3 specific protected half duplex bi-directional
buffered I/O lines
■ Automatic activation and deactivation
sequences
■ Thermal and short-circuit protections on all
card contacts
■ 26MHz integrated crystal oscillator
■ Clock generation for the card up to 20MHz with
synchronous frequency changes
■ ISO7816-3 compatible
■ Enhanced ESD protection on card side
■ SO-28 package
■ Under voltage lockout protection selectable to
3V or 2.2V
■ Supply supervisor integrated
generation
CC
ST8004
Smartcard interface
SO-28
Description
The ST8004 is a complete low cost analog
interface for asynchronous 3V and 5V smart
cards. It can be placed between the card and the
microcontroller with few external components to
perform all supply protection and control
functions. Main applications are: smartcard
readers for Set Top Box, IC card readers for
banking, identification.
Order code
Part number Temperature range Package Packaging
ST8004CDR 0 to 85 °C SO-28 (Tape & Reel) 1000 parts per reel
January 2007 Rev 7 1/26
www.st.com
26
Contents ST8004
Contents
1 Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3 Maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.1 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.2 Voltage supervisor (for VTHSEL = VDD or floating) . . . . . . . . . . . . . . . . . 15
6.3 Voltage supervisor (for VTHSEL = GND) . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.4 Clock circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.5 I/O Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.6 Inactive state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.7 Activation sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.8 Active state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.9 Deactivation sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.10 Fault detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7 Package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2/26
ST8004 Diagram
1 Diagram
Figure 1. Block diagram
3/26
Pin configuration ST8004
2 Pin configuration
Figure 2. Pin connections
Table 1. Pin description
Pin N° Symbol Name and function
1 CLKDIV1 Control of CLK Frequency
2 CLKDIV2 Control of CLK Frequency
35 V / 3 V
4 PGND Power Ground for Step-Up converter
5 C1+ External Cap. for Step-Up converter
6V
DDP
7 C1- External Cap. Step-Up converter
8V
UP
9 PRES Card Presence Input (Active Low)
10 PRES Card Presence Input (Active High)
11 I/O Data Line to and from card (C7) (internal 10kΩ pull-up resistor connected to V
12 AUX2 Auxiliary line to and from card (C8) (internal 10kΩ pull-up resistor connected to V
13 AUX1 Auxiliary line to and from card (C4) (internal 10kΩ pull-up resistor connected to V CC)
14 CGND Ground for card signal (C5)
15 CLK Clock to card (C3)
16 RST Card Reset (C2)
VCC selection pin.
Power Supply for Step-Up converter
Output of Step-Up converter
CC
)
CC
)
17 V
18 V
CC
THSEL
19 CMDV
Supply Voltage for the card (C1)
Deactivation threshold selector pin (under voltage lock-out)
Start activation sequence input (Active Low)
CC
4/26
ST8004 Pin configuration
Table 1. Pin description
Pin N° Symbol Name and function
20 RSTIN Card Reset Input from MCU
21 V
DD
Supply Voltage
22 GND Ground
23 OFF Interrupt to MCU (active Low)
24 XTAL1 Crystal or external clock input
25 XTAL2 Crystal connection (leave this pin open if external clock is used)
26 I/OUC Data Line to and from MCU (internal 10kΩ pull-up resistor connected to V
27 AUX1UC Auxiliary line to and from MCU (internal 10kΩ pull-up resistor connected to V
DD
)
DD
28 AUX2UC Auxiliary line to and from MCU (internal 10kΩ pull-up resistor connected to V DD)
)
5/26
Maximum ratings ST8004
3 Maximum ratings
Table 2. Absolute maximum ratings
Symbol Parameter Min Max Unit
V
DD, VDDP
V
V
V
ESD1
ESD2 MIL-STD-883 class 2 on µC contact pins and RSTIN (Note 1, 2) -2 2 KV
Supply voltage -0.3 7 V
Voltage on pins XTAL1, XTAL2, 5V/3V, RSTIN, AUX2UC,
AUX1UC, I/OUC, CLKDIV1, CLKDIV2, V
n1
PRES
, PRES and OFF
Voltage on card contact pins I/O, RST, AUX1, AUX2 and CLK -0.3 VCC + 0.3 V
n2
Voltage on pins VUP, S1 and S2 9 V
n3
MIL-STD-883 class 3 on card contact pins, PRES and PRES
(Note 1, 2)
THSEL
, CMDVCC,
-0.3 VDD + 0.3 V
-6 6 KV
Note: Absolute Maximum Ratings are those values beyond which damage to the device may
occur. Functional operation under these conditions is not implied.
Note: 1 All card contacts are protected against any short with any other card contact.
2 Method 3015 (HBM, 1500
Ω
, 100 pF) 3 positive pulses and 3 negative pulses on each pin
referenced to ground.
Table 3. Thermal data
Symbol Parameter Condition Value Unit
R
thJA
Thermal resistance junction-ambient temperature In free air 70 °K/W
Table 4. Recommended operating conditions
Symbol Parameter Test Conditions Min. Typ. Max. Unit
T
6/26
Temperature range -25 85 °C
A
ST8004 Electrical characteristics
4 Electrical characteristics
Table 5. Electrical characteristics over recommended operating (V
10MHz, unless otherwise noted. Typical values are to T
= 25°C)
A
= 3.3V, V
DD
Symbol Parameter Test Conditions Min. Typ. Max. Unit
V
= VDD or floating 2.7 6.5
V
V
DDP
V
O(VUP)
Supply voltage
DD
Supply voltage for the
voltage doubler
Output voltage on pin VUP
from step-up converter
THSEL
= GND 3.150 6.5
V
THSEL
4.5 5 6.5
To comply with V
I(RIPPLE)(P-P)
specifications 4.75 5.25
Input voltage to be
V
I(VUP)
applied on V
block the step-up
in order to
UP
79 V
converter
= 5V, f
DDP
XTAL
5.5 V
=
V
V
I
DD
I
V
V
V
HYS(th2)
V
HYS(th3)
t
∆ T
Supply current
Supply current for step-up
P
converter
Threshold voltage on VDDV
th2
Threshold voltage on VDDV
th3
Hysteresis on V
Hysteresis on V
Pulse width of the internal
W
alarm pulse
Delay of internal filter V
HFIL
th2
th3
Inactive mode 1.2
= f
Active mode; f
CLK
; CL = 30pF 1.5
XTAL
Inactive mode 0.1
Active mode; f
= 30pF
C
L
= VDD or floating 2.2 2.4 V
THSEL
= GND 2.9 3.08 V
THSEL
V
= VDD or floating 50 150 mV
THSEL
V
= GND 0 mV
THSEL
CLK
= f
XTAL
ICC=0 18
;
I
=65 mA 150
CC
62 0 m s
= GND 5 50 µs
THSEL
mA
mA
7/26
Electrical characteristics ST8004
Table 6. Card supply voltage characteristics (V
unless otherwise noted. Typical values are to T
Symbol Parameter Test Conditions Min. Typ. Max. Unit
Inactive mode -0.1 0.1
= 3.3V, V
DD
= 5V, f
DDP
= 25°C) (Note 1)
A
XTAL
= 10MHz,
V
CC
V
I(RIPPLE)
(P-P)
Output voltage including
ripple
Peak to peak ripple
voltage on V
CC
Inactive mode; I
Active Mode; V
| < 65 mA DC
|I
CC
Active Mode; single current
pulse of 100 mA; 2 µs
Active Mode; current pulse
of 40 nAs with |I
t < 400 ns
20 KHz to 200 MHz, V
= 1 mA -0.1 0.4
CC
= 5V ± 5%
DDP
5 V card 4.75 5.25
3 V card 2.85 3.15
5 V card 4.65 5.25
3 V card 2.85 3.15
5 V card 4.65 5.25
|<200mA
CC
DDP
3 V card 2.76 3.15
= 5V ± 5% 350 mV
From 0 to 5V or to 3V 65
|ICC| Output current
short circuit to GND 150
V
CC
S
Slew rate Up to down 0.11 0.22 V/µs
R
Table 7. Crystal connection (pins XTAL1 and XTAL2) (VDD = 3.3V, V
unless otherwise noted. Typical values are to T
Symbol Parameter Test Conditions Min. Typ. Max. Unit
C
External capacitors on pins
EXT
XTAIL1, XTAIL2
Depending on specification of
crystal or resonator used
= 25°C)
A
DDP
= 5V, f
XTAL
= 10MHz,
15 pF
V
mA
f
I(XTAL)
V
IH(XTAL)
V
IL(XTAL)
Crystal Input Frequency 2 26 MHz
High level input voltage on
XTAIL1
Low level input voltage on
XTAIL1
0.7 V
DD
0 0.3 V
V
DD
DD
Table 8. Data lines (pins I/O, AUX1, AUX2, AUX1UC and AUX2UC) (VDD = 3.3V, V
= 10MHz,unless otherwise noted. Typical values are to T
Symbol Parameter Test Conditions Min. Typ. Max. Unit
Delay between falling edge on pin I/O
t
D(EDGE)
f
I/O(MAX)
8/26
and I/OUC and width of active pull-up
pulse
Maximum frequency of data lines 1 MHz
C
Input capacitance on data lines 10 pF
I
= 25°C)
A
200 ns
DDP
= 5V, f
V
V
XTAL