Philips tda8006 DATASHEETS

INTEGRATED CIRCUITS
DATA SH EET
TDA8006
Multiprotocol IC Card coupler
Product specification Supersedes data of 2000 Feb 21 File under Integrated Circuits, IC02
2000 Oct 30
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006

FEATURES

80C52 core with 16 kbyte ROM and 256 byte RAM
Extra 1 kbyte RAM outside the core for data storage
Control and communication through a standard RS232
full duplex interface or a parallel interface
Specific ISO 7816 UART withparallel access on I/O for automatic convention processing, variable baud rate through frequency or division ratio programming, error management at character level for T = 0, extra guard time register
VCCgeneration (5 V ±5% or 3 V ±5%, 65 mA maximum with controlled rise and fall times)
Card clock generation (up to 10 MHz) with two times synchronous frequency doubling
Card clock STOP HIGH, clock STOP LOW or 1.25 MHz (from internal oscillator) for card power-down mode
CLKOUToutputforclocking external devices with either f
,1⁄2f
xtal
or1⁄4f
xtal
xtal
Automaticactivationanddeactivationsequencethrough an independent sequencer
Supports the asynchronous protocols T = 0 and T = 1 in accordance with ISO 7816, Europay, Mastercard and Visa (EMV)
Supports synchronous cards
Short circuit current limiting
Special circuitry for killing spikes during power-on or off
Supply supervisor for power-on/off reset
Step-up converter (supply voltage from 4.2 to 6 V)
Power-down and sleep mode for low power
consumption
Enhanced ESD protection on card side (6 kV minimum)
Software library for easy integration within the
application.

APPLICATIONS

Smart card readers for multiprotocol applications (EMV banking, digital pay TV, access control, etc.).

GENERAL DESCRIPTION

It is assumed that the reader of this data sheet is familiar with ISO 7816.
TheTDA8006iscontrolled either through a standard serial interface or a parallel bus, it takes care of all ISO 7816, EMV and GSM11.11 requirements. It gives the card and the set a very high level of security due to its special hardware against ESD, short circuit, power failure, etc. Its integrated step-up converter allows operation within a supply voltage range of 4.2 to 6 V.
AspecialversionoftheTDA8006 is available which has its internal connections to the controller accessible through external pins. This allows easy development and evaluation when used with a 80CL580 microcontroller or a development tool. An emulation board is available.
A software library has been developed, taking care of all actions required for T = 0, T = 1 and synchronous protocols. This library may be either linked with the application software before masking, or masked in the internal ROM (see
“Application Note AN98106”
).

ORDERING INFORMATION

PACKAGE
TYPE NUMBER
NAME DESCRIPTION VERSION
TDA8006H/C1 QFP64 plastic quad flat package; 64 leads (lead length 1.95 mm); TDA8006H/C2
body 14 × 20 × 2.8 mm
TDA8006H/C3 TDA8006AH/C1 QFP44 plastic quad flat package; 44 leads (lead length 1.3 mm); TDA8006AH/C2
body 10 × 10 × 1.75 mm
TDA8006AH/C3
SOT319-2
SOT307-2
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006

QUICK REFERENCE DATA

SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT
V
DD
I
DD(pd)
I
DD(sm)
V
CC
I
CC
SR slew rate (rise and fall) maximum load capacitor pin V
t
de
t
act
f
xtal
f
oper
T
amb
supply voltage 4.2 6V supply current in power-down mode VDD= 5 V; card inactive; note 1 −−250 µA supply current in sleep mode card powered but clock stopped;
−−1500 µA
note 1
card supply voltage including static loads (5 V card) 4.75 5.0 5.25 V
with 40 nAs dynamic loads on
4.6 5.4 V
100 nF capacitor (5 V card) including static loads (3 V card) 2.80 3.20 V with 24 nAs dynamic loads on
2.75 3.25 V
100 nF capacitor (3 V card)
card supply current operating −−65 mA
overload detection 80 mA
0.10 0.16 0.30 V/µs
CC
400 nF (including typical 100 nF
decoupling) deactivation cycle duration −−100 µs activation cycle duration −−225 µs crystal frequency 4 25 MHz operating frequency external frequency applied on
0 25 MHz
pin XTAL1 operating ambient temperature 25 +85 °C
Note
1. I
in all configurations include the current at pins VDD, V
DD
DDA
and V
DDRAM
.
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006

BLOCK DIAGRAM

