Datasheet

MF1S5009 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet
PUBLIC
Rev. 3 — 27 July 2010
189131 11 of 32
NXP Semiconductors
MF1S5009
Mainstream contactless smart card IC
9.6.1 Manufacturer block
This is the first data block (block 0) of the first sector (sector 0). It contains the IC
manufacturer data. This block is programmed and write protected in the production test.
9.6.2 Data blocks
All sectors contain 3 blocks of 16 bytes for storing data (Sector 0 contains only two data
blocks and the read-only manufacturer block).
The data blocks can be configured by the access bits as
read/write blocks for e.g. contactless access control or
value blocks for e.g. electronic purse applications, where additional commands like
increment and decrement for direct control of the stored value are provided.
An authentication command has to be carried out before any memory operation in order to
allow further commands.
9.6.2.1 Value Blocks
The value blocks allow to perform electronic purse functions (valid commands: read, write,
increment, decrement, restore, transfer).The value blocks have a fixed data format which
permits error detection and correction and a backup management.
A value block can only be generated through a write operation in the value block format:
Value: Signifies a signed 4-byte value. The lowest significant byte of a value is stored
in the lowest address byte. Negative values are stored in standard 2´s complement
format. For reasons of data integrity and security, a value is stored three times, twice
non-inverted and once inverted.
Adr: Signifies a 1-byte address, which can be used to save the storage address of a
block, when implementing a powerful backup management. The address byte is
stored four times, twice inverted and non-inverted. During increment, decrement,
restore and transfer operations the address remains unchanged. It can only be
altered via a write command.
Fig 7. Manufacturer block
001aam20
1514131211109876543
UID Manufacturer Data
Block 0/Sector 0
21Byte 0
Fig 8. Value blocks
001aam20
5
151413121110987654321Byte Number 0
AdrAdrAdrAdrValue ValueValueDescription