Datasheet

MF1S50YYX All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet
COMPANY PUBLIC
Rev. 3.0 — 2 May 2011
196330 23 of 39
NXP Semiconductors
MF1S50yyX
MIFARE Classic 1K - Mainstream contactless smart card IC
11.3 MIFARE Write
The MIFARE Write requires a block address, and writes 16 bytes of data into the
addressed MIFARE Classic 1K block. It needs two pairs of command-response. These
two parts, MIFARE Write part 1 and part 2 are shown in Figure 16
and Figure 17 and
Table 21
.
Table 22
shows the required timing.
Fig 16. MIFARE Write part 1
Fig 17. MIFARE Write part 2
Table 21. MIFARE Write command
Name Code Description Length
Cmd A0h Write one block 1 byte
Addr - MIFARE Block or Page address (00h
to FFh)
1 byte
CRC - CRC according to Ref. 4
2 bytes
Data - Data 16 bytes
NAK see Table 10
see Section 9.3 4-bit
001aan01
5
CRCAddrPCD Cmd
PICC ,,ACK''
368 μs
PICC ,,NAK''
NAK
Time out
T
TimeOut
T
NAK
T
ACK
59 μs
ACK
59 μs
001aan01
6
CRCPCD Data
PICC ,,ACK''
1558 μs
PICC ,,NAK''
NAK
Time out
T
TimeOut
T
NAK
T
ACK
59 μs
ACK
59 μs