HID Global 5553 User Manual

15370 Barranca Parkway Irvine, CA 92618-2215
OMNIKEY®
Multi-ISO (HID5553) RFID Reader
USER MANUAL
1508-USM-00-0-04
Firmware Version 1.4
August 2010
Doc Number: 1508-USM-00, Rev D.1
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
Warning - Read before start-up!
The product may only be used for the intended purpose designed by the manufacturer. The
operation manual should be conveniently kept available at all times for each user.
Unauthorized changes that have not been sold or recommended by the manufacturer may have a
negative influence on the system the program has been installed or copied on. Such unauthorized measures shall exclude any liability by the manufacturer.
The liability-prescriptions of the manufacturer in the issue valid at the time of purchase are valid for
the device. The manufacturer shall not be held legally responsible for inaccuracies, errors, or omissions in the manual or automatically set parameters for a device or for an incorrect application of a device.
Only qualified personnel should carry out installation, operation, and maintenance procedures.  Use of the program and its installation must be in accordance with national legal requirements.  When working on devices the valid safety regulations must be observed.
Read Me First
About this Guide
This manual describes the HF Multi ISO Reader. Its goal is to describe the reader, how it works, how to integrate it and how to use it.
Contacts
Europe, Middle East and Africa HID Global Corporation, Ltd. (Haverhill, UK)
email: eusupport@hidglobal.com main: +44 (0) 1440 714 850 support: +44 (0) 1440 711 822 fax: +44 (0) 1440 714 840
HID GLOBAL, HID, the HID logo, and OMNIKEY are the trademarks or registered trademarks of HID Global Corporation, or its licensors, in the U.S. and other countries.
Page 2 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04

Contents

