Mifare UltraLight data template


Use the Mifare UltraLight Template to read data from a PICC within the NXP Mifare UltraLight family (including Mifare UltraLight C and NTAG203). Any PICC compliant with the NFC Forum Type 2 Tag specification could also be read using this template (but the reader is unable to decode the NFC Forum NDEF data).

The reader may either:

  • Read arbitrary data; the data will be transmitted in hexadecimal format. To do so, select the RAW mode in TOF register.
  • Read a number (decimal output). To do so, select the decimal mode in TOF register.
  • Read a string (ASCII-encoded data). To do so, select either the Short String or the Long String mode in TOF register.

The target data is pointed to by an absolute page number (yet the data may occupy more than one page). The page number is specified in the LOC register.


Lookup list (LKL register)

Register 03t0 (1 byte) selects the template.

Value Meaning Notes
62 Accept Mifare UltraLight PICCs (and compliant)

Size and format of output (TOF register)

Register 03t1 (2 Bytes) defines the output format.

Please refer to Output format register

Prefix (PFX register)

Register 03t2 defines the output prefix.

Please refer to Output prefix register

Location of data (LOC register)

Register 03t3 (1, 2 or 3 Bytes) specify adress of the 1st page and add offstet within data (optional).

Bytes Content Notes / Valid range
0 (mandatory) Address of 1st page Depends on the PICC's actual memory size
1 (optional) Offset within the 1st page 00 to 03
2 (optional) Shift bits to the left 00 to 07

Miscellaneous options (OPT register)

If register 03t4 is set, the reader adds a token to its output to tell the receiver what kind of object has been read.

Bytes Bits Meaning
0 7-4 RFU
3-2 Position of the “card type” token in the output
00: Before the PFX constant
01: After the PFX constant, but before the actual data
10: After the actual data
11: RFU
0-1 Add a “card type” token to the output
00: Do not add the “card type” token
01: Add a 62 as “card type” token
10: Add a U as “card type” token
11: Add 00