HT2 Transponder Family: Communication Protocol Reader HITAG™2 Transponder
HT2 Transponder Family: Communication Protocol Reader HITAG™2 Transponder
Communication Protocol
Reader ⇔ HITAG™2 Transponder
Product Specification October 1997
Revision 2.1
Confidential
1998-02-09
Basic Features of the HITAG System Rev. 2.1
Table of Contents
2. Introduction ................................................................................................................... 5
3. Specifications................................................................................................................ 6
3.1. Transponders / Overview................................................................................................... 6
3.2. Electromagnetic Characteristics ......................................................................................... 6
3.2.1. Magnetic Flux Densities ........................................................................................ 6
3.2.2. Equivalent Circuit for Data and Energy Transfer.................................................... 7
3.3. Data Transmission Transponder → Read/Write Device...................................................... 8
3.3.1. Coding .................................................................................................................. 8
3.3.2. Modulation............................................................................................................ 9
3.4. Data Transmission Read/Write Device → Transponder.....................................................10
3.4.1. Coding .................................................................................................................10
3.4.2. Modulation...........................................................................................................11
3.5. Switching the transmission direction .................................................................................13
3.6. Data Integrity Using the HITAG 2....................................................................................13
Definitions
Objective specification This data sheet contains target or goal specifications for product development.
Preliminary specification This data sheet contains preliminary data; supplementary data may be
published later.
Product specification This data sheet contains final product specifications.
Limiting values
Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134).
Stress above one or more of the limiting values may cause permanent damage to the device.
These are stress ratings only and operation of the device at these or at any other conditions
above those given in the Characteristics section of the specification is not implied. Exposure to
limiting values for extended periods may affect device reliability.
Application information
Where application information is given, it is advisory and does not form part of the specification.
These products are not designed for use in life support appliances, devices, or systems where mal-
function of these products can reasonably be expected to result in personal injury.
Philips Semiconductors customers using or selling these products for use in such applications do so
on their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting
from such improper use or sale.
is the name of one of the universal and powerful product lines of our 125 kHz family. The
contactless read/write system that works with passive transponders is suitable for various applica-
tions. Inductive coupling helps you to achieve big reading ranges and the use of cryptography guar-
antees highest data security.
The HITAG product family is used both in the proximity area (operating range up to about 200 mm)
and in the long range area (operating range up to about 1000 mm).
HITAG 2 transponders are highly integrated and do not need any external components beside the
HITAG 2 TAG ASIC (HT2 ICS20 02x) and one coil. The memory of the transponder has a size of
256 bits.
2. Introduction
The HITAG 2 ASIC is a flexible and powerful member of our HITAGTM family. Data are transmitted
bidirectionally, in half duplex mode, between read/write device and transponder. To achieve a high
level of security, data may be transmitted enciphered.
Using the configuration page custom specific configuration of the transponder is possible, modes and
access possibilities are selected. The pages of the transponder memory can be protected against read
or write acces by setting corresponding memory flags.
The HITAG 2 TAG ASIC provides - besides password and crypto mode - the following three stan-
dard read only modes, that can be configured using the configuration byte:
3. Specifications
parameter
carrier frequency 125 kHz
coding read Manchester / Biphase
write Pulse Duration
modulation ASK (amplitude shift keying)
total memory size 256Bit
user memory read/write 128 Bit
read only serial number 32 bits
data retention 10 years
data security encryption, authentication, passwords
data integrity half-duplex handshake, reverse data transmission
The following drawing shows the model for the transmission channel realised as an inductive coupled
circuit. The primary side (L1) represents the read/write antenna and the secondary side (L2) the an-
tenna of the transponder.
Two different codes are used for the transmission of data to the read/write device:
The first bit of the transmitted data always starts with the Modulator ON (loaded) state.
3.3.2. Modulation
The following figure shows the voltage at the antenna coil of the transponder. It was measured by an
additional coil fixed at the transponder.
The minimum modulation ratio depends on the coupling factor of the configuration (read/write an-
tenna, tag antenna size).
Binary puls length modulation (BPLM) is used to encode the data stream.
All coded data bits and the stop condition start with a low field of length tlow.
Afterwards the field is switched on again:
• ‘0’ and ‘1’ can be distinguished by the duration of T[0] and T[1].
• The end of the data transmission is characterized by a stop condition.
The following figure shows the data transmission from the read/write device to the transponder.
The average Bit rate from the read/write device to transponder therefore is:
2
Bit rate = = 5.2 KBit / s
T[0] + T [1]
Note: The end of each data sequence from read/write device to transponder has to be a
stop condition.
Depending on transient and decay times caused by different read/write devices the timing for T[0],
T[1] and tlow has to be adapted.
The following two examples show the timing for two read/write devices from Philips Semiconduc-
tors.
Used timing values with HT RM440 HITAG Proximity Reader Modul are:
Used timing values with HT RM800 HITAG Long Range Reader Modul are:
Please Note: This application specific values have to be optimized for each application !
3.4.2. Modulation
The following figure shows the antenna voltage of the read/write device.
The minimum modulation depends on the quality factor of the antennas (transponder and read/write
device).
A recommended value for the quality factor of the read/write device antenna is approx. 40.
Uo
Um
When switching between receiving and sending, the read/write device has to consider time frames, in
which transmission of data is not allowed:
• tWAIT1: When receiving the last bit from the read/write device, the transponder waits
before answering.
• tWAIT2: After receiving the last bit from the transponder, the read/write device has to wait
before sending data. Data transmitted to the transponder within twait, will not
be recognized by the transponder.
Please note that the transponder memory works like a FIFO (First-In-First-Out) memory. Therefore
the order of the bits transferred is as described in the example below:
4.2. START_AUTH-Instruction
Note : The grey fields in the timing information are defined by digital processes and are
therefore fixed.
T0 Carrier period time (1/125kHz = 8µsec nominal).
The instruction START_AUTH cannot be repeated, because at the same time the crypto unit is ini-
tialized. A second START_AUTH resets the statemachine. Therefore the transponder only responds
to every second START_AUTH.
After the transponder has sent the serial number, the read/write device sends a 32 bit Pseudo Ran-
dom Number (PRN) and a 32 bit secret datastream to the transponder. If the secret datastream cor-
responds with the secret datastream on the transponder, Page 3 of the transponder (8 bit configura-
tion, 24 bit password transponder) is transmitted after the 5 bit header.
With the transponder password in the configuration page the mutual authentication takes place.
Access to the transponder is only possible after this mutual authentication and password checking
routine. Transmission of the password and the following communication takes place enciphered.
As the information about the configuration of the transponder (password or crypto) is transmitted
with the configuration page, the read/write device must know which type of transponder has to be
handled. In one application either crypto transponders or password transponders are to be handled.
The write instructions are interrupted by the transponder (TAG), when the EEPROM supply is too
low during write.
Timing:
After a following tWAIT2 the first read or write instruction can be sent by the read/write device. The
authentication time in crypto mode is about 4630 T0.
RWD 11000 →
TAG Å 11111 SN31 ...............SN0
↑ start 32 Bit serial number
first in sequence
The instruction START_AUTH cannot be repeated. A second START_AUTH resets the statema-
chine. Therefore the transponder only responds to every second START_AUTH.
After the transponder has sent the serial number, the read/write device sends a 32 bit password
(PSW). If the password corresponds with the password on the transponder, Page 3 of the transpon-
der (8 bit configuration, 24 bit password transponder) is transmitted after the 5 bit header.
With the transponder password in the configuration page the mutual authentication takes place.
Access to the transponder is only possible after this mutual authentication and password checking
routine.
As the information about the configuration of the transponder (password or crypto) is transmitted
with the configuration page, the read/write device must know which type of transponder has to be
handled. In one application either crypto transponders or password transponders are to be handled.
The read and write instructions are interrupted by the transponder, when the EEPROM supply is too
low during read or write.
As the transponder is selected by the password, each transponder must have a unique password, that
can have a connection with the serial number.
Timing:
After tWAIT2 the first read or write instruction can be sent by the read/write device. The authentica-
tion time in password mode is about 3860 T0.
*) If the waiting time tWAIT START_AUTH exceeds 232.5 T0 the transponder enters the read-only state.
Public Mode A
In this standard read-only mode the transponder (TAG) cyclically transmits page 4 and page 5 in
plain mode to the read/write device without a start sequence as long as the TAG is in the field of the
read/write device. The data are transmitted in Manchester Code with a baudrate of 2 KBit/s.
With the help of this mode µEM transponders of the H400x family are emulated.
Note : As the read/write device has to be synchronized to the data, the first 9 bits of page 4 are “1“
(header of the transponder in Public Mode A).
Timing:
If the read/write device sends the instruction START_AUTH within the 232.5 T0 after the power up
the transponder behaves like a normal HITAG 2. Depending on bit 3 of the configuration byte, the
communication is plain or encrypted.
Public Mode B:
Public Mode B accords to the ISO standards 11784 and 11785 for animal identification.
In this mode the transponder cyclically transmits page 4 to page 7 in plain mode to the read/write
device without a start sequence as long as the transponder is in the field of the read/write device. The
data are transmitted in Biphase Code with a baudrate of 4 KBit/s.
If the read/write device sends the instruction START_AUTH within the 232.5 T0 after the power up
the transponder behaves like a normal HITAG 2. Depending on bit 3 of the configuration byte, the
communication is plain or encrypted.
Timing:
Thi = 64 T0
Tlow1 = 128 T0
Tlow2 = 192 T0
If the read/write device sends the instruction START_AUTH within the 232.5 T0 after the power up
the transponder behaves like a normal HITAG 2. Depending on bit 3 of the configuration byte, the
communication is plain or encrypted.
Note : Only the READ MODE of the PCF793X is emulated (with a different PMC).
Timing:
TAG PAGE4 - 7 PMC PAGE4 - 7 ........
Before starting a read or write operation the transponder has to be selected by the START_AUTH
command.
Times for communication instructions depend on the protection of data in the protocol from
read/write device to transponder.
The instruction READ PAGE (2 bits) and the page address (3 bits) are transmitted to the transpon-
der in normal mode and in inverted mode to secure the data channel from read/write device to
transponder. To achieve a higher security level, this protocol can be repeated several times. The logic
on the transponder checks if there is a failure in the sequence. The READ PAGE instruction there-
fore is 10, 15, 20, ..... bits long. If there is a failure in the transmission of the sequence the transpon-
der is reset and the communication has to be started again with START_AUTH. If the transponder
receives no more data and there was no failure in the transmission of the sequence, the transponder
answers with the 5 bit header and the 32 bit data of the addressed page.
Timing:
RWD Command
TAG Data
The instruction READ PAGE INVERTED (2 bits) and the page address (3 bits) are transmitted to
the transponder in normal mode and in inverted mode to secure the data channel from read/write
device to transponder. To achieve a higher security level, this protocol can be repeated several times.
The logic on the transponder checks if there is a failure in the sequence. The READ PAGE
INVERTED instruction therefore is 10, 15, 20, ..... bits long. If there is a failure in the transmission
of the sequence the transponder is reset and the communication has to be started again with
START_AUTH. If the transponder receives no more data and there was no failure in the transmis-
sion of the sequence, the transponder answers with the 5 bit header and the 32 bit data of the ad-
dressed page. The data are transmitted inverted to the read/write device.
By alternating transmission of the instructions READ PAGE and READ PAGE INVERTED the
data from the transponder to the read/write device can be secured at a level that can be choosen by
the user. Additionally check data can be stored in the EEPROM with the data.
Timing:
RWD Command
TAG Data
The instruction WRITE (2 bits) and the page address (3 bits) are transmitted to the transponder in
normal mode and in inverted mode to secure the data channel from read/write device to transponder.
To achieve a higher security level, this protocol can be repeated several times. The logic on the
transponder checks if there is a failure in the sequence. The WRITE instruction therefore is 10, 15,
20, ..... bits long. If there is a failure in the transmission of the sequence the transponder is reset and
the communication has to be started again with START_AUTH. If the transponder receives no more
data and there was no failure in the transmission of the sequence, the transponder answers with the 5
bit header and an acknowledgement. This acknowledgement consists of the WRITE instruction and
the page address in normal and inverted mode.
With this procedure the read/write device knows, that the data are written to the correct address.
After the address sent from transponder to read/write device has been checked, the read/write device
transmits 32 bit data to the transponder. There is no acknowledgement from the transponder con-
cerning the success of data programming. This can only be tested by read-after-write.
The READ command for a read-after-write has to be executed immediately following the WRITE
command. If the EEPROM supply was too low during programming (insufficiently programmed cell,
data retention not ensured) the read command is not executed by the transponder (control function!).
In this case the transponder is reset and the user has to start again with a START_AUTH command.
Timing:
RWD Command Data
TAG Acknow.
4.3.4. Halt
With the HALT instruction a selected transponder can be set to the HALT mode. In this mode the
transponder is muted and does not respond to a START_AUTH from the read/write device. If the
transponder is set to HALT mode after the communication, other transponders within the field of the
antenna can be handled.
If the transponder is in HALT mode, only a Power-on-reset (POR) enables the transponder to com-
municate with the read/write device again. This means that the transponder has to leave the field of
the antenna or the field has to be switched off (Reset).
The instruction HALT (2 bits) and the page address (3 bits) are transmitted to the transponder in
normal mode and in inverted mode to secure the data channel from read/write device to transponder.
To achieve a higher security level, this protocol can be repeated several times. The logic on the
transponder checks if there is a failure in the sequence. The HALT instruction therefore is 10, 15, 20,
..... bits long. If there is a failure in the transmission of the sequence the transponder is reset and the
communication has to be started again with START_AUTH. If the transponder receives no more
data and there was no failure in the transmission of the sequence, the transponder answers with the 5
bit header and an acknowledgement. This acknowledgement consists of the HALT instruction and
the page address in normal and inverted mode. The address that is transmitted with the HALT in-
struction can be any of the possible addresses.
Timing:
RWD Command
TAG Acknow.
5. Memory Map
The memory of the transponder consists of 256 bits EEPROM memory and is organized in 8 pages
with 32 bits each.
Depending on the operation mode the EEPROM is organized as described in the following.
Page Content
0 Serial Number
1 32 bit "KEY LOW"
2 16 bit " KEY HIGH", 16 bit reserved
3 8 bit Configuration, 24 Bit Password TAG
4 read/write page
5 read/write page
6 read/write page
7 read/write page
Page Content
0 Serial Number
1 Password RWD
2 reserved
3 8 bit Configuration, 24 bit Password TAG
4 read/write page
5 read/write page
6 read/write page
7 read/write page
It is important that the following values are in accordance with each other, i.e. the respective data on
the read/write device and on the transponder have to be identical pairs.
on the on the
read/write de- transponder
vice
Password RWD ⇔ Password RWD
as an option (depending on the configuration of the read/write device):
Password TAG ⇔ Password TAG
on the on the
read/write de- transponder
vice
KEY LOW ⇔ KEY LOW
KEY HIGH ⇔ KEY HIGH
as an option (depending on the configuration of the read/write device):
Password TAG ⇔ Password TAG
The passwords and keys are predefined by Philips Semiconductors by means of defined Transport
Passwords and a Transport Key. They can be written to, which means that they can be changed (see
also Chapter “Configuration of Delivered HITAG 2 Transponders“).
ATTENTION: Passwords and Keys only can be changed if their current values are known!
With the Configuration Byte the operation mode and the access rights to the memory can be se-
lected. During Power-Up of the transponder the Configuration Byte is read from the transponder’s
EEPROM.
If you change the configuration, keys or passwords, you have to place the transponder
directly on the antenna or hold it directly to it (0-distance)! In order to avoid any errors do
not move the transponder during this write process and be sure that you are in a safe envi-
ronment without electrical noise.
Crypto Mode:
Mode for writing or reading the transponder with encrypted data transmission.
Password Mode:
Mode for writing or reading the transponder with plain data transmission after password check.
After entering the RF-field the transponder waits for a command to start the authentication.
After issuing this command the mutual authentication takes place, followed by read- and write com-
mands.
In password mode the data transfer occurs plain, in crypto mode data are encrypted.
If the transponder is configured in one of the public modes, these modes are entered automatically
after a certain waiting time and data pages are sent cyclically to the read/write device.
By issuing the command to start the authentication during the waiting time also public mode
transponders can be brought into the authorized state.
The Configuration Byte is represented by the first 8 bits of Page 3 of the transponder memory.
7 6 5 4 3 2 1 0
0: Manchester Code
1: Biphase Code
Bit 2 Bit 1 Version Coding Coding in
HITAG 2-Operation
0 0Public Mode biphase depending on bit 0
B
0 1 Public Mode manchester depending on bit 0
A
1 0 Public Mode C biphase depending on bit 0
1 1 HITAG 2 depending on bit 0 depending on bit 0
0: password mode
1: crypto mode
0: PAGE 6 and 7 read/write
1: PAGE 6 and 7 read only
0: PAGE 4 and 5 read/write
1: PAGE 4 and 5 read only
THE SETTING OF THIS BIT IS OTP !
0: PAGE 3 read/write
1: PAGE 3 read only; Configuration Byte and Password TAG fixed
THE SETTING OF THIS BIT IS OTP !
0: PAGE 1 and 2 read/write
1: PAGE 1 no read/no write
PAGE 2 read only (when transponder is in password mode)
PAGE 2 no read/no write (when transponder is in crypto mode)
Configuration Byte:
0x06: Password Mode (Manchester Code) - can be changed
Page 6 and 7 read/write - can be changed
Page 4 and 5 read/write - can be changed
Page 3 read/write - can be changed
Page 1 and 2 read/write - can be changed
RECOMMENDATION:
Before delivering transponders to end users, Pages 1 to 3 should be locked (set Configuration Byte /
Bit 6 to ‘1’ for Page 3 and set Configuration Byte / Bit 7 to ‘1’ for Pages 1 and 2).
Philips Semiconductors, Mikron-Weg 1, A-8101 Gratkorn, Austria Fax: +43 / 3124 / 299 - 270
For all other countries apply to: Philips Semiconductors, Marketing & Sales Communications, Internet: http://www.semiconductors.philips.com
Building BE-p, P.O.Box 218, 5600 MD EINDHOVEN, The Netherlands, Fax: +3140 27 24825
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner.
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed
without any notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license