Scope .........................................................................................................................................................7
Overview ...................................................................................................................................................... 8
Definitions ........................................................................................................................................8
Abbreviations ...................................................................................................................................8
Supported Tags..............................................................................................................................10
1 5553 Reader Core – Multi ISO.....................................................................................................12
1.1 Dimensions..............................................................................................................................12
1.2 Jumper 1 Details......................................................................................................................13
1.3 Jumper 2 Details......................................................................................................................14
1.4 External Connections ..............................................................................................................15
1.4.1 Power Supply...........................................................................................................................15
1.4.2 Antenna....................................................................................................................................16
1.4.3 Serial Interface.........................................................................................................................17
1.4.4 Function Control LEDs .............................................................................................................17
1.4.5 SAM Connector/Socket............................................................................................................18
2 Software........................................................................................................................................19
2.1 Transmission Protocol.............................................................................................................19
2.1.1 ASCII Protocol..........................................................................................................................19
2.1.2 Binary Protocol.........................................................................................................................20
2.2 Register Set.............................................................................................................................23
2.2.1 EEPROM Memory Organization...............................................................................................23
2.2.2 Unique Device ID (00h – 04h)..................................................................................................24
2.2.3 Station ID (0Ah)........................................................................................................................24
2.2.4 Protocol Configuration 1 (0Bh).................................................................................................25
2.2.5 BAUD, Baud Rate Control Register (0Ch)................................................................................28
2.2.6 Command Guard Time (0Dh)...................................................................................................29
2.2.7 OPMODE - Operating Mode Register (0Eh).............................................................................29
2.2.8 Single Shot Time-Out (0Fh)......................................................................................................29
2.2.9 TMR, RF Time-Out Control Register (10h, 11h).......................................................................30
2.2.10 Type B framing Register (12h) .................................................................................................31
2.2.11 Protocol Configuration 2 (13h)..................................................................................................31
2.2.12 Reset Off Time (14h)................................................................................................................32
2.2.13 Reset Recovery Time (15h)......................................................................................................32
2.2.14 Application Family Identifier (16h)............................................................................................32
2.2.15 Selection Time-Out ISO 14443A (17h).....................................................................................33
2.2.16 Selection Time-Out ISO 14443B (18h).....................................................................................33
2.2.17 Selection Time-Out SR176 (19h) ............................................................................................. 33
2.2.18 Selection Time-Out ISO 15693 (1Ah).......................................................................................33
2.2.19 Protocol Configuration 3 (1Bh).................................................................................................33
2.2.20 Modulation Conductance 0 (1Dh).............................................................................................34
2.2.21 Threshold (1Eh)........................................................................................................................34
2.2.22 Protocol Configuration 4 (20h)..................................................................................................34
2.2.23 CID (21h)..................................................................................................................................35
2.2.24 RxWait (22h) ............................................................................................................................35
August 2010 Page 3 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
2.2.25 Modulation conductance 1 (23h)..............................................................................................35
2.2.26 Modulation conductance 2 (24h)..............................................................................................35
2.2.27 Modulation conductance 3 (25h)..............................................................................................36
2.2.28 User data (80h - EFh)...............................................................................................................36
2.3 Command Set..........................................................................................................................37
2.3.1 Common Command Details .....................................................................................................39
2.3.2 ISO 14443 Type A (MIFARE ®) only commands......................................................................70
2.3.3 Key Management.....................................................................................................................76
2.3.4 my-d™ secure..........................................................................................................................84
2.3.5 ‘t’ Command – Data Frame Transfer........................................................................................90
2.3.6 ‘t’ command block format & examples......................................................................................94
2.3.7 ‘e’ command – SAM data frame transfer..................................................................................97
2.3.8 ‘e’ command block..................................................................................................................102
3 EMVCO Commands ...................................................................................................................103
4 Frequently Asked Questions....................................................................................................104
4.1 Getting Started ......................................................................................................................104
4.2 Personalizing Multi ISO Reader ............................................................................................105
4.3 MIFARE Card Type ...............................................................................................................106
4.4 MIFARE .................................................................................................................................106
4.5 Using NFC .............................................................................................................................108
5 Supported Tags..........................................................................................................................109
5.1 MIFARE Transponder Family................................................................................................109
5.1.1 MIFARE Standard..................................................................................................................109
5.1.2 MIFARE Ultra-light .................................................................................................................111
5.1.3 MIFARE 4k.............................................................................................................................111
5.1.4 MIFARE Prox .........................................................................................................................111
5.1.5 MIFARE DESFire...................................................................................................................112
5.1.6 my-d™ IC (SLE 55Rxx)..........................................................................................................115
5.2 ISO 14443 Type B.................................................................................................................116
5.2.1 SR176 ....................................................................................................................................116
5.2.2 SRIX4K...................................................................................................................................117
5.3 ISO 15693..............................................................................................................................117
5.3.1 Coding of UID.........................................................................................................................117
5.3.2 Memory organization..............................................................................................................118
5.3.3 my-d™ IC (SRF55VxxP)........................................................................................................118
5.3.4 EM 4135.................................................................................................................................119
5.4 ICODE ...................................................................................................................................120
5.4.1 Memory organization..............................................................................................................120
5.4.2 Serial number.........................................................................................................................120
5.4.3 Write access condition............................................................................................................120
5.4.4 Special function (EAS,) AFI....................................................................................................121
5.4.5 User data................................................................................................................................121
5.5 ICODE EPC...........................................................................................................................121
5.5.1 Memory organization..............................................................................................................121
5.5.2 Serial number.........................................................................................................................121
5.5.3 Read Block.............................................................................................................................121
5.5.4 Write Block.............................................................................................................................121
Page 4 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04
5.6 ICODE UID............................................................................................................................121
5.6.1 Memory organization..............................................................................................................121
5.6.2 Read Block.............................................................................................................................122
5.6.3 Write Block.............................................................................................................................122
Appendix A - References........................................................................................................................123
Appendix B - SAM Socket Details.........................................................................................................124
Appendix C - Timings.............................................................................................................................125
Appendix D ..............................................................................................................................................127
5553 Reader Board RS232 Compact MultiISO (RDHC-020xN0-02) .........................................127
5553 Reader Board USB Comfort Multi ISO (RDHS-0204N0-02)............................................... 134
5553 Desktop Multi ISO (RDHS-0204D0-02)..............................................................................139
4553 Mobile Multi ISO (RDHP-0206P0-02).................................................................................140
Appendix E - Version History ................................................................................................................141
Appendix F - Approvals / Certificates................................................................................................... 142
CE Declaration.............................................................................................................................142
FCC Declaration...........................................................................................................................143
RoHS Compliance........................................................................................................................144
List of Figures
Figure 1 - Reader Core - Top View............................................................................................................. 12
Figure 2 - Power Supply Option 1...............................................................................................................15
Figure 3 - Power Supply Option 2...............................................................................................................16
Figure 4 - Typical Antenna Tuning..............................................................................................................16
Figure 5 - OEM Board Serial Interface........................................................................................................17
Figure 6- Connecting External LEDs - Option 1..........................................................................................17
Figure 7 - Connecting External LEDs - Option 2.........................................................................................17
Figure 8 - SAM Connector .......................................................................................................................... 18
Figure 9 – KTT State Diagram....................................................................................................................88
Figure 10 - State Diagram.........................................................................................................................110
Figure 11 - DESFire Memory....................................................................................................................112
Figure 12 - DESFire State Diagram.......................................................................................................... 113
Figure 13 - 5553 Reader RS232 Compact Multi ISO - Top View............................................................. 128
Figure 14 - 5553 Reader RS232 Compact Multi ISO - Side View............................................................ 129
Figure 15 - 5553 Reader RS232 Compact Multi ISO - Front View...........................................................129
Figure 16 - Pin Out – Jumper 3.................................................................................................................129
Figure 17 - RS232 Configuration - Jumper 3 Pin Out............................................................................... 130
Figure 18 - RS422 Configuration - Jumper 3 Pin Out............................................................................... 131
Figure 19 – RS485 Configuration - Jumper 3 Pin Out..............................................................................132
Figure 20 - Jumper 4 Pin Out - Top View ................................................................................................. 132
Figure 21 - Jumper 4 Pin Out....................................................................................................................133
Figure 22 - 5553 Reader USB Comfort Multi ISO - Top View .................................................................. 135
Figure 23 - 5553 Reader USB Comfort Multi ISO - Front View................................................................136
August 2010 Page 5 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
Figure 24 - 5553 Reader USB Comfort Multi ISO - Bottom View.............................................................137
Figure 25 - 5553 Reader USB Comfort Multi ISO - Jumper 5 Pin Out - Top View...................................138
List of Tables
Table 1 - Pin out – Jumper 1.......................................................................................................................13
Table 2 - Electrical characteristics of J1 PINs.............................................................................................13
Table 3 - Pin out – Jumper 2.......................................................................................................................14
Table 4 - Electrical characteristics of J2 PINs.............................................................................................14
Table 5 - Common Command Overview.....................................................................................................37
Table 6 - Card Specific Commands............................................................................................................ 38
Table 7 - Error Codes..................................................................................................................................38
Table 8 - Register Type with Corresponding Register................................................................................56
Table 9 - Sending Serial Data Frame .........................................................................................................60
Table 10 - Receiving Serial Data Frame..................................................................................................... 61
Table 11 - Version 1 (Option Byte) .............................................................................................................98
Table 12 - Version 2 (Option Byte) .............................................................................................................99
Table 13 - Timings ....................................................................................................................................125
Table 14 - Pin out – Jumper 3 Detail ........................................................................................................130
Table 15 - J3 pins in RS232 Configuration - Electrical Characteristics....................................................130
Table 16 - J3 pins in RS422 Configuration - Electrical Characteristics....................................................131
Table 17 - J3 pins in RS485 Configuration - Electrical Characteristics....................................................132
Table 18 - J4 pins - Electrical Characteristics...........................................................................................133
Table 19 - Pin Out of Jumper 5.................................................................................................................138
Table 20 – J5 Pin - Electrical Characteristics...........................................................................................138
Page 6 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04
Scope
The HID HF Multi ISO Reader Module supports a broad range of tags compliant with ISO 14443 type A and B standards, including SR176 tags, tags which belong to the NXP MIFARE family, ISO 15693 tags, ISO 18000-3, EPC and UID tags. An open command structure allows the device to communicate with tags that use an operating system. The read/write unit supports ISO 14443-4 layer with automatic chaining, 256 byte buffer and frame length, extended time framing and up to 848kBaud transmission rates over the air interface.
Several protocols are available to enable the reader module to be connected to a variety of equipment. The ASCII protocol facilitates the use of a simple terminal; the Binary protocol provides robust communication more suitable for a dedicated host system. If a host computer is used, then a function library is available, providing function calls rather than low-level ‘byte-bashing’.
For the SAM interface security features and DESFire credential DES encryption, the function library provides access to these features in the Reader Module. The function library is available for Windows CE and XP host applications.
Major applications are:
Access control, identification using security credentials  Ticketing using standard MIFARE and DESFire credentials
August 2010 Page 7 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
Overview
Definitions
Anti-collision loop
An algorithm used to identify and handle a dialogue between a reader and one or more tags in its antenna field.
ASCII notation
ASCII characters are listed within apostrophes, i.e. ‘x’ means a single x.
Hex notation
A hexadecimal value is marked with the suffix ‘h’, i.e. A1h has the value A1 hexadecimal.
Abbreviations
Abbreviation Description AID Application ID ASCII American Standard Code for Information Interchange ATR Answer to Reset ATS Answer to Select AFI Application Family Identifier Block For the MIFARE Standard one block contains 16 bytes CBC Cipher Block Chai ning CID Card Identifier (logical card address, ISO 14443-4) CRC Cyclic Redundancy Check DES Data Encryption Standard, for more details about DES refer to [3]. DSFID Data storage format identifier EDC Error Detection Code EGT Extra Guard Time EOF End of Frame ETU Elementary time unit Hex / xxh Value in Hexadecimal notation I-block Information block KTT Key Transfer Transponder LSB Least Significant Bit or Byte MSB Most Significant Bit or Byte NAD Node Address (ISO 14443-4) OSI Open System Interconnection OTP One time programmable PCB Protocol Control Byte (ISO 14443-4) PCON Protocol Configuration byte of the reader PPS Protocol and Parameter Selection RATS Request for Answer to Select
Page 8 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04
Abbreviation Description R-block Receive ready block REQA Request ISO Type A REQB Request ISO Type B RFU Reserved for Future Use S-block Supervisory block SAM Secure Application Module Sector For the MIFARE Standard one sector contains 4 blocks SID Station ID SFGT Guard time after RATS SN Serial Number of a tag (a 32 bit number) SOF Start of frame TDES Triple DES Value block 32 bit data block format. Used in ticketing application <CR> Carriage return (0Dh) <LF> Line feed (0Ah)
August 2010 Page 9 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
Supported Tags
For tag details see Supported Tags, page 109.
Tag
ISO 14443 A MIFARE Standard NXP MIFARE 4k NXP MIFARE Ultra-light NXP MIFARE ProX NXP MIFARE DESFire NXP MIFARE Mini NXP SLE66CLX320P Infineon  -
Manufacturer
        
