Smartcard interface Datasheet production data Features Designed to be compatible with the NDS conditional access system (except ST8024LTR) ISO 7816, GSM11.11 and EM 4.2 (payment systems) compatible IC card interface 3 or 5 supply for the ST8024L device ( DD ) Three specifically protected half-duplex bi-directional buffered I/O lines to card contacts C4, C7 and C8 Step-up converter for CC generation separately powered by a 5 ± 20% supply ( DDP and PGND) 1.8 ± 6.5%, 3 or 5 ± 5% regulated card supply voltage ( CC ) with appropriate decoupling has the following capabilities: I CC < 80 ma at DDP = 4.75 to 6.5 Handles current spikes of 40 na up to 20 MHz Controls rise and fall times Filtered overload detection at ~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, DD or DDP dropout Table 1. Device summary Enhanced ESD protection on card side (>6 k) 26 MHz integrated crystal oscillator Built-in debounce on card presence contacts One multiplexed status signal OFF Non-inverted control of RST via pin RSTIN Clock generation for cards up to 20 MHz (divided by 1, 2, 4 or 8 through CLKDI1 and CLKDI2 signals) with synchronous frequency changes Supply supervisor for spike-killing during power-on and power-off and power-on reset (threshold fixed internally or externally by a resistor divider) Applications SO-28 TSSOP-20 Smartcard readers for set-top boxes IC card readers for banking Identification, pay T TSSOP-28 Order code PORADJ/ Temperature Package Package Packaging 1.8 function range top mark ST8024LCDR (1) PORADJ 25 to 85 C SO-28 (tape and reel) 1000 parts per reel ST8024LC ST8024LCTR (1) PORADJ 25 to 85 C TSSOP-28 (tape and reel) 2500 parts per reel ST8024LC ST8024LACDR (1) 1.8 25 to 85 C SO-28 (tape and reel) 1000 parts per reel ST8024LAC ST8024LTR 1.8 25 to 85 C TSSOP-20 (tape and reel) 2500 parts per reel ST8024L ST8024LACTR (1) 1.8 25 to 85 C TSSOP-28 (tape and reel) 2500 parts per reel ST8024LAC 1. Certified by NDS. May 2012 Doc ID 17709 Rev 5 1/35 This is information on a product in full production. www.st.com 1
Contents ST8024L Contents 1 Description................................................. 5 2 Diagram................................................... 6 3 Pin configuration............................................ 7 4 Maximum ratings............................................ 9 5 Electrical characteristics.................................... 10 6 Functional description...................................... 18 6.1 Power supply.............................................. 18 6.2 oltage supervisor.......................................... 18 6.2.1 Without external divider on pin PORADJ........................ 18 6.2.2 With an external divider on pin PORADJ........................ 19 6.2.3 Application examples....................................... 19 6.3 Clock circuitry (only on SO-28 and TSSOP-28 packages)............ 20 6.4 I/O transceivers............................................ 21 6.5 Inactive mode.............................................. 21 6.6 Activation sequence......................................... 21 6.7 Active mode............................................... 23 6.8 Deactivation sequence....................................... 23 6.9 CC generator............................................. 24 6.10 Fault detection............................................. 25 6.11 CC selection settings....................................... 26 7 Applications............................................... 27 8 Package mechanical data.................................... 28 9 Revision history........................................... 34 2/35 Doc ID 17709 Rev 5
List of tables List of tables Table 1. Device summary.......................................................... 1 Table 2. Pin description........................................................... 7 Table 3. Absolute maximum ratings.................................................. 9 Table 4. Thermal data............................................................. 9 Table 5. Recommended operating conditions.......................................... 9 Table 6. Electrical characteristics over recommended operating condition................... 10 Table 7. Step-up converter........................................................ 11 Table 8. Card supply voltage characteristics.......................................... 11 Table 9. Crystal connection (pins XTAL1 and XTAL2)................................... 12 Table 10. Data lines (pins I/O, I/OUC, AUX1, AUX2, AUX1UC, and AUX2UC)................. 12 Table 11. Data lines to card reader (pins I/O, AUX1, and AUX2 with integrated 11 kω Table 12. pull-up resistor to CC ).................................................... 13 Data lines to microcontroller (pins I/OUC, AUX1UC, and AUX2UC with integrated 11 kω pull-up resistor to DD )............................................... 14 Table 13. Internal oscillator......................................................... 14 Table 14. Reset output to card reader (pin RST)........................................ 14 Table 15. Clock output to card reader (pin CLK)........................................ 15 Table 16. Control inputs (pins CLKDI1, CLKDI2, CMDCC, RSTIN, 5/3 and PORADJ/1.8)....................................................... 15 Table 17. Card presence inputs (pins PRES and PRES).................................. 16 Table 18. Interrupt output (pin OFF NMOS drain with integrated 20 kω pull-up resistor to DD ).... 16 Table 19. Protection and limitation................................................... 16 Table 20. Timing................................................................. 16 Table 21. Clock frequency selection.................................................. 20 Table 22. Card presence indicator................................................... 22 Table 23. CC selection settings..................................................... 26 Table 24. SO-28 small outline, package mechanical data................................. 28 Table 25. TSSOP-20 package mechanical data......................................... 29 Table 26. TSSOP-28 package mechanical data......................................... 30 Table 27. SO-28 tape and reel mechanical data........................................ 31 Table 28. TSSOP-20 tape and reel mechanical data..................................... 32 Table 29. TSSOP-28 tape and reel mechanical data..................................... 33 Table 30. Document revision history................................................. 34 Doc ID 17709 Rev 5 3/35
List of figures ST8024L List of figures Figure 1. Block diagram............................................................ 6 Figure 2. Pin connections.......................................................... 7 Figure 3. Definition of output and input transition times................................... 17 Figure 4. oltage supervisor....................................................... 19 Figure 5. Activation sequence using RSTIN and CMDCC................................ 22 Figure 6. Activation sequence at t 3.................................................. 23 Figure 7. Deactivation sequence.................................................... 24 Figure 8. Behavior of OFF, CMDCC, PRES, and CC.................................. 25 Figure 9. Emergency deactivation sequence (card extraction)............................. 26 Figure 10. Hardware hookup........................................................ 27 Figure 11. SO-28 small outline, package mechanical drawing.............................. 28 Figure 12. TSSOP-20 package mechanical drawing...................................... 29 Figure 13. TSSOP-28 package mechanical drawing...................................... 30 Figure 14. SO-28 tape and reel schematic............................................. 31 Figure 15. TSSOP-20 tape and reel schematic.......................................... 32 Figure 16. TSSOP-28 tape and reel schematic.......................................... 33 4/35 Doc ID 17709 Rev 5
Description 1 Description The ST8024L is a complete low-cost analog interface for asynchronous Class A, B, and C smartcards. It can be placed between the card and the microcontroller with few external components to perform all supply protection and control functions. The ST8024LCDR and ST8024LCTR are compatible with the ST8024 (with the exception of th(ext)rise/fall value). Doc ID 17709 Rev 5 5/35
Diagram ST8024L 2 Diagram Figure 1. Block diagram 1. To be used with the PORADJ pin if needed. 2. Not available in the TSSOP-20L package. 3. ST8024LCDR, ST8024LCTR. 4. ST8024LACDR, ST8024LACTR, ST8024LTR. 6/35 Doc ID 17709 Rev 5
Pin configuration 3 Pin configuration Figure 2. Pin connections Table 2. Symbol Pin description Name and function SO-28/ TSSOP-28 TSSOP-20 CLKDI1 CLKDI2 5/3 Control of CLK frequency (internal 11 kω pull-up resistor connected to DD ) Control of CLK frequency (internal 11 kω pull-down resistor connected to GND) 5 or 3 CC selection for communication with the smartcard. Logic high selects 5 operation and logic low selects 3 operation (for ST8024LACDR, ST8024LACTR, and ST8024LTR: if the 1.8 pin is logic high, the 5/3 pin is a don't care ). See Table 23 for a description of the CC selection settings. 1 N. A. 2 N. A. 3 1 PGND Power ground for step-up converter 4 2 C1+ External capacitor step-up converter 5 3 DDP Power supply for step-up converter 6 4 C1 External capacitor step-up converter 7 5 UP Output of step-up converter 8 6 PRES Card presence input (active low) - bonding option 9 N. A. PRES Card presence input (active high) 10 7 I/O Data line to and from card (C7) (internal 11 kω pull-up resistor connected to CC ) 11 8 Doc ID 17709 Rev 5 7/35
Pin configuration ST8024L Table 2. Symbol Pin description (continued) Name and function SO-28/ TSSOP-28 TSSOP-20 AUX2 Auxiliary line to and from card (C8) (internal 11 kω pull-up resistor connected to CC ) 12 N. A. AUX1 Auxiliary line to and from card (C4) (internal 11 kω pull-up resistor to CC ) 13 N. A CGND Ground for card signal (C5) 14 9 CLK Clock to card (C3) 15 10 RST Card reset (C2) 16 11 CC Supply voltage for the card (C1) 17 12 PORADJ 1.8 Power-on reset threshold adjustment input (ST8024LCDR, ST8024LCTR) 1.8 CC operation selection. Logic high selects 1.8 operation and overrides any setting on the 5/3 pin. With an internal 11 kω pull-down resistor to GND. (ST8024LACDR, ST8024LACTR and ST8024LTR) CMDCC Start activation sequence input (active low) 19 14 RSTIN Card reset input from MCU 20 15 DD Supply voltage 21 16 GND Ground 22 17 OFF Interrupt to MCU (active low) 23 18 XTAL1 Crystal or external clock input 24 19 XTAL2 Crystal connection (leave this pin open if external clock is used) 25 N.A I/OUC MCU data I/O line (internal 11 kω pull-up resistor connected to DD ) 26 20 AUX1UC Non-inverting receiver input (internal 11 kω pull-up resistor connected to DD ) 27 N. A. AUX2UC Non-inverting receiver input (internal 11 kω pull-up resistor connected to DD ) 28 N. A. 18 N. A. 13 8/35 Doc ID 17709 Rev 5
Maximum ratings 4 Maximum ratings Table 3. Absolute maximum ratings (1) Symbol Parameter Min. Max. Unit DD, DDP Supply voltage -0.3 7 n1 oltage on pins XTAL1, XTAL2, 5/3, RSTIN, AUX2UC, AUX1UC, I/OUC, CLKDI1, CLKDI2, PORADJ/1.8, CMDCC, PRES, PRES, and OFF -0.3 DD + 0.3 n2 oltage on card contact pins I/O, RST, AUX1, AUX2, and CLK -0.3 CC + 0.3 n3 oltage on pins UP, C1+, and C1 7 ESD1 MIL-STD-883 class 3 on card contact pins, PRES and PRES (2), (3) -6 6 k ESD2 MIL-STD-883 class 2 on µc contact pins and RSTIN (2), (3) -2 2 k T J(MAX) Maximum operating junction temperature 150 C T STG Storage temperature range -40 150 C 1. Absolute maximum ratings are those values beyond which damage to the device may occur. Functional operation under these conditions is not implied. 2. All card contacts are protected against any short with any other card contact. 3. Method 3015 (HBM, 1500 Ω, 100 pf) 3 positive pulses and 3 negative pulses on each pin referenced to ground. Table 4. Thermal data Symbol Parameter Condition SO-28 TSSOP-20 TSSOP-28 Unit R thja Thermal resistance junction-ambient temperature Multilayer test board (JEDEC standard) 56 50 C/W Table 5. Recommended operating conditions Symbol Parameter Test conditions Min. Typ. Max. Unit T A Temperature range 25 85 C Doc ID 17709 Rev 5 9/35
Electrical characteristics ST8024L 5 Electrical characteristics Table 6. Electrical characteristics over recommended operating condition Symbol Parameter (1) Test conditions Min. Typ. Max. Unit DD Supply voltage 2.7 6.5 CC = 5 ; I CC < 80 ma 4.0 5 6.5 DDP Supply voltage for the step-up converter CC = 3 ; I CC < 65 ma 4.0 5 6.5 CC = 5 ; I CC < 20 ma 3.0 6.5 CC = 3 ; I CC < 20 ma 2.7 6.5 CC = 1.8 ; I CC < 20 ma 2.7 6.5 I DD Supply current Card inactive 1.2 Card active; f CLK = f XTAL ; C L = 30 pf 1.5 ma Inactive mode 0.1 I DDP Step-up converter supply current Active mode; f CLK = f XTAL ; C L = 30 pf; I CC = 0 10 CC = 5 ; I CC = 80 ma 50 200 ma CC = 3 ; I CC = 65 ma 50 100 CC = 1.8 ; I CC = 45 ma 30 60 th2 Falling threshold voltage on DD No external resistors at pin PORADJ; DD level falling. See Figure 4. 2.35 2.45 2.55 HYS2 Hysteresis of threshold voltage th2 No external resistors at pin PORADJ. See Figure 4. 50 100 150 m th(ext)rise External rising threshold voltage at pin PORADJ External resistor divider at pin PORADJ; DD level rising. See Section 6.2.2. 1.17 1.20 1.23 th(ext)fall External falling threshold voltage at pin PORADJ External resistor divider at pin PORADJ; DD level falling. See Section 6.2.2. 1.11 1.14 1.17 HYS(ext) Hysteresis of threshold voltage th(ext) External resistor divider at pin PORADJ. See Section 6.2.2. 30 60 90 m Δ HYS(ext) Hysteresis of threshold voltage th(ext) variation with temperature External resistor divider at pin PORADJ 0.25 m/k t W Width of internal poweron reset pulse No external resistor divider at pin PORADJ 4 8 12 External resistor divider at pin PORADJ 8 16 24 ms I L Leakage current on pin PORADJ PORADJ < 0.5 0.1 4 10 PORADJ > 1.0 1 1 µa P TOT Total power dissipation Continuous operation; T A = 25 to 85 C 0.56 W 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. 10/35 Doc ID 17709 Rev 5
Electrical characteristics Table 7. Step-up converter Symbol Parameter (1) Test conditions Min. Typ. Max. Unit f CLK Clock frequency Card active 2.2 3.2 MHz th(vd-vf) Threshold voltage for step-up converter to change to voltage follower 5 card 5.2 5.8 6.2 3 card 3.8 4.1 4.4 1.8 card 3.8 4.1 4.4 UP Output voltage on pin UP (average value) 5 card 5.2 5.7 6.2 3 card 3.5 3.9 4.3 1.8 card 3.5 3.9 4.3 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. Table 8. Card supply voltage characteristics Symbol Parameter (1) Test conditions Min. Typ. Max. Unit C CC External capacitance on pin CC See (2) 80 400 nf Card inactive; I CC = 0 ma Card inactive; I CC = 1 ma 5, 3 and 1.8 card 5, 3 and 1.8 card -0.1 0 0.1-0.1 0 0.3 Card active; I CC < 80 ma 5 card 4.75 5 5.25 Card active; I CC < 65 ma 3 card 2.85 3 3.15 Card active; I CC < 45 ma 1.8 card 1.68 1.8 1.92 CC Card supply voltage (including ripple voltage) Card active; single current pulse I P = 100 ma; t p = 2 µs Card active; single current pulse I P = 100 ma; t p = 2 µs Card active; single current pulse I P = 100 ma; t p = 2 µs 5 card 4.65 5 5.25 3 card 2.76 3 3.20 1.8 card 1.62 1.8 1.98 Card active; current pulses, Q P = 40 nas Card active; current pulses Q P = 40 nas with I CC < 200 ma, t p < 400 ns 5 card 4.65 5 5.25 3 card 2.76 3 3.20 1.8 card 1.62 1.8 1.98 5 card 4.65 5 5.25 3 card 2.76 3 3.20 1.8 card 1.62 1.8 1.98 CC (RIPPLE) (P-P) Ripple voltage on CC (peak-to-peak value) f RIPPLE = 20 khz to 200 MHz 350 m Doc ID 17709 Rev 5 11/35
Electrical characteristics ST8024L Table 8. Card supply voltage characteristics (continued) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit CC = 0 to 5 80 I CC Card supply current S R Slew rate CC = 0 to 3 65 CC = 0 to 1.8 45 CC short-circuit to GND 90 120 Slew up or down, CC = 5 ; 3 ; 1.8 ; I CC < 30 ma ma 0.08 0.15 0.22 /µs 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. (All parameters remain within limits but are tested only statistically for the temperature range. When a parameter is specified as a function of DD or CC it means their actual value at the moment of measurement.) 2. To meet these specifications, pin CC should be decoupled to CGND using two 100 nf ceramic multilayer capacitors of max. 350 mω ESR. If CC slew rate is not critical, the capacitance value can be up to 400 nf. (See Figure 10). Table 9. Crystal connection (pins XTAL1 and XTAL2) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit C XTAL1,2 External capacitance on pins XTAL1, XTAL2 Depends on type of crystal or resonator used - 15 pf f XTAL Crystal frequency 2-26 MHz f XTAL1 IH IL Frequency applied on pin XTAL1 High level input voltage on pin XTAL1 Low level input voltage on pin XTAL1 0-26 MHz 0.7 DD - -0.3 - DD +0.3 +0.3 DD 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. Table 10. Data lines (pins I/O, I/OUC, AUX1, AUX2, AUX1UC, and AUX2UC) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit t D(I/O-I/OUC), t D(I/OUC-I/O) t PU f I/O(MAX) C I I/O to I/OUC, I/OUC to I/O falling edge delay Active pull-up pulse width Maximum frequency on data lines Input capacitance on data lines - - 200 ns - - 100 ns - - 1 MHz - - 10 pf 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. 12/35 Doc ID 17709 Rev 5
Electrical characteristics Table 11. Data lines to card reader (pins I/O, AUX1, and AUX2 with integrated 11 kω pull-up resistor to CC ) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit O(inactive) Output voltage Inactive mode No load 0 0.1 I O(inactive) = 1 ma 0.3 I O(inactive) Output current Inactive mode; pin grounded -1 ma OH OL IH IL High level output voltage Low level output voltage High level input voltage Low level input voltage No DC load 0.9 CC CC +0.1 5 and 3 cards; I OH < 40 µa 0.75 CC CC +0.1 1.8 card I OH < 40 µa 0.75 CC I OH 10 ma 0 0.4 I OL = 1 ma 0 0.2 I OL 15 ma CC 0.4 CC 5 and 3 cards 1.5 CC +0.3 1.8 card 0.6 CC 5 and 3 cards 0.3 1.0 1.8 card 0 0.2 I LIH High level input leakage current IH = CC 10 µa I IL Low level input current IL = 0 600 µa R PU Integrated pull-up resistor Pull-up resistor to CC 9 11 13 kω t T(DI) Data input transition time IL max. to IH min. 1.2 µs t T(DO) I PU Data output transition time Current when pull-up active O = 0 to CC ; C L 80 pf; 10% to 90% 0.1 µs OH = 0.9 CC ; C L = 80 pf -2 ma 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. Doc ID 17709 Rev 5 13/35
Electrical characteristics ST8024L Table 12. Data lines to microcontroller (pins I/OUC, AUX1UC, and AUX2UC with integrated 11 kω pull-up resistor to DD ) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit OH High level output voltage 5, 3 and 1.8 cards; I OH < 40 µa 0.75 DD DD +0.1 No DC load 0.9 DD DD +0.1 OL Low level output voltage I OL = 1 ma 0 0.3 IH High level input voltage 0.7 DD DD +0.3 IL Low level input voltage -0.3 0.3 DD I LIH High level input leakage current IH = DD 10 µa I L Low level input current IL = 0 600 µa R PU Internal pull-up resistance to DD Pull-up resistor to DD 9 11 13 kω t T(DI) Data input transition time IL max. to IH min. 1.2 µs t T(DO) Data output transition time O = 0 to DD ; C L < 30 pf; 10% to 90% 0.1 µs I PU Current when pull-up active OH = 0.9 DD ; C L = 30 pf -1 ma 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. Table 13. Internal oscillator Symbol Parameter (1) Test conditions Min. Typ. Max. Unit f OSC(INT) Frequency of internal oscillator Inactive mode 55 140 200 khz Active mode 2.2 2.7 3.2 MHz 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted.typical values are at T A = 25 C. Table 14. Reset output to card reader (pin RST) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit O(inactive) Output voltage in inactive mode I O(inactive) = 1 ma 0-0.3 No load 0-0.1 I O(inactive) Output current Inactive mode; pin grounded 0 - -1 ma t D(RSTIN- RST) OL RSTIN to RST delay RST enable - 2 µs I OL = 200 µa 0-0.2 Low level output voltage I OL = 20 ma (current limit) CC -0.4 - CC OH High level output voltage I OH = 200 µa 0.9 CC - CC I OH = 20 ma (current limit) 0-0.4 t R, t F Rise and fall time C L = 100 pf - 0.1 µs 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. 14/35 Doc ID 17709 Rev 5
Electrical characteristics Table 15. Clock output to card reader (pin CLK) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit O(inactive) I O(inactive) OL Output voltage in inactive mode Output current Low level output voltage I O(inactive) = 1 ma 0-0.3 No load 0-0.1 CLK inactive mode; pin grounded 0-1 ma I OL = 200 µa 0-0.3 I OL = 70 ma (current limit) CC -0.4 - CC OH High level output voltage I OH = 200 µa 0.9 CC - CC I OH = 70 ma (current limit) 0-0.4 t R, t F Rise and fall time C L = 30 pf (2) - 16 ns δ Duty factor (except for f XTAL ) C L = 30 pf (2) 45-55 % S R Slew rate Slew up or down; C L = 30 pf 0.2 - /ns 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. 2. Transition time and duty factor definitions are shown in Figure 3; d = t 1 /(t 1 + t 2 ). Table 16. Control inputs (pins CLKDI1, CLKDI2, CMDCC, RSTIN, 5/3 and PORADJ/1.8) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit IL Low level input voltage 0.3 0.3 DD IH High level input voltage 0.7 DD DD I LIH I LIL R PD R PU High level input leakage current Low level input leakage current Internal pull-down resistor to GND Internal pull-up resistor to DD IH = DD 1 µa IH = DD, 1.8 and CLKDI2 pins with internal 11 kω pulldown resistor 800 µa IL = 0-1 µa IL = 0, CLKDI1 pin with internal 11 kω pull-up resistor Pull-down resistor to GND (1.8 and CLKDI2 pins) Pull-up resistor to DD (CLKDI1 pin) -800 µa 9 11 13 kω 9 11 13 kω 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. Pin CMDCC is active low; pin RSTIN is active high; for CLKDI1 and CLKDI2 functions (see Table 21). Doc ID 17709 Rev 5 15/35
Electrical characteristics ST8024L Table 17. Card presence inputs (pins PRES and PRES) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit IL Low level input voltage -0.3-0.3 DD IH High level input voltage 0.7 DD - DD +0.3 I LIH I LIL High level input leakage current Low level input leakage current IH = DD - 5 µa IL = 0-5 µa 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C Pin PRES is active low; pin PRES is active high, see Figure 8 and Figure 9; PRES has an integrated 1.25 µa current source to GND. (PRES to DD ); the card is considered present if at least one of the inputs PRES or PRES is active. Table 18. Interrupt output (pin OFF NMOS drain with integrated 20 kω pull-up resistor to DD ) Symbol Parameter (1) Test conditions Min. Typ. Max. Unit OL Low level output voltage I OL = 2 ma 0 0.3 OH High level output voltage I OH = 15 µa 0.75 DD R PU Integrated pull-up resistor 20 kω pull-up resistor to DD 16 20 24 kω 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. Table 19. Protection and limitation Symbol Parameter (1) Test conditions Min. Typ. Max. Unit I CC(SD) Shutdown and limitation current pin CC 90 120 ma I I/O(lim) Limitation current pins I/O, AUX1 and AUX2 15 15 ma I CLK(lim) Limitation current pin CLK 70 70 ma I RST(lim) Limitation current pin RST 20 20 ma T SD Shutdown temperature 150 C 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. Table 20. Timing Symbol Parameter (1) Test conditions Min. Typ. Max. Unit t ACT Activation time For CC = 5 (See Figure 5) 50 220 µs t DE Deactivation time (See Figure 7) 50 80 100 µs t 3 Start of the window for sending CLK to card (See Figure 6) 130 µs t 5 End of the window for sending CLK to card (See Figure 6) 140 µs t debounce Debounce time pins PRES and PRES (See Figure 8) 5 8 11 ms 1. DD = 3.3, DDP = 5, f XTAL = 10 MHz, unless otherwise noted. Typical values are at T A = 25 C. 16/35 Doc ID 17709 Rev 5
Electrical characteristics Figure 3. Definition of output and input transition times CS13450 Doc ID 17709 Rev 5 17/35
Functional description ST8024L 6 Functional description Throughout this document it is assumed that the reader is familiar with ISO7816 terminology. 6.1 Power supply The supply pins for the ST8024L are DD and GND. DD should be in the range of 2.7 to 6.5. All signals interfacing with the system controller are referred to DD, therefore DD should also supply the system controller. All card reader contacts remain inactive during power-on or power-off. The internal circuits are kept in the reset state until DD reaches th2 + HYS2 and for the duration of the internal power-on reset pulse, t W (see Figure 4). When DD falls below th2, an automatic deactivation of the contacts is performed. A step-up converter is incorporated to generate the 1.8 (for those devices with the 1.8 pin), 3, or 5 card supply voltage ( CC ). The step-up converter should be supplied separately by DDP and PGND. Due to the possibility of large transient currents, the two 100 nf capacitors of the step-up converter should be located as near as possible to the ST8024L and have an ESR less than 350 mω. During power-up, the DD supply voltage must be applied prior to the DDP supply voltage or at the same time After powering the device, OFF remains low until CMDCC is set high. During power-off, OFF falls low when DD is below the falling threshold voltage. 6.2 oltage supervisor 6.2.1 Without external divider on pin PORADJ The voltage supervisor surveys the DD supply. A defined reset pulse of approximately 8 ms (t W ) is used internally to keep the ST8024L inactive during power-on or power-off of the DD supply (see Figure 4). As long as DD is less than th2 + HYS2, the ST8024L remains inactive regardless of the levels on the command lines. This state also lasts for the duration of t W after DD has reached a level higher than th2 + HYS2. When DD falls below th2, a deactivation sequence of the contacts is performed. 18/35 Doc ID 17709 Rev 5
Functional description Figure 4. oltage supervisor 6.2.2 With an external divider on pin PORADJ In this case, a resistor divider is connected to the PORADJ pin (see Figure 1). th(ext) rise and th(ext) fall are the external rising threshold voltage and the external falling threshold voltages on pin PORADJ that switch the device on and off. By knowing these values and using the formula: DD ULO threshold (falling) = (R1+R2)/R2 x th(ext)fall Note: DD ULO threshold (rising) = (R1+R2)/R2 x th(ext)rise it is possible to set R 1 and R 2 in order to get suitable values for DD undervoltage (ULO) thresholds, in order to turn the device on and off (R 1 + R 2 = 100 kω typ.). In particular, R 1 and R 2 must be set so that, when DD is getting low, before turning the microcontroller off, the smartcard must also be switched off properly. The same is true for the microcontroller startup - in such case the smartcard must be turned on after the microcontroller. The reset pulse width t W 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. This ensures that after detection of the external divider by the ST8024L during power-on, the input current on pin PORADJ does not cause inaccuracy of the divider voltage. The th(ext) threshold of the ST8024L is slightly lower (by 80 m typ.) than it was in the case of the ST8024 device. If, for example, the microcontroller is shut down at 2.5, the appropriate external resistor values must be chosen to ensure proper deactivation of the ST8024L device. 6.2.3 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 to ensure a proper deactivation sequence. If this is not possible, external resistor values can be chosen to overcome the problem. Doc ID 17709 Rev 5 19/35
Functional description ST8024L 6.3 Clock circuitry (only on SO-28 and TSSOP-28 packages) 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 f XTAL, 1/2 x f XTAL, 1/4 x f XTAL, or 1/8 x f XTAL. Frequency selection is made via inputs CLKDI1 and CLKDI2 (see Table 21). Table 21. Clock frequency selection (1) CLKDI1 CLKDI2 f CLK 0 0 f XTAL /8 0 1 f XTAL /4 1 1 f XTAL /2 1 0 f XTAL 1. The status of pins CLKDI1 and CLKDI2 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 regarding 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 f XTAL 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 ST8024L 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 in Figure 5 and Figure 6. If the signal applied to XTAL1 is controlled by the system microcontroller, the clock pulse is applied to the card when it is sent by the system microcontroller (after completion of the activation sequence). 20/35 Doc ID 17709 Rev 5
Functional description 6.4 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 an 11 kω resistor (I/O to CC and I/OUC to DD ). Pin I/O is referenced to CC, and pin I/OUC to DD, therefore allowing operation when CC is not equal to DD. 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 t d(edge), an N transistor on the slave side is turned on, therefore 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 t PU 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 CC, 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. 6.5 Inactive mode After a power-on reset, the circuit enters 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 DD ). Applies only to SO-28 and TSSOP-28 packages. oltage generators are stopped XTAL oscillator is running oltage supervisor is active The internal oscillator is running at its low frequency. 6.6 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 CMDCC, as shown in Table 22. 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 CMDCC low. The following sequence then occurs (see Figure 6): 1. CMDCC is pulled low and the internal oscillator changes to its high frequency (t 0 ). 2. The step-up converter is started (between t 0 and t 1 ). 3. CC rises from 0 to 5 (or 1.8, 3 ) with a controlled slope (t 2 = t 1 + 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 (t 3 = t 1 + 4T) (these were pulled low until this moment). 5. CLK is applied to the C3 contact of the card reader (t 4 ). 6. RST is enabled (t 5 = t 1 + 7T). Doc ID 17709 Rev 5 21/35
Functional description ST8024L The clock may be applied to the card using the following sequence (see Figure 5): 1. Set RSTIN high. 2. Set CMDCC low. 3. Reset RSTIN low between t 3 and t 5 ; CLK starts at this moment. 4. RST remains low until t 5, when RST is enabled to be the copy of RSTIN. 5. After t 5, 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 CMDCC may be set low with RSTIN low. In this case, CLK starts at t 3 (minimum 200 ns after the transition on I/O), and after t 5, 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. Note: Table 22. It is recommended that no control smartcard signals are to be shared with any other devices. Sharing may result in inadvertent activation or deactivation of the smartcard. Card presence indicator OFF CMDCC Indication H H Card present L H Card not present Figure 5. Activation sequence using RSTIN and CMDCC 22/35 Doc ID 17709 Rev 5
Functional description Figure 6. Activation sequence at t 3 6.7 Active mode When the activation sequence is completed, the ST8024L is in its active mode. Data are exchanged between the card and the microcontroller via the I/O lines. The ST8024L is designed for cards without PP (the voltage required to program or erase the internal non-volatile memory). 6.8 Deactivation sequence When a session is completed, the microcontroller sets the CMDCC line HIGH. The circuit then executes an automatic deactivation sequence by counting the sequencer back and finishing in the inactive mode (see Figure 7): 1. RST goes low (t 10 ). 2. CLK is held low (t 12 = t 10 + 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 (t 13 = t 10 + T). 4. CC starts to fall towards zero (t 14 = t 10 + 1.5 x T). 5. The deactivation sequence is complete at t DE, when CC reaches its inactive state. 6. All card contacts become low impedance to GND; I/OUC, AUX1UC, and AUX2UC remain at DD (pulled-up via an 11 kω resistor). 7. The internal oscillator returns to its lower frequency. Doc ID 17709 Rev 5 23/35
Functional description ST8024L Figure 7. Deactivation sequence 6.9 CC generator The CC generator has a capacity to supply up to 80 ma (max.) continuously at 5, 65 ma (max.) at 3, and 45 ma (max.) at 1.8. 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 CC voltage accuracy, a 100 nf capacitor with an ESR < 350 mω should be tied to CGND near to pin CC, and a 100 nf capacitor with the same ESR should be tied to CGND near card reader contact C1. 24/35 Doc ID 17709 Rev 5
Functional description 6.10 Fault detection The following fault conditions are monitored: Short-circuit or high current on CC Removal of a card during a transaction DD dropping Step-up converter operating out of the specified values ( DDP too low or current from UP too high) Overheating There are two different cases (see Figure 8): CMDCC 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 DD 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. CMDCC 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 Figure 9). When the system controller resets CMDCC 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 Figure 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. Figure 8. Behavior of OFF, CMDCC, PRES, and CC Doc ID 17709 Rev 5 25/35
Functional description ST8024L Figure 9. Emergency deactivation sequence (card extraction) 6.11 CC selection settings The ST8024L supports three smartcard CC voltages: 1.8, 3, and 5. The CC selection is controlled by the 1.8 and 5/3 signals as shown in Table 23. The 1.8 signal has priority over the 5/3. When the 1.8 pin is taken high, CC is 1.8 and it overrides any setting on the 5/3 pin. When the 1.8 pin is taken low, the 5/3 pin selects the 5 or 3 CC. If the 5/3 pin is taken high, then CC is 5, and if the 5/3 pin is taken low then CC is 3. Table 23. CC selection settings 5/3 pin 1.8 pin CC output 0 0 3 1 0 5 x 1 1.8 26/35 Doc ID 17709 Rev 5
Applications 7 Applications Figure 10. Hardware hookup 1. These capacitors must be < 350 mω ESR and be placed near the IC (within 10 mm). 2. ST8024L and the microcontroller must use the same DD supply. 3. Make short, straight connections between CGND, C5, and the ground connection to the capacitor. 4. Mount one ESR-type (< 350 mω) 100 nf capacitor close to pin CC. 5. Mount one ESR-type (< 350 mω) 100 nf capacitor close to C1 contact. 6. The connection to C3 should be routed as far as possible from C2, C7, C4, and C8 and, if possible, surrounded by grounded tracks. 7. This is the optional resistor divider for changing the threshold of DD when using the PORADJ function. If this divider is not required, pin 18 should be connected to ground. Doc ID 17709 Rev 5 27/35
Package mechanical data ST8024L 8 Package mechanical data In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available at: www.st.com. ECOPACK is an ST trademark. Figure 11. SO-28 small outline, package mechanical drawing 0016572_F Table 24. Symbol SO-28 small outline, package mechanical data mm. Dimensions inches Min. Typ. Max. Min. Typ. Max. A 2.65 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.) 28/35 Doc ID 17709 Rev 5
Package mechanical data Figure 12. TSSOP-20 package mechanical drawing A A2 A1 b e c K L E D E1 PIN 1 IDENTIFICATION 1 0087225_D Table 25. Symbol TSSOP-20 package mechanical data mm. Dimensions inches Min. Typ. Max. Min. Typ. Max. A 1.2 0.047 A1 0.05 0.15 0.002 0.006 A2 0.8 1 1.05 0.031 0.039 0.041 b 0.19 0.30 0.007 0.012 c 0.09 0.20 0.004 0.0079 D 6.4 6.5 6.6 0.252 0.256 0.260 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 0.65 BSC 0.0256 BSC K 0 8 0 8 L 0.45 0.60 0.75 0.018 0.024 0.030 Doc ID 17709 Rev 5 29/35
Package mechanical data ST8024L Figure 13. TSSOP-28 package mechanical drawing 0128292_D Table 26. Symbol TSSOP-28 package mechanical data mm. Dimensions inches Min. Typ. Max. Min. Typ. Max. A 1.2 0.047 A1 0.05 0.15 0.002 0.006 A2 0.8 1 1.05 0.031 0.039 0.041 b 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 0.65 BSC 0.0256 BSC K 0 8 0 8 L 0.45 0.60 0.75 0.018 0.024 0.030 30/35 Doc ID 17709 Rev 5
Package mechanical data Figure 14. SO-28 tape and reel schematic Note: Drawing is not to scale. Table 27. Symbol SO-28 tape and reel mechanical data mm. Dimensions inches Min. Typ. Max. Min. Typ. Max. A 330 12.992 C 12.8 13.2 0.504 0.519 D 20.2 0.795 N 60 2.362 T 30.4 1.197 A O 10.8 11.0 0.425 0.433 B O 18.2 18.4 0.716 0.724 K O 2.9 3.1 0.114 0.122 P O 3.9 4.1 0.153 0.161 P 11.9 12.1 0.468 0.476 Doc ID 17709 Rev 5 31/35
Package mechanical data ST8024L Figure 15. TSSOP-20 tape and reel schematic Note: Drawing is not to scale. Table 28. Symbol TSSOP-20 tape and reel mechanical data mm. Dimensions inches Min. Typ. Max. Min. Typ. Max. A 330 12.992 C 12.8 13.2 0.504 0.519 D 20.2 0.795 N 60 2.362 T 22.4 0.882 A O 6.8 7 0.268 0.276 B O 6.9 7.1 0.272 0.280 K O 1.7 1.9 0.067 0.075 P O 3.9 4.1 0.153 0.161 P 11.9 12.1 0.468 0.476 32/35 Doc ID 17709 Rev 5
Package mechanical data Figure 16. TSSOP-28 tape and reel schematic Note: Drawing is not to scale. Table 29. Symbol TSSOP-28 tape and reel mechanical data mm. Dimensions inches Min. Typ. Max. Min. Typ. Max. A 330 12.992 C 12.8 13.2 0.504 0.519 D 20.2 0.795 N 60 2.362 T 22.4 0.882 A O 6.8 7 0.268 0.276 B O 10.1 10.3 0.398 0.406 K O 1.7 1.9 0.067 0.075 P O 3.9 4.1 0.153 0.161 P 11.9 12.1 0.468 0.476 Doc ID 17709 Rev 5 33/35
Revision history ST8024L 9 Revision history Table 30. Document revision history Date Revision Changes 19-Jul-2010 1 Initial release. 30-Jul-2010 2 Updated Description, Table 6. 27-Sep-2010 3 09-Feb-2012 4 04-May-2012 5 Updated Features, Table 1, 6, 8, 19, 20, Section 6.1, Section 6.2.2, Section 6.6, Section 6.9, footnotes of Figure 10. Added ST8024LACTR device, updated Features, Table 1, Section 1: Description (moved to page 5), Figure 1,Figure 2, Table 2, Table 6,Table 8, Section 6.1 to Section 6.3, Figure 10 and Disclaimer, minor text corrections throughout document. Updated Figure 1, Table 2, Table 3, Table 6, Table 8, Table 14, Table 16, Table 17, Section 6.1, moved notes from Section 5 below Table 3, Table 8, Table 15, Table 16, Table 17, minor text corrections throughout document. 34/35 Doc ID 17709 Rev 5
Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics N and its subsidiaries ( ST ) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIES, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEERE PROPERTY OR ENIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIE GRADE" MAY ONLY BE USED IN AUTOMOTIE APPLICATIONS AT USER S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2012 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 - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com Doc ID 17709 Rev 5 35/35