handbook, full pagewidth
P00 to P07
P20 to P27
P11/T2EX
ALARM CDELAY
RESET
PSEN
ALE
EA
P36/WR
P37/RD
P30/RXD
P31/TXD
P33/INT1
P10/T2
TDA8006H
(TDA8006AH)
45 (32) 44 (31)
52 (34) 7 (3) 8 (4) 11 (7) 61 (41) 62 (42) 19 to 12
(1)
(11 to 8)
63, 64, 1 to 6 (43, 44, 1, 2)
58 (38) 59 (39) 60 (40) 53 (35) 54 (36)
V
DD
100 nF
SUPPLY
AND
SUPERVISOR
MICROCONTROLLER
80C52
INT0
16-kbyte ROM 256-byte RAM
6
PERIPHERALS
(2)
100 nF
GND S1 S2
29 (19)41(28) 40 (27)
P34
P35
P40
8
to P47
(21)
CONVERTER
C4
C8
SEQUENCER
OSCILLATOR
V
DDA
31
30 (20)
STEP-UP
ANALOG
DRIVERS
AND
INTERNAL
AGND
28 (18)
(22) 32
(25) 38
(26) 39
(17) 27
(16) 26
(23) 36
(24) 37
(29) 42
VUP
100 nF
C4
C8
CLK
RST
V
CC
I/O
PRES
V
DDRAM
GNDRAM
CLKOUT
Minimum value for capacitor between V Pin numbers in parenthesis represent the TDA8006AH. (1) Ports P04 to P07 not applicable for QFP44 package. (2) Ports P24 to P27 not applicable for QFP44 package. (3) Ports K0 to K3 not applicable for QFP44 package.
23 (14) 24 (15)
43 (30)
1024
AUX
RAM
CLOCK CIRCUITRY PORT EXTENSION
10 (6) XTAL1
and AGND is 2.2 µF.
DDA
T = 0,1
ISO
UART
9 (5) XTAL2
Fig.1 Block diagram.
I/O OFF 3 V/5 V
CMDVCC
K0 to K3
48 to 51
(3)
MGR225
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006

PINNING