Serial number
Read/Write operation
-
Comments
Transfer command
encryption not included
SLE 55R04 / 08 Infineon Smart MX NXP Jewel Innovision
Topaz Innovision ISO 14443 B SLE6666CL160S Infineon  ­SR176 STM SLIX 4K STM ASK GTML2 ISO ASK ASK GTML ASK Sharp B Sharp TOSMART P0032/64 Toshiba
Dual Interface
  
      
-
-
-
-
-
-
 
   
encryption included
extended setup needed
Page 10 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04
Tag
ISO 14443 A compliant
ISO 14443 B compliant
1
2
various
various
Manufacturer
Serial number
-
-
ISO 15693 EM 4135 EM ICode® SLI NXP LRI12 STM LRI64 STM LRI128 STM LRI2k STM
SRF55VxxP Infineon SRF55VxxS Infineon Tag-it™ HF-I Std TI
         
   
Tag-it™ HF-I Pro TI - ­TempSense KSW  ­ICode ICode® NXP ICode® EPC NXP ICode® UID NXP
   
Read/Write operation
Transfer command
 
Comments
with 10% modulation index
better performance with 10% modulation index
encryption included
only in addressed mode Temperature logging
1
Performance varies
2
Performance varies
August 2010 Page 11 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4

1 5553 Reader Core – Multi ISO

