Philips TDA8004T Datasheet

INTEGRATED CIRCUITS
DATA SH EET
TDA8004T
IC card interface
Product specification Supersedes data of 1997 Nov 21 File under Integrated Circuits, IC02
1999 Dec 30
Philips Semiconductors Product specification
IC card interface TDA8004T

FEATURES

3 or 5 V supply for the IC (GND and VDD)
Step-up converter for VCC generation (separately powered with a 5 V ±10% supply, V
3 specific protected half duplex bidirectional buffered
I/O lines (C4, C7 and C8)
VCC regulation 5 V ±5% on 2 × 100 nF or 1 × 100 nF and 1 × 220 nF multilayer ceramic capacitors with low ESR, ICC< 65 mA at 4.5 V < V spikes of 40 nAs up to 20 MHz, withcontrolled rise and fall times, filtered overload detection approximately 90 mA)
Thermal and short-circuit protections 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 or supply drop-out)
Enhanced ESD protection on card side (>6 kV)
26 MHz integrated crystal oscillator
Clock generation for the card up to 20 MHz (divided by
1, 2, 4 or 8 through CLKDIV1 and CLKDIV2 signals)
Non-inverted control of RST via pin RSTIN
DDP
and PGND)
DDP
< 6.5 V, current
ISO 7816, GSM11.11 and EMV (payment systems) compatibility
Supply supervisor for spikes killing during power-on and power-off
One multiplexed status signal OFF.

APPLICATIONS

IC card readers for banking
Electronic payment
Identification
Pay TV.

GENERAL DESCRIPTION

The TDA8004T is a complete low cost analog interface for asynchronous smart cards. It can be placed betw the card andthe microcontroller with very few external components to perform all supply protection and control functions.

ORDERING INFORMATION

TYPE
NUMBER
TDA8004T SO28 plastic small outline package; 28 leads; body width 7.5 mm SOT136-1
NAME DESCRIPTION VERSION
PACKAGE
Philips Semiconductors Product specification
IC card interface TDA8004T

QUICK REFERENCE DATA

SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT
Supplies
V
DD
V
DDP
I
DD
I
DDP
Card supply
V
CC
V
i(ripple)(p-p)
I
card supply current VCC from 0 to 5 V −−65 mA
CC
General
f
CLK
t
de
P
tot
T
amb
supply voltage 2.7 6.5 V step-up supply voltage 4.5 5 6.5 V supply current inactive mode; VDD= 3.3 V;
f
=10MHz
XTAL
active mode; V f
= 10 MHz; no load
XTAL
step-up supply current inactive mode; V
f
=10MHz
XTAL
active mode; V f
= 10 MHz; no load
XTAL
card supply voltage including ripple
ripple voltage on V
CC
DC ICC < 65 mA 4.75 5.25 V AC current spikes of 40 nAs 4.65 5.25 V 20 kHz f 200 MHz −−350 mV
DD
DDP
DDP
= 3.3 V;
=5V;
=5V;
−−1.2 mA
−−1.5 mA
−−0.1 mA
−−18 mA
(peak-to-peak value)
card clock frequency 0 20 MHz deactivation cycle duration 60 80 100 µs continuous total power dissipation T
= 25 to +85 °C −−0.56 W
amb
ambient temperature 25 +85 °C
Philips Semiconductors Product specification
IC card interface TDA8004T

BLOCK DIAGRAM

handbook, full pagewidth
OFF
RSTIN
CMDVCC
RFU1
CLKDIV1 CLKDIV2
V
DD
23 20 19
3
1
2
100 nF
21
CIRCUITRY
SUPPLY
INTERNAL
REFERENCE
VOLTAGE SENSE
HORSEQ
CLOCK
CLK
V
ALARM
V
DDP
ref
SEQUENCER
100 nF
6
STEP-UP CONVERTER
INTERNAL OSCILLATOR
EN1 CLKUP
100 nF
S1 S2 75
2.5 MHz
EN2
PV
CC
GENERATOR
EN5
EN4
V
CC
RST
BUFFER
CLOCK
BUFFER
PGND
4
VUP
8
100 nF
V
17
CC
100
100
nF
14
CGND
16
15
10
9
nF
RST
CLK
PRES PRES
XTAL1
XTAL2
AUX1UC
24
OSCILLATOR
25
27
EN3
THERMAL
PROTECTION
TDA8004T
AUX2UC
I/OUC
All capacitors are mandatory.
28
26
22
GND
18 n.c.
Fig.1 Block diagram.
I/O
TRANSCEIVER
I/O
TRANSCEIVER
I/O
TRANSCEIVER
13
12
11
MGM175
AUX1
AUX2
I/O
Philips Semiconductors Product specification
IC card interface TDA8004T

PINNING

