ASSALOY Identification Technologies H102022RFPCHR Users Manual

13,56 MHz Multitag Reader Module
H102022, H6160
Firmware: 0.9v 10/10/2003, wk
ACG Identification Technologies GmbH Dantestrasse 4-6 65189 Wiesbaden Germany Fon +49 (611) 1739.0 Fax +49 (611) 1739.198 www.acg.de rfid@acg-id.net
13,56 MHz Multitag Reader Module, Version 0.9v
Table of Content
1 Scope ..................................................................................................3
2 Definitions and abbreviations ...........................................................4
2.1 Definitions:.........................................................................................................4
2.1.1 Anticollision loop.........................................................................................4
2.1.2 Hex notation................................................................................................4
2.1.3 ASCII notation.............................................................................................4
2.2 Abbreviations.....................................................................................................4
3 Tag organization.................................................................................5
3.1 State diagram....................................................................................................5
3.2 Supported labels............................................................................................... 6
3.3 ISO 15693.........................................................................................................7
3.3.1 Coding of UID.............................................................................................7
3.3.2 Memory organization ..................................................................................7
3.3.3 My-D Label (SRF55VxxP)...........................................................................8
3.3.4 EM 4135..................................................................................................... 9
3.4 Icode®...............................................................................................................9
3.4.1 Memory organization ..................................................................................9
3.4.2 Serial number............................................................................................. 9
3.4.3 Write access condition..............................................................................10
3.4.4 Special function (EAS), AFI ......................................................................10
3.4.5 User data..................................................................................................10
3.5 TAGIT®...........................................................................................................10
3.6 SR176.............................................................................................................11
3.6.1 Memory organization ................................................................................11
3.6.2 Serial number UID....................................................................................11
3.6.3 Lock byte.................................................................................................. 11
3.6.4 Chip ID...................................................................................................... 11
3.7 ISO 14443.......................................................................................................12
3.8 Mifare® Ultralight.............................................................................................12
3.8.1 Memory organization ................................................................................12
3.8.2 Serial number........................................................................................... 12
3.8.3 Lock bytes.................................................................................................13
3.8.4 OTP bytes.................................................................................................13
3.8.5 User data..................................................................................................13
4 Hardware...........................................................................................14
4.1 Pin out of OEM Module...................................................................................14
4.1.1 Pin out of J1..............................................................................................14
4.1.2 Pin out of J2..............................................................................................15
4.1.3 Electrical characteristics of PINs...............................................................15
5 Software............................................................................................16
5.1 ASCII Protocol.................................................................................................16
5.2 Binary Protocol................................................................................................16
5.2.1 STX...........................................................................................................16
5.2.2 Station ID..................................................................................................16
5.2.3 Length.......................................................................................................16
5.2.4 Data..........................................................................................................16
5.2.5 Block Check Character (BCC)..................................................................16
ACG Identification Technologies AT Page 1
13,56 MHz Multitag Reader Module, Version 0.9v
5.2.6 ETX...........................................................................................................17
5.2.7 Remarks................................................................................................... 17
5.2.8 Examples:................................................................................................. 17
5.3 Instruction Set................................................................................................. 18
5.3.1 Overview................................................................................................... 18
5.3.2 Error Codes.............................................................................................. 19
5.3.3 EEPROM memory organization................................................................19
5.3.4 Reset........................................................................................................ 24
5.3.5 Get Version............................................................................................... 24
5.3.6 Continuous Read...................................................................................... 25
5.3.7 Select........................................................................................................27
5.3.8 Multi Tag Selection / List...........................................................................28
5.3.9 Read page................................................................................................29
5.3.10 Read reader EEPROM...........................................................................30
5.3.11 Write page ..............................................................................................31
5.3.12 Write EEPROM.......................................................................................32
5.3.13 Set tag type.............................................................................................33
5.3.14 Include tag type...................................................................................... 34
5.3.15 Exclude tag type.....................................................................................34
5.3.16 Lock page...............................................................................................35
5.3.17 Transfer data telegram............................................................................36
5.3.18 Set LED.................................................................................................. 39
5.3.19 Get ID..................................................................................................... 39
5.3.20 Antenna power on/off.............................................................................. 41
5.3.21 Read/Write User Port..............................................................................42
6 Timing...............................................................................................43
7 Frequently Ask Questions...............................................................46
7.1 Getting started.................................................................................................46
7.2 How can I adjust the reading performance of different tags?..........................46
7.2.1 Remarks................................................................................................... 46
7.3 Release notes................................................................................................. 47
7.3.1 Version 0.9x.............................................................................................. 47
7.3.2 Revision History ........................................................................................ 47
8 APPENDIX A.....................................................................................48
8.1 P & P module (version 3).................................................................................48
8.1.1 Pin out.......................................................................................................48
8.1.2 Supply voltage 12V................................................................................... 49
8.1.3 RS485/422................................................................................................ 49
9 APPENDIX B:....................................................................................50
9.1 Antenna design............................................................................................... 50
9.1.1 Layout.......................................................................................................50
9.1.2 Mechanical data:.......................................................................................50
9.1.3 Electrical data...........................................................................................50
9.1.4 Antenna matching circuit:..........................................................................51
10 APPENDIX C ................................................................................... 52
10.1 TempSense® KSW Transponder.................................................................. 52
10.1.1 How to start with .....................................................................................52
11 References...................................................................................... 53
ACG Identification Technologies AT Page 2
13,56 MHz Multitag Reader Module, Version 0.9v
1 Scope
The 13,56 MHz Multitag Reader Module is a proximity reading device supporting a wide range of 13,56 MHz tag. It supports ISO15693, Icode®, Tagit®, Mifare® Standard, Mifare® Ultralight, SR176 and ISO14443 Type B cards. Using an external antenna and a serial interface it can be easily connected to a PC. The Plug and Play version has an integrated antenna and serial interface.
The first part of the documentation described general functions and memory management of different tags. A listing of the memory map is given in detail if necessary.
The second part lists the OEM module and describes the pin out. The next chapter lists all commands and introduce to them. Each command is
explained and an example illustrates the usage. FAQs highlight general issues of the handling of the 13,56 MHz Multitag Reader Module.
The appendices describes the Plug and Play Module, the custom coil design, matching circuit and all steps to upgrade the Plug and Play board to +12V supply voltage.
Additionally the use of the TempeSense® label is high lightened.
WARRANTY THIS WARRANTY ONLY APPLIES TO THE H6160 DEVICE. THIS DEVICE COMPLIES WITH PART 15 OF THE FCC RULES. OPERATION IS
SUBJECT TO THE FOLLOWING TWO CONDITIONS: (1) THIS DEVICE MAY NOT CAUSE HARMFUL INTERFE RENCE, AND (2) THIS DEVICE MUST ACCEPT ANY INTERFERENCE RECEIVED, INCLUDING INTERFERENCE THAT MAY CAUSE UNDESIRED OPERATION.
CAUTION: ANY CHANGES OR MODIFICATIONS NOT EXPRESSLY APPROVED BY THE PARTY RESPONSIBLE FOR COMPLIANCE COULD VOID THE USER’S AUTHORITY TO OPERATE THE EQUIPMENT.
ACG Identification Technologies AT Page 3
13,56 MHz Multitag Reader Module, Version 0.9v
2 Definitions and abbreviations
2.1 Definitions:
2.1.1 Anticollision loop
Algorithm processed to identify and handle a dialogue between VCD and one or more VICCs in its antenna field.
2.1.2 Hex notation
A hexadecimal value is noted with a following h. i.e. A1h has the value A1 hexadecimal.
2.1.3 ASCII notation
ASCII characters are listed within apostrophes, i.e. ‘x’ means a single x.
2.2 Abbreviations
AFI Application family identifier BCC Binary Calculated Checksum CRC Cyclic redundancy check
DSFID Data storage format identifier
ETX End of transmission frame
LSB Least significant bit MFR Manufacturer MSB Most significant bit RFU Reserved for future use OTP One time programming
STATID Station ID
STX Start of transmission frame
UID Unique identifier
VCD Vicinity coupling device
VICC Vicinity integrated circuit card
Figure 2-1: Abbreviations
ACG Identification Technologies AT Page 4
3 Tag organization
A
y
3.1 State diagram
Anticollision Loop,
Inventor
Application
13,56 MHz Multitag Reader Module, Version 0.9v
Power off
HALT
WAKE-UP
Ready
Select
CTIVE
Figure 3-1: State Diagram
The state diagram shows the different states of a tag. First the tag must be power up. Next command initialize a tag using the anticollision or inventory command. A selection of a tag is necessary to interact with a tag of interest especially if more than one tag is present at the same time. Only selected tags are capable to response to higher commands such as read or write page data.
READY state A tag enters the READY state after it receives a
valid inventory or anticollision command. At this state the tag all serial numbers are known and the tag is ready to select.
ACTIVE state After a selection the tag is in the ACTIVE state.
Only an activated tag can respond to a read or write command.
HALT state The HALT command disables a tag for further
communication. The tag is still in the field but dies not respond to any command. To activate a tag and to put it back to the Ready state a WAKE-UP command has to be used.
ACG Identification Technologies AT Page 5
ACG Identification Technologies AT Page 6
(
1
) Only commands within 320µs after the EOF are recognized
3.2 Supported labels
ISO15693
EM 4135
Icode® SLI
LRI512
SRF55VxxP
Figure 3-2: Supported tags
SRF55VxxS
Tagit® HFI
TempSense
Tagit®
Icode®
ISO14443A
Mifare® Std.
Mifare® Ultralight
MF1IC70
Transfer
command
(1)
√ √ √ √ √ √ √
-
-
-
-
-
Comments
Encryption not supported
Temperature logging
Limited reading performance Limited reading performance Limited reading performance
13,56 MHz Multitag Reader Module, Version 0.9v
Manufacturer
EM Microelec.
Philips
STM Infineon Infineon
TI
KSW
TI
Philips
Philips Philips Philips
Serial
number
√ √ √ √ √ √ √
√ √
√ √ √
Read page
√ √ √ √
-
√ √
√ √
-
-
Write
page
√ √ √ √
-
√ √
√ √
-
-
Lock page
√ √ √ √
-
-
√ √
-
-
Mifare ProX
SLE55R16
ISO14443B
SLE66CL160S
SR176
Philips
Infineon
Infineon
STM
√ √
√ √
-
-
-
-
-
-
-
-
-
-
-
-
-
Limited reading performance Limited reading performance
Limited reading performance Limited reading performance
13,56 MHz Multitag Reader Module, Version 0.9v
3.3 ISO 15693
The reader can communicate with ISO15693 tags. An anticollision is needed if multiple instances of tags are in the same antenna field. The reader detects each type of ISO15693 labels and handles them individually
3.3.1 Coding of UID
The UID of a tag is defined in ISO/IEC 15693-3. All tags compliant to ISO15693 support the specified format. The UID is factory programmed and cannot be changed. The UID is needed for the anticollision sequence to separate several tags in the same antenna field.
Byte
7 6 5 4 3 2 1 0
E0h MFR
Code
The MFR Code is listed in ISO/IEC 7816-6:1996/Amd.1: 2000(E). Following manufacturer are tested with our reader
MFR-Code Company
02h ST Microelectronics 04h Philips Semiconductors 05h Infineon Technologies AG 07h Texas Instrument 16h EM Microelectronic-Marin SA
Serial number
Figure 3-3: Coding of ISO 15693 UID
Figure 3-4: Manufacturer codes
3.3.2 Memory organization
An ISO15693 tag is separated into two blocks. An administrative block which contains the UID, AFI, DSFID and the lock page state. The user block is free for custom use. The chip manufacturer defines the amount of bytes and number of pages of each tag. As default four bytes are used for several tags.
Page
address
3Fh User data
… …
00h User data
ACG Identification Technologies AT Page 7
Byte
0 1 2 3
Administrative block
Figure 3-5: Memory organization of ISO 15693
13,56 MHz Multitag Reader Module, Version 0.9v
3.3.3 My-D Label (SRF55VxxP)
My-D labels are specific labels of Infineon. These labels show a different memory organization. Two different modes of tags are supported: plain and secure mode. At the moment only plain mode tags are supported in full functionality. Only serial numbers are supported in secure mode.
Two different cards with 320 bytes or 1k bytes EEPROM memory are available. The EEPROM memory is divided into pages. Each tag is split into two parts: The administrative blocks (00h, 01h, 02h) and the user area. Administrative pages are read only and cannot be changed. User data is free for use. Additionally user data pages can be locked. This procedure is irreversible. The EEPROM of SRF55V10P is organized in 128 pages addressed 00h to 7Fh. The EEPROM of SRF55V02P consists of 32 pages addressed 00h to 1Fh.
Address
Page
0 1 2 3 4 5 6 7
7Fh User data
… …
3Fh User data
… … 03h User data 02h 01h 00h Serial number (UID)
Figure 3-6: SRF55VxxP memory organization
3.3.3.1 UID
The UID of SRF55Vxx labels starts with 60h or E0h.
3.3.3.2 Security Bit
Bit 45 of the UID defines the secure mode of the SRF55Vxx. If set the tag supports security algorithm and is not accessible with the reader device
SRF55V02P
SRF55V10P
Bit 45 Description
1 Tag supports crypto security mechanism 0 Chip supports plain mode only
Figure 3-7: Security bit
ACG Identification Technologies AT Page 8
13,56 MHz Multitag Reader Module, Version 0.9v
3.3.4 EM 4135
The EM4135 is an ISO15693 compliant label of EM Microelectronic-Marin SA. It has eight bytes per page as the same as the My-D label. It only supports 35 pages. The administrative area holds the information of the access condition and the UID.
Address
0 1 2 3 4 5 6 7
24h User data
… …
00h User data
Administrative area
Figure 3-8: Memory organization of EM 4135
Page
3.4 Icode®
Icode® labels stores data is stored in a non-volatile EEPROM. Its capacity is 512 bits organized in 16 blocks consisting 4 bytes each (1 block = 32 bits). First 3 blocks contain administrative data.
3.4.1 Memory organization
Page
address
Byte
0 1 2 3
0Fh User data
… … 05h User data 04h Family code identifier / User data 03h Special function (EAS) / User data 02h Write access condition 01h Serial number 00h Serial number
Figure 3-9: Icode® memory organization
3.4.2 Serial number
The serial number of a label is defined at the manufacturer process. It is stored on page 00h and page 01h. LSB is stored first.
ACG Identification Technologies AT Page 9
13,56 MHz Multitag Reader Module, Version 0.9v
r
r
3.4.3 Write access condition
Page 02h contains the write access condition for each page. Each page can be set to read only (bits are set to 0). This procedure is irreversible. Locking page 2 no further changed of the access condition can be done. Always two bits must be change at the same time. This register is implemented as OTP.
Byte 0 Byte 1 Byte 2 Byte 3
MSB LSB MSB LSB MSB LSB MSB LSB
1 1 1 1 0 0 0 0 1 1 1 1 11111111111111 1 1 1 1 11
3 2 1 0 7 6 5 4 B A 9 8 F E D C
data
Write
Serial
function
access
numbe
Special
User
Serial
numbe
Figure 3-10: Write access condition bytes
User
data
3.4.4 Special function (EAS), AFI
Special Functions (EAS) and Family Code/Application Identifier are additional features. For more information refer to the Icode® manual.
3.4.5 User data
All other blocks are free for use and can be changed according the state of the write access conditions.
3.5 TAGIT®
TAGIT® labels are organized in a wide range of different page size and number of pages. Automatically the reader detects the correct memory organization. Switching on the Extended ID mode (see chapter instruction set) the reader appends two bytes to the UID containing the page size and the number of pages of a label.
ACG Identification Technologies AT Page 10
13,56 MHz Multitag Reader Module, Version 0.9v
3.6 SR176
The SR176 label contains only 64 bytes of data organized in two bytes per page.
3.6.1 Memory organization
Page
address
0Fh Lock byte RFU Chip ID 0Eh User data
… … 04h User data 03h Serial number 02h Serial number 01h Serial number 00h Serial number
Figure 3-11: SR176 memory organization
Byte 1 Byte 0
3.6.2 Serial number UID
The UID is stored at the first 4 pages. Page 00h contains the LSB of the UID.
Page 03h Page 02h Page 01h Page 00h
Byte 1h Byte 0 Byte 1 Byte 0 Byte 1 Byte 0 Byte 1 Byte 0
Figure 3-12: SR176 Serial number
3.6.3 Lock byte
The lock byte defines the write access condition of a pair of pages. Each bit can only be set once. This procedure is irreversible. This byte is implemented as OTP.
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Page 08h
Page 0Eh
Page 0Fh
Page 0Ch
Page 0Dh
Page 0Ah
Page 0Bh
Figure 3-13: Lock byte
Page 09h
Page 06h
Page 07h
Page 04h
Page 05h
Page 02h
Page 03h
Page 00h
Page 01h
3.6.4 Chip ID
The Chip ID is defined in the low nibble of page 0Fh. It is manufacturer set and is used internally to select and separate single tags.
ACG Identification Technologies AT Page 11
13,56 MHz Multitag Reader Module, Version 0.9v
3.7 ISO 14443
The reader can only handle single tags according ISO 14443 type A or B. The reader only identifies single tags and returns its serial number.
All other command such as read, write, select are not supported. The Mifare® transponder family consists of various 13.56 MHZ transponders
according to ISO14443. For more details refer to ISO14443 part 1-4.
3.8 Mifare® Ultralight
Mifare® Ultralight tags have no crypto algorithm included. They are designed for a small data volume.
3.8.1 Memory organization
Page
address
0Fh User data
… 04h User data 03h OTP 02h Lock bytes reserved 01h Serial number 00h Serial number
Byte
3 2 1 0
Figure 3-14: Memory organization of Mifare® Ultralight
3.8.2 Serial number
The UID consists of 7 bytes. The first part of the UID is stored on page 00h the second on page 01h. The storage format on page 00h fulfills ISO14443 Type A. The UID is factory programmed and cannot be changed.
ACG Identification Technologies AT Page 12
13,56 MHz Multitag Reader Module, Version 0.9v
3.8.3 Lock bytes
On page 2 the lock bytes are stored. Each bit specifies a page or block. Once a bit is set it cannot be changed anymore. This process is irreversible. If a block lock bit is set all pages within this block are read only regardless the single lock states. This register is implemented as OTP
Byte 1 Byte 0
MSB LSB MSB LSB
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Page 9
Page 8
Page 7
Page 6
Page F
Page E
Page D
Page C
Page B
Page A
Page 5
Page 4
OTP
Block A-F
OTP
Block 4-9
Figure 3-15: Lock bytes of Mifare® Ultralight
3.8.4 OTP bytes
Page 3 is implemented as OTP register. All bits are factory programmed to 0. Once a bit is set it cannot be changed furthermore. It can be used as a 32 bit one-time counter.
3.8.5 User data
User data is free for use. It can be changed according the write access condition.
ACG Identification Technologies AT Page 13
13,56 MHz Multitag Reader Module, Version 0.9v
4 Hardware
4.1 Pin out of OEM Module
25,5
J1
J2
2,54 1,27
30,5
4.1.1 Pin out of J1
PIN PIN Nr Description
ARX 1 Antenna RX
ATX1 2 Antenna TX1
VDD 3 +5 V DC
GND 4 Ground
RFU 5 Reserved for future us e TGND 6 Antenna Ground
RFU 7 Reserved for future us e
RFU 8 Reserved for future us e
RFU 9 Reserved for future us e
RFU 10 Reserved for future use
Figure 4-1: Pin out of the reader device
Figure 4-2: Pin out of jumper 1
ACG Identification Technologies AT Page 14
4.1.2 Pin out of J2
PIN PIN Nr Description
VDD 20 +5 V DC GND 19 Ground
LEDg 18 LED green (reading LED)
LEDr 17 LED red
EN 16 Enable reader, open or logic high
RFU 15 Reserved for future use
USER 14 User Port
DIR 13 Direction of RS 485
TX 12 TX to PC
RX 11 RX from PC
13,56 MHz Multitag Reader Module, Version 0.9v
Figure 4-3: Pin out of jumper 2
4.1.3 Electrical characteristics of PINs
PIN PIN Nr Voltage Current
(max)
RX
TX
USER 14 TTL3 25 mA User sets logic state
EN 16 ST4 25 mA Low will disable th e
LEDr 17 GND 25 mA Logic Low, used for LED
LEDg 18 LED 25 mA
ARX
ATX1
TGND
RFU 5,7,8,9,
11 12
1 2 6
10,15
USART2 - To RS232, RS485 device
(depends
200 mAPP Antenna input
on antenna
tuning)
- - Not connected
Description
driver
reader device
With 330 (internal)
Antenna output Antenna output (GND)
GND 4,19 GND - Supply Ground
VDD 3,20 +5 V DC 150 mA Supply Voltage
DIR 13 TTL 25 mA RS485 direction
Figure 4-4: Electrical characteristics of pins
2
Universal Synchronous Asynchronous Receiver Transmitter
3
TTL buffer output / input
4
Schmitt trigger buffer output
ACG Identification Technologies AT Page 15
13,56 MHz Multitag Reader Module, Version 0.9v
5 Software
As a default data is transmitted at 9600,n,8,1. Two protocol modes are supported. The protocol mode is configured in the reader EEPROM. As factory default, the ASCII protocol is used.
5.1 ASCII Protocol
This protocol was designed for easy handling. The commands can be issued using a terminal program. Data is transmitted as ASCII hexadecimal that can be displayed on any terminal program (e.g. HyperTerminal).
Command Data
Various length Various length
Figure 5-1: ASCII protocol frame
5.2 Binary Protocol
This protocol was designed for industrial applications with synchronization and frame checking. Also an addressing byte for party lines (master slave, multi drop) is included. The protocol usually requires a device driver. Data is transmitted binary.
STX Station ID Length Data BCC ETX
1 byte 1 byte 1 byte Various length 1 byte 1 byte
Figure 5-2: Binary protocol frame
5.2.1 STX
Start of transmission (02h)
5.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.
5.2.3 Length
Length of the data block
5.2.4 Data
This part contains the command and data. The command values are the same as in ASCII protocol mode (‘x’, ‘s’, …). Data is transmitted binary. The length of the command block depends on the instruction.
5.2.5 Block Check Character (BCC)
The BCC is used to detect transmission errors. The BCC is calculated XORing each byte of the transmission frame excluding the STX/BCC and ETX character.
0 N
ACG Identification Technologies AT Page 16
DataCommandxorxorDataCommandxorLengthxorStatIDBCC =
)/(...)/()()(
Loading...
+ 37 hidden pages