1.1 Dimensions

All dimensions listed in millimeters.
25,40 mm
1,27 mm
30,48 mm
29,21 mm
1,27 mm
1
10 11
Figure 1 - Reader Core - Top View
20J1 J2
2,54 mm
Page 12 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04

1.2 Jumper 1 Details

Table 1 - Pin out – Jumper 1
PIN PIN No. Description
ARX 1 Antenna RX ATX1 2 Antenna TX1 VDD 3 Supply Voltage GND 4 Ground ATX2 5 Antenna TX2 TGND 6 Antenna Ground SAM CLK 7 SAM clock SAM IO 8 SAM IO SAM RESET 9 SAM Reset RTS 10 Request to Send
Table 2 - Electrical characteristics of J1 PINs
PIN PIN No. Min Typ. Max. Description
ARX 1 1.1V ATX1 2
+4.5V +5.0V +5.5V Supply Voltage VDD 3
13,56 MHz 34 V
PP
4.4V pk-pk Antenna RX
13.56MHz 100 mA 50V
PP
PP
Antenna TX1
32mA 150mA 250mA Supply Current (without SAM)
GND 4 ATX2 5
TGND 6 SAM CLK 7
SAM IO 8
SAM RESET 9 RTS 10
GND 13,56 MHz 34 VPP
GND TTL
3,39MHz TTL 25 mA IO for SAM Input and SAM
TTL 25 mA SAM Reset TTL 25 mA Request to Send
13.56MHz 100 mA 50V
25mA
PP
PP
Ground Antenna TX2
Antenna Ground SAM clock
Output
August 2010 Page 13 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4

1.3 Jumper 2 Details

