ST8004
Smartcard interface
General features
■3V or 5V supply for the IC
■Step-up converter for VCC generation
■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
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 |
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 |
|
|
3/26 |
Pin configuration |
ST8004 |
|
|
Table 1. |
Pin description |
|||
Pin N° |
Symbol |
Name and function |
||
|
|
|
||
1 |
CLKDIV1 |
Control of CLK Frequency |
||
|
|
|
||
2 |
CLKDIV2 |
Control of CLK Frequency |
||
|
|
|
|
|
3 |
|
|
|
|
5V/3V |
|
VCC selection pin. |
||
4 |
PGND |
Power Ground for Step-Up converter |
||
|
|
|
||
5 |
C1+ |
External Cap. for Step-Up converter |
||
|
|
|
||
6 |
VDDP |
Power Supply for Step-Up converter |
||
7 |
C1- |
External Cap. Step-Up converter |
||
|
|
|
||
8 |
VUP |
Output of Step-Up converter |
||
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 VCC) |
||
12 |
AUX2 |
Auxiliary line to and from card (C8) (internal 10kΩ pull-up resistor connected to VCC) |
||
13 |
AUX1 |
Auxiliary line to and from card (C4) (internal 10kΩ pull-up resistor connected to VCC) |
||
14 |
CGND |
Ground for card signal (C5) |
||
|
|
|
||
15 |
CLK |
Clock to card (C3) |
||
|
|
|
||
16 |
RST |
Card Reset (C2) |
||
|
|
|
||
17 |
VCC |
Supply Voltage for the card (C1) |
||
18 |
VTHSEL |
Deactivation threshold selector pin (under voltage lock-out) |
||
19 |
CMDVCC |
Start activation sequence input (Active Low) |
||
4/26 |
|
|
|
|
|
|
|
|
|
ST8004 |
|
Pin configuration |
|
|
|
Table 1. |
Pin description |
|
|
|
|
Pin N° |
Symbol |
Name and function |
|
|
|
20 |
RSTIN |
Card Reset Input from MCU |
|
|
|
21 |
VDD |
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 VDD) |
27 |
AUX1UC |
Auxiliary line to and from MCU (internal 10kΩ pull-up resistor connected to VDD) |
28 |
AUX2UC |
Auxiliary line to and from MCU (internal 10kΩ pull-up resistor connected to VDD) |
5/26
Maximum ratings |
ST8004 |
|
|
Table 2. |
|
Absolute maximum ratings |
|
|
|
||||||||||
Symbol |
|
|
|
|
Parameter |
Min |
Max |
Unit |
|||||||
|
|
|
|
|
|||||||||||
VDD, VDDP |
Supply voltage |
-0.3 |
7 |
V |
|||||||||||
|
|
|
|
|
|
|
RSTIN, AUX2UC, |
|
|
|
|||||
|
Voltage on pins XTAL1, XTAL2, 5V/3V, |
|
|
|
|||||||||||
Vn1 |
AUX1UC, I/OUC, CLKDIV1, CLKDIV2, VTHSEL, |
CMDV |
CC, |
-0.3 |
VDD + 0.3 |
V |
|||||||||
|
|
PRES, |
PRES and |
OFF |
|
|
|
|
|
|
|||||
|
|
|
|
|
|||||||||||
Vn2 |
Voltage on card contact pins I/O, RST, AUX1, AUX2 and CLK |
-0.3 |
VCC + 0.3 |
V |
|||||||||||
Vn3 |
Voltage on pins VUP, S1 and S2 |
|
9 |
V |
|||||||||||
|
MIL-STD-883 class 3 on card contact pins, |
|
|
and PRES |
|
|
|
||||||||
ESD1 |
PRES |
-6 |
6 |
KV |
|||||||||||
(Note 1, 2) |
|||||||||||||||
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||
ESD2 |
|
MIL-STD-883 class 2 on µC contact pins and RSTIN (Note 1, 2) |
-2 |
2 |
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 |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RthJA |
|
Thermal resistance junction-ambient temperature |
|
In free air |
|
|
70 |
|
°K/W |
||||
Table 4. |
|
Recommended operating conditions |
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Symbol |
|
Parameter |
|
Test Conditions |
|
Min. |
|
Typ. |
|
Max. |
|
Unit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TA |
Temperature range |
|
|
|
-25 |
|
|
|
|
85 |
|
°C |
6/26
ST8004 |
Electrical characteristics |
|
|
Table 5. |
Electrical characteristics over recommended operating (VDD = 3.3V, VDDP = 5V, fXTAL = |
||||||
|
10MHz, unless otherwise noted. Typical values are to TA = 25°C) |
|
|
|
|||
Symbol |
Parameter |
Test Conditions |
|
Min. |
Typ. |
Max. |
Unit |
|
|
|
|
|
|
|
|
VDD |
Supply voltage |
VTHSEL = VDD or floating |
|
2.7 |
|
6.5 |
V |
VTHSEL = GND |
|
3.150 |
|
6.5 |
|||
|
|
|
|
|
|||
VDDP |
Supply voltage for the |
|
|
4.5 |
5 |
6.5 |
V |
|
|
|
|
|
|||
voltage doubler |
To comply with VI(RIPPLE)(P-P) specifications |
4.75 |
|
5.25 |
|||
|
|
|
|
||||
VO(VUP) |
Output voltage on pin VUP |
|
|
|
5.5 |
|
V |
from step-up converter |
|
|
|
|
|||
|
Input voltage to be |
|
|
|
|
|
|
VI(VUP) |
applied on VUP in order to |
|
|
7 |
|
9 |
V |
block the step-up |
|
|
|
||||
|
converter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IDD |
Supply current |
Inactive mode |
|
|
|
1.2 |
mA |
|
|
|
|
|
|||
Active mode; fCLK = fXTAL; CL = 30pF |
|
|
1.5 |
||||
|
|
|
|
|
|||
|
|
Inactive mode |
|
|
|
0.1 |
|
IP |
Supply current for step-up |
|
|
|
|
|
mA |
Active mode; fCLK = fXTAL; |
ICC=0 |
|
|
18 |
|||
converter |
|
|
|||||
|
|
CL = 30pF |
ICC=65 mA |
|
|
150 |
|
Vth2 |
Threshold voltage on VDD |
VTHSEL = VDD or floating |
|
2.2 |
|
2.4 |
V |
Vth3 |
Threshold voltage on VDD |
VTHSEL = GND |
|
2.9 |
|
3.08 |
V |
VHYS(th2) |
Hysteresis on Vth2 |
VTHSEL = VDD or floating |
|
50 |
|
150 |
mV |
VHYS(th3) |
Hysteresis on Vth3 |
VTHSEL = GND |
|
|
0 |
|
mV |
tW |
Pulse width of the internal |
|
|
6 |
|
20 |
ms |
alarm pulse |
|
|
|
||||
∆THFIL |
Delay of internal filter |
VTHSEL = GND |
|
5 |
|
50 |
µs |
7/26
Electrical characteristics |
|
|
|
|
|
|
|
|
|
|
|
|
ST8004 |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
Table 6. |
Card supply voltage characteristics (VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, |
|
|
||||||||||||||
|
|
unless otherwise noted. Typical values are to TA = 25°C) (Note 1) |
|
|
|
|
|
||||||||||
Symbol |
Parameter |
|
|
Test Conditions |
|
|
|
Min. |
Typ. |
|
Max. |
|
Unit |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inactive mode |
|
|
|
-0.1 |
|
|
|
0.1 |
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inactive mode; ICC = 1 mA |
|
|
|
-0.1 |
|
|
|
0.4 |
|
|
|||
|
|
|
|
Active Mode; VDDP = 5V ± 5% |
|
5 V card |
|
4.75 |
|
|
|
5.25 |
|
|
|||
|
|
Output voltage including |
|
|ICC| < 65 mA DC |
|
3 V card |
|
2.85 |
|
|
|
3.15 |
|
|
|||
VCC |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
V |
||
ripple |
|
Active Mode; single current |
|
5 V card |
|
4.65 |
|
|
|
5.25 |
|
||||||
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
pulse of 100 mA; 2 µs |
|
3 V card |
|
2.85 |
|
|
|
3.15 |
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Active Mode; current pulse |
|
5 V card |
|
4.65 |
|
|
|
5.25 |
|
|
|||
|
|
|
|
of 40 nAs with |ICC|<200mA |
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
3 V card |
|
2.76 |
|
|
|
3.15 |
|
|
||||
|
|
|
|
t < 400 ns |
|
|
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VI(RIPPLE) |
Peak to peak ripple |
|
20 KHz to 200 MHz, VDDP = 5V ± 5% |
|
|
|
|
|
350 |
|
mV |
||||||
(P-P) |
voltage on VCC |
|
|
|
|
|
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|ICC| |
Output current |
|
From 0 to 5V or to 3V |
|
|
|
|
|
|
|
65 |
|
mA |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
VCC short circuit to GND |
|
|
|
|
|
|
|
150 |
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||
SR |
Slew rate |
|
Up to down |
|
|
|
0.11 |
|
|
|
0.22 |
|
V/µs |
||||
Table 7. |
Crystal connection (pins XTAL1 and XTAL2) (VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, |
||||||||||||||||
|
|
unless otherwise noted. Typical values are to TA = 25°C) |
|
|
|
|
|
|
|
|
|||||||
Symbol |
|
Parameter |
|
Test Conditions |
|
|
Min. |
|
Typ. |
|
Max. |
|
Unit |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
CEXT |
|
External capacitors on pins |
|
Depending on specification of |
|
|
|
|
|
|
15 |
|
pF |
||||
|
XTAIL1, XTAIL2 |
|
crystal or resonator used |
|
|
|
|
|
|
|
|||||||
fI(XTAL) |
|
Crystal Input Frequency |
|
|
|
|
|
|
2 |
|
|
26 |
|
MHz |
|||
VIH(XTAL) |
|
High level input voltage on |
|
|
|
|
|
|
0.7 VDD |
|
|
|
VDD |
|
V |
||
|
XTAIL1 |
|
|
|
|
|
|
|
|
|
|
||||||
VIL(XTAL) |
|
Low level input voltage on |
|
|
|
|
|
|
0 |
|
|
0.3 VDD |
|
V |
|||
|
XTAIL1 |
|
|
|
|
|
|
|
|
|
|||||||
Table 8. |
Data lines (pins I/O, AUX1, AUX2, AUX1UC and AUX2UC) (VDD = 3.3V, VDDP = 5V, fXTAL |
||||||||||||||||
|
|
= 10MHz,unless otherwise noted. Typical values are to TA = 25°C) |
|
|
|
|
|
||||||||||
Symbol |
|
Parameter |
|
|
Test Conditions |
|
Min. |
Typ. |
|
Max. |
|
Unit |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
Delay between falling edge on pin I/O |
|
|
|
|
|
|
|
|
|
|
|
|
|||
tD(EDGE) |
|
and I/OUC and width of active pull-up |
|
|
|
|
|
|
200 |
|
|
|
ns |
||||
|
|
pulse |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
fI/O(MAX) |
|
Maximum frequency of data lines |
|
|
|
|
|
|
|
|
|
1 |
|
MHz |
|||
CI |
|
Input capacitance on data lines |
|
|
|
|
|
|
|
|
|
10 |
|
pF |
8/26