SYMBOL
DESCRIPTION
QFP64 QFP44
P22 1 1 address 10/general purpose I/O port P23 2 2 address 11/general purpose I/O port P24 3 address 12/general purpose I/O port P25 4 address 13/general purpose I/O port P26 5 address 14/general purpose I/O port P27 6 address 15/general purpose I/O port PSEN 7 3 program store enable output ALE 8 4 address latch enable XTAL2 9 5 crystal connection XTAL1 10 6 crystal connection or external clock input EA 11 7 external access P07 12 address/data 7/general purpose I/O port P06 13 address/data 6/general purpose I/O port P05 14 address/data 5/general purpose I/O port P04 15 address/data 4/general purpose I/O port P03 16 8 address/data 3/general purpose I/O port P02 17 9 address/data 2/general purpose I/O port P01 18 10 address/data 1/general purpose I/O port P00 19 11 address/data 0/general purpose I/O port n.c. 20 12 not connected n.c. 21 13 not connected n.c. 22 not connected
PIN
V
DDRAM
23 14 supply voltage for the auxiliary RAM GNDRAM 24 15 ground for the auxiliary RAM n.c. 25 not connected RST 26 16 card reset output (ISO contact C2) CLK 27 17 clock output to the card (ISO contact C3) AGND 28 18 ground for the analog part S1 29 19 contact 1 for the step-up converter (a ceramic capacitor of 100 nF must be
connected between S1 and S2)
V
DDA
30 20 analog supply voltage for the voltage doubler S2 31 21 contact 2 for the step-up converter (a ceramic capacitor of 100 nF must be
connected between S1 and S2)
VUP 32 22 output of the step-up converter; must be decoupled with a 100 nF ceramic
capacitor n.c. 33 not connected n.c. 34 not connected n.c. 35 not connected V
CC
36 23 card supply output voltage (ISO contact C1)
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006
SYMBOL
I/O 37 24 data line to/from the card (ISO contact C7) C4 38 25 auxiliary I/O for ISO contact C4 (synchronous cards for example) C8 39 26 auxiliary I/O for ISO contact C8 (synchronous cards for example) GND 40 27 ground V
DD
PRES 42 29 card presence contact input (active HIGH or LOW by mask option); see Table 12 CLKOUT 43 30 output for clocking external devices CDELAY 44 31 external capacitor connection for delayed reset signal ALARM 45 32 open drain reset output (active HIGH or LOW by mask option); see Table 12 TEST 46 33 test pin (must be left open-circuit in the application) INHIB 47 test pin (must be left open-circuit in the application) K0 48 output port from port extension (±2 mA push-pull) K1 49 output port from port extension (±2 mA push-pull) K2 50 output port from port extension (±2 mA push-pull) K3 51 output port from port extension (±2 mA push-pull) RESET 52 34 input for resetting the microcontroller (active HIGH) P10/T2 53 35 general purpose I/O port (connected to P10) P11/T2EX 54 36 general purpose I/O port (connected to P11) n.c. 55 37 not connected n.c. 56 not connected n.c. 57 not connected P30/RXD 58 38 general purpose I/O port or serial interface receive line P31/TXD 59 39 general purpose I/O port or serial interface transmit line
INT1 60 40 general purpose I/O port or interrupt (connected to P33)
P33/ P36/
WR 61 41 general purpose I/O port or external data memory write strobe RD 62 42 general purpose I/O port or external data memory read strobe
P37/ P20 63 43 address 8/general purpose I/O port P21 64 44 address 9/general purpose I/O port
QFP64 QFP44
PIN
DESCRIPTION
41 28 supply voltage
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006
handbook, full pagewidth
P22 P23 P24 P25 P26 P27
PSEN
ALE XTAL2 XTAL1
EA P07 P06 P05 P04 P03 P02 P01 P00
P21
64 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
P20
63
P37/RD 62
61
P36/WR
P33/INT1 60
P30/RXD
P31/TXD 59
58
TDA8006H
n.c. 57
n.c. 56
n.c. 55
P11/T2EX
P10/T2
54
53
RESET 52
51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
K3 K2 K1 K0 INHIB TEST ALARM CDELAY CLKOUT PRES
V
DD
GND C8 C4 I/O
V
CC
n.c. n.c. n.c.
20
21
22
23
24
25
n.c.
n.c.
n.c.
DDRAM
V
n.c.
GNDRAM
Fig.2 Pin configuration (QFP64).
26
RST
27
CLK
28
AGND
29 S1
30
DDA
V
31 S2
32
VUP
MGR226
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006
handbook, full pagewidth
P20
P37/RD
P36/WR
P33/INT1
P31/TXD
P30/RXD
P11/T2EX
P10/T2
P21
44
n.c.
43
42
41
40
39
38
37
RESET
36
35
34
P22 P23
PSEN
ALE XTAL2 XTAL1
EA P03 P02 P01 P00
22
VUP
33
TEST ALARM
32 31
CDELAY
30
CLKOUT PRES
29
V
28
GND
27
C8
26
C4
25 24
I/O V
23
MGR227
DD
CC
1 2 3 4 5 6 7 8
9 10 11
12
13
n.c.
n.c.
TDA8006AH
14
15
DDRAM
V
GNDRAM
16
RST
17
CLK
18
AGND
19 S1
20
DDA
V
21 S2
Fig.3 Pin configuration (QFP44).
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006
FUNCTIONAL DESCRIPTION Microcontroller
The microcontroller is an 80C52 with 16 kbytes of ROM, 256 byte RAM, timers 0, 1, 2 , and 5 I/O ports (port P0: open-drain; ports P1 to P3: weak pull-up). Port P4 is identical to 83CE560, except that precharge circuits ensurefastrisetimesatend of read mode (transition times <0.5 µs). The ROM code content can be tested by signature to avoid reading it out after masking; for security bit option, see Table 12. The CPU, timers 0 and 1, serial UART, parallel I/O ports, 256 byte RAM, 16 kbyte ROM and external bus are conventional C51 family library elements. Timer 2 is a conventional C52 element (interrupt enable bit ET2: bit 3 in register IEN1 at byte address E8H and interrupt priority bit PT2: bit 3 in register IP1 at byte address F8H.
Table 1 List of differences between TDA8006, CE560, CL580 and C52
FEATURES TDA8006 83CE560 CL580 INTEL C52
P4 address C0 C0 C1 no Timer 2 Intel Philips Intel Intel ROM size 16 kbytes 64 kbytes 6 kbytes 8 kbytes External 0 interrupt vector 0003H 0003H 0003H 0003H External 0 interrupt priority highest (1st) highest (1st) highest (1st) highest (1st) Timer 0 interrupt vector 000BH 000BH 000BH 000BH Timer 0 interrupt priority 2nd 2nd 4th 2nd External 1 interrupt vector 0013H 0013H 0013H 0013H External 1 interrupt priority 3th 3th 7th 3th Timer 1 interrupt vector 001BH 001BH 001BH 001BH Timer 1 interrupt priority 4th 4th 10th 4th Serial 0 interrupt vector 0023H 0023H 0023H 0023H Serial 0 interrupt priority 5th 5th 13th 5th Timer 2 interrupt vector 004BH 0033H, etc. (8) 0033H 002BH Timer 2 interrupt priority lowest (6th) miscellaneous 5th lowest (6th)
2
I
C-bus no yes yes no ADC no yes yes no 32 kHz oscillator no yes no no PWM no yes yes no Watchdog no yes yes no Interrupts on P1 no no yes no Additional RAM 1 kbyte peripheral 2 kbyte MOVX no no Wake-up from
power-down mode
reset,
INT0, INT1 reset, INT0,
INT1 + other
Register PCON has an added feature: PCON.5 = RFI (reduced Radio Frequency Interference bit). When set to logic 1, pin ALE cannot be toggled. ALE clears on RESET.
If access is required to the external data memory via MOVXinstructions (see Table 1),setbit PCON.6 = ARD in the PCON register to logic 1.
For further information, please refer to the published specification of the 83CE560 in
80C51-Based 8-Bit Microcontrollers”
PortsP40 to P47, INT0 and P12 to P17 areusedinternally for controlling the smart card interface and the other peripherals. Ports P34 and P35 are used to control the auxiliary contacts C4 and C8.
The list of differences given in Table 1 may help the software developer of the dedicated emulation board for the TDA8006 or other devices.
reset, INT2 to INT8 reset
“Data Handbook IC20;
.
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006
Table 2 Special function register bit addresses X = don’t care.
BYTE
REGISTER
IP1 F8 [FF] [FE] [FD] [FC] [FB] [FA] [F9] [F8]
B F0 [F7] [F6] [F5] [F4] [F3] [F2] [F1] [F0]
IEN1 E8 [EF] [EE] [ED] [EC] [EB] [EA] [E9] [E8]
ACC E0 [E7] [E6] [E5] [E4] [E3] [E2] [E1] [E0]
PSW D0 [D7] [D6] [D5] [D4] [D3] [D2] [D1] [D0]
T2CON C8 [CF] [CE] [CD] [CC] [CB] [CA] [C9] [C8]
P4 C0 [C7] [C6] [C5] [C4] [C3] [C2] [C1] [C0]
IP0 B8 [BF] [BE] [BD] [BC] [BB] [BA] [B9] [B8]
P3 B0 [B7] [B6] [B5] [B4] [B3] [B2] [B1] [B0]
IEN0 A8 [AF] [AE] [AD] [AC] [AB] [AA] [A9] [A8]
P2 A0 [A7] [A6] [A5] [A4] [A3] [A2] [A1] [A0]
SCON 98 [9F] [9E] [9D] [9C] [9B] [9A] [99] [98]
P1 90 [97] [96] [95] [94] [93] [92] [91] [90]
TCON 88 [8F] [8E] [8D] [8C] [8B] [8A] [89] [88]
P0 80 [87] [86] [85] [84] [83] [82] [81] [80]
ADDRESS
(HEX)
MSB LSB
−−−−PT2 −−− XXXX 0XXX
−−−−−−−− 0000 0000
−−−−ET2 −−− 0000 0000
−−−−−−−− 0000 0000
CY AC F0 RS1 RS0 OV F1 P 0000 0000
TF2 EXF2 RCLK TCLK EXEN2 TR2 C/T2N CP/RL2N 0000 0000
−−−−−−−− 1111 1111
−−−PS0 PT1 PX1 PT0 PX0 XXX0 0000
−−−−−−−− 1111 1111
EA −−ES0 ET1 EX1 ET0 EX0 0XX0 0000
−−−−−−−− 1111 1111
SM0 SM1 SM2 REN TB8 RB8 TI RI 0000 0000
−−−−−−−− 1111 1111
TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 0000 0000
−−−−−−−− 1111 1111
BIT ADDRESS [HEX]
BIT FUNCTION
BIT RESET
VALUE
2000 Oct 30 10
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006
Table 3 Other register byte addresses
REGISTER
BYTE
ADDRESS
(HEX)
BIT RESET
VALUE
SP 81 0000 0111 DPL 82 0000 0000 DPH 83 0000 0000 PCON 87 0000 0000 TMOD 89 0000 0000 TL0 8A 0000 0000 TL1 8B 0000 0000 TH0 8C 0000 0000 TH1 8D 0000 0000 S0BUF 99 XXXX XXXX RCAP2L CA 0000 0000 RCAP2H CB 0000 0000 TL2 CC 0000 0000 TH2 CD 0000 0000

Supply

The circuit operates within a supply voltage range of
4.2 to 6 V. The supply pins are VDD, V V
and GNDRAM. Pins V
DDRAM
and AGND supply the
DDA
, GND, AGND,
DDA
card analog drivers and have to be externally decoupled because of the large current spikes that the card and the step-up converter can create. V
and GNDRAM
DDRAM
supply the auxiliary RAM and should be decoupled separately. VDD and GND supply the rest of the chip.
An integrated spike killer ensures the contacts to the card remain inactive during power-up or power-down. An internally generated voltage reference is used by the step-up converter, the voltage supervisor and the V
CC
generator. If VDD is too low to ensure proper operation, the voltage
supervisor generates an alarm pulse, whose length is defined by an external capacitor tied to the CDELAY pin, (1 ms per 1 nF typical). This pulse is used to reset the controller and is used in parallel with an external reset input which can come from the system controller. It is also used to either block any spurious on-card contacts during a controller reset or to force an automatic deactivation of the contacts in the event of supply drop-out (see Sections “Activation sequence” and “Deactivation sequence”). It is also fed to an external open-drain output (calledALARM)whichcanbe chosen active HIGH or LOW by mask option (see Table 12).

Step-up converter

Except for the VCC generator and the other card contact buffers, the whole circuit is powered by VDD, V V
. If the supply voltage is 4.2 V, then a higher
DDRAM
DDA
and
voltageisneededforthesupply to the ISO contacts. When a card session is requested by the controller, the sequencer first starts the step-up converter. This uses switched capacitors which are clocked at a frequency of approximately 2.5 MHz by an internal oscillator. The output voltage VUP is regulated at approximately 6 V and then fed to the VCCgenerator. VCCand GND are used as a reference for all other card contacts.
handbook, full pagewidth
V
DD
CDELAY
ALARM
t
W
Fig.4 Voltage supervisor.
2000 Oct 30 11
V
th(VDD)
V
th(CDELAY)
MGR228
Philips Semiconductors Product specification
Multiprotocol IC Card coupler TDA8006

ISO 7816 security

Thecorrectsequence during activation and deactivationof the card is ensured by a specific sequencer clocked at a frequency which is a division ratio of the internal oscillator.
Activation(bit CMDVCC within the portsextensionregister HIGH) is only possible if the card is present (pin PRES HIGH or LOW according to the mask option) and if the supply voltage is correct (ALARM signal inactive).
The presence of the card is signalled to the controller by the OFF bit (within the UART status register), generating an interrupt, if enabled, when toggling.
During a session, the sequencer performs an automatic emergency deactivation in the event of card take-off, supply voltage drop or short circuit. The OFF bit goes LOW, thereby warning the controller through the interrupt line INT0 and the status register.

Peripheral interface (see Figs 5 and 6) This block allows parallel communication with the four

peripherals (ISO 7816 UART, clock generator, on/off sequencer and auxiliary RAM) through an 8-bit data bus, 6-bit address and control bus and one interrupt line to the controller. The data bus consists of ports P40 (data bit 0) to P47 (data bit 7). The address bus consists of ports AD0 (P12), AD1 (P13), AD2 (P14) and AD3 (P15). The control lines are R/W (P16) and EN (P17). The interrupt line is INT0.
After resetting EN HIGH, the controller must release the bus by setting port P4 HIGH again (the transition times on port P4 are less than 500 ns).
The interrupt line is reset HIGH when reading out the status register.
READ OPERATION
Set port P4 to FFH
Select the register with AD0, AD1, AD2, AD3
Assert R/W HIGH
Assert EN LOW; the data is available on data bus P4
Read the data on port P4
Set EN HIGH; the bus is set to high impedance.
WRITE OPERATION
Select the correct register with AD0, AD1, AD2, AD3
Assert R/W LOW
Write data to the data bus port P4
Assert EN LOW; the data is written to the register
Set EN HIGH
Set port P4 to FFH; the bus is set to high impedance.
Integrated precharges allow fast rising edges on port P4 when changing from read mode to write mode, thus avoiding the need to trigger the active pull-ups on port P4.
During a read operation, EN goes LOW allowing the controllertoreaddata on the bus. During awriteoperation, the data should be present on the bus before asserting EN LOW which allows the data to be written to the registers.
handbook, full pagewidth
P4 XX FF FF FFDATA
R/W
AD0 to AD3 X AD AD
EN
read data cycle write data cycle
Fig.5 Use of peripheral interface.
2000 Oct 30 12
DATA
MGR229
Loading...
+ 28 hidden pages