SYMBOL PIN I/O DESCRIPTION
CLKDIV1 1 I control with CLKDIV2 for choosing CLK frequency CLKDIV2 2 I control with CLKDIV1 for choosing CLK frequency RFU1 3 I reserved for future use (to be connected to V PGND 4 supply power ground for step-up converter S2 5 I/O capacitance connection for step-up converter (a 100 nF capacitor with ESR < 100 m
must be connected between pins S1 and S2)
V
DDP
6 supply power supply voltage for step-up converter
S1 7 I/O capacitance connection for step-up converter (a 100 nF capacitor with ESR < 100 m
must be connected between pins S1 and S2)
VUP 8 I/O output of step-up converter (a 100 nF capacitor with ESR < 100 m must be
connected to PGND)
PRES 9 I card presence contact input (active LOW); if PRES orPRES is true, then the card is
considered as present
PRES 10 I card presence contact input (active HIGH); if PRES or
considered as present I/O 11 I/O data line to and from card (C7) (internal 10 k pull-up resistor connected to V AUX2 12 I/O auxiliary line to and from card (C8) (internal 10 k pull-up resistor connected to V AUX1 13 I/O auxiliary line to and from card (C4) (internal 10 k pull-up resistor connected to V CGND 14 supply ground for card signals CLK 15 O clock to card (C3) RST 16 O card reset (C2) V
CC
17 O Supply for card (C1); decouple to CGND with 2 × 100 nF or 1 × 100 nF and 1 × 220 nF
capacitors with ESR < 100 m (with 220 nF, the noise margin on VCC will be higher). n.c. 18 not connected CMDVCC 19 I start activation sequence input from microcontroller (active LOW) RSTIN 20 I card reset input from microcontroller (active HIGH) V
DD
21 supply supply voltage GND 22 supply ground OFF 23 O NMOS interrupt to microcontroller (active LOW) with 20 k internal pull-up resistor
connected to VDD (refer section “Fault detection”) XTAL1 24 I crystal connection or input for external clock XTAL2 25 O crystal connection (leave open if an external clock source is used) I/OUC 26 I/O microcontroller data I/O line (internal 10 k pull-up resistor connected to V AUX1UC 27 I/O auxiliary line to and from microcontroller (internal 10 k pull-up resistor connected to
V
)
DD
AUX2UC 28 I/O auxiliary line to and from microcontroller (internal 10 k pull-up resistor connected to
V
)
DD
or microcontroller I/O; active HIGH)
DD
PRES is true, then the card is
DD
)
CC
)
CC
)
CC
)
Philips Semiconductors Product specification
IC card interface TDA8004T

FUNCTIONAL DESCRIPTION

Throughout this document, it is assumed that the reader is familiar with ISO 7816 norm terminology.

Power supply

The supply pins for the IC are VDD and GND. VDD should be in the range from 2.7 to 6.5 V. All interface signals with the system controller are referenced to VDD; so, be sure the supply voltage of the system controller is also VDD. All
handbook, halfpage
CLKDIV1 CLKDIV2
RFU1
PGND
S2
V
DDP
S1
VUP
PRES PRES
I/O AUX2 AUX1
CGND
1 2 3 4 5 6 7
TDA8004T
8
9 10 11 12 13
MGM174
28 27 26 25 24 23 22 21 20 19 18 17 16 1514
AUX2UC AUX1UC I/OUC XTAL2 XTAL1
OFF GND V
DD
RSTIN
CMDVCC n.c. V
CC
RST CLK
card contacts remain inactive during powering up or powering down. The sequencer is not activated until V reaches V V
th2
th2+Vhys(th2)
, an automatic deactivation of the contacts is
(see Fig.3). When VDDfalls below
DD
performed. For generating a 5 V ±5% VCC supply to the card, an
integrated voltage doubler is incorporated. This step-up converter should be separately supplied by V
DDP
and PGND (from 4.5 to 6.5 V). Due to large transient currents, the 2 × 100 nF capacitors of the step-up converter should have an ESR less than 100 mand be located as near as possible to the IC.
The supply voltages VDD and V
may be applied to
DDP
the IC in any time sequence. If a voltage between 7 and 9 V is available within the
application, this voltage may be tied to pin VUP, thus blocking the step-up converter. In this case, V
DDP
must be tiedtoVDDandthecapacitorbetweenpinsS1 and S2may be omitted.

Voltage supervisor

Fig.2 Pin configuration.
This block surveys the VDD supply. A defined reset pulse of approximately 10 ms (tW) is used internally for maintainingthe IC in the inactive modeduringpoweringup or powering down of VDD (see Fig.3).
As long as VDD is less than V
th2+Vhys(th2)
, the IC will remaininactivewhateverthelevelsonthecommandlines. This also lasts for the duration of tWafter VDDhas reached a level higher than V
th2+Vhys(th2)
.
The system controller should not try to start an activation during this time.
When VDDfalls below V
, a deactivation sequence of the
th2
contacts is performed.
Philips Semiconductors Product specification
IC card interface TDA8004T
handbook, full pagewidth
V
+ V
th2
V
DD
hys(th2)
V
th2
ALARM
(internal signal)
Fig.3 ALARM as a function of VDD (tW= 10 ms).