Table 3 - Pin out – Jumper 2
PIN PIN No. Description
VDD 20 Supply Voltage GND 19 Ground LEDg 18 LED green (reading LED) LEDr 17 LED red EN 16 Enable reader, open or logic high MCLR 15 Master clear USER 14 User Port DIR 13 Direction of RS 485 TX 12 TX to PC RX 11 RX from PC
Table 4 - Electrical characteristics of J2 PINs
PIN PIN No. Min Typ. Max. Description
RX 11
TX 12
DIR 13
USER 14 MCLR 15
EN 16
LEDr 17
VDD
min
@ 25mA
USART-TTL1 25 mA Rx to PC
To RS232, RS485 or RS422 device driver
USART-TTL1 25 mA Tx to PC
To RS232, RS485 or RS422 device driver
TTL 25 mA Direction of RS 485
Logic High = Reader to Host Logic Low = Host to Reader
TTL3 25 mA User Port TTL4
ST5 25 mA Enable reader
VDD
typ
@ 11mA 11mA 25mA External Resistor
VDD
max
@ 0 mA
Master clear Leave unconnected
logic low will disable the reader Open or logic high
LED red Output Voltage
min. 200
1
Universal Synchronous Asynchronous Receiver Transmitter
3
TTL buffer output / input. If user port is used as an output, a 1k (current limiting) series resistor
has to be integrated into the connecting wire, otherwise the reader device can be damaged.
4
Voltage spikes below GND at the MCLR/VDD pin, including currents greater than 80mA, may cause latch-up. Thus, a series resistor of 50-100 should be used when applying a "low" level to the MCLR/VDD, rather than pulling this pin directly to GND.
5
Schmitt trigger buffer input
Page 14 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04
PIN PIN No. Min Typ. Max. Description
LEDg 18
GND 19 VDD 20 +4.5V +5.0V +5.5V Supply Voltage
IDD
32 mA 150 mA 250 mA Supply Current (Without SAM)
1.4V @ 11mA
11mA 15mA GND
VDD @ 0mA
LED green (reading LED) with 330 (internal serial) resistor
Ground

1.4 External Connections

1.4.1 Power Supply

If the supply voltage and any noise modulated on the supply voltage remains within the specified limits, no further filtering is required. In some cases it is recommended to use additional filtering for the power supply line. Insufficient power line filtering could cause unexpected or irregular performance drops.
+5V DC
OEM Board
20 19
uC
Figure 2 - Power Supply Option 1
August 2010 Page 15 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
The board can be connected as shown in Figure 3 - Power Supply Option 2. Both alternatives are possible and can be used as they fit best into the layout of the carrier board. The two VCC PINs and the two GND PINs are connected internally.
+5V DC
OEM Board
3 4
Figure 3 - Power Supply Option 2

1.4.2 Antenna

The typical antenna tuning and matching network is shown in Figure 4 - Typical Antenna Tuning. The external antenna has to have the right inductance and a certain resistor and capacitor combination for an optimized frequency tuning and antenna matching.
L ANT
C5
C3
C4
R1
C1
C2
1 2
5 6
OEM Board
Figure 4 - Typical Antenna Tuning
More details about the antenna design are available in the HID Antenna Design guide. Download this document from http://www.hidglobal.com/Omnikey
.
Reference the specific application notes for the NXP reader IC (MIFARE & I-Code, Micore Reader IC family Directly Matched Antenna Design).
Page 16 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04

1.4.3 Serial Interface

The OEM Board can be connected directly with a micro controller. Alternatively the OEM Board also can be connected to most serial interface types by using the right interface converter circuit. In order to optimize the communication quality the specific application note of the interface converter circuit needs to be taken into consideration.
OEM Board
Figure 5 - OEM Board Serial Interface

1.4.4 Function Control LEDs

Two external LEDs can be connected to the OEM Board. There are two alternatives possible.
OEM Board
uC
Figure 6- Connecting External LEDs - Option 1
OEM Board
uC
12 11
330 Ohm
330 Ohm
18 17
18 17
Interface Converter Circuit
330 Ohm
Host Interface
Figure 7 - Connecting External LEDs - Option 2
In both cases the LED supply voltage levels are TTL levels.
August 2010 Page 17 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4

1.4.5 SAM Connector/Socket

Note: The power supply to the SAM must be turned off during the entire SAM insertion/withdrawal
period; otherwise damage to the SAM may occur. When using a SAM with the OEM board, it is recommended that a 100nF decoupling capacitor be
fitted between Vcc and GND close to the SAM socket to ensure proper operation. The complete circuit diagram is shown in Figure 8 - SAM Connector.
Vcc
OEM Board
7
100nF
SAM Module
CLK I/O RST
8 9
GND
Figure 8 - SAM Connector
PIN-outs for 8 Pin SAM Socket and 6 Pin SAM Socket is shown in Appendix B. Note: The SAM interface hardware does not support error repetition and does not check the parity
bit.
Page 18 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04

2 Software

