P5DF072EV2/T0PD409 NXP Semiconductors, P5DF072EV2/T0PD409 Datasheet - Page 12

no-image

P5DF072EV2/T0PD409

Manufacturer Part Number
P5DF072EV2/T0PD409
Description
IC SAM MIFARE SAM AV1 8PLLCC
Manufacturer
NXP Semiconductors

Specifications of P5DF072EV2/T0PD409

Rf Type
Read / Write
Frequency
1MHz ~ 10MHz
Package / Case
Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
935285621118
NXP Semiconductors
P5DF072EV2/T0PD4090_SDS_31
Product short data sheet
PUBLIC
7.5.9 MIFARE commands
MF_Authenticate
Performs an authentication with a MIFARE card. The MIFARE key has to be stored in the
SAM and is referenced by a parameter in the command data field. The key can be
diversified if necessary.
MF_Read
Read one or several blocks of a MIFARE card and return the data. If more than one block
is read, the SAM accesses the blocks in the same order as addresses listed in the
command data field. The order of the returned data is the same as the order of addresses
in the data field.
MF_Write
Write one or several blocks of a MIFARE card. If more than one block is written, the SAM
accesses the blocks in the same order as addresses listed in the command data field. The
command supports writing 16 bytes encrypted for MIFARE 1K and 4K cards as well as
writing 16 bytes or 4 bytes plain for MIFARE Ultralight cards. The length can be selected
by bit 0 of parameter byte P2. If 16 bytes block write is selected, the SAM decides whether
encryption shall be used by checking the authentication state. If a MIFARE authentication
has been completed, the data is encrypted. Encrypted writing of 4 byte blocks is not
supported.
MF_ValueWrite
Write one or several value blocks of a MIFARE card. If more than one block is written, the
SAM accesses the blocks in the same order as addresses listed in the command data
field. Since a MIFARE card uses 12 bytes for storing a four-byte value, the address to
write in the last four bytes has to be specified by the user (’address’ parameter).
MF_Increment
Increment one or several value blocks on a MIFARE card. Every increment is confirmed
automatically by sending the transfer command directly afterwards. The user has to define
the source address of the value block to be incremented and the destination address of
the value block to store the result. If more than one block is incremented, the SAM
accesses the blocks in the same order as addresses listed in the command data field.
If incrementing of a block fails, the SAM returns the 4-bit status code of the MIFARE card
in the lower nibble and the hexadecimal value ‘F’ in the higher nibble of the status byte
SW2. No information about the block write error is provided. Be aware that some blocks
may have been updated already.
MF_Decrement
Decrement one or several value blocks on a MIFARE card. Every decrement is confirmed
automatically by sending the Transfer command directly afterwards. The user has to
define the source address of the value block to be decremented and the destination
address of the value block to store the result. If more than one block is decremented, the
SAM accesses the blocks in the same order as addresses listed in the command data
field.
All information provided in this document is subject to legal disclaimers.
Rev. 3.1 — 14 June 2010
189731
P5DF072EV2/T0PD4090
MIFARE SAM AV1
© NXP B.V. 2010. All rights reserved.
12 of 22

Related parts for P5DF072EV2/T0PD409