ST AN4054 APPLICATION NOTE

AN4054
Application note
Comparison of RF addressing modes of
low-density and high-density ISO/IEC 15693 devices
Introduction
This application note highlights the key differences of RF addressing modes between the products of the ISO/IEC 15693 STMicroelectronics family, which is composed of the dual interface EEPROM products (M24LRx) and the long range contactless products (LRix).
The memory size is a key point and has an impact on some specific parameters of the RF (Radio frequency) commands.
Dual interface memory M24LRx overview
M24LRx devices are a dual-interface EEPROM. They feature an I2C interface. They are also a contactless memory powered by the received carrier electromagnetic wave. Thus, its internal memory can be addressed by either an I
The M24LRx products are compliant to the ISO/IEC 15693 recommendation for radio­frequency power and signal interface.
2
C bus or the RF interface.
Long range contactless tag LRxK overview
LRxK devices are contactless memory powered by the received carrier electromagnetic wave with an EEPROM. They are compliant with the ISO/IEC 15693 specification.
March 2012 Doc ID 022825 Rev 1 1/10
www.st.com
Contents AN4054
Contents
1 Comparison between low-density and high-density devices . . . . . . . . 4
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 IC reference of ISO/IEC 15693 products . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Memory mapping of ISO/IEC 15693 products . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Request_flags management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4.1 Request_flags description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4.2 Protocol Extension bit of Request_flags management . . . . . . . . . . . . . . 7
Appendix A Acronym and notational conventions . . . . . . . . . . . . . . . . . . . . . . . . 8
A.1 List of acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
A.2 Notational conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
A.2.1 Binary number representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
A.2.2 Hexadecimal number representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
A.2.3 Decimal number representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2/10 Doc ID 022825 Rev 1
AN4054 List of tables
List of tables
Table 1. Low-density and high-density devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Table 2. IC references of the ISO/IEC 15693 family products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Table 3. Memory mapping of LRix and M24LRx devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 4. Addressing mode of LRix and M24LRx devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 5. Write single block request format for low-density products. . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 6. Write single block request format for high-density products . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 7. RF command for low-density products using 1 byte and high-density products using
2 bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table 8. RF command frame for low-density products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table 9. RF command with block number parameter frame for high-density products . . . . . . . . . . . 6
Table 10. Request_flags functions according to the product types . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 11. List of acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Table 12. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Doc ID 022825 Rev 1 3/10

Comparison between low-density and high-density devices AN4054

1 Comparison between low-density and high-density
devices
This chapter highlights the differences of RF addressing modes between the ISO/IEC 15693
family products.

1.1 Overview

The STMicroelectronics ISO/IEC 15693 family can be split as shown in Ta bl e 1 . The
M24LRx products can be accessed either by the I
products can be addressed only by the RF interface.
The M24LR64-R, M24LR64E-R, M24LR16E-R and LRiS64k devices have an extended
memory and some RF commands shall be updated. Details are given in Chapter 1.3:
Memory mapping of ISO/IEC 15693 products.
Table 1. Low-density and high-density devices
Access type Low-density High-density
RF and I2C access M24LR04E-R
RF access
LRiS2K
LRi1K
2
C or the RF interface, and the LRix

1.2 IC reference of ISO/IEC 15693 products

The IC reference (IC ref) is a byte that identifies an STMicroelectronics product. Each
product of the ISO/IEC 15693 family has its own and can be retrieved by issuing the
GetSystemInfo RF command.
M24LR64-R
M24LR64E-R
M24LR16E-R
LRiS64KLRi2K
Ta bl e 2 lists the different IC references of the ISO/IEC 15693 family products.
Table 2. IC references of the ISO/IEC 15693 family products
LRi1K LRi2K LRiS2K LRiS64K M24LR04E-R M24LR16E-R M24LR64E-R M24LR64-R
IC ref 0b010000xx 0b001000xx 0b001010xx 0x44 0x5A 0x4E 0x5E 0x2C
4/10 Doc ID 022825 Rev 1
AN4054 Comparison between low-density and high-density devices

1.3 Memory mapping of ISO/IEC 15693 products