In order to offer the widest possible choice of interface, the MultiISO reader offers both ASCII and Binary serial protocols – see Transmission Protocol, page 19.
EEPROM reg settings, timing parameters and modulation index – listed in Register Set, page 23. These registers are alterable using the register settings are applie
These configuration registers may be altered ‘on-the-fly’ to immediately affect performance by the ‘set configuration flag/register’ commands, but the changes are lost once the reader is powered down, unless also written into the EEPROM registers. These and all other configurable settings are detailed in the Register Set – Register Set, page 23.
General read Details, page 39, dealing with the physical attributes of the reader – r control, Antenna power – and the basic tag commands – include/exclude tag types, continuous read, tag select and air speed select, and simple block read/write commands.
Tag-specific commands for MIFARE and My-D tags are listed in Sections ISO 14443 Type A (MIFARE keys are listed in Key Management, page 76.
For more complex commands, exchange information – see ‘t’ Command – Data Frame Transfer, page 90 and ‘t’ command block format & ex
To communicate with frame/packet to exchange information, based on the ISO7816 APDU – see ‘e’ command – SAM data frame
isters in the reader hold default settings for Station ID, protocol, serial and air-speed
Read/Write EEPROM commands detailed in Command Set page 37. The
d to the reader through the configuration registers.
er commands are
listed in Command Set page 37 and detailed in Common Command
eset, LED control, User port
®
) only commands, page 70 and my-d™ secure, page 84, and commands to manipulate
the ‘t’ command is used. This uses a data frame or packet to
amples, page 94 for examples of use
the optional SAM, the ‘e’ command is used. This also encapsulates a data
transfer, page 97 and ‘e’ command block, page 102 for examples of use.

2.1 Transmission Protocol

Two protocol modes are supported, with the default held in the reader EEPROM. As factory default, the ASCII protocol is used, and the default serial configuration is 9600baud, n, 8, 1, with no handshaking.

2.1.1 ASCII Protocol

This protocol is designed for easy handling. The commands may be issued using a terminal program, such as HyperTerminal, and the data is transmitted as ASCII hexadecimal that can be easily displayed on the terminal program.
Command Data
Variable length Variable length
August 2010 Page 19 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4

2.1.2 Binary Protocol

