AN1978 STMicroelectronics, AN1978 Datasheet

no-image

AN1978

Manufacturer Part Number
AN1978
Description
ST8004: SMART CARD INTERFACE
Manufacturer
STMicroelectronics
Datasheet
1. INTRODUCTION
The ST8004 is a smart card interface designed to minimize the microprocessor hardware and software
complexity in all the applications that need a smart card, such as Set-Top-Boxes, electronic payments,
pay TV and identification.
The ST8004 is compliant with the NDS requirements. It implements all the blocks and procedures for the
card activation/deactivation as shown in the block diagram of figure 1.
Figure 1: ST8004 internal block diagram
June 2004
100nF
CMDVCC
CLKDIV1
CLKDIV2
AUX1UC
AUX2UC
VTHSEL
RSTIN
XTAL1
XTAL2
I/OUC
OFF
5/3V
23
20
19
18
3
1
2
24
25
27
28
26
21
V
DD
OSCILLATOR
CIRCUITRY
SUPERVISOR
CLOCK
REFERENCE
VOLTAGE
INTERNAL
SUPPLY
GND
22
ST8004: SMART CARD INTERFACE
ALARM
CLK
En4
Vref
En3
SEQUENCER
ST8004
100nF
En1 CLKUP
INTERNAL OSCILLATOR
PROTECTIO
THERMAL
STEP-UP CONVERTER
I/O TRANSCEIVER
I/O TRANSCEIVER
I/O TRANSCEIVER
V
PV
DDP
En2
En5
En4
6
2.5MHz
CC
APPLICATION NOTE
GENERATOR
RST BUFFER
BUFFER
CLOCK
VCC
S1
7
S2
100nF
5
13
12
11
17
14
16
15
10
4
8
9
P
V
V
CGND
RST
CLK
PRES
PRES
AUX1
AUX2
I/O
GND
UP
CC
100nF
100nF
AN1978
1/14

Related parts for AN1978

AN1978 Summary of contents

Page 1

... VOLTAGE SUPERVISOR ALARM En1 CLKUP En2 GENERATOR PV CC En5 RST BUFFER SEQUENCER En4 En4 CLOCK CIRCUITRY CLK THERMAL PROTECTIO OSCILLATOR En3 I/O TRANSCEIVER I/O TRANSCEIVER I/O TRANSCEIVER 22 GND AN1978 100nF GND 100nF VCC 100nF 14 CGND RST 16 CLK 15 CLOCK ...

Page 2

... AN1978 - APPLICATION NOTE 2. SEQUENCER Core of the ST8004 is the sequencer (shown in figure 1) that must coordinate the enable signals for the activation and deactivation sequence and check for possible fault conditions. This because the smart card is basically a microcontroller and needs to be activated/deactivated by a correct sequence as required by the ISO/IEC7816 standard ...

Page 3

... According to the EIA/ISO7816 specifications, the CLK duty cycle must be enclosed between 45% and 55% even if the clock division changes. In this case, at CLKDIV change, the ST8004 waits for the first falling edge to ensure the duty cycle accuracy, as shown in Figure 4. AN1978 - APPLICATION NOTE CLKDIV ...

Page 4

... AN1978 - APPLICATION NOTE Figure 4: Clock duty cycle on CLKDIV change The clock signal can be obtained by a crystal connected between the XTAL1 and XTAL2 pins external signal applied to the XTAL1 pin; in this case the XTAL2 pin must be left floating. The external signal voltage value must be enclosed between GND and VDD. ...

Page 5

... Figure 9 and are recommended with ESR lower than 50mΩ @ 100kHz such as MURATA GRM31M7U1H104JA01B. Anyway, also capacitor with ESR up to 100mΩ @ 100kHz are enough to work in specifications. V DDP 100nF STEP-UP CONVERTER ON/OFF OUTPUT ST8004 EN2 17 VCC P REGULATOR VCC AN1978 - APPLICATION NOTE P GND 100nF 5/14 ...

Page 6

... AN1978 - APPLICATION NOTE A better noise performance could be achieved connecting the V V instead of GND. Moreover, a 200nF capacitor should be connected to V DDP obtain a higher current from the charge pump when pulsed load is applied on Vcc. In the typical applications a 100nF filter capacitor is connected to the Vcc output, near the ST8004 pins and another 100nF is connected, between C1 and C5, near the card slot as shown in Figure 7 and Figure 9 ...

Page 7

... UP Vcc Vcc Vcc Vcc Vcc Vcc PRES and PRES PRES and PRES PRES and PRES AN1978 - APPLICATION NOTE CH1: Vcc voltage; offset=5V; BandWidth=250MHz. CH4: Vcc output current into GND. Conditions: VDD=3.3V; VDDP=4.75V; 5/3V=H. The Vcc voltage is between 4.6V and 5.3V even if a 65mA sink pulsed current is forced ...

Page 8

... AN1978 - APPLICATION NOTE 5. FAULT DETECTION ST8004 provides a fault detection circuitry as shown in Figure 1 monitoring the following conditions: - Over-temperature detection - Fault on card removing - VDD under-voltage - Vcc Short circuit protection 5.1. VDD under-voltage The ST8004 logic circuitry is supplied by VDD; in order to avoid voltage spikes causing bad behaviors of device and card, a voltage supervisor block is embedded as shown in Figure 1 ...

Page 9

... Figure 11: OFF behaviour on VDD drop. Figure 12: Deactivation sequence automatically when spikes on VDD are present. AN1978 - APPLICATION NOTE Conditions Floating; THSEL V = =5V; DDP 5/3V=L. CH1:CMDVCC CH2: VDD CH3: OFF CH4: Vcc When the V voltage falls below DD the Vth2 value (about 2.1V) a deactivation sequence starts and the OFF pin goes low until CMDVCC rising edge happens ...

Page 10

... AN1978 - APPLICATION NOTE Figure 13: Vth2 threshold. 5.2. Vcc short-circuit protection An important feature of the voltage regulator is the short-circuit protection that warns the sequencer block (see Figure 1) if the output current grows more than the short circuit current limit (about 90mA). In this case a deactivation sequence starts to protect the card and the OFF pin falls down warning the occurred fault as shown in Figure18 ...

Page 11

... Figure 14: Vup load curve Figure 15: Vcc load curve Vup voltage VS Iup Iup (mA) Vcc voltage VS Icc Iup (mA) AN1978 - APPLICATION NOTE 5/3V=H 5/3V=L 100 120 5/3V=H 5/3V=L 100 11/14 ...

Page 12

... AN1978 - APPLICATION NOTE Figure 16: Short-circuit on Vcc during the activation. Figure 17: Short-circuit on Vcc after the activation. 12/14 Conditions: Conditions: Conditions =4.75V; =4.75V; =4.75V; DDP DDP DDP 5/3V=H. 5/3V=H. 5/3V=H. CH1: Vcc CH1: Vcc CH1: Vcc CH2: CMDVCC. CH2: CMDVCC. CH2: CMDVCC. ...

Page 13

... CH4 : Vcc output current CH4 : Vcc output current When When occurs the OFF pin goes occurs the OFF pin goes low indicating a fault. low indicating a fault. Revision Description of Changes 1 First Release AN1978 - APPLICATION NOTE = =5V; =5V; the the short short circuit circuit 13/14 ...

Page 14

... AN1978 - APPLICATION NOTE 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 ...

Related keywords