Preliminary specification
File under Integrated Circuits, IC17
1998 Mar 20
Philips SemiconductorsPreliminary specification
Low-power (3 V/5 V) smart card couplerTDA8005A
FEATURES
• Smart card supply (5 and 3 V ±5%, 20 mA maximum
with controlled rise and fall times)
• Smart card clock generation (up to 8 MHz), with two
times synchronous frequency doubling
• Clock STOP HIGH, clock STOP LOW or 1.25 MHz (from
internal oscillator) for cards power-down mode
• Specific UART on I/O for automatic direct/inverse
convention settings and error management at
character level
• Automatic activation and deactivation sequences
through an independent sequencer
• Supports the protocol T = 0 in accordance with
ISO 7816 GSM11.11 requirements (Global System for
Mobile communication); approved for Final GSM11.11
Test Approval (FTA)
• Several analog options are available for different
applications: doubler or tripler DC-to-DC converter, card
presence, active HIGH or LOW, threshold voltage
supervisor, etc.
• Overloads and take-off protections
• Current limitations in the event of short-circuit
• Special circuitry for killing spikes during power-on or off
• Supply supervisor
• Step-up converter (supply voltage from 2.5 to 6 V)
• Power-down and sleep mode for low power
consumption
• Enhanced ElectroStatic Discharge (ESD) protections on
card side (6 kV minimum)
• Control and communication through a standard RS232
full-duplex interface
• P80CL51 microcontroller core with 4-kbyte ROM and
256-byte RAM.
APPLICATIONS
• Portable smart card readers for protocol T = 0
• GSM mobile phones.
GENERAL DESCRIPTION
The TDA8005A is a low-cost card interface for portable
smart card readers. Controlled through a standard serial
interface, it takes care of all ISO 7816 and GSM11.11
requirements for both 5 and 3 V cards. It gives the card
and the set a very high level of security, due to its special
hardware against ESD, short-circuiting, power failure, etc.
Its integrated step-up converter allows operation within a
supply voltage range of 2.5 to 6 V.
The very low power consumption in power-down and sleep
modes saves battery power.
Development tools, application report and support
(hardware and software) are available.
supply voltagedoubler and tripler option2.5−6.0V
supply current in power-down modeVDD= 5 V; card inactive−100−µA
supply current in sleep modecard powered but clock
stopped; no load
doubler option−500−µA
tripler option−700−µA
supply current in operating modeunloaded; f
= 6.5 MHz; f
f
µC
XTAL
= 13 MHz;
= 3.25 MHz
card
−5.5−mA
card supply voltage5 V card
no load4.855.055.25V
static load4.755.05.25V
dynamic load on 200 nF
4.5−5.4V
capacitor
3 V card
no load2.93.033.15V
static load2.7933.21V
dynamic load on 200 nF
Pin numbers in parenthesis represent the TDA8005AH.
(1) For details see Chapter “Pinning” and Table 3.
ISO 7816 UART
CLOCK CIRCUITRY
osc
36 (26)35 (25)37 (27) 2 (1) 53
DGNDAGND
Fig.1 Block diagram.
1998 Mar 204
I/O
EN4
CLOCK
BUFFER
OUTPUT PORT
EXTENSION
52 51 50 49
K0 K1 K2 K3 K4 K5
57 (37)
47 (32)
4
MGL330
CLK
PRES
Philips SemiconductorsPreliminary specification
Low-power (3 V/5 V) smart card couplerTDA8005A
PINNING
SYMBOL
n.c.1−not connected
AGND21analog ground
S332contact 3 for the step-up converter
K54−output port from port extension
P0353general purpose I/O port (connected to port P03)
P0264general purpose I/O port (connected to port P02)
P0175general purpose I/O port (connected to port P01)
n.c.8−not connected
P0096general purpose I/O port (connected to port P00)
V
DDD
n.c.11−not connected
TEST1128test pin 1 (connected to port P10; must be left open-circuit in the application)
P11139general purpose I/O port or interrupt (connected to port P11)
P121410general purpose I/O port or interrupt (connected to port P12)
P131511general purpose I/O port or interrupt (connected to port P13)
P141612general purpose I/O port or interrupt (connected to port P14)
n.c.17−not connected
P151813general purpose I/O port or interrupt (connected to port P15)
P161914general purpose I/O port or interrupt (connected to port P16)
TEST22015test pin 2 (connected to PSEN; must be left open-circuit in the application)
P172116general purpose I/O port or interrupt (connected to port P17)
RESET2217input for resetting the microcontroller (active HIGH)
n.c.23−not connected
n.c.24−not connected
n.c.25−not connected
n.c.26−not connected
n.c.27−not connected
RxD2818serial interface receive line
TxD2919serial interface transmit line
INT13020general purpose I/O port or interrupt (connected to port P33)
T03121general purpose I/O port (connected to port P34)
AUX13222push-pull auxiliary output (±5 mA; connected to timer T1 e.g. port P35)
AUX23323push-pull auxiliary output (±5 mA; connected to timer; port P36)
P373424general purpose I/O port (connected to port P37)
XTAL23525crystal connection
XTAL13626crystal connection or external clock input
DGND3727digital ground
n.c.38−not connected
LQFP64QFP44
PIN
DESCRIPTION
107digital supply voltage
1998 Mar 205
Philips SemiconductorsPreliminary specification
Low-power (3 V/5 V) smart card couplerTDA8005A
SYMBOL
n.c.39−not connected
P204028general purpose I/O port (connected to port P20)
P2141−general purpose I/O port (connected to port P21)
P224229general purpose I/O port (connected to port P22)
P234330general purpose I/O port (connected to port P23)
ALARM44−open-drain output for power-on reset (active HIGH or LOW by mask option)
n.c.45−not connected
DELAY4631external capacitor connection for delayed reset signal
PRES4732card presence contact input (active HIGH or LOW by mask option)
TEST34833test pin 3 (must be left open-circuit in the application)
K449−output port from port extension
K350−output port from port extension
K251−output port from port extension
K152−output port from port extension
K053−output port from port extension
TEST45434test pin 4 (must be left open-circuit in the application)
I/O5535data line to/from the card (ISO C7 contact)
RST5636card reset output (ISO C2 contact)
CLK5737clock output to the card (ISO C3 contact)
V
CC
LIS5939supply for low-impedance on cards contacts
S56040contact 5 for the step-up converter
S26141contact 2 for the step-up converter
S46242contact 4 for the step-up converter
V
The microcontroller is a P80CL51 with 256 bytes of RAM
instead of 128. The baud rate of the UART has been
multiplied by four in modes 1, 2 and 3. This means that the
division factor of 32 in the formula is replaced by 8 in both
reception and transmission mode and that in the reception
modes only four samples per bit are taken with decision on
the majority of samples 2, 3 and 4; the delay counter has
been reduced from 1536 to 24 as well.
Remark: this has an impact when getting out of
power-down mode. It is recommended to switch to
internal clock before entering power-down mode.
All the other functions remain unchanged. Refer to the
P80CL51 data sheet for any further information. Internal
ports INT0 (P32), P10, P04 to P07 and P24 to P27 are
used for controlling the smart card interface.
Mode 0 is unchanged. The baud rate for modes 1 and 3 is:
The circuit operates within a supply voltage range of
2.5 to 6 V. The supply pins are V
AGND. Pins V
and AGND supply the analog drivers to
DDA
DDD
, V
DDA
, DGND and
the card and have to be externally decoupled because of
the large current spikes that the card and the step-up
converter can create. An integrated spike killer ensures
the contacts to the card remain inactive during power-up or
power-down. An internal voltage reference is generated
which is used within the step-up converter, the voltage
supervisor and the V
generator.
CC
The voltage supervisor generates an internal alarm pulse,
whose length is defined by an external capacitor tied to the
DELAY pin, when V
is too low to ensure proper
DDD
operation (1 ms per 1 nF typical). This pulse is used as a
reset pulse by the controller, in parallel with an external
reset input, which can be tied to the system controller.
It is also used in order to either block any spurious card
contacts during controllers reset, or to force an automatic
deactivation of the contacts in the event of supply dropout;
see Sections “Activation sequence” and “Deactivation
sequence”.
In the 64 pin version, this reset pulse is output to the open
drain ALARM pin, which may be selected active HIGH or
active LOW by mask option and may be used as a reset
pulse for other devices within the application.
For some applications, it is mandatory that the contacts to
the card (VCC, RST, CLK and I/O) are low impedance while
the card is inactive and also when the coupler is not
powered. An auxiliary supply voltage on pin LIS ensures
this condition where I
≤ 5 µA for V
LIS
= 5 V. This low
LIS
impedance situation is disabled when VCC starts rising
during activation, and re-enabled when the step-up
converter is stopped during deactivation. If this feature is
not required, the LIS pin must be tied to V
DDD
.
Step-up converter
Except for the V
buffers, the whole circuit is powered by V
generator and the other cards contacts
CC
and V
DDD
DDA
.
If the supply voltage is 3 or 5 V, then a higher voltage is
needed for the ISO contacts supply. When a card session
is requested by the controller, the sequencer first starts the
step-up converter, which is a switched capacitors type,
clocked by an internal oscillator at a frequency of
approximately 2.5 MHz. The output voltage V
regulated at approximately 6.5 V and then fed to the V
step-up
is
CC
generator. VCC and DGND are used as a reference for all
other cards contacts.
MGL333
The step-up converter may be chosen as a doubler or a
tripler by mask option, depending on the voltage and the
current needed on the card.
ISO 7816 security
The correct sequence during activation and deactivation of
the card is ensured through a specific sequencer, clocked
by a division ratio of the internal oscillator.
Activation (START signal P05; see Table 3) is only
possible if the card is present (PRES HIGH or LOW
according to mask option), and if the supply voltage is
correct (ALARM signal inactive); CLK and RST are
controlled by RSTIN (internal signal; port P04), allowing
the correct count of CLK pulses during answer-to-reset
from the card.
The presence of the card is signalled to the controller by
the OFF signal (port P10; see Table 3).
During a session, the sequencer performs an automatic
emergency deactivation in the event of card take-off,
supply voltage drop, or hardware problems. The OFF
signal falls thereby warning the controller.
1998 Mar 2010
Philips SemiconductorsPreliminary specification
Low-power (3 V/5 V) smart card couplerTDA8005A
Clock circuitry
The clock to the microcontroller and the clock to the card
are derived from the main clock signal (XTAL from
2 to 16 MHz, or an external clock signal).
Directly after reset and during power reduction modes the
microcontroller clock frequency f
equals1⁄8f
clk
INT
; f
is
INT
always present because it is derived from the internal
oscillator and gives the lowest power consumption.
When required (for card session, serial communication or
anything else) the microcontroller may choose to clock
itself with
XTAL
,1⁄4f
XTAL
or1⁄2f
. All frequency changes
INT
1
⁄2f
are synchronous, thereby ensuring no hang-up due to
short spikes etc.
Cards clock: the microcontroller may select to send the
card a card clock frequency of1⁄2f
1
⁄2f
(≈1.25 MHz), or to stop the clock HIGH or LOW.
INT
XTAL
,1⁄4f
XTAL
,1⁄8f
XTAL
or
All transitions are synchronous, ensuring correct pulse
length during start or change in accordance with
ISO 7816.
After power on, CLK is set at STOP LOW and f
1
⁄8f
.
INT
is set at
clk
Power-down and sleep modes
The TDA8005A offers a large flexibility for defining power
reduction modes by software. Some configurations are
described below.
In the power-down mode, the microcontroller is in
power-down and the supply and the internal oscillator are
active. The card is not active; this is the smallest power
consumption mode. Any change on P1 ports or on PRES
will wake-up the circuit (for example, a key pressed on the
keyboard, the card inserted or taken off).
In the sleep mode, the card is powered but configured in
the idle or sleep mode. The step-up converter will only be
active when it is necessary to reactivate V
step-up
. When the
microcontroller is in power-down mode any change on P1
ports or on PRES will wake up the circuit.
In both power reduction modes the sequencer is active,
allowing automatic emergency deactivation in the event of
card take-off, hardware problems, or supply dropout.
The TDA8005A is set into power-down or sleep mode by
software. There are several ways to return to normal
mode: insertion or extraction of the card, detection of a
change on P1 (which can be a key pressed) or a command
from the system microcontroller. For example, if the
system monitors the clock signal on XTAL1, it may stop
this clock after setting the device into power-down mode
and then wake it up when sending the clock signal again.
In this situation, the internal clock should have been used
before the f
clk
.
Peripheral interface
This block allows synchronous serial communication with
the three peripherals (ISO 7816 UART, clock circuitry and
output port extension); see Figs 1 and 5.
handbook, full pagewidth
RESET
CC0 CC1 CC2 CC3 CC4 CC5 CC6 CC7
UC0
UT0
PE0
P24
DATA
clock configuration
UART configuration
UC1 UC2 UC3 UC4 UC5 UC6 UC7
UART transmit
UT1 UT2 UT3 UT4 UT5 UT6 UT7
ports extension
PE1 PE2 PE3 PE4 PE5 PE6 PE7
P06
STROBE
P07
ENABLE
PERIPHERAL CONTROL
P27
REG0
Fig.5 Peripheral interface diagram.
1998 Mar 2011
P26
REG1
P25
R/W
UR1 UR2 UR3 UR4 UR5 UR6 UR7
UR0
US1 US2 US3 US4 US5 US6 US7
US0
P32
INT
UART receive
UART status register
MGL334
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.