mf1s5001xdud NXP Semiconductors, mf1s5001xdud Datasheet - Page 10

no-image

mf1s5001xdud

Manufacturer Part Number
mf1s5001xdud
Description
Mifare Classic 1k - Mainstream Contactless Smart Card Ic For Fast And Easy Solution Development
Manufacturer
NXP Semiconductors
Datasheet
NXP Semiconductors
MF1S50YYX
Product data sheet
COMPANY PUBLIC
8.6.3 Sector trailer
An example of a valid value block format for the decimal value 1234567d and the block
address 17d is shown in
hexadecimal representation of 0012D687h. The LSByte of the hexadecimal value is
stored in Byte 0, the MSByte in Byte 3. The bit inverted hexadecimal representation of the
value is FFED2978h where the LSByte is stored in Byte 4 and the MSByte in Byte 7.
The hexadecimal value of the address in the example is 11h, the bit inverted hexadecimal
value is EEh.
Table 4.
The sector trailer is the last block (block 3) in one sector. Each sector has a sector trailer
containing the
If key B is not needed, the last 6 bytes of the sector trailer can be used as data bytes. The
access bits for the sector trailer have to be configured accordingly, see
Byte 9 of the sector trailer is available for user data. For this byte the same access rights
as for byte 6, 7 and 8 apply.
When the sector trailer is read, the key bytes are blanked out by returning logical zeros. If
key B is configured to be readable, the data stored in bytes 10 to 15 is returned, see
Section
All keys are set to FFFF FFFF FFFFh at chip delivery.
Byte Number
Description
Values [hex]
Fig 8.
Fig 9.
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.
secret keys A (mandatory) and B (optional), which return logical “0”s when read and
the access conditions for the blocks of that sector, which are stored in bytes 6...9. The
access bits also specify the type (data or value) of the data blocks.
8.7.2.
Value blocks
Sector trailer
Byte Number
Byte Number
Value block format example
Description
Description
All information provided in this document is subject to legal disclaimers.
84 D6 12
0
0
0
1
value
Rev. 3.0 — 2 May 2011
Table
MIFARE Classic 1K - Mainstream contactless smart card IC
1
1
value
2
2
2
Key A
196330
4. First, the decimal value has to be converted to the
00
3
3
3
78
4
4
4
29 ED FF
5
5
5
value
value
6
6
6
Access Bits
7
7
7
8
8
84 D6 12
8
9
9
value
10
10
9
value
11
11
Key B (optional)
10
MF1S50yyX
adr
12
12
00
11
adr
13
13
© NXP B.V. 2011. All rights reserved.
Section
adr adr adr adr
12
11 EE 11 EE
001aan018
001aan013
adr
14
14
adr
15
15
13
8.7.2.
14
10 of 39
15

Related parts for mf1s5001xdud