STMICROELECTRONICS ST8024CD

ST8024
SMARTCARD INTERFACE
PRODUCT PREVIEW
■
■
■
■
■
■
■
■
■
■
IC CARD INTERFACE
3 OR 5 V SUPPLY FOR THE IC (VDD AND
GND)
THREE SPECIFICALLY PROTECTED
HALF-DUPLEX BI-DIRECTIONAL
BUFFERED I/O LINES TO CARD
CONTACTS C4, C7 AND C8
DC/DC CONVERTER FOR VCC
GENERATION SEPARATELY POWERED
FROM A 5 V ± 20% SUPPLY (VDDP AND
PGND)
3 OR 5 V ±5% REGULATED CARD SUPPLY
VOLTAGE (VCC) WITH APPROPRIATE
DECOUPLING HAS THE FOLLOWING
CAPABILITIES:
– ICC < 80 mA at VDDP = 4 to 6.5 V
– HANDLES CURRENT SPIKES OF 40 nAs
UP TO 20MHz
– CONTROLS RISE AND FALL TIMES
– FILTERED OVERLOAD DETECTION AT
APPROXIMATELY 120 mA
THERMAL AND SHORT-CIRCUIT
PROTECTION ON ALL CARD CONTACTS
AUTOMATIC ACTIVATION AND
DEACTIVATION SEQUENCES; INITIATED
BY SOFTWARE OR BY HARDWARE IN THE
EVENT OF A SHORT-CIRCUIT, CARD
TAKE-OFF, OVERHEATING, VDD OR VDDP
DROP-OUT
ENHANCED ESD PROTECTION ON CARD
SIDE (>6 kV)
26 MHz INTEGRATED CRYSTAL
OSCILLATOR
CLOCK GENERATION FOR CARDS UP TO
20 MHz (DIVIDED BY 1, 2, 4 OR 8
THROUGH CLKDIV1 AND CLKDIV2
SIGNALS) WITH SYNCHRONOUS
FREQUENCY CHANGES
SOP
■
■
■
■
■
TSSOP
NON-INVERTED CONTROL OF RST VIA PIN
RSTIN
ISO 7816, GSM11.11 AND EMV (PAYMENT
SYSTEMS) COMPATIBILITY
SUPPLY SUPERVISOR FOR SPIKE-KILLING
DURING POWER-ON AND POWER-OFF
AND POWER-ON RESET (THRESHOLD
FIXED INTERNALLY OR EXTERNALLY BY A
RESISTOR BRIDGE)
BUILT-IN DEBOUNCE ON CARD
PRESENCE CONTACTS
ONE MULTIPLEXED STATUS SIGNAL OFF
DESCRIPTION
The ST8024 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. ST8024 is a direct replacement of
ST8004.
Main applications are: smartcard readers for Set
Top Box, IC card readers for banking,
identification, Pay TV.
Table 1: Order Codes
Type
Temperature
Range
Package
Comments
ST8024CD
ST8024CDR
ST8024CTR (*)
-25 to 85 °C
-25 to 85 °C
-25 to 85 °C
SO-28 (Tube)
SO-28 (Tape & Reel)
TSSOP28 (Tape & Reel)
27 parts per tube / 12 tube per box
1000 parts per reel
2500 parts per reel
(*) Available on Request.
January 2005
Rev. 1
This is preliminary information on a new product now in development. Details are subject to change without notice.
1/23
ST8024
Figure 1: Block Diagram
2/23
ST8024
Figure 2: Pin Configuration
Table 2: Pin Description
PlN N°
SYMBOL
1
2
CLKDIV1
CLKDIV2
NAME AND FUNCTION
3
5V/3V
Control of CLK Frequency
Control of CLK Frequency
VCC selection pin.
4
5
PGND
C1+
VDDP
Power Ground for Step-Up converter
External Cap. for Step-Up converter
Power Supply for Step-Up converter
6
7
8
C1VUP
9
10
PRES
PRES
11
I/O
12
AUX2
External Cap. Step-Up converter
Output of Step-Up converter
Card Presence Input (Active Low)
Card Presence Input (Active High)
Data Line to and from card (C7) (internal 11kΩ pull-up resistor connected to VCC)
13
AUX1
Auxiliary line to and from card (C8) (internal 11kΩ pull-up resistor connected to VCC)
Auxiliary line to and from card (C4) (internal 11kΩ pull-up resistor connected to VCC)
14
15
16
CGND
CLK
RST
VCC
Ground for card signal (C5)
Clock to card (C3)
Card Reset (C2)
Supply Voltage for the card (C1)
17
18
19
20
21
PORADJ
CMDVCC
RSTIN
VDD
22
23
24
25
GND
OFF
XTAL1
XTAL2
26
I/OUC
27
AUX1UC
28
AUX2UC
Deactivation threshold selector pin (under voltage lock-out)
Start activation sequence input (Active Low)
Card Reset Input from MCU
Supply Voltage
Ground
Interrupt to MCU (active Low)
Crystal or external clock input
Crystal connection (leave this pin open if external clock is used)
MCU data I/O line (internal 11kΩ pull-up resistor connected to VDD)
Non-inverting Receiver Input (internal 11kΩ pull-up resistor connected to VDD)
Non-inverting Receiver Input (internal 11kΩ pull-up resistor connected to VDD)
3/23
ST8024
Table 3: Absolute Maximum Ratings
Symbol
Parameter
VDD, VDDP Supply Voltage
Vn2
Voltage on pins XTAL1, XTAL2, 5V/3V, RSTIN, AUX2UC,
AUX1UC, I/OUC, CLKDIV1, CLKDIV2, PORADJ, CMDVCC,
PRES, PRES and OFF
Voltage on card contact pins I/O, RST, AUX1, AUX2 and CLK
Vn3
Voltage on pins VUP, S1 and S2
Vn1
ESD1
ESD2
Min
Max
Unit
-0.3
7
V
-0.3
VDD + 0.3
V
-0.3
VCC + 0.3
V
9
V
-6
6
kV
-2
2
kV
MIL-STD-883 class 3 on card contact pins, PRES and PRES
(Note 1, 2)
MIL-STD-883 class 2 on µC contact pins and RSTIN (Note 1, 2)
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.
Note 2: Method 3015 (HBM, 1500 Ω, 100 pF) 3 positive pulses and 3 negative pulses on each pin referenced to ground.
Table 4: Thermal Data
Symbol
Rthj-amb
Parameter
Thermal Resistance Junction-ambient Temperature
Condition
Value
Unit
In free air
70
K/W
RECOMMENDED OPERATING CONDITIONS
Symbol
TA
4/23
Parameter
Temperature Range
Min.
-25
Typ.
Max.
Unit
85
°C
ST8024
Table 5: Electrical Characteristics Over Recommended Operating Conditions (VDD = 3.3V, VDDP =
5V, fXTAL = 10MHz, unless otherwise noted. Typical values are to Ta = 25°C)
Symbol
Parameter
Test Conditions
Min.
Typ.
Unit
6.5
V
6.5
V
VDD
Supply Voltage
VDDP
Supply Voltage for the
voltage doubler
VCC = 5V; |ICC| < 80 mA
4.0
VCC = 5V; |ICC| < 20 mA
3.0
IDD
Supply Current
Card Inactive
Card Active; fCLK = fXTAL; CL = 30pF
1.2
1.5
mA
IDDP
DC/DC converter Supply
Current
Inactive mode
Active mode; fCLK = fXTAL; CL = 30pF;
|ICC| = 0
0.1
10
mA
VCC = 5V; |ICC| = 80 mA
200
VCC = 3V; |ICC| = 65 mA
100
Vth2
VHYS2
2.7
Max.
5
6.5
Falling Threshold Voltage
on VDD
no external resistors at pin PORADJ;
VDD level falling
2.35
2.45
2.55
V
Hysteresis of Threshold
Voltage Vth2
no external resistors at pin PORADJ
50
100
150
mV
Vth(ext)rise External rising Threshold
Voltage on VDD
external resistor bridge at pin PORADJ;
VDD level rising
1.18
1.21
1.24
V
Vth(ext)fall External falling Threshold
Voltage on VDD
external resistor bridge at pin PORADJ;
VDD level falling
1.12
1.15
1.18
V
VHYS(ext) Hysteresis of Threshold
Voltage Vth(ext)
external resistor bridge at pin PORADJ
30
60
90
mV
0.25
mV/K
12
24
10
ms
external resistor bridge at pin PORADJ
∆VHYS(ext) Hysteresis of Threshold
Voltage Vth(ext) variation
with temperature
tW
Width of internal Power-On no external resistor at pin PORADJ
reset pulse
external resistor bridge at pin PORADJ
IL
Leakage current on pin
VPORADJ < 0.5 V
PORADJ
> 1.0 V
V
PORADJ
PTOT
Total power dissipation
4
8
-0.1
8
16
4
-1
µA
1
Continuous operation; Ta = -25 to 85°C
0.56
W
Table 6: Step-up Converter (VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, unless otherwise noted. Typical
values are to Ta = 25°C)
Symbol
fCLK
Parameter
Clock Frequency
Vth(vd-vf) Threshold voltage for
Step-up Converter to
change to voltage follower
VUP(av) Output Voltage on pin VUP
(average value)
Test Conditions
Min.
Card active
2.2
5 V card
3 V card
5.2
3.8
Typ.
Max.
Unit
3.2
MHz
5.8
4.1
6.2
4.4
V
V
VCC = 5 V
5.2
5.7
6.2
VCC = 3 V; VDDP = 3.3 V
3.5
3.9
4.3
5/23
ST8024
Table 7: 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
CVCC
External Capacitance on pin Notes 2 and 3
VCC
VCC
Card Supply Voltage
(including ripple voltage)
VCC
(RIPPLE)
(P-P)
|ICC|
Min.
80
Unit
220
nF
V
5 and 3V card
-0.1
0
0.1
Card Inactive; |ICC| = 1 mA
5 and 3V card
-0.1
0
0.3
Card Active; |ICC| < 80 mA
5 V card
4.75
5
5.25
Card Active; |ICC| < 65 mA
3 V card
2.85
3
3.15
Card Active; single current
pulse IP =-100 mA; tp=2 µs
5 V card
4.65
5
5.25
Card Active; single current 3 V card
pulse IP =-100 mA; tp =2 µs
2.76
3
3.20
Card active; current pulses, 5 V card
QP = 40 nAs
3 V card
Card Active; current pulses 5 V card
QP =40 nAs with
3 V card
|ICC| < 200mA, tp < 400 ns
4.65
2.76
4.65
2.76
5
3
5
3
5.25
3.20
5.25
3.20
Ripple voltage on VCC
(Peak to Peak value)
fRIPPLE = 20 KHz to 200 MHz
Card Supply Current
Slew Rate
Max.
Card Inactive; |ICC| = 0 mA
350
mV
VCC = 0 to 5V
80
mA
VCC = 0 to 3V
65
VCC short circuit to GND
SR
Typ.
Slew up or down
90
0.08
120
0.15
0.22
V/µs
Table 8: 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
CXTAL1,2 External capacitance on
pins XTAIL1, XTAIL2
fXTAL
Crystal Frequency
fXTAL1
VIH
VIL
Test Conditions
Min.
Typ.
Max.
Unit
15
pF
2
26
MHz
0
26
MHz
0.7 VDD
VDD+0.3
V
-0.3
+0.3VDD
V
Depends on type of crystal or resonator
used
Frequency applied on pin
XTAL1
High level input voltage on
pin XTAIL1
Low level input voltage on
pin XTAIL1
Table 9: Data Lines (PINS I/O, I/OUC, AUX1, AUX2, AUX1UC AND AUX2UC) (VDD = 3.3V, VDDP = 5V,
fXTAL = 10MHz, unless otherwise noted. Typical values are to Ta = 25°C)
Symbol
Parameter
tD(I/O-I/OUC), I/O to I/OUC, I/OUC to I/O
tD(I/OUC-I/O) falling edge delay
Test Conditions
Min.
Typ.
Max.
Unit
200
ns
tpu
Active pull-up pulse width
100
ns
fI/O(MAX)
Maximum frequency on
data lines
Input capacitance on data
lines
1
MHz
10
pF
CI
6/23
ST8024
Table 10: Data Lines To Card Reader
(PINS I/O, AUX1 AND AUX2 With Integrated 11 kΩ PULL-UP Resistor To VCC (VDD = 3.3V, VDDP =
5V, fXTAL = 10MHz, unless otherwise noted. Typical values are to Ta = 25°C)
Symbol
Parameter
Test Conditions
VO(inactive) Output Voltage
Inactive mode
IO(inactive) Output Current
Inactive mode; pin grounded
VOH
High Level Output Voltage
NO LOAD
IO(inactive)=1mA
Low Level Output Voltage
Typ.
0
Max.
Unit
0.1
0.3
V
-1
mA
V
No DC Load
0.9 VCC
VCC+0.1
5 and 3 V cards; IOH < - 40µA
0.75 VCC
VCC+0.1
0
0.4
|IOH| ≥ 10mA
VOL
Min.
IOL = 1 mA
0
0.2
IOL ≥ 15 mA
VCC-0.4
VCC
V
VIH
High Level Input Voltage
1.5
VCC+0.3
V
VIL
Low Level Input Voltage
0.3
0.8
V
|ILIH|
VIH = VCC
10
µA
|IIL|
High Level Input Leakage
Current
Low Level Input Current
VIL = 0 V
600
µA
RPU
Integrated pull-up resistor
Pull-up resistor to VCC
13
kΩ
tT(DI)
Data Input transition time
VIL max to VIH min
9
11
1.2
µs
tT(DO)
Data Output transition time
0.1
µs
IPU
Current when pull-up active
VO = 0 to VCC; CL ≤ 80 pF; 10% to
90%
VOH = 0.9VCC; CL = 80 pF
-1
mA
Table 11: Data Lines To Microcontroller (PINS I/OUC, AUX1UC AND AUX2UC; With Integrated
11 kΩ PULL-UP Resistor To VDD) (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
0.75 VDD
VDD+0.1
V
0.9 VDD
VDD+0.1
0
0.3
VOH
High Level Output Voltage
5 and 3 V card; IOH < − 40µA
No DC Load
VOL
Low Level Output Voltage
IOL = 1 mA
VIH
High Level Input Voltage
0.7 VDD
VDD+0.3
V
VIL
Low Level Input Voltage
-0.3
0.3 VDD
V
VIH = VDD
10
µA
VIL = 0 V
600
µA
13
kΩ
|ILIH|
|IL|
High Level Input Leakage
Current
Low Level Input Current
RPU
Internal pull-up resistance to
VDD
Pull-up resistor to VDD
9
11
V
tT(DI)
Data Input transition time
VIL(max) to VIH(min)
1.2
µs
tT(DO)
Data Output transition time
0.1
µs
IPU
Current when pull-up active
VO = 0 to VDD; CL < 30 pF;
10% to 90%
VOH = 0.9VDD; CL = 30 pF
-1
mA
7/23
ST8024
Table 12: Internal Oscillator (VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, unless otherwise noted.
Typical values are to Ta = 25°C)
Symbol
Parameter
fOSC(INT) Frequency of internal
oscillator
Test Conditions
Min.
Typ.
Max.
Unit
55
2.2
140
2.7
200
3.2
kHz
MHz
Inactive mode
Active mode
Table 13: Reset Output To Card Reader (PIN RST) (VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, unless
otherwise noted. Typical values are to Ta = 25°C)
Symbol
Parameter
VO(inactive)
Output Voltage in Inactive
Mode
IO(inactive)
Output Current
tD(RSTIN-RST) RSTN to RST Delay
VOL
Low Level Output Voltage
Max.
Unit
IO(inactive) = 1 mA
Test Conditions
Min.
0
Typ.
0.3
V
No Load
Inactive mode; pin grounded
0
0
0.1
-1
mA
2
µs
V
RST Enable
0
0.2
IOL = 20 mA (current limit)
IOL = 200 µA
VCC-0.4
VCC
0.9VCC
VCC
0
0.4
VOH
High Level Output Voltage
IOH = -200 µA
tR, tF
Rise and fall time
CL = 100 pF; VCC = 5 or 3 V
IOH = -20 mA (current limit)
0.1
V
µs
Table 14: Clock Output To Card Reader (PIN CLK) (VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, unless
otherwise noted. Typical values are to Ta = 25°C)
Symbol
Parameter
VO(inactive)
Output Voltage in Inactive
Mode
Test Conditions
Min.
0
0.3
V
0.1
-1
mA
0
0.3
V
Output Current
Low Level Output Voltage
IOL = 200 µA
VOH
High Level Output Voltage IOH = -200 µA
tR, tF
Rise and fall time
CL = 30 pF (Note 4)
Duty factor (except for
fXTALS)
CL = 30 pF (Note 4)
45
Slew Rate
Slew up or down; CL = 30 pF
0.2
IOL = 70 mA (current limit)
IOH = -70 mA (current limit)
SR
Unit
0
0
VOL
δ
Max.
IO(inactive) = 1 mA
No Load
CLK Inactive mode; pin grounded
IO(inactive)
Typ.
VCC-0.4
VCC
0.9VCC
VCC
0
0.4
V
16
ns
55
%
V/ns
Table 15: Control Inputs (PINS CLKDIV1, CLKDIV2, CMDVCC, RSTIN AND 5V/3V
(VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, unless otherwise noted. Typical values are to Ta = 25°C) (Note
5)
Symbol
Parameter
Test Conditions
Min.
Typ.
Max.
Unit
VIL
Input Voltage LOW
-0.3
0.3VDD
V
VIH
Input Voltage HIGH
0.7VDD
VDD
V
|ILIH|
Input Leakage Current HIGH VIH = VDD
1
µA
|ILIL|
Input Leakage Current LOW
1
µA
8/23
VIL = 0
ST8024
Table 16: Card Presence Inputs (PINS PRES AND PRES)
(VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, unless otherwise noted. Typical values are to Ta = 25°C) (Note
6)
Symbol
Parameter
VIL
Test Conditions
Min.
Typ.
Max.
Unit
V
Input Voltage LOW
-0.3
0.3 VDD
0.7 VDD
VIH
Input Voltage HIGH
VDD+0.3
V
|ILIH|
Input Leakage Current HIGH VIH = VDD
5
µA
|ILIL|
Input Leakage Current LOW
5
µA
VIL = 0
Table 17: Interrupt Output (PIN OFF NMOS Drain With Integrated 20 k Ω PULL-UP Resistor To
VDD); (VDD = 3.3V, VDDP = 5V, fXTAL = 10MHz, unless otherwise noted. Typical values are to Ta = 25°C)
Symbol
Parameter
Test Conditions
VOL
Low Level Output Voltage
IOL = 2 mA
VOH
High Level Output Voltage
IOH = -15 µA
RPU
Integrated pull-up resistor
20kΩ Pull-up resistor to VDD
Min.
Typ.
0
Max.
0.3
0.75 VDD
16
Unit
V
V
20
24
kΩ
Table 18: Protection And Limitation (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
|ICC(SD)| Shutdown and limitation current pin
VCC
90
120
mA
limitation current pins I/O, AUX1 and
AUX2
ICLK(lim) limitation current pin CLK
IRST(lim) limitation current pin RST
-15
15
mA
-70
70
mA
-20
20
mA
II/O(lim)
TSD
Shut down temperature
150
°C
Table 19: Timing (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
220
µs
tACT
Activation time
(See Fig. 5)
50
tDE
Deactivation time
(See Fig. 7)
50
100
µs
Start of the window for sending CLK (See Fig. 6)
to the card
t5
End of the window for sending CLK to (See Fig. 6)
card
tdebounce Debounce time pins PRES and PRES (See Fig. 8)
50
130
µs
140
220
µs
11
ms
t3
5
80
8
Note 1: All parameters remain within limits but are tested only statistically for the temperature range. When a parameter is specified as a
function of VDD or VCC it means their actual value at the moment of measurement.
Note 2: To meet these specifications, pin VCC should be decoupled to CGND using two ceramic multilayer capacitors of low ESR both with
values of 100 nF and 100 nF (see Fig.10).
Note 3: Permitted capacitor values are 100 + 100 nF, or 220 nF.
Note 4: Transition time and duty factor definitions are shown in Fig.3; δ = t1/(t1+ t2).
Note 5: Pin CMDVCC is active LOW; pin RSTIN is active HIGH; for CLKDIV1 and CLKDIV2 functions see Table 20.
Note 6: Pin PRES is active LOW; pin PRES is active HIGH see Figs. 8 and 9; PRES has an integrated 1.25 µA current source to GND
(PRES to VDD); the card is considered present if at least one of the inputs PRES or PRES is active.
9/23
ST8024
Figure 3: Definition of output and input transition times
FUNCTIONAL DESCRIPTION
Throughout this document it is assumed that the reader is familiar with ISO7816 terminology.
POWER SUPPLY
The supply pins for the IC are VDD and GND. VDD should be in the range of 2.7 to 6.5 V. All signals
interfacing with the system controller are referred to VDD, therefore VDD should also supply the system
controller. All card reader contacts remain inactive during power-on or power-off.
The internal circuits are maintained in the reset state until VDD reaches Vth2 +Vhys2 and for the duration of
the internal Power-on reset pulse, tW (see Fig.4). When VDD falls below Vth2, an automatic deactivation of
the contacts is performed.
A DC/DC converter is incorporated to generate the 5 or 3 V card supply voltage (VCC). The DC/DC
converter should be supplied separately by VDDP and PGND. Due to the possibility of large transient
currents, the two 100 nF capacitors of the DC/DC converter should be located as near as possible to the
IC and have an ESR less than 100 mΩ.
The DC/DC converter functions as a voltage doubler or a voltage follower according to the respective
values of VCC and VDDP (both have thresholds with a hysteresis of 100 mV).
The DC/DC converter function changes as follows:
VCC = 5 V and VDDP > 5.8 V; voltage follower
VCC = 5 V and VDDP < 5.7 V; voltage doubler
VCC = 3 V and VDDP > 4.1 V; voltage follower
VCC = 3 V and VDDP < 4.0 V; voltage doubler.
Supply voltages VDD and VDDP may be applied to the IC in any sequence.
After powering the device, OFF remains LOW until CMDVCC is set HIGH.
During power off, OFF falls LOW when VDD is below the falling threshold voltage.
VOLTAGE SUPERVISOR
- WITHOUT EXTERNAL DIVIDER ON PIN PORADJ
The voltage supervisor surveys the VDD supply. A defined reset pulse of approximately 8ms (tW) is used
internally to keep the IC inactive during power-on or power-off of the VDD supply (see Fig.4).
As long as VDD is less than Vth2 + Vhys2, the IC remains inactive whatever the levels on the command
lines. This state also lasts for the duration of tW after VDD has reached a level higher than Vth2 + Vhys2.
When VDD falls below Vth2, a deactivation sequence of the contacts is performed.
10/23
ST8024
Figure 4: Voltage supervisor
WITH AN EXTERNAL DIVIDER ON PIN PORADJ
If an external resistor bridge is connected to pin PORADJ (R1 and R2 in Fig.1), then the following occurs:
- The internal threshold voltage Vth2 is overridden by the external voltage and by the hysteresis, therefore:
Vth2(ext)(rise) = (1 + R1/R2) x (Vbridge + Vhys(ext)/2)
Vth2(ext)(fall) = (1 + R1/R2) x (Vbridge - Vhys(ext)/2)
where Vbridge = 1.18 V typ. and Vhys(ext) = 60 mV typ.
- The reset pulse width tW is doubled to approximately 16 ms.
Input PORADJ is biased internally with a pull-down current source of 4 µA which is removed when the
voltage on pin PORADJ exceeds 1 V.
This ensures that after detection of the external bridge by the IC during power-on, the input current on pin
PORADJ does not cause inaccuracy of the bridge voltage.
The minimum threshold voltage should be higher than 2 V. The maximum threshold voltage may be up to
VDD.
APPLICATION EXAMPLES
The voltage supervisor is used as Power-on reset and as supply dropout detection during a card session.
Supply dropout detection is to ensure that a proper deactivation sequence is followed before the voltage
is too low. For the internal voltage supervisor to function, the system microcontroller should operate down
to 2.35 V to ensure a proper deactivation sequence. If this is not possible, external resistor values can be
chosen to overcome the problem.
CLOCK CIRCUITRY
The card clock signal (CLK) is derived from a clock signal input to pin XTAL1 or from a crystal operating
at up to 26 MHz connected between pins XTAL1 and XTAL2.
The clock frequency can be fXTAL, 1 /2 x fXTAL, 1 /4 x fXTAL or 1 /8 x fXTAL. Frequency selection is made
via inputs CLKDIV1 and CLKDIV2 (see Table 20).
11/23
ST8024
Table 20: Clock frequency selection; (note 1)
CLKDIV1
CLKDIV2
fCLK
0
0
fXTAL/8
0
1
fXTAL/4
1
1
fXTAL/2
1
0
fXTAL
NOTE 1: The status of pins CLKDIV1 and CLKDIV2 must not be changed simultaneously; a delay of 10 ns minimum between changes is
needed; the minimum duration of any state of CLK is eight periods of XTAL1.
The frequency change is synchronous, which means that during transition no pulse is shorter than 45% of
the smallest period, and that 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 duty factor of fXTAL depends on the signal present at pin XTAL1. In order to reach a 45
to 55% duty factor on pin CLK, the input signal on pin XTAL1 should have a duty factor of 48 to 52% and
transition times of less than 5% of the input signal period.
If a crystal is used, the duty factor on pin CLK may be 45 to 55% depending on the circuit layout and on
the crystal characteristics and frequency. In other cases, the duty factor on pin CLK is guaranteed
between 45 and 55% of the clock period.
The crystal oscillator runs as soon as the IC is powered up. If the crystal oscillator is used, or if the clock
pulse on pin XTAL1 is permanent, the clock pulse is applied to the card as shown in the activation
sequences shown in Figs 5 and 6.
If the signal applied to XTAL1 is controlled by the system microcontroller, the clock pulse will be 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.The idle state is realized by both I/O and I/OUC
lines being pulled HIGH via a 11 kΩ resistor (I/O to VCC and I/OUC to VDD). Pin I/O is referenced to VCC,
and pin I/OUC to VDD, thus allowing operation when VCC is not equal to VDD. The first side of the
transceiver to receive a falling edge becomes the master. An anti-latch circuit disables the detection of
falling edges on the line of the other side, which then becomes a slave. After a time delay td(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 returns to logic 1, a P transistor on the slave side is turned on during the time delay tpu and
then both sides return to their idle states. This active pull-up feature ensures fast LOW-to-HIGH
transitions; it is able to deliver more than 1 mA at an output voltage of up to 0.9 VCC into an 80 pF load.
At the end of the active pull-up pulse, the output voltage depends only on the internal pull-up resistor and
the load current. The current to and from the card I/O lines is limited internally to 15 mA and the maximum
frequency on these lines is 1 MHz.
INACTIVE MODE
After a Power-on reset, the circuit enters the inactive mode. A minimum number of circuits are active while
waiting for the microcontroller to start a session:
- All card contacts are inactive (approximately 200 Ω to GND)
- Pins I/OUC, AUX1UC and AUX2UC are in the high-impedance state (11 kΩ pull-up resistor to VDD)
- Voltage generators are stopped
- XTAL oscillator is running
- Voltage supervisor is active
- The internal oscillator is running at its low frequency.
ACTIVATION SEQUENCE
After power-on and after the internal pulse width delay, the system microcontroller can check the
presence of a card using the signals OFF and CMDVCC as shown in Table 21.
12/23
ST8024
If the card is in the reader (this is the case if PRES or PRES is active), the system microcontroller can start
a card session by pulling CMDVCC LOW. The following sequence then occurs (see Fig.6):
1. CMDVCC is pulled LOW and the internal oscillator changes to its high frequency (t0).
2. The voltage doubler is started (between t0 and t1).
3. VCC rises from 0 to 5 V (or 3 V) with a controlled slope (t2 = t1 + 1.5 x T) where T is 64 times the period
of the internal oscillator (approximately 25 µs).
4. I/O, AUX1 and AUX2 are enabled (t3 = t1 + 4T) (these were pulled LOW until this moment).
5. CLK is applied to the C3 contact of the card reader (t4).
6. RST is enabled (t5 = t1 + 7T).
The clock may be applied to the card using the following sequence (see Fig.5):
1. Set RSTIN HIGH.
2. Set CMDVCC LOW.
3. Reset RSTIN LOW between t3 and t5; CLK will start at this moment.
4. RST remains LOW until t5, when RST is enabled to be the copy of RSTIN.
5. After t5, RSTIN has no further affect on CLK; this allows a precise count of CLK pulses before toggling
RST.
If the applied clock is not needed, then CMDVCC may be set LOW with RSTIN LOW. In this case, CLK will
start at t3 (minimum 200 ns after the transition on I/O), and after t5, RSTIN may be set HIGH in order to
obtain an Answer To Request (ATR) from the card.
Activation should not be performed with RSTIN held permanently HIGH.
Table 21: Card presence indicator
OFF
CMDVCC
INDICATION
H
L
H
H
card present
card not present
Figure 5: Activation sequence using RSTIN and CMDVCC
13/23
ST8024
Figure 6: Activation sequence at t3
ACTIVE MODE
When the activation sequence is completed, the ST8024 will be in its active mode. Data are exchanged
between the card and the microcontroller via the I/O lines.
The ST8024 is designed for cards without VPP (the voltage required to program or erase the internal
non-volatile memory).
DEACTIVATION SEQUENCE
When a session is completed, the microcontroller sets the CMDVCC line HIGH. The circuit then executes
an automatic deactivation sequence by counting the sequencer back and finishing in the inactive mode
(see Fig.7):
1. RST goes LOW (t10).
2. CLK is held LOW (t12 = t10 + 0.5 x T) where T is 64 times the period of the internal oscillator
(approximately 25 µs).
3. I/O, AUX1 and AUX2 are pulled LOW (t13 = t10 + T).
4. VCC starts to fall towards zero (t14 = t10 + 1.5 x T).
5. The deactivation sequence is complete at tde, when VCC reaches its inactive state.
6. VUP falls to zero (t15 = t10 + 5T) and all card contacts become low-impedance to GND; I/OUC, AUX1UC
and AUX2UC remain at VDD (pulled-up via a 11 kΩ resistor).
7. The internal oscillator returns to its lower frequency.
14/23
ST8024
Figure 7: Deactivation sequence
VCC GENERATOR
The VCC generator has a capacity to supply up to 80 mA continuously at 5 V and 65 mA at 3 V. An internal
overload detector operates at approximately 120 mA. Current samples to the detector are internally
filtered, allowing spurious current pulses up to 200 mA with a duration in the order of µs to be drawn by the
card without causing deactivation. The average current must stay below the specified maximum current
value. For reasons of VCC voltage accuracy, a 100 nF capacitor with an ESR < 100 mΩ should be tied to
CGND near to pin VCC, and 100 nF capacitor with the same ESR should be tied to CGND near card
reader contact C1.
FAULT DETECTION
The following fault conditions are monitored:
- Short-circuit or high current on VCC
- Removal of a card during a transaction
- VDD dropping
- DC/DC converter operating out of the specified values (VDDP too low or current from VUP too high)
- Overheating.
There are two different cases (see Fig.8):
- CMDVCC HIGH outside a card session. Output OFF is LOW if a card is not in the card reader, and HIGH
if a card is in the reader. A voltage drop on the VDD supply is detected by the supply supervisor, this
generates an internal Power-on reset pulse but does not act upon OFF. No short-circuit or overheating is
detected because the card is not powered-up.
- CMDVCC LOW within a card session. Output OFF goes LOW when a fault condition is detected. As
soon as this occurs, an emergency deactivation is performed automatically (see Fig.9). When the system
controller resets CMDVCC to HIGH it may sense the OFF level again after completing the deactivation
sequence. This distinguishes between a hardware problem or a card extraction (OFF goes HIGH again if
a card is present).
Depending on the type of card-present switch within the connector (normally-closed or normally-open)
and on the mechanical characteristics of the switch, bouncing may occur on the PRES signals at card
insertion or withdrawal.
There is a debounce feature in the device with an 8 ms typical duration (see Fig.8). When a card is
inserted, output OFF goes HIGH only at the end of the debounce time.
When the card is extracted, an automatic deactivation sequence of the card is performed on the first true/
false transition on PRES or PRES and output OFF goes LOW.
15/23
ST8024
Figure 8: Behavior of OFF, CMDVCC, PRES and VCC
Figure 9: Emergency deactivation sequence (card extraction)
16/23
ST8024
Figure 10: Application Diagram
(1) These capacitors must be of the low ESR-type and be placed near the IC (within 100 mm).
(2) ST8024 and the microcontroller must use the same VDD supply.
(3) Make short, straight connections between CGND, C5 and the ground connection to the capacitor.
(4) Mount one low ESR-type 100 nF capacitor close to pin VCC .
(5) Mount one low ESR-type 100 nF capacitor close to C1 contact (less than 100 mm from it).
(6) The connection to C3 should be routed as far from C2, C7, C4 and C8 and, if possible, surrounded by grounded tracks.
(7) Optional resistor bridge for changing the threshold of VDD . If this bridge is not required pin 18 should be connected to ground.
17/23
ST8024
SO-28 MECHANICAL DATA
mm.
inch
DIM.
MIN.
TYP
A
MAX.
MIN.
TYP.
2.65
MAX.
0.104
a1
0.1
0.3
0.004
0.012
b
0.35
0.49
0.014
0.019
b1
0.23
0.32
0.009
0.012
C
0.5
0.020
c1
45˚ (typ.)
D
17.70
18.10
0.697
0.713
E
10.00
10.65
0.393
0.419
e
1.27
0.050
e3
16.51
0.650
F
7.40
7.60
0.291
0.300
L
0.50
1.27
0.020
0.050
S
8 ˚ (max.)
0016023
18/23
ST8024
TSSOP28 MECHANICAL DATA
mm.
inch
DIM.
MIN.
TYP
A
MAX.
MIN.
TYP.
MAX.
1.2
A1
0.05
A2
0.8
b
0.047
0.15
0.002
0.004
0.006
1.05
0.031
0.039
0.041
0.19
0.30
0.007
0.012
c
0.09
0.20
0.004
0.0079
D
9.6
9.7
9.8
0.378
0.382
0.386
E
6.2
6.4
6.6
0.244
0.252
0.260
E1
4.3
4.4
4.48
0.169
0.173
0.176
e
1
0.65 BSC
K
0˚
L
0.45
0.60
0.0256 BSC
8˚
0˚
0.75
0.018
8˚
0.024
0.030
0128292B
19/23
ST8024
Tape & Reel SO-28 MECHANICAL DATA
mm.
inch
DIM.
MIN.
A
MAX.
MIN.
330
13.2
TYP.
MAX.
12.992
C
12.8
D
20.2
0.795
N
60
2.362
T
20/23
TYP
0.504
30.4
0.519
1.197
Ao
10.8
11.0
0.425
0.433
Bo
18.2
18.4
0.716
0.724
Ko
2.9
3.1
0.114
0.122
Po
3.9
4.1
0.153
0.161
P
11.9
12.1
0.468
0.476
ST8024
Tape & Reel TSSOP28 MECHANICAL DATA
mm.
inch
DIM.
MIN.
A
TYP
MAX.
MIN.
330
MAX.
12.992
C
12.8
D
20.2
0.795
N
60
2.362
T
13.2
TYP.
0.504
22.4
0.519
0.882
Ao
6.8
7
0.268
0.276
Bo
10.1
10.3
0.398
0.406
Ko
1.7
1.9
0.067
0.075
Po
3.9
4.1
0.153
0.161
P
11.9
12.1
0.468
0.476
21/23
ST8024
Table 22: Revision History
Date
Revision
31-Jan-2005
1
22/23
Description of Changes
First Release.
ST8024
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
The ST logo is a registered trademark of STMicroelectronics
All other names are the property of their respective owners
© 2005 STMicroelectronics - All Rights Reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
23/23