NXP Semiconductors
MF1S50YYX_V1
MIFARE Classic EV1 1K - Mainstream contactless smart card IC for fast and easy solution development
MF1S50yyX_V1 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Product data sheet Rev. 3.2 — 23 May 2018
COMPANY PUBLIC 279232 22 / 36
12.3 MIFARE Write
The MIFARE Write requires a block address, and writes 16 bytes of data into the
addressed MIFARE Classic EV1 with 1K memory block. It needs two pairs of command-
response. These two parts, MIFARE Write part 1 and part 2 are shown in Figure 18 and
Figure 19 and Table 24.
Table 25 shows the required timing.
001aan015
CRCAddrPCD Cmd
PICC ,,ACK''
368 µs
PICC ,,NAK''
NAK
Time out
T
TimeOut
T
NAK
T
ACK
59 µs
ACK
59 µs
Figure 18. MIFARE Write part 1
001aan016
CRCPCD Data
PICC ,,ACK''
1558 µs
PICC ,,NAK''
NAK
Time out
T
TimeOut
T
NAK
T
ACK
59 µs
ACK
59 µs
Figure 19. MIFARE Write part 2
Table 24. 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
NXP Semiconductors
MF1S50YYX_V1
MIFARE Classic EV1 1K - Mainstream contactless smart card IC for fast and easy solution development
MF1S50yyX_V1 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Product data sheet Rev. 3.2 — 23 May 2018
COMPANY PUBLIC 279232 23 / 36
Table 25. MIFARE Write timing
T
ACK
min T
ACK
max T
NAK min
T
NAK max
T
TimeOut
Write part 1 n=9 T
TimeOut
n=9 T
TimeOut
5 ms
Write part 2 n=9 T
TimeOut
n=9 T
TimeOut
10 ms
Remark: The minimum required time between MIFARE Write part 1 and part 2 is the
minimum required FDT according to Ref. 4. There is no maximum time specified.
12.4 MIFARE Increment, Decrement and Restore
The MIFARE Increment requires a source block address and an operand. It adds the
operand to the value of the addressed block, and stores the result in the Transfer Buffer.
The MIFARE Decrement requires a source block address and an operand. It subtracts
the operand from the value of the addressed block, and stores the result in the Transfer
Buffer.
The MIFARE Restore requires a source block address. It copies the value of the
addressed block into the Transfer Buffer. The 4 byte Operand in the second part of the
command is not used and may contain arbitrary values.
All three commands are responding with a NAK to the first command part if the
addressed block is not formatted to be a valid value block, see Section 8.6.2.1.
The two parts of each command are shown in Figure 20 and Figure 21 and Table 26.
Table 27 shows the required timing.
001aan015
CRCAddrPCD Cmd
PICC ,,ACK''
368 µs
PICC ,,NAK''
NAK
Time out
T
TimeOut
T
NAK
T
ACK
59 µs
ACK
59 µs
Figure 20. MIFARE Increment, Decrement, Restore part 1
NXP Semiconductors
MF1S50YYX_V1
MIFARE Classic EV1 1K - Mainstream contactless smart card IC for fast and easy solution development
MF1S50yyX_V1 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
Product data sheet Rev. 3.2 — 23 May 2018
COMPANY PUBLIC 279232 24 / 36
001aan009
CRCPCD Data
PICC ,,ACK''
538 µs
PICC ,,NAK''
NAK
Time out
T
TimeOut
T
NAK
59 µs
1. Increment, Decrement and Restore part 2 does not acknowledge
Figure 21. MIFARE Increment, Decrement, Restore part 2
Table 26. MIFARE Increment, Decrement and Restore command
Name Code Description Length
Cmd C1h Increment 1 byte
Cmd C0h Decrement 1 byte
Cmd C2h Restore 1 byte
Addr - MIFARE source block address (00h to FFh) 1 byte
CRC - CRC according to Ref. 4 2 bytes
Data - Operand (4 byte signed integer) 4 bytes
NAK see Table 10 see Section 9.3 4-bit
Table 27. MIFARE Increment, Decrement and Restore timing
T
ACK
min T
ACK
max T
NAK min
T
NAK max
T
TimeOut
Increment,
Decrement, and
Restore part 1
n=9 T
TimeOut
n=9 T
TimeOut
5 ms
Increment,
Decrement, and
Restore part 2
n=9 T
TimeOut
n=9 T
TimeOut
5 ms
Remark: The minimum required time between MIFARE Increment, Decrement, and
Restore part 1 and part 2 is the minimum required FDT according to Ref. 4. There is no
maximum time specified.
Remark: The MIFARE Increment, Decrement, and Restore commands require a
MIFARE Transfer to store the value into a destination block.
Remark: The MIFARE Increment, Decrement, and Restore command part 2 does not
provide an acknowledgement, so the regular time out has to be used instead.

MF1S5031XDUD2/V1A

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
RFID Transponders MIFARE Classic EV1 1K - Mainstream contactless smart card IC for fast and easy solution development
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union