INTEGRATED CIRCUITS
DATA SHEET
TDA8006
Multiprotocol IC Card coupler
Product specification |
2000 Feb 21 |
Supersedes data of 1998 Aug 18
File under Integrated Circuits, IC02
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 with parallel 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
·VCC generation (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
·CLKOUT output for clocking external devices with either
fxtal, 1¤2fxtal or 1¤4fxtal
·Automatic activation and deactivation sequence through 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.
ORDERING INFORMATION
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.
The TDA8006 is controlled 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.
A special version of the TDA8006 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”).
TYPE NUMBER |
|
|
|
PACKAGE |
|
|
|
|
|
|
|
NAME |
|
|
DESCRIPTION |
VERSION |
|
|
|
|
|||
|
|
|
|
||
TDA8006H/C1 |
QFP64 |
plastic quad flat package; 64 leads (lead length 1.95 mm); |
SOT319-2 |
||
|
|
body 14 |
´ 20 |
´ 2.8 mm |
|
TDA8006H/C2 |
|
|
|||
|
|
|
|
|
|
TDA8006H/C3 |
|
|
|
|
|
|
|
|
|
||
TDA8006AH/C1 |
QFP44 |
plastic quad flat package; 44 leads (lead length 1.3 mm); |
SOT307-2 |
||
|
|
body 10 |
´ 10 |
´ 1.75 mm |
|
TDA8006AH/C2 |
|
|
|||
|
|
|
|
|
|
TDA8006AH/C3 |
|
|
|
|
|
|
|
|
|
|
|
2000 Feb 21 |
2 |
Philips Semiconductors |
|
|
Product specification |
|||
|
|
|
|
|
|
|
Multiprotocol IC Card coupler |
|
|
|
TDA8006 |
||
|
|
|
|
|
|
|
QUICK REFERENCE DATA |
|
|
|
|
|
|
|
|
|
|
|
|
|
SYMBOL |
PARAMETER |
CONDITIONS |
MIN. |
TYP. |
MAX. |
UNIT |
|
|
|
|
|
|
|
VDD |
supply voltage |
|
4.2 |
− |
6 |
V |
IDD(pd) |
supply current in power-down mode |
VDD = 5 V; card inactive; note 1 |
− |
− |
250 |
μA |
IDD(sm) |
supply current in sleep mode |
card powered but clock stopped; |
− |
− |
1500 |
μA |
|
|
note 1 |
|
|
|
|
|
|
|
|
|
|
|
VCC |
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) |
|
|
|
|
|
|
|
|
|
|
|
ICC |
card supply current |
operating |
− |
− |
65 |
mA |
|
|
overload detection |
− |
80 |
− |
mA |
|
|
|
|
|
|
|
SR |
slew rate (rise and fall) |
maximum load capacitor pin VCC |
0.10 |
0.16 |
0.22 |
V/μs |
|
|
400 nF (including typical 100 nF |
|
|
|
|
|
|
decoupling) |
|
|
|
|
|
|
|
|
|
|
|
tde |
deactivation cycle duration |
|
− |
− |
100 |
μs |
tact |
activation cycle duration |
|
− |
− |
225 |
μs |
fxtal |
crystal frequency |
|
4 |
− |
25 |
MHz |
foper |
operating frequency |
external frequency applied on |
0 |
− |
25 |
MHz |
|
|
pin XTAL1 |
|
|
|
|
|
|
|
|
|
|
|
Tamb |
operating ambient temperature |
|
−25 |
− |
+85 |
°C |
Note
1. IDD in all configurations include the current at pins VDD, VDDA and VDDRAM.
2000 Feb 21 |
3 |
Philips Semiconductors |
Product specification |
|
|
Multiprotocol IC Card coupler |
TDA8006 |
|
|
BLOCK DIAGRAM
VDD |
VDDA |
|||
|
100 nF |
100 nF |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GND |
S1 |
S2 |
|
AGND |
|
|
|
TDA8006H |
|
41(28) |
40 (27) |
|
29 (19) |
31 |
30 |
28 (18) |
|
|
|
|
|
|
|
(21) |
(20) |
|
|
|
|
(TDA8006AH) |
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
||
ALARM |
45 (32) |
|
SUPPLY |
|
|
|
|
|
|
|
|
|
|
|
STEP-UP |
|
|
||||
CDELAY |
44 (31) |
|
AND |
|
|
(22) 32 |
VUP |
|||
|
|
|
CONVERTER |
|||||||
|
|
|
SUPERVISOR |
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
100 nF |
RESET |
52 (34) |
|
|
|
|
|
|
|
|
|
7 (3) |
|
|
|
|
|
|
|
|
|
|
PSEN |
|
|
|
|
|
|
|
|
|
|
8 (4) |
|
|
|
|
|
|
|
(25) 38 |
|
|
ALE |
|
|
|
P34 |
C4 |
|
|
C4 |
||
11 (7) |
|
|
|
|
|
|
||||
EA |
|
|
|
|
|
|
|
|
|
|
61 (41) |
|
|
|
|
|
|
|
|
|
|
P36/WR |
|
|
|
P35 |
C8 |
|
|
(26) 39 |
|
|
|
|
|
|
|
|
|
||||
62 (42) |
|
|
|
|
|
|
|
C8 |
||
P37/RD |
MICROCONTROLLER |
|
|
|
|
|||||
19 to 12 |
|
ANALOG |
|
|
||||||
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|||
|
(11 to 8)(1) |
|
80C52 |
|
|
DRIVERS |
(17) 27 |
|
||
P00 to P07 |
|
|
|
|
|
|
CLK |
|||
|
|
|
|
|
|
|
|
|
||
|
63, 64, 1 to 6 |
|
|
|
|
|
AND |
|
||
|
|
16-kbyte ROM |
|
|
|
|||||
|
(43, 44, 1, 2)(2) |
|
|
|
|
|
|
|||
|
|
|
|
|
|
SEQUENCER |
|
|
||
P20 to P27 |
|
|
256-byte RAM |
|
(16) 26 |
|
||||
|
|
|
|
|
RST |
|||||
P30/RXD |
58 (38) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
59 (39) |
|
|
|
|
|
|
|
|
|
|
P31/TXD |
|
|
|
|
|
|
|
|
|
|
60 (40) |
|
|
|
|
|
|
|
(23) 36 |
|
|
P33/INT1 |
|
|
|
|
|
|
|
VCC |
||
53 (35) |
|
|
|
|
|
|
|
|
||
P10/T2 |
|
|
|
|
|
|
|
|
|
|
54 (36) |
|
|
|
|
|
|
|
|
|
|
P11/T2EX |
|
|
|
|
|
|
|
(24) 37 |
|
|
|
|
|
|
|
|
|
|
I/O |
||
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
P40 |
|
|
|
|
|
|
INT0 |
6 |
8 |
|
INTERNAL |
|
|
|||
|
to P47 |
|
|
|
||||||
|
|
|
|
|
|
|
|
|||
|
|
|
PERIPHERALS |
|
OSCILLATOR |
(29) 42 |
|
|||
|
|
|
|
|
|
PRES |
||||
|
|
|
|
|
|
|
|
|
|
|
VDDRAM |
23 (14) |
1024 |
T = 0,1 |
I/O |
|
|
|
|
||
|
|
|
|
|
||||||
|
24 (15) |
AUX |
ISO |
OFF |
|
|
|
|||
GNDRAM |
RAM |
UART |
3 V/5 V |
|
|
|
||||
|
|
|
|
|||||||
|
|
|
|
|
|
CMDVCC |
|
|
|
|
CLKOUT |
43 (30) |
CLOCK CIRCUITRY |
PORT EXTENSION |
|
|
|||||
|
|
|
||||||||
|
|
|
10 (6) |
|
9 (5) |
|
|
48 to 51(3) |
|
|
|
|
|
XTAL1 |
|
XTAL2 |
|
|
|
MGR225 |
|
|
|
|
|
|
|
|
K0 to K3 |
|
|
Minimum value for capacitor between VDDA and AGND is 2.2 μF.
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.
Fig.1 Block diagram.
2000 Feb 21 |
4 |
Philips Semiconductors |
|
|
Product specification |
|||||
|
|
|
|
|
|
|
|
|
|
Multiprotocol IC Card coupler |
TDA8006 |
||||||
|
|
|
|
|
|
|
|
|
PINNING |
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
SYMBOL |
PIN |
|
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 |
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
3 |
program store enable output |
|
|
PSEN |
|
||||||
|
ALE |
8 |
|
4 |
address latch enable |
|
||
|
|
|
|
|
|
|
||
|
XTAL2 |
9 |
|
5 |
crystal connection |
|
||
|
|
|
|
|
|
|
||
|
XTAL1 |
10 |
|
6 |
crystal connection or external clock input |
|
||
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
7 |
external access |
|
|
|
EA |
|
||||||
|
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 |
|
||
|
|
|
|
|
|
|
||
|
VDDRAM |
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) |
|
|
|
|
|
|
|
|
||
|
VDDA |
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 |
|
||
|
|
|
|
|
|
|
||
|
VCC |
36 |
|
23 |
card supply output voltage (ISO contact C1) |
|
2000 Feb 21 |
5 |
Philips Semiconductors |
|
Product specification |
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Multiprotocol IC Card coupler |
TDA8006 |
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SYMBOL |
PIN |
|
DESCRIPTION |
|
||||||
|
|
|
|
|
|||||||
|
QFP64 |
|
QFP44 |
|
|||||||
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|||||
|
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 |
|
|||||
|
|
|
|
|
|
|
|||||
|
VDD |
41 |
|
28 |
supply voltage |
|
|||||
|
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) |
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
− |
output port from port extension (±2 mA push-pull) |
|
|
K0 |
|
|||||||||
|
|
|
|
|
|
|
49 |
|
− |
output port from port extension (±2 mA push-pull) |
|
|
K1 |
|
|||||||||
|
|
|
|
|
|
|
50 |
|
− |
output port from port extension (±2 mA push-pull) |
|
|
K2 |
|
|||||||||
|
|
|
|
|
|
|
51 |
|
− |
output port from port extension (±2 mA push-pull) |
|
|
K3 |
|
|||||||||
|
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 |
|
|||||
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
60 |
|
40 |
general purpose I/O port or interrupt (connected to P33) |
|
|
P33/INT1 |
|
|
|
|||||||
|
|
|
|
|
|
|
61 |
|
41 |
general purpose I/O port or external data memory write strobe |
|
|
P36/WR |
|
|
|
|||||||
|
|
|
|
|
|
|
62 |
|
42 |
general purpose I/O port or external data memory read strobe |
|
|
P37/RD |
|
|
|
|||||||
|
P20 |
63 |
|
43 |
address 8/general purpose I/O port |
|
|||||
|
|
|
|
|
|
|
|||||
|
P21 |
64 |
|
44 |
address 9/general purpose I/O port |
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
2000 Feb 21 |
6 |
Philips Semiconductors |
Product specification |
|
|
Multiprotocol IC Card coupler |
TDA8006 |
|
|
handbook, full pagewidth
P22 1
P23 2
P24 3
P25 4
P26 5
P27 6
PSEN 7
ALE 8 XTAL2 9
XTAL1 10 EA 11
P07 12
P06 13
P05 14
P04 15
P03 16
P02 17
P01 18
P00 19
P21 |
|
P20 |
|
P37/RD |
|
|
P36/WR |
|
P33/INT1 |
|
P31/TXD |
|
P30/RXD |
|
n.c. |
|
n.c. |
|
n.c. |
|
P11/T2EX |
|
P10/T2 |
|
RESET |
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
63 |
|
62 |
|
61 |
|
60 |
|
59 |
|
58 |
|
57 |
|
56 |
|
55 |
|
54 |
|
53 |
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TDA8006H
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
n.c. |
|
n.c. |
|
n.c. |
|
V |
|
GNDRAM |
|
n.c. |
|
RST |
|
CLK |
|
AGND |
|
S1 |
|
V |
|
S2 |
|
VUP |
|
|
|
|
|
|
DDRAM |
|
|
|
|
|
|
|
|
|
|
|
|
|
DDA |
|
|
|
|
51 K3
50 K2
49 K1
48 K0
47 INHIB
46 TEST
45 ALARM
44 CDELAY
43 CLKOUT
42 PRES
41 VDD
40 GND
39 C8
38 C4
37 I/O
36 VCC
35 n.c.
34 n.c.
33 n.c.
MGR226
Fig.2 Pin configuration (QFP64).
2000 Feb 21 |
7 |
Philips Semiconductors |
Product specification |
|
|
Multiprotocol IC Card coupler |
TDA8006 |
|
|
handbook, full pagewidth
|
|
|
|
|
|
P21 |
|
P20 |
|
|
P37/RD |
|
P36/WR |
|
P33/INT1 |
P31/TXD |
P30/RXD |
n.c. |
P11/T2EX |
P10/T2 |
RESET |
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
43 |
|
42 |
|
41 |
|
40 |
|
39 |
|
38 |
|
|
37 |
|
36 |
|
35 |
|
34 |
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P22 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
TEST |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P23 |
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
ALARM |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PSEN |
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
CDELAY |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALE |
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
CLKOUT |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XTAL2 |
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
PRES |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VDD |
XTAL1 |
6 |
|
|
|
|
|
|
|
|
|
|
|
TDA8006AH |
|
|
|
|
|
|
|
|
28 |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GND |
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EA |
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|||
|
P03 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C8 |
||
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
||||
|
P02 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C4 |
||
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P01 |
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
I/O |
||
|
P00 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VCC |
||
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
|
19 |
|
20 |
|
21 |
|
22 |
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
n.c. |
|
n.c. |
|
|
DDRAM |
|
GNDRAM |
|
RST |
CLK |
AGND |
S1 |
DDA |
S2 |
VUP |
MGR227 |
|||||||||||
|
|
|
|
|
|
|
|
|
V |
|
|
V |
Fig.3 Pin configuration (QFP44).
2000 Feb 21 |
8 |
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 ensure fast rise times at end 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.
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 MOVX instructions (see Table 1), set bit PCON.6 = ARD in the PCON register to logic 1.
For further information, please refer to the published specification of the 83CE560 in “Data Handbook IC20; 80C51-Based 8-Bit Microcontrollers”.
Ports P40 to P47, INT0 and P12 to P17 are used internally 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.
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) |
|||||||||||
|
|
|
|
|
||||||||||||
I2C-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 |
reset, |
|
|
|
|
reset, |
|
|
reset, |
|
to |
|
|
reset |
||
INT0, |
INT1 |
INT0, |
INT2 |
INT8 |
||||||||||||
power-down mode |
|
|
|
|
|
|
INT1 |
+ other |
|
|
|
|
|
|
2000 Feb 21 |
9 |
Philips Semiconductors |
|
|
|
|
|
|
|
|
Product specification |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
Multiprotocol IC Card coupler |
|
|
|
|
|
|
TDA8006 |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 2 Special function register bit addresses |
|
|
|
|
|
|
|
|
||||
X = don’t care. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BYTE |
|
|
|
BIT ADDRESS [HEX] |
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
BIT RESET |
|
|
|
|
|
|
|
|
|
|
|
|
||
REGISTER |
ADDRESS |
|
|
|
|
BIT FUNCTION |
|
|
|
|
||
|
|
|
|
|
|
|
|
VALUE |
||||
|
(HEX) |
|
|
|
|
|
|
|
|
|
|
|
|
MSB |
|
|
|
|
|
|
|
LSB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
IP1 |
F8 |
[FF] |
[FE] |
[FD] |
|
[FC] |
[FB] |
[FA] |
[F9] |
[F8] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
PT2 |
− |
− |
− |
|
XXXX 0XXX |
|
|
|
|
|
|
|
|
|
|
|
|
|
B |
F0 |
[F7] |
[F6] |
[F5] |
|
[F4] |
[F3] |
[F2] |
[F1] |
[F0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
− |
− |
− |
− |
|
0000 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
IEN1 |
E8 |
[EF] |
[EE] |
[ED] |
|
[EC] |
[EB] |
[EA] |
[E9] |
[E8] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
ET2 |
− |
− |
− |
|
0000 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
ACC |
E0 |
[E7] |
[E6] |
[E5] |
|
[E4] |
[E3] |
[E2] |
[E1] |
[E0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
− |
− |
− |
− |
|
0000 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
PSW |
D0 |
[D7] |
[D6] |
[D5] |
|
[D4] |
[D3] |
[D2] |
[D1] |
[D0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CY |
AC |
F0 |
|
RS1 |
RS0 |
OV |
F1 |
P |
|
0000 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
T2CON |
C8 |
[CF] |
[CE] |
[CD] |
|
[CC] |
[CB] |
[CA] |
[C9] |
[C8] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TF2 |
EXF2 |
RCLK |
|
TCLK |
EXEN2 |
TR2 |
C/T2N |
CP/RL2N |
|
0000 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
P4 |
C0 |
[C7] |
[C6] |
[C5] |
|
[C4] |
[C3] |
[C2] |
[C1] |
[C0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
− |
− |
− |
− |
|
1111 1111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
IP0 |
B8 |
[BF] |
[BE] |
[BD] |
|
[BC] |
[BB] |
[BA] |
[B9] |
[B8] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
PS0 |
PT1 |
PX1 |
PT0 |
PX0 |
|
XXX0 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
P3 |
B0 |
[B7] |
[B6] |
[B5] |
|
[B4] |
[B3] |
[B2] |
[B1] |
[B0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
− |
− |
− |
− |
|
1111 1111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
IEN0 |
A8 |
[AF] |
[AE] |
[AD] |
|
[AC] |
[AB] |
[AA] |
[A9] |
[A8] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EA |
− |
− |
|
ES0 |
ET1 |
EX1 |
ET0 |
EX0 |
|
0XX0 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
P2 |
A0 |
[A7] |
[A6] |
[A5] |
|
[A4] |
[A3] |
[A2] |
[A1] |
[A0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
− |
− |
− |
− |
|
1111 1111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
SCON |
98 |
[9F] |
[9E] |
[9D] |
|
[9C] |
[9B] |
[9A] |
[99] |
[98] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SM0 |
SM1 |
SM2 |
|
REN |
TB8 |
RB8 |
TI |
RI |
|
0000 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
P1 |
90 |
[97] |
[96] |
[95] |
|
[94] |
[93] |
[92] |
[91] |
[90] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
− |
− |
− |
− |
|
1111 1111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
TCON |
88 |
[8F] |
[8E] |
[8D] |
|
[8C] |
[8B] |
[8A] |
[89] |
[88] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TF1 |
TR1 |
TF0 |
|
TR0 |
IE1 |
IT1 |
IE0 |
IT0 |
|
0000 0000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
P0 |
80 |
[87] |
[86] |
[85] |
|
[84] |
[83] |
[82] |
[81] |
[80] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
− |
− |
− |
|
− |
− |
− |
− |
− |
|
1111 1111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2000 Feb 21 |
10 |
Philips Semiconductors |
Product specification |
|
|
Multiprotocol IC Card coupler |
TDA8006 |
|
|
Table 3 Other register byte addresses
|
BYTE |
BIT RESET |
|
REGISTER |
ADDRESS |
||
VALUE |
|||
|
(HEX) |
||
|
|
||
|
|
|
|
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, VDDA, GND, AGND, VDDRAM and GNDRAM. Pins VDDA and AGND supply the 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. VDDRAM and GNDRAM 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 VCC 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 (called ALARM) which can be 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, VDDA and VDDRAM. If the supply voltage is 4.2 V, then a higher voltage is needed for the supply 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 VCC generator. VCC and GND are used as a reference for all other card contacts.
VDD |
Vth(VDD) |
CDELAY |
Vth(CDELAY) |
|
|
ALARM |
|
tW |
MGR228 |
|
|
Fig.4 |
Voltage supervisor. |
2000 Feb 21 |
11 |
Philips Semiconductors |
|
Product specification |
|
|
|
Multiprotocol IC Card coupler |
|
TDA8006 |
|
|
|
|
|
|
ISO 7816 security
The correct sequence during activation and deactivation of 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 ports extension register 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.
During a read operation, EN goes LOW allowing the controller to read data on the bus. During a write operation, the data should be present on the bus before asserting EN LOW which allows the data to be written to the registers.
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.
|
P4 |
XX |
FF |
DATA |
FF |
DATA |
FF |
|
|
|
|
|
|
|
|
|
|
R/W |
|
|
|
|
|
|
||
AD0 to AD3 |
X |
|
AD |
|
AD |
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EN |
|
|
|
|
|
|
||
|
|
|
|
read data cycle |
|
write data cycle |
|
MGR229
Fig.5 Use of peripheral interface.
2000 Feb 21 |
12 |