This protocol is designed for industrial applications with synchronization and frame checking. An addressing byte for party line (master/slave, multi-drop) is also included.
The protocol usually requires a device driver. Data is transmitted in binary mode. The reader uses an internal binary watchdog timer to ensure correct framing.
STX Station ID Length Data BCC ETX
1 byte 1 byte 1 byte Variable length 1 byte 1 byte
The binary frame version 2 is only sent to the host. It is implemented to give extended information to the host. Version 2 must be enabled in the Protocol configuration 2 register.
STX Station ID Length Flags Data BCC ETX
1 byte 1 byte 1 byte 1 byte Variable length 1 byte 1 byte
2.1.2.1 STX
Start of transmission (02h)
2.1.2.2 Station ID
Unique ID of the station 00h: Reserved for the bus master. Readers send response to this device ID. FFh: Broadcast message. All devices will execute the command and send their response.
2.1.2.3 Length
Length defines the length of the data block, including the flag byte, if binary protocol version 2 is activated. If length is set to zero, 256 data bytes are transmitted. The reader module only can send 256 data bytes, but cannot receive commands with 256 bytes.
2.1.2.4 Flags
The flag byte gives additional information to the host.
Bit 3 – Bit 7 Bit 1 – Bit 2 Bit 0
RFU Leading Character Info Error State
Error State
If cleared, the command was processed successfully. If set, an error occurred.
Leading Character Info
Bit 1 & 2 defines how to interpret the data in the binary frame.
Bit 2 Bit 1 Description
0 0 No leading character available, all values are hexadecimal. 0 1 The data contains one leading character. 1 0 All data bytes are characters. 1 1 RFU
Page 20 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04
2.1.2.5 Data
This part contains the command and the data. The command values are the same as in ASCII protocol mode (‘x’, ‘s’, …) whereas data is transmitted in binary mode.
The length of the command block depends on the instruction.
2.1.2.6 Block Check Character (BCC)
The BCC is used to detect transmission errors. The BCC is calculated XOR-ing each byte of the transmission frame excluding the STX/BCC and ETX characters. The flags are part of the data.
2.1.2.7 ETX
End of transmission. (03h)
2.1.2.8 Remarks
If the reader device receives an invalid instruction frame (i.e. wrong BCC) or the requested station ID does not match the internal ID of the reader, the command is not executed. The reader waits for the next valid frame.
0 N
DataCommandXORXORDataCommandXORLengthXORStatIDBCC
)/(...)/()()(
The automatic binary time-out (see
August 2010 Page 21 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
Protocol Configuration 1 (0Bh), page 25) is used to detect incomplete binary frames.
2.1.2
9 Examples
.
02h 64h 01h 78h 1Dh 03h STX Station ID Length ‘x’ BCC ETX
This instruction frame will reset the reader module with the station ID 64h.
Page 22 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04

2.2 Register Set

The reader has several system registers used for customization purposes. These registers are stored in its non-volatile EEPROM. The reader accepts changes to these settings only during the start-up phase. [See Write EEPROM, page 68]
f
Some o feature. These are referred to as Flags. [See Set Configuration Flags, page 54]
the system registers are organized such that each of the 8 bits is an on-off selection for a
Clearing all RFU bits
is recommended in order to guarantee compatibility with future releases.
In addition, direct changes to some of these system registers may be made at any time, with immediate effect, but these changes are NOT stored in EEPROM and thus are lost when the reader powers down. [See Set Configuration Fl ags, page 54 and Set Configuration Register page 56] These ‘on-the-
fly’ changes are mapped onto the EEPROM ‘registers’ or memory locations and do
not necessarily carry the same ‘register’ values. The reader can store up to 32 authentication keys internally to login standard MIFARE cards. An
additional 32 keys can be stored for DESFire authentication. All keys are read only and cannot be accessed through the interface lines.

2.2.1 EEPROM Memory Organization

Register Description
00h … 04h Unique device ID; read only 05h … 09h Administrative data; read only 0Ah Station ID 0Bh Protocol configuration 1 0Ch Baud rate 0Dh Command Guard Time 0Eh Operation Mode 0Fh Single shot time-out value 10h TMR low * 11h TMR high * 12h Type B framing * 13h Protocol configuration 2 14h Reset Off Time 15h Reset Recovery Time 16h Application Family Identifier 17h ISO 14443A Selection Time-out 18h ISO 14443B Selection Time-out 19h SR176 Selection Time-out 1Ah ISO 15693 Selection Time-out 1Bh Protocol configuration 3 1Ch Page Start 1Dh Modulation con ductance 0 (Type B and SR176. Also ISO15693 if set to 10%
modulation)
1Eh Threshold
August 2010 Page 23 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
Register Description
1Fh Page number 20h Protocol configuration 4 21h CID 22h RxWait 23h Modulation conductance 1 (Type B and SR176) 24h Modulation conductance 2 (Type B and SR176) 25h Modulation conductance 3 (Type B and SR176) 26h - 7Fh RFU 80h … EFh User data

2.2.2 Unique Device ID (00h – 04h)

The unique device ID identifies a reader module. It is factory programmed and cannot be changed.

2.2.3 Station ID (0Ah)

Default = 01h The station ID is used in binary mode to address a device in party line set up. The station ID can
range from 01h to FEh and can be set freely. The value 00h is reserved for the bus master. All readers send their response to this device.
The broadcast message (FFh) forces all readers to response to the command.
Page 24 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04

2.2.4 Protocol Configuration 1 (0Bh)

Default = 41h The protocol configuration register (PCON) specifies general behavior of the reader device, using
bit flags.
Protocol configuration register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Extended
ID
2.2.4.1 Auto start (default 1)
If set, the reader device will start up in continuous read mode automatically. This is only valid in ASCII mode.
2.2.4.2 Protocol (default 0)
If Protocol is set to ‘1’, then the reader uses binary protocol mode. See
Extended Protocol
Single-shot LED
New serial mode
Multitag Protocol Auto- start
August 2010 Page 25 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
Binary Protocol, page 20 for further information on the binary protocol format. Default setting = ASCII protocol (0).
2.2.4.3 Multitag (default 0)
The Multitag flag will enable multi-tag recognition in continuous read mode. All tags are detected and displayed. Due to the more complex search algorithm, the continuous read command decreases its detection speed.
2.2.4.4 New Serial Mode (default 0)
If New Serial Mode is set to ‘1’, new serial mode is enabled. A leading character is added to the serial number.
Leading Character Description
D ICode UID E ICode EPC I ICode J ISO 14443 A Jewel tag M ISO 14443 A S SR 176 V ISO 15693 Z ISO 14443 B
2.2.4.5 LED (default 0)
If set the reader suppresses any LED activity. The user manages the state of the LEDs.
Page 26 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04
2.2.4.6 Single Shot (default 0)
If Single Shot is set, the reader displays the serial number of a tag in continuous read mode once within a specified time-out. The time-out is defined at EEPROM register 0Fh.
The delay time can be adjusted stepwise in 100ms steps. 00h indicates no delay and FFh indicates infinite delay.
Note: The delay precision depends on reset off and reset recovery time.
2.2.4.7 Extended Protocol (default 1)
If Extended Protocol is set, the transfer data telegram command supports ISO14443-4 and automatically process the WTX and chaining for smaller frames. This flag has to be set to enable 14443-4 error handling – see Extended Protocol (default 1), page 27.
If sending
ISO 14443-3 co
mmands this flag has to be switched off.
The transfer data telegram command is only supported in normal mode, not in transmit / receive mode.
2.2.4.8 Extend ID (default 0)
If the Extend ID is set, the reader extends the serial number with additional information.
ISO 14443 A tags
Tag type / ReqA Serial number [SAK]
1 byte / 2 bytes 4 / 7 / 10 bytes 1 byte
Tag type / ReqA Serial number [SAK] ATS Used Speed [CID]
1 byte / 2 bytes 4 / 7 / 10 bytes 1 byte n bytes 1 byte 1 byte
The tag type byte indicates the type of cascade level.
Tag type Description
00h Cascade level 1 transponder 01h Cascade level 2 transponder 02h Cascade level 3 transponder
ISO 14443 B tags
Serial number Application data Protocol info MBLI/CID
4 bytes 4 bytes 3 bytes 1 byte
Serial number Application data Protocol info MBLI / CID Used Speed [CID]
4 bytes 4 bytes 3 bytes 1 byte 1 byte 1 byte
For detailed description of Application Data, Protocol Info and MBLI/CID, refer to the ISO 14443 documentation [1].
August 2010 Page 27 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4

2.2.5 BAUD, Baud Rate Control Register (0Ch)

Default = 00h The baud rate register defines the communication speed of the reader device.
Baud rate register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RFU RFU RFU RFU RFU BS2 BS1 BS0
This register defines the baud rate of the device.
BS2 BS1 BS0 Baud rate
0 0 0 9600 baud (default) 0 0 1 19200 baud 0 1 0 38400 baud 0 1 1 57600 baud 1 0 0 115200 baud 1 0 1 230400 baud (depends on the used interface chip) 1 1 0 460800 baud (depends on the used interface chip)
With the high baud rates (230400 and 460800 baud), proper operation depends on the interface chip used. Please note that some of the interface chips available do not support these high baud rates.
The following table describes the exact baud rates used by the reader.
Baud rate Exact baud rate Difference
9600 baud 9603 baud 0.03 % 19200 baud 19207 baud 0.04 % 38400 baud 38305 baud -0.25 % 57600 baud 57458 baud -0.25 % 115200 baud 114915 baud -0.25 % 230400 baud 233793 baud 1.47 % 460800 baud 452000 baud -1.91 %
The following table describes the communication settings.
Description
8 data bits No parity bit 1 stop bit No flow control
2.2.5.1 CF Card Version
The Baud rate of the CF Card version is limited to 115200 baud. 230400 and 460800 are not supported.
Page 28 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
HF Multi ISO RFID Reader User Manual, Firmware V1.4 1508-USM-00-0-04

2.2.6 Command Guard Time (0Dh)

Default = 20h (1,2ms) The Command Guard Time is used to ensure that commands are not sent to fast consecutively.
Following commands are sent after the guard time is elapsed. One time slice is around 37,8us. The longest timeout value is 9,6ms (FFh).

2.2.7 OPMODE - Operating Mode Register (0Eh)

Default = FFh (all) The operation mode register defines which tag types the reader supports. This register enables fast
tag recognition because only defined tag types are requested.
Operation mode register
Bit 7 (MSB) Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 (LSB)
RFU
ICODE UID
ICODE EPC
ISO 15693
ICODE
SR176
ISO 14443B
Innovision Jewel tag
Innovision Jewel tag is part of ISO 14443 Type A. It can not be separately switched on/off.

2.2.8 Single Shot Time-Out (0Fh)

Default = 0Ah (1 sec)
The time-out value defines the delay time between two responses of the reader. It only has effect in continuous read mode. To enable the time-out, the single shot flag has to be set. See
ISO 14443A
August 2010 Page 29 of 144
© 2005-2010 HID Global Corporation. All rights reserved.
1508-USM-00-0-04 HF Multi ISO RFID Reader User Manual, Firmware V1.4
Protocol Configuration 1 (0Bh), page 25. One time-out slice is around 100ms. Exact timing depends on the
protocol used.
00h indicates no delay time.
Value

2.2.9 TMR, RF Time-Out Control Register (10h, 11h)

Default = 0300h (~230mS) The RF time-out is used as reader card communication time-out. One time slice is around 300µs.
The longest time-out value is 19.7 seconds (FFFFh). Value 0000h is not allowed and internally set to 0001h.
Page 30 of 144 August 2010
© 2005-2010 HID Global Corporation. All rights reserved.
Loading...
+ 114 hidden pages