Product specification
Supersedes data of 2000 Aug 29
File under Integrated Circuits, IC02
2000 Nov 09
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
FEATURES
• Control and communication through an 8-bit parallel
interface, compatible with multiplexed or
non-multiplexed memory access
• Specific ISO 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
• 1 to 8 characters FIFO in reception mode
• Parity error counter in reception mode
• Dual VCC generation (5 V ±5%, 65 mA (max.) or 3 V
±8%, 50 mA (max.) with controlled rise and fall times)
• Dual cards clock generation (up to 10 MHz), with two
times synchronous frequency doubling
• Cards clock STOP HIGH, clock STOP LOW or
1.25 MHz (from internal oscillator) for cards
Power-down mode
• Automaticactivationanddeactivationsequencethrough
an independent sequencer
• Supports the asynchronousprotocols T = 0 and T = 1 in
accordance with ISO 7816 and EMV
• Versatile 24-bit time-out counter for Answer To Reset
(ATR) and waiting times processing
• 22 ElementaryTime Unit (ETU)counter for Block Guard
Time (BGT)
• Supports synchronous cards
• Current limitations in the event of short-circuit
• Special circuitry for killing spikes during power-on/-off
• Supply supervisor for power-on/-off reset
• Step-up converter (supply voltage from 2.7 to 6 V),
doubler, tripler or follower according to VCC and V
• Additional I/O pin allowing use of the ISO UART for
another analog interface (pin I/OAUX)
• Additional interrupt pin allowing detection of level
toggling on an external signal (pin INTAUX)
DD
• Fast and efficient swapping between the 3 cards due to
separate buffering of parameters for each card
• Chip select input allowing use of several devices in
parallel and memory space paging
• Enhanced ESD protections on card side [6 kV (min.)]
• Software library for easy integration within the
application
• Power-down mode for reducing current consumption
when no activity.
APPLICATIONS
• Multiple smart card readers for multiprotocol
applications (EMV banking, digital pay TV, access
control, etc.).
GENERAL DESCRIPTION
The TDA8007B is a low cost card interface for dual smart
card readers. Controlled through a parallel bus, it takes
care of all ISO 7816, EMV and GSM11-11 requirements.
It may be interfaced to the P0/P2 ports of a 80C51 family
microcontroller, and be addressed as a memory through
MOVX instructions. It may also be addressed on a
non-multiplexed 8-bit data bus, by means of address
registers AD0, AD1, AD2 and AD3. The integrated ISO
UART and the time-out counters allow easy use even at
high baud rates with no real time constraints. Due to its
chip select and external I/O and INT features, it greatly
simplifies the realization of any number of cards readers.
It gives the cards and the reader a very high level of
security, due to its special hardware against ESD,
short-circuiting, power failure, etc. Its integrated step-up
converterallowsoperation within a supply voltagerangeof
2.7 to 6 V.
A software library has been developed, taking care of all
actions required for T = 0, T = 1 and synchronous
protocols (see application reports).
RSTOUT1open-drain output for resetting external chips
I/OAUX2input or output for an I/O line issued of an auxiliary smart card interface
I/O13data line to/from card 1 (ISO C7 contact)
C814auxiliary I/O for ISOC8 contact (synchronous cards for instance) for card 1
PRES15card 1 presence contact input (active HIGH or LOW by mask option)
C416auxiliary I/O for ISOC4 contact (synchronous cards for instance) for card 1
GNDC17ground for card 1
CLK18clock output to card 1 (ISO C3 contact)
V
CC1
RST110card 1 reset output (ISO C2 contact)
I/O211data line to/from card 2 (ISO C7 contact)
C8212auxiliary I/O for ISO C8 contact (synchronous cards for instance) for card 2
PRES213card 2 presence contact input (active HIGH or LOW by mask option)
C4214auxiliary I/O for ISO C4 contact (synchronous cards for instance) for card 2
GNDC215ground for card 2
CLK216clock output to card 2 (ISO C3 contact)
V
CC2
RST218card 2 reset output (ISO C2 contact)
GND19ground connection
V
UP
SAP21contact 1 for the step-up converter (connect a low ESR 220 nF capacitor between pins SAP
SBP22contact 3 for the step-up converter (connect a low ESR 220 nF capacitor between pins SBP
V
DDA
SBM24contact 4 for the step-up converter (connect a low ESR 220 nF capacitor between pins SBP
AGND25ground connection for the step-up converter
SAM26contact 2 for the step-up converter (connect a low ESR 220 nF capacitor between pins SAP
V
DD
D028data 0 or add 0
D129data 1 or add 1
D230data 2 or add 2
D331data 3 or add 3
D432data 4 or add 4
D533data 5 or add 5
D634data 6 or add 6
D735data 7 or add 7
RD36read selection signal (read or write in non-multiplexed configuration)
9card 1 supply output voltage (ISO C1 contact)
17card 2 supply output voltage (ISO C1 contact)
20output of the step-up converter
and SAM)
and SBM)
23positive analog supply voltage for the step-up converter
and SBM)
and SAM)
27positive supply voltage
2000 Nov 095
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
SYMBOLPINDESCRIPTION
WR37write selection signal (enable in case of non-multiplexed configuration)
CS38chip select input (active HIGH or LOW)
ALE39address latch enable in case of multiplexed configuration (connect toV
configuration)
INT40interrupt output (active LOW)
INTAUX41auxiliary interrupt input
AD342register selection address 3
AD243register selection address 2
AD144register selection address 1
AD045register selection address 0
XTAL246connection pin for an external crystal
XTAL147connection pin for an external crystal or input for an external clock signal
DELAY48connection pin for an external delay capacitor
in non-multiplexed
DD
handbook, full pagewidth
RSTOUT
I/OAUX
I/O1
C81
PRES1
C41
GNDC1
CLK1
V
CC1
RST1
I/O2
C82
DELAY
XTAL1
XTAL2
AD0
AD1
AD2
AD3
INTAUX
INT
ALE
CS
WR
48
47
46
45
44
43
42
41
40
39
38
37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
C42
PRES2
GNDC2
TDA8007BHL
16
17
CC2
CLK2
V
18
RST2
19
GND
20
21
22
23
UP
SAP
V
SBP
DDA
V
24
SBM
36
35
34
33
32
31
30
29
28
27
26
25
FCE678
RD
D7
D6
D5
D4
D3
D2
D1
D0
V
DD
SAM
AGND
Fig.2 Pin configuration.
2000 Nov 096
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
FUNCTIONAL DESCRIPTION
Throughoutthis specification, it isassumedthat the reader
is aware of ISO 7816 norm terminology.
Interface control
The TDA8007B can be controlled via an 8-bit parallel bus
(bits D0 to D7).
If a microcontroller with a multiplexed address/data bus
(suchasthe80C51) is used, then D0 to D7 may bedirectly
connected to P0 to P7. When CS is LOW, the
demultiplexing of address and data is performed internally
using the ALE signal, a LOW pulse on pin RD allows the
selected register to be read, a LOW pulse on pin WR
allows the selected register to be written to. The
TDA8007B automatically switches to the multiplexed bus
configurationif a rising edgeis detected on pin ALE.In this
event, AD0 to AD3 play no role and may be tied to VDDor
GND. Using a 80C51 microcontroller, the TDA8007B is
simply controlled with MOVX instructions.
If ALE is tied to VDDor GND, then the TDA8007B will be in
the non-multiplexed configuration. In this case, the
address bits are external pins AD0 to AD3, RD is the
read/write control signal, and WR is a data write or read
active LOW enable signal.
In both configurations, the TDA8007B is selected only
when CS is LOW. INT is an active LOW interrupt signal.
In non-multiplexed bus configuration, CS and EN play the
same role.
In read operations (RD/WR is HIGH), the data
corresponding to the chosen address is available on the
bus when both CS and EN are LOW.
In write operations, the data present on the bus is written
when signals RD/WR, CS and EN become LOW.
handbook, full pagewidth
AD0 to AD3
CS
D0 to D7
ALE
WR
RD
LATCH
REC
MUX
MUX
RD
WR
addresses
REGISTERS
Fig.3 Multiplexed bus recognition.
FCE679
2000 Nov 097
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
handbook, full pagewidth
ALE
CS
D0 to D7
RD
WR
t
W(ALE)
t
AVLL
t
(AL-RWL)
ADDRESS
t
W(RD)
DATA
READ
t
(RL-DV)
t
(RWH-AH)
Fig.4 Control with multiplexed bus.
t
AVLL
t
(AL-RWL)
ADDRESS
t
(DV-WL)
t
(RWH-AH)
DATA WRITE
t
W(WR)
FCE680
handbook, full pagewidth
AD0 to AD3
RD
CS
EN
D0 to D7
t
(REH-CL)
ReadReadRead
t
(CEL-DV)
t
(CEH-DZ)
t
(CEL-DV)
t
DATA OUT
(REH-CL)
DATA OUTDATA OUTDATA IN
Fig.5 Control with non-multiplexed bus.
2000 Nov 098
t
(AD-DV)
t
(CEH-DZ)
Write (data written on
falling edge of CS)
t
(RL-CEL)
t
(CREL-DZ)
FCE681
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Control registers
The TDA8007B has 2 complete analog interfaces which
can drive card 1 and card 2. The data to and from these
2 cards share the same ISO UART. The data to and from
athirdcard (card 3), externally interfaced(withaTDA8002
or TDA8003 for example), may also share the same
ISO UART.
Cards 1, 2 and 3 have dedicated registers for setting the
parameters of the ISO UART; Programmable Divider
Register (PDR), Guard Time Register (GTR), UART
Configuration Register 1 (UCR1), UART Configuration
Register 2 (UCR2) and Clock Configuration Register
(CCR).
Cards 1and 2 also have dedicated registersfor controlling
their power and clock configuration. The Power Control
Register (PCR) for card 3, is controlled externally. The
PCR is also used for writing or reading on the auxiliary
card contacts C4 and C8.
Card 1,2 or 3canbeselectedvia the Card Select Register
(CSR). When one card is selected, the corresponding
parameters are used by the ISO UART. The CSR also
contains one bit for resetting the ISO UART (active LOW).
This bit is reset after Power-on, and must be set to HIGH
before starting with any one of the cards. It may be reset
by software when necessary.
The Hardware Status Register (HSR) gives the status of
the supply voltage, of the hardware protections and of the
card movements.
HSR and USR give interrupts on pin INT when some of
their bits have been changed.
The MSR does not give interrupts and may be used in the
pollingmode for some operations;for this use, someof the
interrupt sources within the USR and HSR may be
masked.
A 24-bit time-out counter may be started to give an
interrupt after a number of ETUs programmed into
registers TOR1, TOR2 and TOR3. This will help the
microcontroller in processing different real-time tasks
(ATR, WWT, BWT, etc.) mainly if the microcontrollers and
cards clock are asynchronous.
Thiscounterisconfigured with a register Time-Out counter
Configuration (TOC). It may be used as a 24-bit or as a
16 + 8 bits. Each countercan be setto start counting once
data has been written, or on detection of a start bit on the
I/O, or as auto-reload.
When the specific parameters of the cards have been
programmed, the UART may be used with the following
registers: UART Receive Register (URR), UART Transmit
Register (UTR), UART Status Register (USR) and Mixed
StatusRegister(MSR).Inreceptionmode, a FIFO of 1 to 8
characters may be used, and is configured with the FIFO
Control Register (FCR).
2000 Nov 099
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2000 Nov 0910
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
GENERAL
CARD SELECT REGISTERHARD STATUS REGISTER
CARD1
PROGRAM DIVIDER REGISTER 1
GUARD TIME REGISTER 1
UART CONFIGURATION REGISTER 11
UART CONFIGURATION REGISTER 12
CLOCK CONFIGURATION REGISTER 1
POWER CONTROL REGISTER 1
TIME-OUT REGISTER 1
TIME-OUT REGISTER 2
TIME-OUT REGISTER 3
TIME-OUT CONFIGURATION
CARD2
PROGRAM DIVIDER REGISTER 2
GUARD TIME REGISTER 2
UART CONFIGURATION REGISTER 21
UART CONFIGURATION REGISTER 22
CLOCK CONFIGURATION REGISTER 2
POWER CONTROL REGISTER 2
ISO UART
UART STATUS REGISTER
MIXED STATUS REGISTER
UART CONFIGURATION REGISTER 31
UART CONFIGURATION REGISTER 32
CLOCK CONFIGURATION REGISTER 3
UART TRANSMIT REGISTER
UART RECEIVE REGISTER
FIFO CONTROL REGISTER
CARD3
PROGRAM DIVIDER REGISTER 3
GUARD TIME REGISTER 3
FCE682
Fig.6 Registers summary.
handbook, full pagewidth
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
GENERAL REGISTERS
The Card Select Register (see Table 1) is used for
selecting the card on which the UART will act, and also to
reset the ISO UART.
If SC1 = 1, then card 1 is selected; if SC2 = 1, then card 2
is selected, if SC3 = 1, then card 3 is selected. These bits
must be set oneat a time.After reset, card 1is selected by
default. The bit Reset ISO UART (RIU) must be set to
logic 1 by software before any action on the UART can
take place. When reset, this bit resets all UART registers
to their initial value.
It should be noted that access to card 3 is only possible
once either card 1 or 2 has been activated.
The Hardware Status Register (see Table 2) gives the
status of the chip after a hardware problem has been
detected.
Presence Latch 1 (PRL1) and Presence Latch 2 (PRL2)
are HIGH when a change has occurred on PR1 and PR2.
SupervisorLatch(SUPL) is HIGH when thesupervisorhas
been activated.
Protection 1 (PRTL1) and Protection 2 (PRTL2) are HIGH
when a default has been detected on card readers 1
and 2. (PRTL is the OR function of protection on VCCand
RST).
PTL is set if overheating has occurred.
INTAUXL is HIGH if the level on the INTAUX input has
been changed.
When PRTL2, PRTL1, PRL2 or PRL1 or PTL is HIGH,
then INT is LOW. The bits having caused the interrupt are
cleared when the HSR has been read-out. The same
occurs with bit INTAUXL if not disabled.
Atpower-on, or after asupplyvoltage dropout, SUPL is set
and INT is LOW. INT will return HIGH at the end of the
alarm pulse on pin RSTOUT. SUPL will be reset only after
a status register read-out outside the ALARM pulse
(see Fig.7).
In case of emergency deactivation (by PRTL1, PRTL2,
SUPL, PRL2, PRL1 or PTL), the START bit is
automatically reset by hardware.
The three registers TOR1, TOR2 and TOR3 form a
programmable 24-bit ETU counter, or two independant
counters (one 16-bit and one 8-bit).
The value to load in TOR1, 2 and 3 isthe number of ETUs
to count.
The TOC register is used for setting different
configurations of the time-out counter as given in Table 7
(all other configurations are undefined).
Table 1 Card select register (write and read); address: 0
(all significant bits are cleared after reset, except for SC1 which is set)
CS7CS6CS5CS4CS3CS2CS1CS0
not usednot usednot usednot used
Table 2 Hardware status register (read only); address: F
(all significant bits are cleared after reset, except for SUPL which is set within the RSTOUT pulse)
HS7HS6HS5HS4HS3HS2HS1HS0
not usedPRTL2PRTL1SUPLPRL2PRL1INTAUXLPTL
Table 3 Time-out register 1 (write only); address: 9 (all bits are cleared after reset)
TO17TO16TO15TO14TO13TO12TO11TO10
TOL7TOL6TOL5TOL4TOL3TOL2TOL1TOL0
Table 4 Time-out register 2 (write only); address: A (all bits are cleared after reset)
TO27TO26TO25TO24TO23TO22TO21TO20
TOL15TOL14TOL13TOL12TOL11TOL10TOL9TOL8
RIUSC3SC2SC1
2000 Nov 0911
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.