Product specification
Supersedes data of 2000 Aug 29
File under Integrated Circuits, IC02
2000 Nov 09
Page 2
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
Page 6
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
Page 7
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
Page 8
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
Page 9
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
Page 10
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
Page 11
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
Page 12
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Table 5 Time-out register 3 (write only); address: B (all bits are cleared after reset)
TO37TO36TO35TO34TO33TO32TO31TO30
TOL23TOL22TOL21TOL20TOL19TOL18TOL17TOL16
Table 6 Time-out configuration register (read and write); address: 8 (all bits are cleared after reset)
TOC7TOC6TOC5TOC4TOC3TOC2TOC1TOC0
TOC7TOC6TOC5TOC4TOC3TOC2TOC1TOC0
Table 7 Time-out counter configurations
TOCOPERATING MODE
00all counters are stopped
61Counter 1 is stopped, and counters 3 and 2 form a 16-bit counter. Counting the value stored in TOR3
and TOR2 is started after 61 is written in the TOC. An interrupt is given, and bit TO3 is set within the
USR when the terminal count is reached. The counter is stopped by writing 00 in the TOC.
65Counter 1 is an 8-bit auto reload counter, and counters 3 and 2 form a 16-bit counter. Counter 1 starts
counting the content of TOR1on the first start bit (reception or transmission) detected on I/O after 65 is
written in the TOC.When counter 1 reaches its terminal count, an interrupt is given, bit TO1in the USR
is set, and the counter automatically restarts the same count until it is stopped. It is not allowed to
change the content of TOR1 during a count. In this mode, the accuracy of counter 1 is ±0.5 ETU.
Counters 3 and 2 are wired as a single 16-bit counter and starts counting the value TOR3 and TOR2
when 65 is written in the TOC. When the counter reaches its terminal count, an interrupt is given and
bit TO3 is set within the USR. Both counters are stopped when 00 is written in the TOC.
68Counters 3, 2 and 1 are wired as a single 24-bit counter. Counting the value stored in TOR3, TOR2 and
TOR1 is started after 68 is written in the TOC. The counter is stopped by writing 00 in the TOC. It is not
allowed to change the content of TOR3, TOR2 and TOR1 within a count.
7CCounters 3, 2 and 1 are wired as a single 24-bit counter. Counting the valuestored in TOR3, TOR2 and
TOR1 on the first start bit detected on I/O (reception or transmission) after the value has been written.
It is possible to change the content of TOR3, TOR2and TOR1during a count; the current count will not
be affected and the new count value will be taken into account at the next start bit. The counter is
stopped by writing 00 in the TOC. In this configuration TOR3, TOR2 and TOR1 must not be all zero.
E5Same configuration as TOC = 65, except that counter 1 will be stopped at the end of the 12th ETU
following the first start bit detected after E5 has been written in the TOC.
2000 Nov 0912
Page 13
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Thetime-outcounterisveryuseful for processing the clock
counting during ATR, the Work Waiting Time, or the
waiting times defined in T = 1 protocol. It should be noted
that the 200 and 400 CLK counter used during ATR is
done by hardware when the start session is set; a specific
hardware controls functionality BGT in T = 1 protocol, and
a specific register is available for processing the extra
guard time.
TOR3 = 0andTOC = 65. Once activated, timer 2 + 3
will count 40920 clock pulses before giving an
interrupt.
– On interrupt; TOR2 = 76H and TOC = 65. If a
character is received from the card before the
timeout,thencounter 1willbeenabled.Counter 1will
give one interrupt every 192 ETUs, so the software
will count 100 times to verify that the ATR is finished
before 19200 ETUs. The UART will give an interrupt
with bit Buffer Full (BF) at 10.5 ETUs after the start
bit.
– On interrupt; TOR3 = 25H, TOR2 = 80H and
TOC = 65. Counter 1 keeps on counting
100 × 192 ETUs, while counter 2 and 3 counts
9600 ETUs. This sequence is repeated until the
character before the last one of the ATR.
– On interrupt TOR3 = 25H, TOR2 = 80H and
TOC = E5. Timer 1 will be automatically stopped at
the end of the last character of the ATR, allowing a
count of 19200 ETUs.
– On interrupt TOC = 00.
• Work Waiting Time (WWT) in T = 0 protocol;
– Before sending the first command to the card
TOR1, TOR2 and TOR3 should be loaded with the
correct 960 × WI × D value and TOC = 7C
– Timer 3, 2 and 1 will count the WWT between each
start bit
• Character Waiting Time (CWT) and Block Waiting Time
(BWT) in T = 1 protocol:
– Before sending the first block to the card, TOR3,
TOR2and TOR1 should be loaded withtheCWT and
TOC=7C
– Timer 3 + 2 + 1 will count the CWT between each
start bit
– Before the end of the block, TOR3, TOR2 and TOR1
should be loaded with the BWT
– Timer3+2+1willcount the BWT from the last start
bit of the sent block
– After reception of the first character of the block from
the card, TOR3, TOR2 and TOR1 should be loaded
with the CWT
– Timer3+2+1 will count the CWT between each
received start bit
– And so on.
• Before and after CLOCK STOP (example, where
ETU = 372 clock pulses):
– After the last received character on I/O, TOR3 = 0,
TOR2 = 6 and TOC = 61
– Timer3+2 will start counting 2232 clock pulses
before giving an interrupt
– On interrupt, the software may stop the clock to the
card
– When it is necessary to restart the clock, TOR3 = 0,
TOR2 = 2, TOC = 61 and restart the clock
– Timer3+2 gives an interrupt at 744 clock pulses,
and then the software can send the first command to
the card.
ISO UARTREGISTERS
When the microcontroller wants to transmit a character to
the selected card, it writes the data in direct convention in
the UART Transmit Register (see Table 8). The
transmission:
• Starts at the end of writing (on the rising edge of WR) if
the previous character has been transmitted and if the
extra guard time has expired; or
• Starts at the end of the extra guard time if this one has
not expired; or
• Does not start if the transmission of the previous
character is not completed.
In the case of a synchronous card (bit SAN within UCR2
is set), only D0 is relevant, and is copied on the I/O of the
selected card. When the microcontroller wants to read
data from the card it reads it from the UART Receive
Register (see Table 9) in direct convention.
In case ofa synchronous card, only D0 isrelevant and is a
copy of the state of the selected card I/O.
When needed, this register may be tied to a FIFO whose
length ‘n’ is programmable between 1 and 8.
If n > 1, then no interrupt is given until the FIFO is full. The
microcontroller may empty the FIFO at any time.
2000 Nov 0913
Page 14
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Error management in protocol:
• T=0:
In the event of a parity error, the received byte is not
stored in the FIFO, and the error counter is incremented.
The error counter is programmable between 1 and 8.
When the programmed number is reached, bit PE is set
in the status register USR and INT goes LOW. The error
counter must be reprogrammed to the desired value after
its count has been reached.
• T=1:
In the event of a parity error, the character is loaded in the
FIFO, and bit PE is set whatever the programmed value
in parity error counter.
When the FIFO is full, bit RBF in the status register USR
is set. This bit is reset when at least one character has
been read from the URR.
When the FIFO is empty, bit FE is set as long as no
character has been received.
The Mixed Status Register (see Table 10) relates the
status of pin INTAUX, the cards presence contacts PR1
and PR2, the BGT counter, the FIFO empty indication
and the transmit/receive ready indicator TBE/RBF.
Bit INTAUX is set when the level on pin INTAUX is HIGH,
it is reset when the level is LOW.
Bit BGT is linked with a 22 ETU counter, which is started
at every start bit on the I/O. Bit BGT is set if the count is
finished before the next start bit. This helps to verify that
the card has not answered before 22 ETUs after the last
transmitted character, or not transmitting a character
before 22 ETUs after the last received character.
PR1 is HIGH when card 1 is present, PR2 is HIGH when
card 2 is present.
FE is set when the reception FIFO is empty. It is reset
when at least one character has been loaded in the FIFO.
Bit TBE/RBF(Transmit Buffer Empty/Receive BufferFull)
is set when:
• Changing from reception mode to transmission mode
• A character has been transmitted by the UART
• The reception FIFO is full.
Bit TBE/RBF is reset after Power-on or after one of the
following:
• When bit RIU is reset
• When a character has been written to the UTR
• When at least one character has been read in the FIFO
• When changing from transmission mode to reception
mode.
No bits within the MSR act upon INT:
• The FIFO Control Register bits are given in Table 11,
FL2, FL1 and FL0 determine the depth of the FIFO
(000 = length 1, 111 = length 8).
PEC2, PEC1 and PEC0 determine the number of parity
errors before setting bit PE in the USR and pulling
INT LOW; 000 indicates that if only one parity error has
occurred,bit PEisset;111 indicates that bit PE will be set
after 8 parity errors.
PEC2, PEC1 and PEC0 need to be reprogrammed to the
desired value after bit PE has been set.
In protocol T = 0:
• If a correct character is received before the
programmed error numberis reached the error counter
will be reset.
• If the programmed number of allowed parity errors is
reached, bit PE in the USR will be set as long as the
USR has not been read.
In protocol T = 1:
• The error counter has no action (bitPE is set at the first
wrong received character).
• The UART Status Register (see Table 12) is used by
the microcontroller to monitor the activity of the
ISO UART and that of the time-out counter.
Transmission Buffer Empty (TBE) is HIGH when the
UART is in transmission mode, and when the
microcontroller may write the next characterto transmit in
the UTR. It is reset when the microcontroller has written
data in the transmit register or when bit T/R within UCR1
has been reset either automatically or by software.
After detection of a parity error in transmission, it is
necessary to wait 13 ETUs before rewriting the character
which has been Not ACKnowledged (NAK) by the card.
ReceptionBufferFull (RBF) is HIGH when the FIFOisfull.
The microcontroller may read some of the characters in
the URR, which clears bit RBF.
TBE and RBFsharethe same bit within the USR (when in
transmission mode, the relevant bit is TBE; when in
reception mode, it is RBF).
Framing Error (FER) is HIGH when the I/O was not in the
high-impedance state at 10.25 ETUs after a start bit. It is
reset when the USR has been read-out.
2000 Nov 0914
Page 15
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Overrun (OVR) is HIGH if the UART has received a new
characterwhilst the FIFO wasfull.In this case, atleast one
character has been lost.
InprotocolT = 0:Parity Error (PE) is HIGH iftheUARThas
detected a number of received characters with parity
errors equal to the number written in PEC2, PEC1 and
PEC0 or if a transmitted characterhas been NAKedby the
card.
In protocol T = 0:a character received with a parity error is
not stored in the FIFO (the card is supposed to repeat this
character).
In protocol T = 1:a character with a parity error is storedin
the FIFO and the parity error counter is not active.
Early Answer (EA) is HIGH if the first start bit on the I/O
during ATR hasbeen detected between 200 and 384 CLK
Table 8 UART transmit register (write only); address: D (all bits are cleared after reset)
UT7UT6UT5UT4UT3UT2UT1UT0
UT7UT6UT5UT4UT3UT2UT1UT0
Table 9 UART receive register (read only); address: D (all bits are cleared after reset)
pulses (all activities on the I/O during the 200 first CLK
pulseswithRST LOWorHIGHare not taken into account).
These 2 features are reinitialized at each toggling of RST.
Bit TO1 is set when counter 1 has reached its terminal
count.
Bit TO3 is set when counter 3 has reached its terminal
count.
If any of the status bits FER, OVR, PE, EA, TO1 or TO3
are set then INT will go LOW. The bit having caused the
interrupt is reset at the endof a readoperation of the USR.
If TBE/RBF is set, and if the mask bit DISTBE/RBF within
USR2 is not set, then INT will also be LOW. TBE/RBF is
reset when data has been written to the UTR, when data
has been read from the URR, or when changing from
transmission mode to reception mode.
UR7UR6UR5UR4UR3UR2UR1UR0
UR7UR6UR5UR4UR3UR2UR1UR0
Table 10 Mixed status register (read only); address: C
(bits TBE, RBF and BGT are cleared after reset; bit FE is set after reset)
MS7MS6MS5MS4MS3MS2MS1MS0
not usedFEBGTnot usedPR2PR1INTAUXTBE/RBF
Table 11 FIFO control register (write only); address: C (all relevant bits are cleared after reset)
FC7FC6FC5FC4FC3FC2FC1FC0
not usedPEC2PEC1PEC0not usedFL2FL1FL0
Table 12 UART status register (read only); address: E (all bits are cleared after reset)
US7US6US5US4US3US2US1US0
TO3not usedTO1EAPEOVRFERTBE/RBF
2000 Nov 0915
Page 16
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
CARD REGISTERS
When cards 1 2 or 3 are selected, then the following registers may be used for programming some specific parameters.
The Programmable Divider Register (see Table 13) is used for counting the cards clock cycles forming the ETU. It is an
auto-reload 8-bit counter decounting from the programmed value down to 0.
Table 13 Programmable Divider Register (PDR1, 2 and 3) (read and write); address: 2 (all bits are cleared after reset)
PD7PD6PD5PD4PD3PD2PD1PD0
PD7PD6PD5PD4PD3PD2PD1PD0
The UART Configuration Register 2 bits are given in Table 14. If bit PSC is set to logic 1, then the prescaler value is 32.
If bit PSC is set to logic 0, then the prescaler value is 31. One ETU will last a number of card clock cycles equal to
prescaler x PDR. All baud rates specified in ISO 7816 norm are achievable with this configuration.
Table 14 UART configuration register 2 (UCR21, 22 and 23) (read and write); address: 3
(all relevant bits are cleared after reset)
UC27UC26UC25UC24UC23UC22UC21UC20
not usedDISTBE/RBFDISAUXPDWNSAN
Table 15 Baud rates with a 3.58 MHz card clock frequency (31;12 means prescaler set to 31 and PDR set to 12)
D
131;12
231;6
331;3
431;3
531;3
632;132;2
831;1
931;3
0123456910111213
9600
19200
38400
115200
31;12
9600
31;6
19200
31;3
38400
31;1
115200
31;18
6400
31;9
12800
31;24
4800
31;12
9600
31;6
19200
38400
31;2
57600
31;36
3200
31;18
6400
31;9
12800
31;3
38400
31;48
2400
31;24
4800
31;12
9600
31;6
19200
38400
31;4
28800
F
31;60
1920
31;30
3840
31;15
7680
31;5
23040
38400
AUTOCONVCKUPSC
32;1632;2432;3232;4832;64
32;832;1232;1632;2432;32
32;432;632;832;1232;16
32;232;332;432;632;8
32;132;232;332;4
32;232;4
2000 Nov 0916
Page 17
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
For other baud rates than those given in Table 15, there
is the possibility to set bit CKU (clock UART)to logic 1. In
this case, the ETU will last half of the formula given
above.
If bit AUTOCONV is set, then the convention is set by
software using bit CONV in the UART Configuration
Register. If it is reset, then the configuration is
automatically detected on the first received character
whilst the Start Session (SS) bit is set.
Synchronous/Asynchronous (SAN) is set by software if a
synchronous card is expected. The UART is then
bypassed, and only bit 0 in the URR and UTR is
connected to the I/O.In this case the CLK is controlledby
bit SC in the CCR.
When Power-down mode (PDWN) is set by software, the
crystal oscillator is stopped. This mode allows low
consumption in applications where it is required. During
this mode, it is not possible to select another card other
than the currently selected one. There are 5 ways of
escaping from the Power-down mode:
1. Insert card 1 or card 2
2. Withdraw card 1 or card 2
3. Select the TDA8007B by resetting CS (this assumes
that the TDA8007Bhad been deselectedafter setting
Power-down mode)
4. INTAUXL has been set due to a change on pin
INTAUX
5. If CS is permanently set to LOW, reset bit PDWN by
software.
After any of these 5 events, the TDA8007B will leave the
Power-downmode,andwillpull INT LOW when it is ready
to communicate with the system microcontroller. The
system microcontroller may then read the status
registers, and INT will return HIGH (if the system
microcontroller has woken the TDA8007B by reselecting
it, then no bits will be set in the status registers).
If the Disable AUX (DISAUX) interrupt bit in UCR2 is set,
then a change on INTAUX will not generate an interrupt
(but bit INTAUXL in the HSR will be set; it is therefore
necessary to read the HSR before a DISAUX reset to
avoid an interrupt by INTAUXL). To avoid an interrupt
during a change of card, it is better to set the DISAUX bit
in UCR2 for both cards.
If the DisableTBE/RBF (DISTBE/RBF) interrupt bit is set,
then reception or transmission of a character will not
generate an interrupt:
• This feature is useful for increasing communication
speed with the card; in this case, a copy of the
TBE/RBF bit within the MSR must be polled (and not
the original) in order not to loose priority interrupts
which can occur in the USR.
• The Guard Time Register (see Table 17) is used for
storing the number of guard ETUs given by the card
during ATR. In transmission mode, the UART will wait
this number of ETUs before transmitting the character
stored in the UTR. In T = 1 protocol, when GTR = FF
means operation at 11 ETUs. In protocol T = 0,
GTR = FF means operation at 12 ETUs.
• The UART Configuration Register (see Table 18) is
used for setting the parameters of the ISO UART.
The Convention (CONV) bit is set if the convention is
direct. CONV is either automatically written by hardware
according to the convention detected during ATR, or by
software if the bit AUTOCONV is set.
The SS bit is set before ATR for automatic convention
detection and early answer detection (this bit must be
reset by software after reception of a correct initial
character).
The Last Character to Transmit (LCT) bit is set by
software before writing the last character to be
transmitted in the UTR. It allows automatic change to
reception mode. It is reset by hardware at the end of a
successful transmission.
The Transmit/Receive (T/R) bit is set by software for
transmission mode. A change from logic 0 to logic 1 will
set bit TBE in the USR. Bit T/R is automatically reset by
hardwareif the LCTbit has beenused before transmitting
the last character.
The Protocol (PROT) bit is set if the protocol type is
asynchronous T = 1. If PROT = 0, the protocol is T = 0.
The Flow Control (FC) bit is set if flow control is used (not
described in this specification).
If the Force Inverse Parity (FIP) bit is set to HIGH the
UART will NAK a correctly received character, and will
transmit characters with wrong parity bits.
2000 Nov 0917
Page 18
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Clock Configuration Register (see Table 19):
• For cards 1 and 2, the CCR defines the clock for the
selected card.
• For cards 1, 2 and 3 it defines the clock to the
ISO UART. It should be noted that if bit CKU in the
prescaler register of the selected card is set, then the
ISO UART is clocked at twice the frequency of the card,
which allows baud rates not foreseen in ISO 7816 norm
to be reached.
In case of an asynchronous card, theClock Stop (CST) bit
defines whether the clock to the card is stopped or not.
If CST is set, then CLK is stopped LOW if SHL = 0, and
HIGH if SHL = 1.
If CST is reset, then CLK is determined by bits AC0, AC1
and AC2; see Table 16. All frequency changes are
synchronous, thus ensuring that no spike or unwanted
pulse widths occur during changes.
Table 16 CLK value for an asynchronous card
AC2AC1AC0CLK
000
001
010
011
100
101
110
111
When switching from XTAL/n to1⁄2f
int
1
⁄
XTAL
2
1
⁄
XTAL
2
1
⁄
XTAL
4
1
⁄
XTAL
8
1
⁄
f
2
int
1
⁄
f
2
int
1
⁄
f
2
int
1
⁄
f
2
int
or vice verse, only
bit AC2 must be changed (AC1 and AC0 must remain the
same). When switching from XTAL/n or1⁄2f
to CLK
int
STOP or vice verse, only bits CST and SHL must be
changed.
When switching from XTAL/n to1⁄2f
or vice verse, a
int
maximum delay of 200 µs can occur between the
commandand the effective frequency changeon CLK(the
fastest switching time is from1⁄2XTAL to1⁄2f
verse, the best for duty cycle is from1⁄8XTAL to1⁄2f
or vice
int
or
int
vice verse).
It is necessary to wait the maximum delay time before
reactivating from Power-down mode.
In the event of a synchronous card, then the CLK contact
isthe copy of the valuewrittenin Synchronous Clock (SC).
In reception mode, the data from the card is available to
UR0 after a read operation of the URR; in transmission
mode, the data is written on the I/O line of the card when
theUTRhasbeenwrittento and remains unchanged when
another card is selected.
The Power Control Register (PCR), see Table 20:
• Starts or stops card sessions.
• Reads or writes on auxiliary card contacts C4 and C8.
• Is available only for cards 1 or 2.
If the microcontroller sets START to logic 1, then the
selected card is activated (see Section “Activation
sequence”).If the microcontroller resets STARTto logic 0,
then the card is deactivated (see Section “Deactivation
sequence”). START is automatically reset in case of
emergency deactivation.
If 3 V/5 V is set to logic 1, then VCCis 3 V. If 3 V/5 V is set
to logic 0, then VCC is 5 V.
When the card is activated, RST is the copy of the value
written in RSTIN.
If 1.8 V is set, then VCC= 1.8 V: It should be noted that no
specification is guaranteed at this voltage.
When writing to the PCR, C4 will output the value written
to PCR4,and C8thevaluewrittento PCR5.Whenreading
fromthe PCR, PCR4 will storethevalue on C4, and PCR5
the value on C8.
Table 17 Guard time register (GTR1, 2 and 3) (read and write); address: 5 (all bits are cleared after reset)
GT7GT6GT5GT4GT3GT2GT1GT0
GT7GT6GT5GT4GT3GT2GT1GT0
Table 18 UART configuration register 1 (UCR11, 12 and 13) (read and write); address: 6
(all relevant bits are cleared after reset)
UC7UC6UC5UC4UC3UC2UC1UC0
not usedFIPFCPROTT/RLCTSSCONV
2000 Nov 0918
Page 19
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Table 19 Clock configuration register (CCR1, 2 and 3) (read and write); address: 1 (all bits are cleared after reset)
CC7CC6CC5CC4CC3CC2CC1CC0
not usednot usedSHLCSTSCAC2AC1AC0
Table 20 Power control register (PCR1and 2) (read and write); address: 7 (all relevant bits are cleared after reset)
PCR7PCR6PCR5PCR4PCR3PCR2PCR1PCR0
not usednot usedC8C41V8RSTIN3V/5VSTART
Table 21 Register summary
NAME ADDR R/W76543210
CSR00R/W not
used
HSR0FRnot
used
MSR0CRnot
used
TOR109WTOL7TOL6TOL5TOL4TOL3TOL2TOL1TOL000000000
TOR20AWTOL15TOL14TOL13TOL12TOL11TOL10TOL9TOL800000000
TOR30BWTOL23TOL22TOL21TOL20TOL19TOL18TOL17TOL1600000000
TOC08R/W TOC7TOC6TOC5TOC4TOC3TOC2TOC1TOC000000000
UTR0DWUT7UT6UT5UT4UT3UT2UT1UT000000000
URR0DRUR7UR6UR5UR4UR3UR2UR1UR000000000
FCR0CWnot
used
USR0ERTO3not
PDR02R/W PD7PD6PD5PD4PD3PD2PD1PD000000000
UCR203R/W not
used
GTR05R/W GT7GT6GT5GT4GT3GT2GT1GT000000000
UCR106R/W not
used
CCR01R/W not
used
PCR07R/W not
used
not
used
PRTL2PRTL1SUPLPRL2PRL1INTAUXLPTLX0010000
FEBGTnot
PEC2PEC1PEC0not
used
DISTBE
/RBF
FIPFCPROTT/RLCTSSCONVX0000000
not
used
not
used
not
used
TO1EAPEOVRFERTBE/
DISAUX PDWNSAN
SHLCSTSCAC2AC1AC000000000
C8C41V8RSTIN3V/5VSTARTXX110000
not
used
used
RIUSC3SC2SC1XXXX0000
PR2PR1INTAUX TBE/RF X10XXXX0
FL2FL1FL0X000X000
used
RBF
AUTOCCKUPSCX0000000
VALUE AT
RESET
0X000000
2000 Nov 0919
Page 20
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Supply
The circuit operates within a supply voltage range of
2.7 to 6 V. The supply pins are VDD, V
AGND. Pins V
and AGND supply the analog drivers to
DDA
, GND and
DDA
the cards and have to be externally decoupled because of
the large current spikes that the cards and the step-up
convertercan create. PinsVDDandGND supply therest of
the chip. An integrated spike killer ensures that the
contacts to the cards 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 VCC generators.
The voltage supervisor generates an alarm pulse, whose
length is defined by an external capacitor tied to pin
DELAY, when VDD is too low to ensure proper operation
(1 ms per 1 nF typical).
handbook, full pagewidth
C
DELAY
V
th1
V
DD
V
th2
t
w
This pulse may be used as a reset pulse by the system
microcontroller(pin RSTOUT, activeHIGH). It is alsoused
inorderto either block any spuriousnoiseoncard contacts
during the microcontrollers reset, or to force an automatic
deactivation of the contacts in the event of supply dropout
(see Sections “Activation sequence” and “Deactivation
sequence”).
After Power-on, or after a voltage drop, bit SUPL is set
within the Hardware Status Register (HSR) and remains
set until HSR is read-out outside the alarm pulse. Pin INT
is LOW for the duration that RSTOUT is active.
If needed, a complete reset of the chip may be performed
by discharging the capacitor C
DELAY
.
RSTOUT
SUPL
INT
Status read
Power-on
Supply dropoutPower-offReset by C
Fig.7 Voltage supervisor.
2000 Nov 0920
DELAY
FCE683
Page 21
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Step-up converter
Except for the VCCgenerator and the other cards contacts
buffers, the whole circuit is powered by VDD, and V
DDA
.
If the supply voltage is 2.5 V, then a higher voltage is
needed for the ISO contacts supply. When a card session
is requested by the microcontroller, the sequencer first
enablesthestep-up converter (a switched capacitors type)
which is clocked by an internal oscillator at a frequency of
approximately 2.5 MHz.
Suppose that VCCis the maximum of V
CC1
and V
CC2
, then
there are four possible situations:
1. VDD= 3 V and VCC= 3 V: in this case the step-up
converter acts as a doubler with a regulation of
approximately 4.0 V.
2. VDD= 3 V and VCC= 5 V: in this case the step-up
converter acts as a tripler with a regulation of
approximately 5.5 V.
3. VDD= 5 V and VCC= 3 V: in this case the step-up
converter acts as a follower: VDD is applied to VUP.
4. VDD= 5 V and VCC= 5 V: in this case the step-up
converter acts as a doubler with a regulation of
approximately 5.5 V.
The recognition of the supply voltage is done by the
TDA8007B at approximately 3.5 V.
The output voltage VUP is fed to the VCC generators. V
CC
and GND are used as a reference for all other card
contacts.
Activation sequence
When the cards are inactive, VCC, CLK, RST, C4, C8
and I/O are LOW, with low-impedance with respect to
GND. The step-up converter is stopped.
When everything is satisfactory (voltage supply, card
present and no hardware problems), the system
microcontroller may initiate an activation sequence on a
present card.
After selecting the card and leaving the UART resetmode,
and then configuring the necessary parameters for the
counters and the UART, the START bit can be set within
the PCR (t0) (see Fig.8):
• The step-up converter is started (t1); if one card was
already active, then the step-up converter was already
on and nothing more occurs at this step
• VCC starts rising (t2) from 0 to 5 V or 3 V with a
controlled rise time of 0.17 V/µs (typ.)
• I/O rises to VCC(t3); C4 and C8 also rise if bits
C4 and C8 within the PCR have been set to logic 1
(integrated 10 kΩ pull-up resistors to VCC)
• The CLK is sent to the card and RST is enabled (t4).
After a numberof CLK pulses that canbe counted with the
time-out counter, bit RSTIN may be set by software: RST
will then rise to VCC.
The sequencer is clocked by1⁄64f
which leads to a time
int
interval of t = 25 µs (typ.). Thus t1=0to1⁄64t, t2=t1+3⁄2t,
t3=t1+7⁄2t and t4=t1+ 4t.
ISO 7816 security
Thecorrectsequence during activation and deactivation of
the cards is ensured by two specific sequencers, clocked
by a division ratio of the internal oscillator.
Activation (START bit HIGH in PCR1 or PCR2) is only
possible if the card is present (PRES active HIGH with an
internalcurrent source toGND) and ifthe supply voltage is
correct (supervisor not active).
The presence of the cards is signalled to the
microcontroller by the Hardware Status Register (HSR).
Bits PR1 or PR2 (in the USR) are set if card 1 or card 2 is
present. PRL1 or PRL2 are set if PR1 or PR2 has toggled.
During a session, the sequencer performs an automatic
emergency deactivation on one card in the event of card
take-off, or short-circuit. Both cards are automatically
deactivated in the event of a supply voltage drop, or
overheating. The hardware status register is updated and
the INT line falls, so that the system microcontroller is
aware of what happened.
2000 Nov 0921
Deactivation sequence
When the session is completed, the microcontroller resets
STARTHIGH (t10).The circuit thenexecutes an automatic
deactivation sequence (see Fig.9):
• The card is reset (RST falls LOW) (t11)
• The CLK is stopped (t12)
• I/O, C4 and C8 fall to 0 V (t13)
• VCC falls to 0 V with typical 0.17 V/µs slew rate (t14)
• The step-up converter is stopped and CLK, RST, V
CC
and I/O become low-impedance to GND (t15) (if both
cards are inactive).
t11=t10+1⁄64t, t12=t11+1⁄2t, t13=t11+t,t14=t11+3⁄2t
and t15=t11+7⁄2t.
tde= time that VCC needs to decrease to less than 0.4 V.
Page 22
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
handbook, full pagewidth
START
V
UP
V
CC
I/O
RSTIN
CLK
RST
handbook, full pagewidth
START
RST
CLK
I/O
V
CC
V
UP
t
t
0
2
t
1
t3t4 = t
act
ATR
FCE684
Fig.8 Activation sequence.
t
t
11
10
t
12
t
de
t
t
14
13
t
15
FCE685
Fig.9 Deactivation sequence.
2000 Nov 0922
Page 23
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
LIMITING VALUES
In accordance with the Absolute Maximum Rating System (IEC 60134).
SYMBOLPARAMETERCONDITIONSMIN.MAX.UNIT
V
DDA
V
DD
V
n
I
n1
I
n3
P
tot
T
stg
T
j
V
es
analog supply voltage−0.5+6.5V
supply voltage−0.5+6.5V
input voltage on all pins except S1, S2, S3, S4
and V
UP
−0.5VDD+ 0.5V
input voltage on pins S1, S2, S3, S4 and VUP−0.5+7.5V
DC current into all pins except S1, S2, S3, S4
and V
UP
DC current from or to pins S1, S2, S3, S4
and V
UP
total power dissipationT
= −20 to +85 °C−700mW
amb
−5+5mA
−200+200mA
IC storage temperature−55+150°C
junction temperature−125°C
electrostatic discharge voltage
on pins I/O1, V
PRES1, I/O2, V
, RST1, CLK1, GNDC1,
CC1
, RST2, CLK2, GNDC2
CC2
−6+6kV
and PRES2
on pins C41, C42, C81 and C82−5.5+5.5kV
on pins D0 to D7−1.8+1.8kV
on other pins−2+2kV
HANDLING
Inputs and outputs are protected against electrostatic discharge in normal handling. However, to be totally safe, it is
desirable to take normal precautions appropriate to handling MOS devices.
THERMAL CHARACTERISTICS
SYMBOLPARAMETERCONDITIONSVALUEUNIT
R
th(j-a)
from junction to ambientin free air78K/W
2000 Nov 0923
Page 24
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
CHARACTERISTICS
VDD= 3.3 V; VSS=0V; T
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
Supplies
V
DD
I
DD(pd)
supply voltage2.7−6.0V
supply current in
Power-down mode
I
DD(sm)
supply current in Sleep
mode
I
DD(om)
supply current in operating
mode
V
th1
threshold voltage on V
(falling)
V
V
hys1
th2
hysteresis on V
threshold voltage on pin
DELAY
V
DELAY
I
o(DELAY)
C
DELAY
t
W(ALARM)
voltage on pin DELAY−−V
output current at pin DELAY pin grounded (charge)−−2−µA
Auxiliary cards contacts (pins C41, C81, C42 and C82) (pins C41 and C81 have an integrated 10 kΩ pull-up
at V
V
I
V
V
V
V
I
I
t
t
t
R
f
Timing
t
t
Protections and limitations
I
I
I
I
T
Card presence inputs 1s (pins PRES1 and PRES2)
V
V
I
I
, pins C42 and C82 have an integrated 10 kΩ pull-up at V
CC1
o(inactive)
inactive
output voltage inactiveno load0−0.1V
I
=1mA−−0.3V
inactive
current from pins C4 or C8
when inactive and pin
grounded
OL
LOW-level output voltageC4 or C8 configured as anoutput;
IOL=1mA
OH
HIGH-level output voltageI/O configured as an output;
IOH< −40 µA
IL
IH
IL
LOW-level input voltageC4 or C8 configured as an input−0.3−+0.8V
HIGH-level output voltageC4 or C8 configured as an input1.5−V
LOW-level input current on
VIL=0−−600µA
pins C4 or C8
LI(H)
input leakage current HIGH
VIH=V
CC
on pins C4 or C8
, t
i(tr)
o(tr)
W(pu)
int(pu)
(max)
i(tf)
, t
o(tf)
input transition timesCL=30pF−−1µs
output transition timesCL=30pF−−0.1µs
width of active pull-up pulse−200−ns
internal pull-up resistance
input transition timeCL=30pF−−1µs
output transition timeCL=30pF−−0.1µs
maximum frequency on pin
I/OAUX
Interrupt line INT (open-drain active LOW output)
V
I
IL(H)
OH
LOW-level output voltageIOH=2mA−−0.3V
input leakage current HIGH−−10µA
DD
DD
DD
DD
DD
DD
−−V
DD
−−V
−VDD+ 0.3V
−VDD+ 0.3V
−VDD+0.25 V
81012kΩ
−−1MHz
DD
DD
V
V
V
V
2000 Nov 0928
Page 29
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
Timing for multiplexed bus; see Fig.4
t
XTAL1
t
W(ALE)
t
AVLL
t
(AL−RWL)
t
W(RD)
t
(RL−DV)
t
(RWH−AH)
t
W(WR)
t
(DV−WL)
Timing for non-multiplexed bus; see Fig.5
t
(REH−CL)
t
(CEL−DV)
t
(CEH−DZ)
t
(AD−DV)
t
(RL−CEL)
t
(CREL−DZ)
t
(DV−WL)
period on XTAL150−− ns
ALE pulse width20−− ns
address valid to ALE LOW10−−ns
ALE LOW to RD or
10−− ns
WR LOW
RD pulse width for URR2t
pulse width for other
10−− ns
XTAL1
−−ns
registers
RD LOW to data out valid−−50ns
RD or WR HIGH to
10−− ns
ALE HIGH
WR pulse width10−− ns
data in valid to WR LOW10−− ns
RD or EN HIGH to CS LOW10−− ns
CS and EN LOW to data out
valid
CS and EN HIGH to data
when reading from URR; t
is minimum 2t
XTAL1
(CEL−DV)
−−50ns
−−10ns
high-impedance
addresses stable to data out
−−10ns
valid
R/W LOW to CS or EN LOW10−− ns
CS and R/W and EN LOW
−−−ns
to data in high-impedance
DATA valid to WR LOW10−− ns
2000 Nov 0929
Page 30
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 0930
V
3 V or
J1 1
5 V
J1 2
GND
C4
C3
C2
C1
C51
C61
C71
C81
CARD_READ_LM01
U5
CARD 1
C4
C3
C2
C1
C51
C61
C71
C81
CARD_READ_LM01
U6
CARD 2
C12
100 nF
C8
C7
C6
C5
C11
C21
C31
C41
K1
K2
C8
C7
C6
C5
C11
C21
C31
C41
K1
K2
TP4
+5 V
TP8
GND
DD
C3
33 µF
16 V
R2
0 Ω
C17
100
nF
R3
0 Ω
C18
100
nF
C19
100 nF
100 kΩ
C15
22 pF
C14
22 pF
DD
DD
RSTOUT
I/OAUX
PRES1
GNDC1
R4
100 kΩ
C23
100 nF
I/O1
C81
C41
CLK1
V
CC1
RST1
I/O2
C82
V
R1
V
1
2
3
4
5
6
7
8
9
10
11
12
Y2
DELAY
XTAL1
XTAL2
AD0
AD1
AD2
464544434241403938
48
47
TDA8007B
IC1
151617181920212223
13
14
C42
PRES2
GNDC2
C27
100 nF
CLK2
V
CC2
RST2
C24
100 nF
AD3
GND
V
DD
INTAUX
INT
UP
SAP
V
C25
100
nF
ALECSWR
SBP
DDA
SBM
V
C13
100 nF
V
DD
TP23 CS 8007B
TP22 INT
TP20 WR
TP18 ALE
37
RD
36
D7
35
D6
34
D5
33
D4
32
D3
31
D2
30
D1
29
D0
28
V
DD
27
SAM
26
AGND
25
24
TP51
GND
C26
100 nF
C2
10 µF
16 V
7
6
5
4
3
2
1
0
C22
100
nF
P0(7:0)
C1
10 µF
16 V
P2.0
21
P2.1
22
P2.2
23
P2.3
24
P2.4
25
P2.5
26
P2.6
27
P2.7
28
LPSEN
29
ALE
30
89C51
LEA
31
P0.7
32
7
DD
P0.6
33
6
P0.5
34
5
P0.4
35
4
P0.3
36
3
P0.2
37
2
P0.1
38
1
P0.0
39
V
0
CC
40
C16
100 nF
V
DD
V
DD
V
V
SS
20
XTAL1
19
XTAL2
18
P3.7
17
P3.6
16
P3.5
15
P3.4
14
P3.3
13
P3.2
12
P3.1
11
P3.0
10
RST
9
P1.7
8
P1.6
7
P1.5
6
P1.4
5
P1.3
4
P1.2
3
P1.1
2
P1.0
1
FCE690
TX
RX
APPLICATION INFORMATION:
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Fig.10 Application diagram.
handbook, full pagewidth
Page 31
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
PACKAGE OUTLINE
LQFP48: plastic low profile quad flat package; 48 leads; body 7 x 7 x 1.4 mm
c
y
X
SOT313-2
36
37
pin 1 index
48
1
e
w M
b
p
D
H
D
DIMENSIONS (mm are the original dimensions)
mm
A
A1A2A3b
max.
0.20
1.60
0.05
1.45
1.35
0.25
cE
p
0.27
0.18
0.17
0.12
UNIT
25
Z
24
E
e
A
H
E
E
A
2
A
A
1
w M
b
p
13
12
Z
D
v M
A
detail X
B
v M
B
02.55 mm
scale
(1)
(1)(1)(1)
D
7.1
6.9
eH
H
D
7.1
6.9
0.5
9.15
8.85
E
9.15
8.85
LL
p
0.75
0.45
0.120.10.21.0
Z
0.95
0.55
L
L
D
(A )
3
p
Zywvθ
E
0.95
0.55
o
7
o
0
θ
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
OUTLINE
VERSION
IEC JEDEC EIAJ
REFERENCES
SOT313-2MS-026136E05
2000 Nov 0931
EUROPEAN
PROJECTION
ISSUE DATE
99-12-27
00-01-19
Page 32
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
SOLDERING
Introduction to soldering surface mount packages
Thistextgives a very brief insighttoacomplex technology.
A more in-depth account of soldering ICs can be found in
our
“Data Handbook IC26; Integrated Circuit Packages”
(document order number 9398 652 90011).
There is no soldering method that is ideal for all surface
mount IC packages. Wave soldering is not always suitable
for surface mount ICs, or for printed-circuit boards with
high population densities. In these situations reflow
soldering is often used.
Reflow soldering
Reflow soldering requires solder paste (a suspension of
fine solder particles, flux and binding agent) to be applied
tothe printed-circuit board byscreenprinting, stencilling or
pressure-syringe dispensing before package placement.
Several methods exist for reflowing; for example,
infrared/convection heating in a conveyor type oven.
Throughput times (preheating,soldering and cooling) vary
between 100 and 200 seconds depending on heating
method.
Typical reflow peak temperatures range from
215 to 250 °C. The top-surface temperature of the
packages should preferable be kept below 230 °C.
• Use a double-wave soldering method comprising a
turbulent wave with high upward pressure followed by a
smooth laminar wave.
• For packages with leads on two sides and a pitch (e):
– larger than or equal to 1.27 mm, the footprint
longitudinal axis is preferred to be parallel to the
transport direction of the printed-circuit board;
– smaller than 1.27 mm, the footprint longitudinal axis
must be parallel to the transport direction of the
printed-circuit board.
The footprint must incorporate solder thieves at the
downstream end.
• Forpackageswith leads on four sides, thefootprintmust
be placed at a 45° angle to the transport direction of the
printed-circuit board. The footprint must incorporate
solder thieves downstream and at the side corners.
During placement andbefore soldering, the package must
be fixed with a droplet of adhesive. The adhesive can be
applied by screen printing, pin transfer or syringe
dispensing. The package can be soldered after the
adhesive is cured.
Typical dwell time is 4 seconds at 250 °C.
A mildly-activated flux will eliminate the need for removal
of corrosive residues in most applications.
Manual soldering
Wave soldering
Conventional single wave soldering is not recommended
forsurfacemount devices (SMDs) or printed-circuit boards
with a high component density, as solder bridging and
non-wetting can present major problems.
To overcome these problems the double-wave soldering
method was specifically developed.
If wave soldering is used the following conditions must be
observed for optimal results:
Fix the component by first soldering two
diagonally-opposite end leads. Use a low voltage (24 V or
less) soldering iron applied to the flat part of the lead.
Contact time must be limited to 10 seconds at up to
300 °C.
When using a dedicated tool, all other leads can be
soldered in one operation within 2 to 5 seconds between
270 and 320 °C.
2000 Nov 0932
Page 33
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
Suitability of surface mount IC packages for wave and reflow soldering methods
1. All surface mount (SMD) packages are moisture sensitive. Depending upon the moisture content, the maximum
temperature (with respect to time) and body size of the package, there is a risk that internal or external package
cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). For details, refer to the
Drypack information in the
2. These packages are not suitable for wave soldering as a solder joint between the printed-circuit board and heatsink
(at bottom version) can not be achieved, and as solder may stick to the heatsink (on top version).
3. If wave soldering is considered, then the package must be placed at a 45° angle to the solder wave direction.
The package footprint must incorporate solder thieves downstream and at the side corners.
4. Wave soldering is only suitable for LQFP, TQFP and QFP packages with a pitch (e) equal to or larger than 0.8 mm;
it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm.
5. Wave soldering is only suitable for SSOP and TSSOP packages with a pitch (e) equal to or larger than 0.65 mm; it is
definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm.
2000 Nov 0933
Page 34
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
DATA SHEET STATUS
DATA SHEET STATUS
Objective specificationDevelopmentThis data sheet contains the design target or goal specifications for
Preliminary specificationQualificationThis data sheet contains preliminary data, and supplementary data will be
Product specificationProductionThis data sheet contains final specifications. Philips Semiconductors
Note
1. Please consult the most recently issued data sheet before initiating or completing a design.
DEFINITIONS
Short-form specification The data in a short-form
specification is extracted from a full data sheet with the
same type number and title. For detailed information see
the relevant data sheet or data handbook.
Limiting values definition Limiting values given are in
accordance with the Absolute Maximum Rating System
(IEC 60134). Stress above one or more of the limiting
values may cause permanent damage to the device.
These are stress ratings only and operation of the device
atthese or at any otherconditionsabovethose given in the
Characteristics sections of the specification is not implied.
Exposure to limiting values for extended periods may
affect device reliability.
Application information Applications that are
described herein for any of these products are for
illustrative purposes only. Philips Semiconductors make
norepresentationorwarranty that such applications will be
suitable for the specified use without further testing or
modification.
PRODUCT
STATUS
DEFINITIONS
product development. Specification may change in any manner without
notice.
published at a later date. Philips Semiconductors reserves the right to
make changes at any time without notice in order to improve design and
supply the best possible product.
reserves the right to make changes at any time without notice in order to
improve design and supply the best possible product.
DISCLAIMERS
Life support applications These products are not
designed for use in life support appliances, devices, or
systems where malfunction of these products can
reasonably be expected to result in personal injury. Philips
Semiconductorscustomersusingorselling these products
for use in such applications do so at their own risk and
agree to fully indemnify Philips Semiconductors for any
damages resulting from such application.
Right to make changes Philips Semiconductors
reserves the right to make changes, without notice, in the
products, including circuits, standard cells, and/or
software, described or contained herein in order to
improve design and/or performance. Philips
Semiconductors assumes no responsibility or liability for
theuseof any of these products, conveysnolicenceortitle
under any patent, copyright, or mask work right to these
products,and makes no representations orwarrantiesthat
these products are free from patent, copyright, or mask
work right infringement, unless otherwise specified.
(1)
2000 Nov 0934
Page 35
Philips SemiconductorsProduct specification
Double multiprotocol IC card interfaceTDA8007B
NOTES
2000 Nov 0935
Page 36
Philips Semiconductors – a w orldwide compan y
Argentina: see South America
Australia: 3 Figtree Drive, HOMEBUSH, NSW 2140,
United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409,
Tel. +1 800 234 7381, Fax. +1 800 943 0087
Uruguay: see South America
Vietnam: see Singapore
Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD,
Tel. +381 11 3341 299, Fax.+381 11 3342 553
For all other countries apply to: Philips Semiconductors,
Marketing Communications, Building BE-p, P.O. Box 218, 5600 MD EINDHOVEN,
The Netherlands, Fax. +31 40 27 24825
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed
without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license
under patent- or other industrial or intellectual property rights.
2000
Internet: http://www.semiconductors.philips.com
70
Printed in The Netherlands753504/03/pp36 Date of release: 2000 Nov 09Document order number: 9397 750 07619
Loading...
+ 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.