Ta bl e 3 lists the key parameters of the memory mapping of LRix and M24LRx devices.
Table 3. Memory mapping of LRix and M24LRx devices
Device LRi1K LRi2K LRiS2K LRiS64K M24LR04E-R M24LR16E-R M24LR64x-R
Memory size 1 Kbit 2 Kbits 2 Kbits 64 Kbits 4 Kbits 16 Kbits 64 Kbits
Block size 32 bits 32 bits 32 bits 32 bits 32 bits 32 bits 32 bits
Number of blocks 0x1F 0x3F 0x3F 0x7FF 0x3F 0x1FF 0x7FF
The ISO/IEC 15693 specification defines the read or write command with a block number
coded on 1 byte.
The high-density products of the ISO/IEC 15693 family require a block number coding on 2
bytes. It is the extended addressing mode.
Ta bl e 4 lists the ISO/IEC 15693 products and their addressing mode.
Table 4. Addressing mode of LRix and M24LRx devices
Device LRi1K LRi2K LRiS2K LRiS64K M24LR04E-R M24LR16E-R M24LR64x-R
Addressing mode standard standard standard extended standard extended extended
As an example, the next two tables define the write single block command for low- and high-
density devices, and show the difference between the two density families.
Ta bl e 5 describes the format of the write single block RF command for low-density products.
The block number parameter is coded on 8 bits or 1 byte.
Table 5. Write single block request format for low-density products
SOF
1. Gray color means that the field is optional.
Request_
flags
8 bits 0x21
Write single
block
(1)
UID
64 bits 8 bits 32 bits 16 bits
Block
number
Data CRC16 EOF
Ta bl e 6 is the write single block RF command for high-density products. The block number
parameter is coded on 16 bits or 2 bytes.
Table 6. Write single block request format for high-density products
SOF
Request_
flags
Write single
block
UID
(1)
Block
number
Data CRC16 EOF
8 bits 0x21
1. Gray color means that the field is optional.
64 bits 16 bits 32 bits 16 bits
Doc ID 022825 Rev 1 5/10
Comparison between low-density and high-density devices AN4054
Ta bl e 7 lists all RF commands for:
low-density products which require using 1 byte to define the block number parameter,
high-density products which require using 2 bytes to define the block number
parameter.
Table 7. RF command for low-density products using 1 byte and high-density
products using 2 bytes
Number of bytes to code the block number of
the following RF command
Read single block 1 byte 2 bytes
Write single block 1 byte 2 bytes
Read multiple blocks 1 byte 2 bytes
Get multiple security blocks status 1 byte 2 bytes
Fast read single block 1 byte 2 bytes
Fast read multiple blocks 1 byte 2 bytes

1.4 Request_flags management

1.4.1 Request_flags description

Request_flags is the first byte of all RF commands and contains some information on the
formats of the RF commands. The forth bit of this Request_flags is the protocol extension bit
and it is used to define the number of bytes of the block number parameter.
For more information about the Request_flags, please refer to ISO/IEC 15693
STMicroelectronics product datasheet.
Ta bl e 8 shows an RF command frame for low-density products. The protocol extension flag
is set to 0 for all RF commands. The block number is coded on 1 byte.
Low-density
products
High-density products
Table 8. RF command frame for low-density products
Block name Request_flags Command code Data Block number Data
0 1 byte 1 byte
Ta bl e 9 shows an RF read/write frame for high-density products. The protocol extension flag
is set to 1 for read and write commands. In this case, the block number is coded on 2 bytes.
Table 9. RF command with block number parameter frame for high-density products
Block name Request flags Command code Data Block number Data
1 1 byte 2 bytes
6/10 Doc ID 022825 Rev 1
AN4054 Comparison between low-density and high-density devices

1.4.2 Protocol Extension bit of Request_flags management

Ta bl e 1 0 describes the protocol extension bit of the Request_flags byte according to the
product type.
Table 10. Request_flags functions according to the product types
High-density product
Function Low-density product
LRiS64K, M24LR64x-R M24LR16E-R
Read single block 0 1 1
Write single block 0 1 1
Read multiple blocks 0 1 1
Get system Info 0 1 -
Get multiple blocks security status 0 1 1
Lock sector
Fast read single block 0 0 0
Fast read multiple blocks 0 0 0
Other commands 0 0 0
(1)
011
1. This command is not available for LRi1k, LRi2k and LRiS2k products.
Note: ‘0’ means that the flag is reset.
‘1’ means that the flag is set.
‘-’ means that it shall be managed by the application.
Doc ID 022825 Rev 1 7/10
Acronym and notational conventions AN4054

Appendix A Acronym and notational conventions

A.1 List of acronyms

Table 11. List of acronyms
Acronym Definition
EEPROM
EOF
I2C
IC IC ref ISO IEC LRi M24LR64-R
M24LR16-E
RF RFID
SOF
UID
Electrically-Erasable Programmable Read-Only Memory End of frame Inter-integrated circuit Integrated circuit Integrated circuit reference International Organization for Standardization International Electrotechnical Commission Long range interface Dual interface EEPROM (I Dual interface EEPROM (I
and energy harvesting feature Radio frequency Radio frequency identification Start of frame Unique identifier

A.2 Notational conventions

2
C and RF) with 64 Kbits memory size
2
C and RF) with 16 Kbits memory size
The following conventions and notations apply in this document unless otherwise stated.

A.2.1 Binary number representation

Binary numbers are represented by strings of digits 0 and 1, with the most significant bit
(MSB) on the left, the least significant bit (LSB) on the right, and a "0b" prefix added at the
beginning.
Example: 0b11110101

A.2.2 Hexadecimal number representation

Hexadecimal numbers are represented by numbers 0 to 9, characters A - F, and a "0x" prefix
added at the beginning. The most significant byte (MSB) is shown on the left and the least
significant byte (LSB) on the right.
Example: 0xF5
8/10 Doc ID 022825 Rev 1
AN4054 Revision history

A.2.3 Decimal number representation

Decimal numbers are represented as is, without any trailing character.
Example: 245

Revision history

Table 12. Document revision history
Date Revision Changes
02-Mar-2012 1 Initial release.
Doc ID 022825 Rev 1 9/10
AN4054
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2012 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
10/10 Doc ID 022825 Rev 1
Loading...