Clock circuitry

The clock signal (CLK) to the card is either derived from a clock signal input on pin XTAL1 or from a crystal up to 26 MHz connected between pins XTAL1 and XTAL2.
The frequency may be chosen at f
XTAL
,1⁄2f
XTAL
,1⁄4f
XTAL
or1⁄8f
via pins CLKDIV1 and
XTAL
CLKDIV2. 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 pulse around the change has the correct width.
t
W
t
W
MGM176
Intheothercases,itisguaranteedbetween45% and 55% of the period.
Thecrystaloscillatorrunsassoon as the IC is powered up. If the crystal oscillator is used, or if the clock pulse on XTAL1 is permanent, then the clock pulse will be applied to the card according to the timing diagram of the activation sequence (see Fig.5).
If the signal applied to XTAL1 is controlled by the system controller, then the clock pulse will be applied to the card when the system controller will send it (after completion of the activation sequence).
In the case of f
, the duty factors are dependent on the
XTAL
signal at XTAL1. In order to reach a 45% to 55% duty factor on pin CLK the
input signal on 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 with f
, the duty factor on pin CLK
XTAL
may be 45% to 55% depending on the layout and on the crystal characteristics and frequency.
Table 1 Clock circuitry definition
CLKDIV1 CLKDIV2 CLK
00 01 11 10f
1
f
8
XTAL
1
f
4
XTAL
1
f
2
XTAL
XTAL
Philips Semiconductors Product specification
IC card interface TDA8004T

I/O circuitry

The three data lines I/O, AUX1 and AUX2 are identical. The Idle state is realized by both lines (I/O and I/OUC)
being pulled HIGH via a 10 k resistor (I/O to VCC and I/OUC to VDD).
I/O is referenced to VCC and I/OUC to VDD, thus allowing operation with VCC≠ VDD.
The first side on which a falling edge occurs becomes the master.Ananti-latchcircuitdisablesthe detection of falling edges on the other line, which becomes a slave.
After a time delay t
(approximately 200 ns), the
d(edge)
N transistor on the slave side is turned on, thus transmitting the logic 0 present on the master side.
Whenthemastersidereturnstologic 1, the P transistor on theslavesideisturnedon during the time delayt
d(edge)
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 up to an output voltage of 0.9VCCon a 80 pF load. At the end of the active pull-up pulse, the output voltage only depends on the internal pull-up resistor and on the load current (see Fig.4).
The maximum frequency on these lines is 1 MHz.
FCE270
12
(mA)
8
I
o
V (V)
6
o
4
handbook, halfpage
(1)
(2)

Inactive state

Afterpower-onreset,the circuit enters the inactive state. A minimumnumber of circuits are active while waiting forthe microcontroller to start a session.
All card contacts are inactive (approximately 200 to
GND)
I/OUC, AUX1UC and AUX2UC are high impedance
(10 k pull-up resistor connected to VDD)
Voltage generators are stopped
XTAL oscillator is running
Voltage supervisor is active.

Activation sequence

Afterpower-on and after the internal pulse width delay, the system controller may check the presence of the card with the signal OFF (OFF = HIGH while CMDVCC is HIGH means that the card is present; OFF = LOW while CMDVCC is HIGH means that no card is present).
If the card is in the reader (which is the case if PRES or PRES is true), the system controller may start a card session by pulling CMDVCC LOW.
The following sequence then occurs (see Fig.5):
CMDVCC is pulled LOW (t0)
The voltage doubler is started (t1~t0)
VCC rises from 0 to 5 V with a controlled slope
(t2=t1+1⁄23T) (I/O, AUX1 and AUX2 follow VCC with a slight delay)
I/O, AUX1 and AUX2 are enabled (t3=t1+ 4T)
CLK is applied to the C3 contact (t4)
RST is enabled (t5=t1+ 7T).
2
0
0
(1) Current. (2) Voltage.
20 40
t (ns)
4
0
60
Fig.4 I/O, AUX1, and AUX2 output voltage and
current as a function of time during a LOW-to-HIGH transition.
In the timing informations above and below, T is 64 times the period of the internal oscillator, about 25 µs.
The clock may be applied to the card in the following way:
Set RSTIN HIGH before setting CMDVCC LOW and
reset it LOW between t3and t5; CLK will start at this moment. RST will remain LOW until t5, where RST is enabledto be the copy of RSTIN. After t5,RSTIN has no further action on CLK. This is to allow a precise count of CLK pulses before toggling RST.
If this feature is not needed, then CMDVCC may be set LOWwithRSTINLOW.Inthiscase,CLKwillstart at t3and after t5,RSTINmaybesetHIGHinordertoget the Answer To Request (ATR) from the card.
Loading...
+ 16 hidden pages