Professional Documents
Culture Documents
Contents
Chapter 7.14
7.14-i
EMV SMART CARD READER/WRITER
STRAPPING............................................................................................................. 7.14-39
7.14-ii
EMV SMART CARD READER/WRITER
Contents
Chapter 7.14
INTRODUCTION
This chapter describes the EMV Smart Card Reader/Writer (SCRW) modules
that are attached to MCRWs in NCR ATMs to provide the ability to read and
write to smart cards. The combined SCRW and MCRW is refered to as the
Magnetic Smart Card Reader (MSCR). There are two types:
1. The MSCR reads and writes to smart cards and ISO magnetic cards in
compliance with the ISO 7816 (parts 1, 2 and 3) and the AFNOR/CP8 I.C.
card standards. The associated electronic circuits for the EMV SCRW are
contained on the EMV Smart Card Interface (SCIF) board.
2. The EMV MSCR replaces the above module. It provides the same func-
tions and additionally is designed to be compatible with EMV, GIE CB
(France), and Mondex. The term EMV is derived from Europay, Master
Card, and Visa. Its associated electronics board is termed the EMV SCIF.
GENERAL DESCRIPTION
The EMV Smart Card Reader/Writer (SCRW) reads and writes to smart cards
and ISO magnetic cards in compliance with EMV 3.1.1 and ISO 7816 (parts 1,
2 and 3) and the AFNOR/CP8 I.C. card standards. The Smart Card must have
the contacts at the front of the card and may have a magnetic strip at the
reverse side. Smart Cards with contacts in either the IOS position or the
AFNOR (CP8) position are supported.
The EMV SCRW feature adds on to the Magnetic Card Reader/Writer
(MCRW) or Magnetic Card Reader (MCR) modules for the 56XX/personaSXX
range of NCR Self Service Financial Terminals. The additional electronic func-
tions necessary for reading and writing of smart cards are provided by the
EMV Smart Card Interface (EMV SCIF) board which is also attached to the
MCRW. The main functional areas of the EMV SCIF board are shown in the
following block diagram.
7.14-1
EMV SMART CARD READER/WRITER
EMV PIA
MCRW I/F
SCIF
SDC
I/F
When an EMV SCRW module and EMV SCIF are configured in the host
machine the EMV SCIF interfaces with the same PIA bus (from the SDC
MCRW Interface Board) as the MCRW. A smart card command sent by the
host is identified by the EMV SCIF, which then disables the PIA interface to
the MCRW and takes control of the MCRW. Once the smart card operation is
complete, control is passed back to the host/MCRW interface.
The EMV SCIF also provides an encrypting function, with the encryption
algorithm incorporated in the firmware and the encryption keys stored in non-
volatile memory.
The following figure shows the EMV SCRW feature attached to an MCRW
7.14-2
EMV SMART CARD READER/WRITER
FUNCTIONAL DESCRIPTION
The functional description of the EMV SCRW Module and EMV SCIF Board is
provided in the following sub-sections:
z EMV SCRW Module:
z Mechanical Operation
z Software Operation
z Electrical Operation
z EMV SCIF Board:
z SDC Interface
z EMV SCRW Interface
zz MCRW Interface.
In addition to the above interfaces, there are circuits associated with han-
dling power failure and providing test connectors.
Contact
Solenoid
Solenoid
Stopper Sensors
Pin PCB
Solenoid
The EMV SCRW attaches to the rear of the MCRW/MCR. The rear trans-
port shaft of the MCRW/MCR is modified to have a double belt pulley turned
by a pint through the shaft which creates a half-turn clutch. A rubber wheel
on the shaft bears down on a lower nylon wheel to drive a card, passing
between them, into the EMV SCRW. The card is pushed against a reference
surface on the right-hand side of the EMV SCRW by a flat metal spring
attached to the left-hand side.
7.14-3
EMV SMART CARD READER/WRITER
The card is detected in the EMV SCRW by an optical sensor (PD7). A sole-
noid energizes to lower a pin into the path of the card and stop it in position
under a set of spring metal contacts. The action of the solenoid is detected by a
photodetector (PD5) looking at a flag on the solenoid arm.
With the card correctly in position, a second solenoid is energized to lower
the spring metal contacts on to the contact area of the card. Another sensor
(PD6) detects the movement of this solenoid.
An O-belt from the MCRW rear transport pulley drives a shaft at the rear
of the EMV SCRW. This shaft carries a rubber wheel which bears down on a
lower nylon wheel to drive cards into the card capture bin. In a normal trans-
action the card will not reach these drive wheels but remain in the grip of the
MCRW rear transport wheels which reverse direction to drive the card back to
the cardholder.
SOFTWARE OPERATION
Control of the EMV SCRW is provided by the EMV SCIF board which has its
own on-board firmware. This firmware communicates with the host SSFT via
the SDC MCRW Interface Board, to control the solenoid and card movement
when in the smart card mode.
Modes of Operation
At initialization the MCRW/SCRW device driver and the EMV SCIF board
adopt MCRW mode. The device driver interrogates the hardware to determine
if the EMV SCIF is present and functioning correctly. If all is O.K. the device
driver will control the EMV SCRW by sending EMV SCIF commands to the
SCIF board (see the section “Normal Sequence” for a list of SCIF commands).
All hardware signals, including MCRW signals, are routed through the
EMV SCIF board. When a EMV SCIF command is received by the board, it
switches to EMV SCRW mode, produces the associated signals to achieve that
command and then switches back into the MCRW mode. The EMV SCIF
switches into the SCRW mode for the duration of each EMV SCIF command.
Card Entry
Card entry is identical to MCRW/MCR card entry. Once the card width and
card sense requirements are met and under application control, the card is
accepted and staged in the transport by the motor in the MCRW/MCR. An
EMV SCIF command is then issued to stage the smart card in the EMV
SCRW so that it is ready to be read from or written to.
Normal Sequence
The normal sequence of events for smart card operation is as follows:
z The MCRW/MCR Accept command stages the card
z The EMV SCIF command Stage Smart Card moves the card into the EMV
SCRW
z The EMV SCIF command Power On Card applies to the card and produces
an Answer To Reset from the card
z The EMV SCIF command Smart Card Direct reads/writes to the card.
These commands are card specific
z The EMV SCIF command Power Off Card removes power from the card
z The EMV SCIF command Release Card moves the card back to the
MCRW/MCR stage position.
7.14-4
EMV SMART CARD READER/WRITER
ELECTRICAL OPERATION
The electrical logic to control the EMV SCRW is wholly located on the EMV
SCIF board as described on the section “EMV SCIF Board”. Connectors on the
EMV SCRW carry the power supplies, the signals from the smart card, the
sensor status, and the solenoid control signals, to the EMV SCIF board. Refer
to the section “Interconnections” for pinouts of these connectors.
Input Signals
The input signals are as follows:
z STP - When this signal is activated, the card stage stopper pin mechanism
is lowered
z TUD - When this signal is activated, the Connector lowering mechanism is
lowered.
Output Signals
The following TTL compatible output signals are generated:
z PD5 - This signal becomes logically high when the card stopper pin is low-
ered
z PD6 - This signal becomes logically high when the smart card contacts are
lowered on to the card
z PD7 - This signal becomes logically high when the smart card is correctly
staged in the EMV SCRW.
Contacts
Two rows of eight contacts are lowered on to the card. Of the 16 contacts, eight
are in the ISO contact group position and eight are in the AFNOR/CP8 contact
group position. The contacts provide power, and read or write, to cards of both
the ISO and AFNOR/CP8 formats.
1 5
2 6
3 7
4 8
7.14-5
EMV SMART CARD READER/WRITER
8 4
7 3
6 2
5 1
Function of Contacts
The following table lists the functions of the card contacts.
Contact
Signal Function
No.
VCC 1 Card power supply voltage
RST 2 Reset signal
CLK 3 Clock signal
RFU 4 Reserved for future use
GND 5 Ground
VPP 6 Not used
I/O 7 Data input/output
RFU 8 Reserved for future use
Power Requirements
Power for the SCRW is supplied from the SCIF board for stopper pin lowering,
lowering of contacts, and sensor operation. The maximum power required for
these functions is shown below.
7.14-6
EMV SMART CARD READER/WRITER
EMV PIA
MCRW I/F
SCIF
SDC
I/F
In the following text the functions of the EMV SCIF are described with
reference to four areas in the block diagram above.
z EMV SCIF core electronics
z MCR/MCRW SDC I/F Board
z SDC I/F
z MCRW I/F
z SCRW I/F
z SCRW/MCRW.
In addition the following interfaces are also provided:
z Power interface
z Power fail interface
z Test connectors.
The schematics for the EMV SCIF Board are included at the end of this
chapter. Refer to these schematic diagrams while reading the following circuit
description.
7.14-7
EMV SMART CARD READER/WRITER
7.14-8
EMV SMART CARD READER/WRITER
Not Populated
9000H
8FFFH
I/O
EPROM
8000H
7FFFH
NVRAM
7000H
Not Used
2000H
1FFFH
SRAM
0000H 0000H
Owing to the high population density of the board, all decodes for address
locations are performed by a 44-pin PLCC EPLD device. This device has a
large number of output ports which allow both RD- and WR- qualification on
address selection. The RD- and WR- qualification originates from the proces-
sor. Two 0.47 microfarad capacitors decouple the noise from the voltage plane
as required by the EPLD internal architecture.
7.14-9
EMV SMART CARD READER/WRITER
Level 0 Diagnostics
Refer to schematic sheet 5 when reading the following text.
The Level 0 diagnostics are performed using an 8-way switch pack and
eight LEDs.
The 8-way switch pack U4 is used for setting and running the extended
level 0 testing. The appropriate switch setting is obtained by reading memory
mapped I/O at address 8006H. When the switch is open a logical low is read
and, when closed, a logical high.
The 8 LEDs display information about the level zero tests that are being
run and also the result of the tests. The LEDs are accessed by writing to mem-
ory location 8006H. Each LED can be written to individually. A logical low sig-
nal turns the LED on, and a logical high turns the LED off.
The switch pack and LED signals are brought out to a DUAL 10-way RDI
connector along with a reset signal. This allows the board to be tested using a
remote level 0 testing device.
INTERFACES
The SCIF provides the following interfaces:
z Power
z PIA
z Port A
z Port B
z SCRW interface
z Input port
z Output port
z Solenoid drivers
z Smart card interface
z Smart card programming voltage (VPP)
z Digital to analogue conversion
z Vpp current limiting
z Smart card clock generation
z Smart card data (ISOn and AFNOR/CP8)
z Smart card Vcc
7.14-10
EMV SMART CARD READER/WRITER
Power Interface
Refer to the schematic sheet 2 when reading the following text.
Dual 4-way connector J11 provides three power lines (+24V, +12V, +5V)
and associated return Grounds. T ensure good noise immunity, these lines are
connected directly into the inner planes of the PCB.
PIA Interface
Refer to the schematic sheets 1 and 9 when reading the following text.
The EMV SCIF monitors the PIA interface. When a smart card instruction
is recognised the EMV SCIF latches the data to the MCRW and assumes con-
trol.
The SCIF executes the smart card instruction then passes control back to
the host.
The PIA interface can be divided into the sections, Port A interface and
Port B interface. These are shown in the following figure:
Buffer 1
Buffer 3
Status Information
Host 74ABT623
PIA I/F
Port A Interface
Port A is an 8-bit wide bi-directional port which interconnects the following
status information:
z EMV SCIF to host
z Host to EMV SCIF
z MCRW to host
z Host to MCRW.
NOTE: EMV SCIF to MCRW and MCRW to EMV SCIF never occur.
7.14-11
EMV SMART CARD READER/WRITER
The format of the signals is divided into sections A select, B select and C
select as shown below. For more information on the signal functions refer to
Chapters 7.2, 7.3, or 7.7.
DTA_s
DTAR
7.14-12
EMV SMART CARD READER/WRITER
DTA_s
DTAR
A similar method of hand-shaking is used to read data from the host. The
EMV SCIF sets DTA_s low to indicate to the host that data is required. The
host responds to outputing the data to the bus and setting DATR low. The
SCIF reads the data by reading memory location 8000H.
DTA_s is reset high by the SCIF after the data is read and accepted. The
host then resets the DATR signal high and DATR is checked to ensure that
the host to EMV SCIF communication link is functioning correctly.
Port B Interface
The Port B interface carries the commands from the host to both the MCRW
and the EMV SCIF. It is through this interface that the smart card instruction
is sent. When the latch clock signal, LC, goes from a high to low transition an
interrupt is generated and the EMV SCIF firmware checks for a smart card
command. A smart card command is generated when:
z The SELECT signal is low
z The SC MODE signal is low
z The LC signal is an active low pulse.
The lower five bits of Port B are multiplexed by bit 7 of this port and are
referenced as register A and register B. These signals are detailed below.
Port B
Register A Register B
Bit
PB0 MCF TS0
PB1 MCB TS1
PB2 SHE RW0
PB3 Reset RW1
PB4 SC Mode DT
PB5 DATR
PB6 Select
PB7 LC
7.14-13
EMV SMART CARD READER/WRITER
SCRW Interface
Refer to schematic sheet 6 and 7.
The MCRW interface is mapped in memory I/O at location 8002H and con-
sists of an input and an output port. All signals associated with the status,
that is, the sensors and control for the solenoids, are connected through this
interface.
Input Port
The input port (a 74HCT244,) is accessed by reading data from memory
location 8002H.
The signals associated with each bit are listed below:
Bit Signal
0 PD7
1 PD5
2 PD6
3 Not used
4 Not used
5 Not used
6 Not used
7 Not used
7.14-14
EMV SMART CARD READER/WRITER
Output Port
U24 (a 74F259 latch) generates the signals on the SCRW output port. This
allows each bit to be individually addressed. A coded byte is written to location
8002H in the memory mapped I/O area. The byte is then decoded by the
hardware and the appropriate output bit set. The coded bytes should be
written to the output port, and the expected output, are given in the table
below:
Data Bit
0 4 5 6 Byte (hex) O/P Signal
Bit
0 Y0 L L L 00-low 01-high Y0 MCF_s
1 Y1 L L H 10-low 11-high Y1 MCB_s
2 Y2 L H L 20-low 21-high Y2 STP
3 Y3 L H H 30-low 31-high Y3 TUD
4 Y4 H L L 40-low 41-high Y4 SCIF_En
5 Y5 H L H 50-low 51-high Y5 Not used
6 Y6 H H L 60-low 61-high Y6 Not used
7 Y7 H H H 70-low 71-high Y7 Not used
NOTE: The outputs of this buffer are all set low by a system reset.
Solenoid Drivers
The card stop pin and card contact solenoids are controlled by Darlington
power transistors. The STP and TUD signals are pulled high to 5 volts
through 2K2 resistors. This ensures sufficient base drive to saturate the
transistors.
Current limiting is obtained by a 470R resistor in the series path of the
base. Noise decoupling from the transistor base is obtained by a 0.1 micro-
farad capacitor. This reduces any ringing effect that may result from high
speed switching. Any back emf is decoupled by connecting two Schottky diodes
in reverse mode across the solenoid coils.
7.14-15
EMV SMART CARD READER/WRITER
80C52 Core
Control Lines
Address Bus
Data Bus
Smart Card
Each block contains registers that require setting before the device
becomes operational. The mechanism to address, read and write to/from these
blocks listed in the table below:
Two control signals are used to transfer data to or from the data bus. The
enable signal (En-), when set to low, permits data to flow between the 80C52
core and the registers within each functional block. The second contgrol signal
(R/W-), controls the direction the data flows, if R/W- is set high then data is
read and if R/W- is low, then data is written.
7.14-16
EMV SMART CARD READER/WRITER
NOTE: After resetting En- high, the controller must set P4 high to free up
the data bus. The address lines AD0 to AD3 are used to select the appro-
priate register.
P4 XX FF DATA FF DATA FF
R/W
AD0...3 X AD AD
EN
The addresses of the various control registers are listed in the table below.
7.14-17
EMV SMART CARD READER/WRITER
The setup procedures and functions of each register is explained in the fol-
lowing sections.
D7 D6 D5 D4 D3 D2 D1 D0 Division factor
x7 x6 x5 x4 x3 x2 x1 x0 x7x6x5x4x3x2x1x0 hex
7.14-18
EMV SMART CARD READER/WRITER
The clock that drives the ISO 7816 UART originates from the clock that
drives the smart card clock contact. To achieve the different baud rates on I/O
as defined by the F and D parameters (as specified in ISO 7816 part 3), a pres-
caler (divide by 31 or 32) and an autoreload 8 bit programmable counter is
implemented (internal to the TDA8006). The following table shows what val-
ues should be loaded to archive the appropriate F and D values.
D \F 0000 0001 0010 0011 0100 0101 0110 1001 1010 1011 1100 1101
0001 31;F4 31;F4 31;EE 31;E8 31;DC 31;D0 31;C4 32;F0 32;E8 32;E0 32;D0 32;CD
0010 31;FA 31;FA 31;F7 31;F4 31;EE 31;E8 31;E2 32;F8 32;F4 32;F0 32;E8 32;E0
0011 31;FD 31;FD - 31;FA 31;F7 31;F4 31;F1 32;FC 32;FA 32;F8 32;F4 32;F0
0100 - - - 31;FD - 31;FA - 32;FE 32;FD 32;FC 32;FA 32;F8
0101 - - - - - 31;FD - 32;FF - 32;FE 32;FD 32;FC
0110 - - - - - - - - - 32;FF - 32;FE
1000 31;FF 31;FF - 31;FE 31;FD 31;FC 31;FB - 32;FE - 32;FC -
1001 - - - - - - 31;FD - - - - -
NOTE: The prescalar value is first and the PDR value is second.
The activation and de-activation sequences can only be initiated after the
ISO7816 UART has been reset and the card present bit is set. The activation
sequence is initiated by setting CMDVCC (PER, bit D0) high, conversely to
deactivate the smart card contacts this bit must be set low. To initiate a warm
reset, toggle RSTIN (PER, D1).
Activation/de-activation of the smart card contacts can be set to automatic
or manual mode by configuring bit D3 of the PER. When set for automatic
mode the UART starts counting the clock cycles during the ATR and the smart
card RST signal is controlled as specified by ISO7816 part 3. Data is received
before 2x45,000 smart card CLK cycles, if data is detected, this bit is reset and
7.14-19
EMV SMART CARD READER/WRITER
the ATR is collected. If the UART detects no data within the specified time
frame then the card is declared mute, this bit (PER, D3) is reset by the hard-
ware.
The UART can be forced to operate with inverse parity checking. This is
used to generate parity errors in transmission of data and generate NAKs
during reception of data. This is only used as a debug tool.
7.14-20
EMV SMART CARD READER/WRITER
In order to start a session with the card, the bit RIUN (UCR,D0), which
resets the ISO7816 UART when low, must be set high.
NOTE: Thetart Session bit must be reset after correct reception of the first
character (TS) of the ATR and before complete reception of the next char-
acter.
7.14-21
EMV SMART CARD READER/WRITER
7.14-22
EMV SMART CARD READER/WRITER
NOTE: All bits with the exception of bit D5 will generate an internal inter-
rupt (INT-) when reset.
In case of Early Answer (EA) or Mute Card (MC) during automatic ATR
processing, the card is not automatically deactivated. An interrupt is gen-
erated if enabled, and it is up to the controller to deactivate or not.
Synchronous Cards
It is not a requirement of the EMV SCIF to provide an interface for
synchronous cards. However, the TDA8006 is capable of communicating with
synchronous cards and therefore, for completeness, this section briefly
describes the synchronous function.
If SAN (UCR, D7) is set then the software may deal with synchronous
card. I/O is copied on bit data0 of the data bus when SIR or SOR registers are
selected, without entering the UART. The synchronous cards clock can be con-
trolled by selecting STOP HIGH or STOP LOW on CLK.
When the Synchronous Input Register (SIR) is selected, I/O is copied on
data0 (P40). When the Synchronous Output Register (SOR) is selected, then
data0 (P40) is output onto the I/O line on the falling edge of En-.
7.14-23
EMV SMART CARD READER/WRITER
Reset Signal
The drive capabilities of the Reset signal pin is as follows:
Clock Signal
The drive capabilities of the Clock signal pin is as follows:
I/O Signal
The drive capabilities of the smart card I/O signal is as follows:
7.14-24
EMV SMART CARD READER/WRITER
Vcc Signal
The drive capabilities of the smart card Vcc signal is as follows:
Vpp Signal
The default setting for the smart card Vpp signal is “no condition” as specified
by the EMV requirements document.
There is a link that lets the smart card Vcc signal to be routed to the Vpp
signal. Voltages greater than 5V on the Vpp line are not supported.
Test Connectors
Refer to schematic sheets 8, 10 and 17.
Three test connectors are provided, a test evaluation connector, a remote
diagnostic interface connector, and a smart card signal connector.
7.14-25
EMV SMART CARD READER/WRITER
7.14-26
EMV SMART CARD READER/WRITER
Switch Settings
Select the diagnostic mode using the eight switches (SW1 to SW8) located on
the diagnostic switchpack. These switches are numbered 1 (LSB), for the
right-most switch, to 8 (MSB), for the left-most switch.
Switch No. SW8 SW7 SW6 SW5 SW4 SW3 SW2 SW1
Start-Up 0 0 0 0 0 0 0 0
Selected 1 0 0 <--------------------TEST ID------------------>
0 = Switch open
1 = Switch closed
LEDs
The test results display on the eight LEDs, D1 to D8. These LEDs are
numbered 1 (LSB), for the right-most LED, to 8 (MSB), for the left-most LED.
The test number displays on LED 1 to 5.
If a test fails, the test number shows for one second and the test result
shows for two seconds.
If a bad switch setting is made, the LEDs do not flash but display the fol-
lowing error code:
z ODH - bad Switch Setting.
7.14-27
EMV SMART CARD READER/WRITER
Description
The following tests are performed:
z CPU registers. All register banks are tested
z CPU instructions. Arithmetic and manipulation instructions are tested
z Stack, Push and Pop sequence
z EPROM - Cyclic Redundancy Check (CRC) calculation
z Internal RAM. This is tested by writing alternate 55, AA and FF bytes in
RAM. These values are checked. If O.K., inverted checked again
z CPU special purpose timers and interrupt registers are tested.
Test Results
LEDs Status
00H Test passed
08H CPU fault
09H CPU internal RAM/stack fault
0AH CPU timer fault
0BH CPU interrupt register fault
0CH Serial control register fault
0DH EPROM CRC check fault
7.14-28
EMV SMART CARD READER/WRITER
Description
The following tests are performed:
z Volatile RAM. This is tested by writing alternate 55, AA and FF bytes in
RAM. These values are checked. If O.K., inverted and checked again
z Non-volatile memory data. Header checked. CRC check of contents. Only
performed when smart card encrypyion (SCE) is not used.
Test Results
LEDs Status
00H Test passed
08H Volatile RAM error
09H Non volatile memory error - possible battery failure
0DH Non volatile memory CRC fail - possible corruption of NVRAM
Description
The volatile RAM is filled with zeroes, except for byte 00, which is filled with
FF hex. The contents of RAM is then verified. The RAM contents is then read
using an address of 1 left rotating zero that is 1, 2, 4, 8, 16.... .
If the data read from these addresses equals FF hex, the external connec-
tion of that address line is faulty. If the data read of one of the addresses is
neither 00 or FF hex, one or more data lines are faulty.
The non-volatile memory contains FF hex on byte 00 zero bytes on
addresses having only one bit set that is 1, 2, 4... . If the data read from these
addresses equals FF hex, external connection of that address line is faulty. If
the data read from one of the addresses is neither 00 nor FF hex, one or more
data lines are faulty.
The information stored in the non-volatile memory is placed so that it does
not interfere with the check bytes.
This test is not applicable when a smart card encryptor is used.
Test Results
LEDs Status
00H Test passed
08H Data error while verifying 00 hex write
09H Data error while verifying FF hex write
xAH Volatile RAM address bus error, address line x (0-F)
xBH Volatile RAM data bus error, data line x (0-7)
xCH Non-volatile memory address bus error, address line x (0-F)
xDH Non-volatile memory data bus error, data line x (0-7)
7.14-29
EMV SMART CARD READER/WRITER
Description
The area of NVRAM from external data memory addresses 7000H to 8000H is
initialized. During this process the memory is over written with zeros, a
header block is written into NVRAM and a CRC is done over the contents of
NVRAM and the result written. This test is done to indicate a “start of life”
condition for the EMV-SCIF board.
Test Results
LEDs Status
00H Test passed
Description
The area of NVRAM from external data memory addresses 7000H to 8000H is
initialized. During this process the memory is over written with zeros, a
header block is written into NVRAM containing an additional byte indicating
the support of Dual Voltage Cards, and a CRC is done over the contents of
NVRAM and the result written. This test is done to indicate a “start of life”
condition for the EMV-SCIF board.
Test Results
LEDs Status
00H Test passed
NOTE: Either test 04 or 05 must be performed the first time the EMV-SCIF
is powered on. If either test has not been run, the header block and CRC
will not have been written into NVRAM. Test 02 will always fail. Similarly
if the battery or SRAM has been replaced, this test must be run the first
time the EMV-SCIF is powered on.
Description
The interface to the IC card on the EMV-SCIF is controlled exclusively by the
Philips TDA8006 Device thus constricting direct access to the SC signals. The
level of testing performed by this test depends on whether it is called as part
of the Start-up test, or as a Selected Test. Start-up testing performs a limited
compared to the Selected Test.
Test Results
LEDs Status
00H Test passed
08H Initialisation of system failure (“Error at library procedure Init_System”)
09H I/O line not at zero
0AH Card Present (For Start-Up: Error at library procedure “Power-Up”)
7.14-30
EMV SMART CARD READER/WRITER
Description
The EMV-SCIF sets the card clock low. The clock signal can be measured using
an oscilloscope.
At the start of this test the contacts are lowered but no lower position
checking is made.
NOTE: During the execution of this test, the diagnostic LEDs display the
test ID. No error response is returned.
Description
The EMV-SCIF sends a clock signal of XTAL/ 2 MHz to the smart card clock
contact. The clock signal can be measured using an oscilloscope.
At the start of this test the contacts are lowered but no lower position
checking is made.
NOTE: During the execution of this test, the diagnostic LEDs display the
test ID. No error response is returned.
Description
The EMV-SCIF sends a clock signal of XTAL/ 4 MHz to the smart card clock
contact. The clock signal can be measured using an oscilloscope.
At the start of this test the contacts are lowered but no lower position
checking is made.
NOTE: During the execution of this test, the diagnostic LEDs display the
test ID. No error response is returned.
Description
The EMV-SCIF sends a clock signal of XTAL/ 8 MHz to the smart card clock
contact. The clock signal can be measured using an oscilloscope.
At the start of this test the contacts are lowered but no lower position
checking is made.
NOTE: During the execution of this test, the diagnostic LEDs display the
test ID. No error response is returned.
7.14-31
EMV SMART CARD READER/WRITER
Description
The EMV-SCIF sends a clock signal of FINT/ 2 MHz to the smart card clock
contact. The clock signal can be measured using an oscilloscope.
At the start of this test the contacts are lowered but no lower position
checking is made.
NOTE: During the execution of this test, the diagnostic LEDs display the
test ID. No error response is returned.
Description
The EMV-SCIF sets the card clock high. The clock signal can be measured
with an oscilloscope.
At the start of this test the contacts are lowered but no lower position
checking is made.
NOTE: During the execution of this test, the diagnostic LEDs display the
test ID. No error response is returned.
Description
The EMV-SCIF toggles the smart card Vcc, Resety and I/O line.
At the start of this test the contacts are lowered but no lower position
checking is made.
NOTE: During the execution of this test, the diagnostic LEDs flash the test
ID. No error response is returned.
Description
The EMV-SCIF performs the following sequence:
1. Activates the stopper pin solenoid.
2. Checks for lower pin position.
3. Waits one second.
4. Deactivates the stopper pin solenoid.
5. Checks for upper pin position.
6. Waits one second.
7. Repeats steps 1 to 6.
NOTE: During the execution of this test, the diagnostic LEDs display the
test ID. No error response is returned.
7.14-32
EMV SMART CARD READER/WRITER
Test Results
Test No. and test results shown on the LEDs are:
LEDs Status
09H Stopper pin failed to reach either the low or high position
Description
The EMV-SCIF performs the following sequence:
1. Activates the contact unit solenoid.
2. Checks for lower contact unit position.
3. Waits one second.
4. Deactivates the contact unit solenoid.
5. Checks for upper contact unit position.
6. Waits one second.
7. Repeats steps 1 to 6.
NOTE: During the execution of this test, the diagnostic LEDs display the
test ID. No error response is returned.
Test Results
LEDs Status
09H Contact Unit failed to reach either the low or high position
LEVEL 1 DIAGNOSTICS
The level 1 diagnostic tests available for smart card are:
z SMART CARD STAGE
z SMART CARD RESET
z SMART CARD RELEASE
z SCIF INITIALISE
z SCIF SOLENOID
z SCIF IDENTIFY
z RUN-TO-RUN 1
z RUN-TO-RUN 2
z RUN-TO-RUN 3.
7.14-33
EMV SMART CARD READER/WRITER
SCIF INITIALISE
The SCIF INITIALISE test causes the SCIF board to switch into SCRW mode
and toggle the SCIF reset line. Power is removed from any card present and
the smart card contacts and stopper pin solenoids are de-energized. The SCIF
board switches to MCRW mode.
SCIF SOLENOID
The SCIF SOLENOID test activates the SCRW stopper pin and contact
solenoids.
NOTE: The card should not be in the SCRW when this test is selected.
SCIF IDENTIFY
The SCIF IDENTIFY test allows the operator to display or print the ROM
firmware number as T_DATA.
The firmware ID is returned as an 21 digit ASCII coded number similar to
the following:
Where,
z The first 3 digits are 0
z The next nine digits contain the EPROM ID number. The example above
shows the EMV EPROM number 009016214. Notice that the number after
the 9 is one digit short of the actual part number that appears on the
EPROM label. The full number is 009-0016214.
z Digit 13 and digits 15 to 21 all have the value 0.
z Digit 14 (X) can take the following values:
z 0 = non-EMV SCIF
z 5 = 5 V only, is applied to the smart card during the Power Up
sequence
zz 3 = 3 V is applied to the smart card during the Power Up sequence
and, if no valid ATR is returned, then 5V is applied. The value 3 there-
fore means that Dual Voltage Support is enabled. Refer to Level 0
Diagnostics Test 05H, in Chapter 4.2.9).
RUN-TO-RUN 1
The RUN-TO-RUN 1 test automatically performs the following tests in
sequence:
z SHUTTER/SENSOR
z ENTER
z READ ISO TRACK 1 (If configured)
z READ ISO TRACK 2
z READ ISO TRACK 3 (If configured)
z SMART CARD STAGE
z SMART CARD RESET
z SMART CARD RELEASE
z EJECT
z CAPTURE.
7.14-34
EMV SMART CARD READER/WRITER
NOTE: See the appropriate MCR/MCRW chapters in this manual for disrup-
tions of tests not specific to smart card.
RUN-TO-RUN 2
The RUN-TO-RUN 2 test automatically performs the following tests in
sequence:
z ENTER
z CAPTURE.
NOTE: See the appropriate MCR/MCRW chapters in this manual for disrup-
tions of tests not specific to smart card.
RUN-TO-RUN 3
The RUN-TO-RUN 3 test automatically performs the following tests in
sequence:
z ENTER
z READ ISO TRACK 1 (If configured)
z READ ISO TRACK 2
z READ ISO TRACK 3 (If configured)
z SMART CARD STAGE
z SMART CARD RESET
z SMART CARD RELEASE
z EJECT.
NOTE: See the appropriate MCR/MCRW chapters in this manual for disrup-
tions of tests not specific to smart card.
M_STATUS
M_STATUS values, and their meaning for the SCRW, are shown below.
Original severity is also shown.
The M_STATUS codes for the associated MCRW are given in the appropri-
ate Chapter in this manual, refer to Chapter 7.2, 7.3 or 7.7 as required.
Original
M_STATUS Meaning
Severity
50 Card not in SCRW stage position. 2
51 Smart card stopper pin lowered, unable to capture. This is only in 4
response to card capture.
52 Invalid smart card command code error. 2
53 Invalid smart card command data error. 2
54 SCIF not configured/not responding. 2
55 SCIF response timeout exceeded. 2
57 Invalid smart card response length. 2
7.14-35
EMV SMART CARD READER/WRITER
M_STATUS Meaning
00 Good
64 Invalid command code
65 Invalid command format
67 Invalid key ID
68 Invalid key type
69 Invalid host key type
70 Invalid key - does not exist
71 Invalid password - not decimal
72 Invalid password - no match
73 Key integrity error
74 Key parity error
75 Invalid data format
76 Stopper pin failure
77 Contact unit failure
78 Card movement failure
79 SC switch off failure
80 Smart card removed error
81 No smart card response
82 Smart card transmission error
83 Smart card switched off
84 Illegal card type/parameter
85 Power up time exceeded
86 ANSI X9.8 pin block error
M_DATA
Entries are returned in Byte 0 and 4 as follows:
Byte 0
70H = SCIF Command
Byte 4
Bit 1 - PD5/6 (1 = stopper pin/contacts down)
Bit 0 - PD7 (1 = blocked).
7.14-36
EMV SMART CARD READER/WRITER
LEVEL 2 DIAGNOSTICS
None.
7.14-37
EMV SMART CARD READER/WRITER
7.14-38
EMV SMART CARD READER/WRITER
STRAPPING
None.
ADJUSTMENTS
None.
TEST EQUIPMENT
DIAGNOSTIC TEST CARDS
You need the following test cards to perform level 1 diagnostic testing on the
SCRW:
z AFNOR/CP8 test card - NCR part number 009-0009493
z ISO test card - NCR part number 009-0009494
z Cleaning card - NCR part number 998-0052929.
PREVENTIVE MAINTENANCE
The only preventive maintenance necessary for the SCRW is to clean the feed
roller. This should be done using the diagnostic “clean” facility and cleaning
card for the associated MCRW in this manual, that is Chapter 7.2, 7.3 and 7.7.
INTERCONNECTIONS
The interconnections between the SCRW, the MCRW and the SCIF are shown
in the following figures.
7.14-39
EMV SMART CARD READER/WRITER
7.14-40
EMV SMART CARD READER/WRITER
7.14-41
EMV SMART CARD READER/WRITER
7.14-42
EMV SMART CARD READER/WRITER
7.14-43
EMV SMART CARD READER/WRITER
POWER CONNECTIONS
7.14-44
EMV SMART CARD READER/WRITER
7.14-45
EMV SMART CARD READER/WRITER
445-0650241
EMV SCIF board Assembly Drawing
7.14-46
EMV SMART CARD READER/WRITER
7.14-47
EMV SMART CARD READER/WRITER
7.14-48
EMV SMART CARD READER/WRITER
7.14-49
EMV SMART CARD READER/WRITER
7.14-50
EMV SMART CARD READER/WRITER
7.14-51
EMV SMART CARD READER/WRITER
7.14-52
EMV SMART CARD READER/WRITER
7.14-53
EMV SMART CARD READER/WRITER
7.14-54
EMV SMART CARD READER/WRITER
7.14-55
EMV SMART CARD READER/WRITER
7.14-56