NTAG213/215/216 NFC Forum Type 2 Tag compliant IC with 144/504/888 bytes user memory Rev. 3.2 — 2 June 2015 265332 Product data sheet COMPANY PUBLIC 1. General description NTAG213, NTAG215 and NTAG216 have been developed by NXP Semiconductors as standard NFC tag ICs to be used in mass market applications such as retail, gaming and consumer electronics, in combination with NFC devices or NFC compliant Proximity Coupling Devices. NTAG213, NTAG215 and NTAG216 (from now on, generally called NTAG21x) are designed to fully comply to NFC Forum Type 2 Tag (Ref. 2) and ISO/IEC14443 Type A (Ref. 1) specifications. Target applications include Out-of-Home and print media smart advertisement, SoLoMo applications, product authentication, NFC shelf labels, mobile companion tags. Target use cases include Out-of-Home smart advertisement, product authentication, mobile companion tags, Bluetooth or Wi-Fi pairing, electronic shelf labels and business cards. NTAG21x memory can also be segmented to implement multiple applications at the same time. Thanks to the high input capacitance, NTAG21x tag ICs are particularly tailored for applications requiring small footprints, without compromise on performance. Small NFC tags can be more easily embedded into e.g. product labels or electronic devices. The mechanical and electrical specifications of NTAG21x are tailored to meet the requirements of inlay and tag manufacturers. 1.1 Contactless energy and data transfer Communication to NTAG21x can be established only when the IC is connected to an antenna. Form and specification of the coil is out of scope of this document. When NTAG21x is positioned in the RF field, the high speed RF communication interface allows the transmission of the data with a baud rate of 106 kbit/s. NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory NTAG IC ENERGY NFC TAG NFC ENABLED DEVICE DATA 001aao403 Fig 1. Contactless system 1.2 Simple deployment and user convenience NTAG21x offers specific features designed to improve integration and user convenience: • The fast read capability allows to scan the complete NDEF message with only one FAST_READ command, thus reducing the overhead in high throughput production environments • The improved RF performance allows for more flexibility in the choice of shape, dimension and materials • The option for 75 m IC thickness enables the manufacturing of ultrathin tags, for a more convenient integration in e.g. magazines or gaming cards. 1.3 Security • • • • • Manufacturer programmed 7-byte UID for each device Pre-programmed Capability container with one time programmable bits Field programmable read-only locking function ECC based originality signature 32-bit password protection to prevent unauthorized memory operations 1.4 NFC Forum Tag 2 Type compliance NTAG21x IC provides full compliance to the NFC Forum Tag 2 Type technical specification (see Ref. 2) and enables NDEF data structure configurations (see Ref. 3). 1.5 Anticollision An intelligent anticollision function allows to operate more than one tag in the field simultaneously. The anticollision algorithm selects each tag individually and ensures that the execution of a transaction with a selected tag is performed correctly without interference from another tag in the field. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 2 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 2. Features and benefits Contactless transmission of data and supply energy Operating frequency of 13.56 MHz Data transfer of 106 kbit/s Data integrity of 16-bit CRC, parity, bit coding, bit counting Operating distance up to 100 mm (depending on various parameters as e.g. field strength and antenna geometry) 7-byte serial number (cascade level 2 according to ISO/IEC 14443-3) UID ASCII mirror for automatic serialization of NDEF messages Automatic NFC counter triggered at read command NFC counter ASCII mirror for automatic adding the NFC counter value to the NDEF message ECC based originality signature Fast read command True anticollision 50 pF input capacitance 2.1 EEPROM 180, 540 or 924 bytes organized in 45, 135 or 231 pages with 4 bytes per page 144, 504 or 888 bytes freely available user Read/Write area (36, 126 or 222 pages) 4 bytes initialized capability container with one time programmable access bits Field programmable read-only locking function per page for the first 16 pages Field programmable read-only locking function above the first 16 pages per double page for NTAG213 or per 16 pages for NTAG215 and NTAG216 Configurable password protection with optional limit of unsuccessful attempts Anti-tearing support for capability container (CC) and lock bits ECC supported originality check Data retention time of 10 years Write endurance 100.000 cycles 3. Applications NTAG213_215_216 Product data sheet COMPANY PUBLIC Smart advertisement Goods and device authentication Call request SMS Call to action Voucher and coupons Bluetooth or Wi-Fi pairing Connection handover Product authentication Mobile companion tags Electronic shelf labels Business cards All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 3 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 4. Quick reference data Table 1. Symbol Quick reference data Parameter Conditions Ci input capacitance fi input frequency [1] Min Typ Max Unit - 50.0 - pF - 13.56 - MHz EEPROM characteristics tret retention time Tamb = 22 C 10 - - years Nendu(W) write endurance Tamb = 22 C 100000 - - cycles [1] LCR meter, Tamb = 22 C, fi = 13.56 MHz, 2 V RMS. 5. Ordering information Table 2. Ordering information Type number Package Name Description Version NT2H1311G0DUF FFC Bump 8 inch wafer, 75 m thickness, on film frame carrier, electronic fail die marking according to SECS-II format), Au bumps, 144 bytes user memory, 50 pF input capacitance - NT2H1311G0DUD FFC Bump 8 inch wafer, 120 m thickness, on film frame carrier, electronic fail die marking according to SECS-II format), Au bumps, 144 bytes user memory, 50 pF input capacitance - NT2H1311G0DA8 MOA8 plastic lead less module carrier package; 35 mm wide tape,144 bytes user memory, 50 pF input capacitance SOT500-4 NT2H1511G0DUF FFC Bump 8 inch wafer, 75 m thickness, on film frame carrier, electronic fail die marking according to SECS-II format), Au bumps, 504 bytes user memory, 50 pF input capacitance - NT2H1511G0DUD FFC Bump 8 inch wafer, 120 m thickness, on film frame carrier, electronic fail die marking according to SECS-II format), Au bumps, 504 bytes user memory, 50 pF input capacitance - NT2H1511G0DA8 MOA8 plastic lead less module carrier package; 35 mm wide tape, 504 bytes user memory, 50 pF input capacitance SOT500-4 NT2H1611G0DUF FFC Bump 8 inch wafer, 75 m thickness, on film frame carrier, electronic fail die marking according to SECS-II format), Au bumps, 888 bytes user memory, 50 pF input capacitance - NT2H1611G0DUD FFC Bump 8 inch wafer, 120 m thickness, on film frame carrier, electronic fail die marking according to SECS-II format), Au bumps, 888 bytes user memory, 50 pF input capacitance - NT2H1611G0DA8 MOA8 plastic lead less module carrier package; 35 mm wide tape, 888 bytes user memory, 50 pF input capacitance SOT500-4 NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 4 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 6. Block diagram DIGITAL CONTROL UNIT antenna RF-INTERFACE ANTICOLLISION EEPROM EEPROM INTERFACE COMMAND INTERPRETER aaa-006979 Fig 2. Block diagram of NTAG213/215/216 7. Pinning information 7.1 Pinning The pinning of the NTAG213/215/216 wafer delivery is shown in section “Bare die outline” (see Section 15). The pinning of the NTAG213/215/216 MOA8 module is shown in Figure 3. LA top view LB aaa-006273 Fig 3. Table 3. Pin NTAG213_215_216 Product data sheet COMPANY PUBLIC Pin configuration for SOT500-4 (MOA8) Pin allocation table Symbol LA LA Antenna connection LA LB LB Antenna connection LB All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 5 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8. Functional description 8.1 Block description NTAG21x ICs consist of a 180 (NTAG213), 540 bytes (NTAG215) or 924 bytes (NTAG216) EEPROM, RF interface and Digital Control Unit (DCU). Energy and data are transferred via an antenna consisting of a coil with a few turns which is directly connected to NTAG21x. No further external components are necessary. Refer to Ref. 4 for details on antenna design. • RF interface: – modulator/demodulator – rectifier – clock regenerator – Power-On Reset (POR) – voltage regulator • Anticollision: multiple cards may be selected and managed in sequence • Command interpreter: processes memory access commands supported by the NTAG21x • EEPROM interface • NTAG213 EEPROM: 180 bytes, organized in 45 pages of 4 byte per page. – 26 bytes reserved for manufacturer and configuration data – 34 bits used for the read-only locking mechanism – 4 bytes available as capability container – 144 bytes user programmable read/write memory • NTAG215 EEPROM: 540 bytes, organized in 135 pages of 4 byte per page. – 26 bytes reserved for manufacturer and configuration data – 28 bits used for the read-only locking mechanism – 4 bytes available as capability container – 504 bytes user programmable read/write memory • NTAG216 EEPROM: 924 bytes, organized in 231 pages of 4 byte per page. – 26 bytes reserved for manufacturer and configuration data – 37 bits used for the read-only locking mechanism – 4 bytes available as capability container – 888 bytes user programmable read/write memory 8.2 RF interface The RF-interface is based on the ISO/IEC 14443 Type A standard. During operation, the NFC device generates an RF field. The RF field must always be present (with short pauses for dat communication) as it is used for both communication and as power supply for the tag. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 6 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory For both directions of data communication, there is one start bit at the beginning of each frame. Each byte is transmitted with an odd parity bit at the end. The LSB of the byte with the lowest address of the selected block is transmitted first. The maximum length of a NFC device to tag frame is 163 bits (16 data bytes + 2 CRC bytes = 16×9 + 2×9 + 1 start bit). The maximum length of a fixed size tag to NFC device frame is 307 bits (32 data bytes + 2 CRC bytes = 32 9 + 2 9 + 1 start bit). The FAST_READ command has a variable frame length depending on the start and end address parameters. The maximum frame length supported by the NFC device needs to be taken into account when issuing this command. For a multi-byte parameter, the least significant byte is always transmitted first. As an example, when reading from the memory using the READ command, byte 0 from the addressed block is transmitted first, followed by bytes 1 to byte 3 out of this block. The same sequence continues for the next block and all subsequent blocks. 8.3 Data integrity Following mechanisms are implemented in the contactless communication link between NFC device and NTAG to ensure very reliable data transmission: • • • • • NTAG213_215_216 Product data sheet COMPANY PUBLIC 16 bits CRC per block parity bits for each byte bit count checking bit coding to distinguish between “1”, “0” and “no information” channel monitoring (protocol sequence and bit stream analysis) All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 7 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.4 Communication principle The commands are initiated by the NFC device and controlled by the Digital Control Unit of the NTAG21x. The command response is depending on the state of the IC and for memory operations also on the access conditions valid for the corresponding page. POR HALT IDLE REQA WUPA WUPA READY 1 READ from page 0 ANTICOLLISION SELECT cascade level 1 HLTA HLTA identification and selection procedure READY 2 ANTICOLLISION READ from page 0 SELECT cascade level 2 ACTIVE PWD_AUTH AUTHENTICATED READ (16 Byte) FAST_READ WRITE, COMPATIBILITY_WRITE (4 Byte) GET_VERSION READ_SIG READ_CNT memory operations aaa-008072 Remark: In all states, the command interpreter returns to the idle state on receipt of an unexpected command. If the IC was previously in the HALT state, it returns to that state. Fig 4. NTAG213_215_216 Product data sheet COMPANY PUBLIC State diagram All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 8 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.4.1 IDLE state After a power-on reset (POR), NTAG21x switches to the IDLE state. It only exits this state when a REQA or a WUPA command is received from the NFC device. Any other data received while in this state is interpreted as an error and NTAG21x remains in the IDLE state. After a correctly executed HLTA command i.e. out of the ACTIVE or AUTHENTICATED state, the default waiting state changes from the IDLE state to the HALT state. This state can then be exited with a WUPA command only. 8.4.2 READY1 state In this state, the NFC device resolves the first part of the UID (3 bytes) using the ANTICOLLISION or SELECT commands in cascade level 1. This state is correctly exited after execution of either of the following commands: • SELECT command from cascade level 1: the NFC device switches NTAG21x into READY2 state where the second part of the UID is resolved. • READ command (from address 0): all anticollision mechanisms are bypassed and the NTAG21x switches directly to the ACTIVE state. Remark: If more than one NTAG is in the NFC device field, a READ command from address 0 selects all NTAG21x devices. In this case, a collision occurs due to different serial numbers. Any other data received in the READY1 state is interpreted as an error and depending on its previous state NTAG21x returns to the IDLE or HALT state. 8.4.3 READY2 state In this state, NTAG21x supports the NFC device in resolving the second part of its UID (4 bytes) with the cascade level 2 ANTICOLLISION command. This state is usually exited using the cascade level 2 SELECT command. Alternatively, READY2 state can be skipped using a READ command (from address 0) as described for the READY1 state. Remark: The response of NTAG21x to the cascade level 2 SELECT command is the Select AcKnowledge (SAK) byte. In accordance with ISO/IEC 14443, this byte indicates if the anticollision cascade procedure has finished. NTAG21x is now uniquely selected and only this device will communicate with the NFC device even when other contactless devices are present in the NFC device field. If more than one NTAG21x is in the NFC device field, a READ command from address 0 selects all NTAG21x devices. In this case, a collision occurs due to the different serial numbers. Any other data received when the device is in this state is interpreted as an error. Depending on its previous state the NTAG21x returns to either the IDLE state or HALT state. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 9 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.4.4 ACTIVE state All memory operations and other functions like the originality signature read-out are operated in the ACTIVE state. The ACTIVE state is exited with the HLTA command and upon reception NTAG21x transits to the HALT state. Any other data received when the device is in this state is interpreted as an error. Depending on its previous state NTAG21x returns to either the IDLE state or HALT state. NTAG21x transits to the AUTHENTICATED state after successful password verification using the PWD_AUTH command. 8.4.5 AUTHENTICATED state In this state, all operations on memory pages, which are configured as password verification protected, can be accessed. The AUTHENTICATED state is exited with the HLTA command and upon reception NTAG21x transits to the HALT state. Any other data received when the device is in this state is interpreted as an error. Depending on its previous state NTAG21x returns to either the IDLE state or HALT state. 8.4.6 HALT state HALT and IDLE states constitute the two wait states implemented in NTAG21x. An already processed NTAG21x can be set into the HALT state using the HLTA command. In the anticollision phase, this state helps the NFC device to distinguish between processed tags and tags yet to be selected. NTAG21x can only exit this state on execution of the WUPA command. Any other data received when the device is in this state is interpreted as an error and NTAG21x state remains unchanged. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 10 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.5 Memory organization The EEPROM memory is organized in pages with 4 bytes per page. NTAG213 variant has 45 pages, NTAG215 variant has 135 pages and NTAG216 variant has 231 pages in total. The memory organization can be seen in Figure 5, Figure 6 and Figure 7, the functionality of the different memory sections is described in the following sections. Page Adr Byte number within a page Dec Hex 0 0 0h 1 serial number 1 1h serial number 2 2h 3 3h 4 4h 5 5h serial number 2 internal 3 Description Manufacturer data and static lock bytes lock bytes lock bytes Capability Container (CC) Capability Container user memory User memory pages ... ... 38 26 h 39 27 h 40 28 h 41 29 h CFG 0 42 2Ah CFG 1 43 2Bh PWD 44 2Ch dynamic lock bytes RFUI Dynamic lock bytes Configuration pages PACK RFUI aaa-008087 Fig 5. Memory organization NTAG213 The structure of manufacturing data, lock bytes, capability container and user memory pages are compatible to NTAG203. Page Adr Byte number within a page Dec Hex 0 0 0h 1 serial number 1 1h serial number 2 2h 3 3h 4 4h 5 5h serial number 2 internal 3 Description Manufacturer data and static lock bytes lock bytes lock bytes Capability Container (CC) Capability Container user memory User memory pages ... ... 128 80 h 129 81 h 130 82 h 131 83 h CFG 0 132 84 h CFG 1 133 85 h PWD 134 86 h dynamic lock bytes PACK RFUI Dynamic lock bytes Configuration pages RFUI aaa-008088 Fig 6. NTAG213_215_216 Product data sheet COMPANY PUBLIC Memory organization NTAG215 All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 11 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Page Adr Byte number within a page Dec Hex 0 0 0h 1 serial number 1 1h serial number 2 2h 3 3h 4 4h 5 5h serial number 2 internal 3 Description Manufacturer data and static lock bytes lock bytes lock bytes Capability Container (CC) Capability Container user memory User memory pages ... ... 224 E0h 225 E1h 226 E2h 227 E3h CFG 0 228 E4h CFG 1 229 E5h PWD 230 E6h dynamic lock bytes RFUI Dynamic lock bytes Configuration pages PACK RFUI aaa-008089 Fig 7. Memory organization NTAG216 8.5.1 UID/serial number The unique 7-byte serial number (UID) and its two check bytes are programmed into the first 9 bytes of memory covering page addresses 00h, 01h and the first byte of page 02h. The second byte of page address 02h is reserved for internal data. These bytes are programmed and write protected in the production test. MSB 0 0 byte 0 1 0 2 0 0 page 0 3 1 0 LSB 0 manufacturer ID for NXP Semiconductors (04h) 0 serial number part 1 1 2 page 1 3 serial number part 2 check byte 0 0 1 2 page 2 3 check byte 1 internal lock bytes 001aai001 Fig 8. UID/serial number In accordance with ISO/IEC 14443-3 check byte 0 (BCC0) is defined as CT Å SN0 Å SN1 Å SN2 and check byte 1 (BCC1) is defined as SN3 Å SN4 Å SN5 Å SN6. SN0 holds the Manufacturer ID for NXP Semiconductors (04h) in accordance with ISO/IEC 14443-3. 8.5.2 Static lock bytes (NTAG21x) The bits of byte 2 and byte 3 of page 02h represent the field programmable read-only locking mechanism. Each page from 03h (CC) to 0Fh can be individually locked by setting the corresponding locking bit Lx to logic 1 to prevent further write access. After locking, the corresponding page becomes read-only memory. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 12 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory The three least significant bits of lock byte 0 are the block-locking bits. Bit 2 deals with pages 0Ah to 0Fh, bit 1 deals with pages 04h to 09h and bit 0 deals with page 03h (CC). Once the block-locking bits are set, the locking configuration for the corresponding memory area is frozen. MSB L 7 L 6 L 5 L 4 L CC BL 15-10 LSB MSB BL CC L 15 BL 9-4 LSB L 14 L 13 L 12 L 11 L 10 L 9 L 8 page 2 0 1 2 3 lock byte 0 lock byte 1 Fig 9. Lx locks page x to read-only BLx blocks further locking for the memory area x aaa-006983 Static lock bytes 0 and 1 For example if BL15-10 is set to logic 1, then bits L15 to L10 (lock byte 1, bit[7:2]) can no longer be changed. The so called static locking and block-locking bits are set by a WRITE or COMPATIBILITY_WRITE command to page 02h. Bytes 2 and 3 of the WRITE or COMPATIBILITY_WRITE command, and the contents of the lock bytes are bit-wise OR’ed and the result then becomes the new content of the lock bytes. This process is irreversible. If a bit is set to logic 1, it cannot be changed back to logic 0. The contents of bytes 0 and 1 of page 02h are unaffected by the corresponding data bytes of the WRITE or COMPATIBILITY_WRITE command. The default value of the static lock bytes is 00 00h. Any write operation to the static lock bytes is tearing-proof. 8.5.3 Dynamic Lock Bytes To lock the pages of NTAG21x starting at page address 10h and onwards, the so called dynamic lock bytes are used. The dynamic lock bytes are located at page 28h for NTAG213, at page 82h for NTAG215 and at page E2h for NTAG216. The three lock bytes cover the memory area of 96 data bytes for NTAG213, 456 data bytes for NTAG215 and 840 data bytes for NTAG216. The granularity is 2 pages for NTAG213 (Figure 10) and 16 pages for NTAG215 (Figure 11) and NTAG216 (Figure 12). Remark: Set all bits marked with RFUI to 0, when writing to the dynamic lock bytes. Remark: For the correct usage of the dynamic lock bytes with NFC devices for the NTAG215 and NTAG216 refer to Ref. 9 “AN11456 NTAG215/216(F)/NTAG I2C Using the dynamic lock bits to lock the tag”. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 13 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory LOCK PAGE 22-23 LOCK PAGE 20-21 LOCK PAGE 18-19 LOCK PAGE 16-17 RFUI RFUI RFUI RFUI LOCK PAGE 38-39 LOCK PAGE 36-37 LOCK PAGE 34-35 LOCK PAGE 32-33 LSB LOCK PAGE 24-25 MSB LOCK PAGE 26-27 bit 7 LSB LOCK PAGE 28-29 LOCK PAGE 30-31 MSB 6 5 4 3 2 1 0 bit 7 6 5 4 3 2 1 0 1 0 page 40 (28h) 2 3 RFUI BL 36-39 BL 32-35 BL 28-31 BL 24-27 BL 20-23 BL 16-19 LSB RFUI MSB bit 7 6 5 4 3 2 1 0 aaa-008090 Fig 10. NTAG213 Dynamic lock bytes 0, 1 and 2 LOCK PAGE 64-79 LOCK PAGE 48-63 LOCK PAGE 32-47 LOCK PAGE 16-31 RFUI RFUI RFUI RFUI RFUI RFUI RFUI RFUI LSB LOCK PAGE 80-95 MSB LOCK PAGE 96-111 bit 7 LSB LOCK PAGE 112-127 LOCK PAGE 128-129 MSB 6 5 4 3 2 1 0 bit 7 6 5 4 3 2 1 0 page 130 (82h) 0 1 2 3 RFUI RFUI RFUI BL 112-129 BL 80-111 BL 48-79 BL 16-47 LSB RFUI MSB bit 7 6 5 4 3 2 1 0 aaa-008091 Fig 11. NTAG215 Dynamic lock bytes 0, 1 and 2 NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 14 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory LOCK PAGE 64-79 LOCK PAGE 48-63 LOCK PAGE 32-47 LOCK PAGE 16-31 RFUI RFUI LOCK PAGE 224-225 LOCK PAGE 208-223 LOCK PAGE 192-207 LOCK PAGE 176-191 LOCK PAGE 160-175 LOCK PAGE 144-159 LSB LOCK PAGE 80-95 MSB LOCK PAGE 96-111 bit 7 LSB LOCK PAGE 112-127 LOCK PAGE 128-143 MSB 6 5 4 3 2 1 0 bit 7 6 5 4 3 2 1 0 page 226 (E2h) 0 1 2 3 BL 208-225 BL 176-207 BL 144-175 BL 112-143 BL 80-111 BL 48-79 BL 16-47 LSB RFUI MSB bit 7 6 5 4 3 2 1 0 aaa-008092 Fig 12. NTAG216 Dynamic lock bytes 0, 1 and 2 The default value of the dynamic lock bytes is 00 00 00h. The value of Byte 3 is always BDh when read. Any write operation to the dynamic lock bytes is tearing-proof. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 15 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.5.4 Capability Container (CC bytes) The Capability Container CC (page 3) is programmed during the IC production according to the NFC Forum Type 2 Tag specification (see Ref. 2). These bytes may be bit-wise modified by a WRITE or COMPATIBILITY_WRITE command. page 3 byte 0 Example NTAG213 1 2 4 data E1h 10h 12h 00 default value (initialized state) 11100001 00010000 CC bytes 00010010 00000000 00000000 00001111 write command to page 3 CC bytes 00000000 00000000 result in page 3 (read-only state) 11100001 00010000 00010010 00001111 aaa-008093 Fig 13. CC bytes example The parameter bytes of the WRITE command and the current contents of the CC bytes are bit-wise OR’ed. The result is the new CC byte contents. This process is irreversible and once a bit is set to logic 1, it cannot be changed back to logic 0. Byte 2 in the capability container defines the available memory size for NDEF messages. The configuration at delivery is shown in Table 4. Table 4. NDEF memory size IC Value in byte 2 NDEF memory size NTAG213 12h 144 byte NTAG215 3Eh 496 byte NTAG216 6Dh 872 byte Any write operation to the CC bytes is tearing-proof. The default values of the CC bytes at delivery are defined in Section 8.5.6. 8.5.5 Data pages Pages 04h to 27h for NTAG213, pages 04h to 81h for NTAG215 and pages 04h to E1h for NTAG216 are the user memory read/write area. The access to a part of the user memory area can be restricted using a password verification. See Section 8.8 for further details. The default values of the data pages at delivery are defined in Section 8.5.6. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 16 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.5.6 Memory content at delivery The capability container in page 03h and the data pages 04h and 05h of NTAG21x are pre-programmed as defined in Table 5, Table 6 and Table 7. Table 5. Memory content at delivery NTAG213 Page Address Table 6. Byte number within page 0 1 2 3 03h E1h 10h 12h 00h 04h 01h 03h A0h 0Ch 05h 34h 03h 00h FEh Memory content at delivery NTAG215 Page Address Table 7. Byte number within page 0 1 2 3 03h E1h 04h 03h 10h 3Eh 00h 00h FEh 00h 05h 00h 00h 00h 00h Memory content at delivery NTAG216 Page Address Byte number within page 0 1 2 3 03h E1h 10h 6Dh 00h 04h 03h 00h FEh 00h 05h 00h 00h 00h 00h The access to a part of the user memory area can be restricted using a password verification. Please see Section 8.8 for further details. Remark: The default content of the data pages from page 05h onwards is not defined at delivery. Remark: For the correct usage of the dynamic lock bytes with NFC devices for the NTAG215 and NTAG216 refer to Ref. 9 “AN11456 NTAG215/216(F)/NTAG I2C Using the dynamic lock bits to lock the tag”. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 17 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.5.7 Configuration pages Pages 29h to 2Ch for NTAG213, pages 83h to 86h for NTAG215 and pages E3h to E6h for NTAG216 are used to configure the memory access restriction and to configure the UID ASCII mirror feature. The memory content of the configuration pages is detailed below. Table 8. Configuration Pages Page Address[1] Dec Byte number 0 1 2 3 41/131/ 29h/83h 227 /E3h MIRROR RFUI MIRROR_PAGE AUTH0 42/132/ 228 2Ah/84 h/E4h ACCESS RFUI RFUI RFUI 43/133/ 229 2Bh/85 h/E5h 44/134/ 230 2Ch/86 h/E6h RFUI RFUI [1] Hex PWD PACK Page address for resp. NTAG213/NTAG215/NTAG216 Table 9. MIRROR configuration byte Bit number 7 6 5 MIRROR_CONF Table 10. 4 MIRROR_BYTE 3 2 1 RFUI STRG_ MOD_EN 0 RFUI ACCESS configuration byte Bit number Table 11. 7 6 5 PROT CFGLCK RFUI 4 3 NFC_CNT NFC_CNT _EN _PWD_P ROT 2 1 0 AUTHLIM Configuration parameter descriptions Field Bit Default values MIRROR_CONF 2 00b Description Defines which ASCII mirror shall be used, if the ASCII mirror is enabled by a valid the MIRROR_PAGE byte 00b ... no ASCII mirror 01b ... UID ASCII mirror 10b ... NFC counter ASCII mirror 11b ... UID and NFC counter ASCII mirror MIRROR_BYTE 2 STRG_MOD_EN 1 00b The 2 bits define the byte position within the page defined by the MIRROR_PAGE byte (beginning of ASCII mirror) 1b STRG MOD_EN defines the modulation mode 0b ... strong modulation mode disabled 1b ... strong modulation mode enabled NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 18 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Table 11. Configuration parameter descriptions Field Bit Default values Description MIRROR_PAGE 8 00h AUTH0 8 FFh AUTH0 defines the page address from which the password verification is required. Valid address range for byte AUTH0 is from 00h to FFh. If AUTH0 is set to a page address which is higher than the last page from the user configuration, the password protection is effectively disabled. PROT 1 0b One bit inside the ACCESS byte defining the memory protection MIRROR_Page defines the page for the beginning of the ASCII mirroring A value >03h enables the ASCII mirror feature 0b ... write access is protected by the password verification 1b ... read and write access is protected by the password verification CFGLCK 1 0b Write locking bit for the user configuration 0b ... user configuration open to write access 1b ... user configuration permanently locked against write access, except PWD and PACK NFC_CNT_EN 1 0b NFC counter configuration 0b ... NFC counter disabled 1b ... NFC counter enabled If the NFC counter is enabled, the NFC counter will be automatically increased at the first READ or FAST_READ command after a power on reset NFC_CNT_PWD 1 _PROT 0b NFC counter password protection 0b ... NFC counter not protected 1b ... NFC counter password protection enabled If the NFC counter password protection is enabled, the NFC tag will only respond to a READ_CNT command with the NFC counter value after a valid password verification AUTHLIM 3 000b Limitation of negative password verification attempts 000b ... limiting of negative password verification attempts disabled 001b-111b ... maximum number of negative password verification attempts PWD 32 FFFFFFFFh 32-bit password used for memory access protection PACK 16 0000h 16-bit password acknowledge used during the password verification process RFUI - all 0b Reserved for future use - implemented. Write all bits and bytes denoted as RFUI as 0b. Remark: The CFGLCK bit activates the permanent write protection of the first two configuration pages. The write lock is only activated after a power cycle of NTAG21x. If write protection is enabled, each write attempt leads to a NAK response. 8.6 NFC counter function NTAG21x features a NFC counter function. This function enables NTAG21x to automatically increase the 24 bit counter value, triggered by the first valid • READ command or • FAST-READ command after the NTAG21x tag is powered by an RF field. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 19 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Once the NFC counter has reached the maximum value of FF FF FF hex, the NFC counter value will not change any more. The NFC counter is enabled or disabled with the NFC_CNT_EN bit (see Section 8.5.7). The actual NFC counter value can be read with • READ_CNT command or • NFC counter mirror feature The reading of the NFC counter (by READ_CNT command or with the NFC counter mirror) can also be protected with the password authentication. The NFC counter password protection is enabled or disabled with the NFC_CNT_PWD_PROT bit (see Section 8.5.7). 8.7 ASCII mirror function NTAG21x features a ASCII mirror function. This function enables NTAG21x to virtually mirror • 7 byte UID (see Section 8.7.1) or • 3 byte NFC counter value (see Section 8.7.2) or • both, 7 byte UID and 3 byte NFC counter value with a separation byte (see Section 8.7.3) into the physical memory of the IC in ASCII code. On the READ or FAST READ command to the involved user memory pages, NTAG21x will respond with the virtual memory content of the UID and/or NFC counter value in ASCII code. The required length of the reserved physical memory for the mirror functions is specified in Table 12. If the ASCII mirror exceeds the user memory area, the data will not be mirrored. Table 12. Required memory space for ASCII mirror ASCII mirror Required number of bytes in the physical memory UID mirror 14 bytes NFC counter 6 bytes UID + NFC counter mirror 21 bytes (14 bytes for UID + 1 byte separation + 6 bytes NFC counter value) The position within the user memory where the mirroring of the UID and/or NFC counter shall start is defined by the MIRROR_PAGE and MIRROR_BYTE values. The MIRROR_PAGE value defines the page where the ASCII mirror shall start and the MIRROR_BYTE value defines the starting byte within the defined page. The ASCII mirror function is enabled with a MIRROR_PAGE value >03h. The MIRROR_CONF bits (see Table 9 and Table 11) define if ASCII mirror shall be enabled for the UID and/or NFC counter. If both, the UID and NFC counter, are enabled for the ASCII mirror, the UID and the NFC counter bytes are separated automatically with an “x” character (78h ASCII code). NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 20 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.7.1 UID ASCII mirror function This function enables NTAG21x to virtually mirror the 7 byte UID in ASCII code into the physical memory of the IC. The length of the UID ASCII mirror requires 14 bytes to mirror the UID in ASCII code. On the READ or FAST READ command to the involved user memory pages, NTAG21x will respond with the virtual memory content of the UID in ASCII code. The position within the user memory where the mirroring of the UID shall start is defined by the MIRROR_PAGE and MIRROR_BYTE values. The MIRROR_PAGE value defines the page where the UID ASCII mirror shall start and the MIRROR_BYTE value defines the starting byte within the defined page. The UID ASCII mirror function is enabled with a MIRROR_PAGE value >03h and the MIRROR_CONF bits are set to 01b. Remark: Please note that the 14 bytes of the UID ASCII mirror shall not exceed the boundary of the user memory. Therefore it is required to use only valid values for MIRROR_BYTE and MIRROR_PAGE to ensure a proper functionality. If the UID ASCII mirror exceeds the user memory area, the UID will not be mirrored. Table 13. NTAG213_215_216 Product data sheet COMPANY PUBLIC Configuration parameter description MIRROR_PAGE MIRROR_BYTE bits Minimum values 04h 00b Maximum values last user memory page - 3 01b All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 21 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.7.1.1 UID ASCII Mirror example Table 14 show the memory content of a NTAG213 which has been written to the physical memory. Without the UID ASCII mirror feature, the content in the user memory would be a URL according to the NFC Data Exchange Format (NDEF) Ref. 3 with the content: http://www.nxp.com/index.html?m=00000000000000 Table 14. UID ASCII mirror - Physical memory content Page address Byte number dec. hex. 0 1 2 3 0 00h 04 E1 41 2C 1 01h 12 4C 28 80 2 02h F6 internal 3 03h E1 10 12 00 4 04h 01 03 A0 0C .... 5 05h 34 03 28 D1 4.(. 6 06h 01 24 55 01 .$U. 7 07h 6E 78 70 2E nxp. 8 08h 63 6F 6D 2F com/ 9 09h 69 6E 64 65 inde 10 0Ah 78 2E 68 74 x.ht 11 0Bh 6D 6C 3F 6D ml?m 12 0Ch 3D 30 30 30 =000 13 0Dh 30 30 30 30 0000 14 0Eh 30 30 30 30 0000 15 0Fh 30 30 30 FE 000. 16 10h 00 00 00 00 .... ... ... 39 27h 00 00 00 00 .... 40 28h 41 29h 54 42 2Ah Access 43 2Bh 44 2Ch ASCII lock bytes dynamic lock bytes RFUI 0C RFUI AUTH0 PWD PACK RFUI With the UID Mirror feature and the related values in the MIRROR_PAGE and the MIRROR_BYTE the UID 04-E1-41-12-4C-28-80h will be mirrored in ASCII code into the user memory starting in page 0Ch byte 1. The virtual memory content is shown in Table 15. Reading the user memory, the data will be returned as an URL according to the NFC Data Exchange Format (NDEF) Ref. 3 with the content: http://www.nxp.com/index.html?m=04E141124C2880 NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 22 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Table 15. UID ASCII mirror - Virtual memory content Page address Byte number dec. 0 1 hex. 2 3 ASCII 0 00h 04 E1 41 2C 1 01h 12 4C 28 80 2 02h F6 internal 3 03h E1 10 12 4 04h 01 03 A0 0C .... 5 05h 34 03 28 D1 4.(. 6 06h 01 24 55 01 .$U. 7 07h 6E 78 70 2E nxp. 8 08h 63 6F 6D 2F com/ 9 09h 69 6E 64 65 inde 10 0Ah 78 2E 68 74 x.ht 11 0Bh 6D 6C 3F 6D ml?m 12 0Ch 3D 30 34 45 =04E 13 0Dh 31 34 31 31 1411 14 0Eh 32 34 43 32 24C2 15 0Fh 38 38 30 FE 880. 16 10h 00 00 00 00 .... ... ... 39 27h 00 00 00 00 .... 40 28h 41 29h 54 42 2Ah Access 43 2Bh 44 2Ch lock bytes dynamic lock bytes RFUI 0C 00 RFUI AUTH0 PWD PACK RFUI 8.7.2 NFC counter mirror function This function enables NTAG21x to virtually mirror the 3 byte NFC counter value in ASCII code into the physical memory of the IC. The length of the NFC counter mirror requires 6 bytes to mirror the NFC counter value in ASCII code. On the READ or FAST READ command to the involved user memory pages, NTAG21x will respond with the virtual memory content of the NFC counter in ASCII code. The position within the user memory where the mirroring of the NFC counter shall start is defined by the MIRROR_PAGE and MIRROR_BYTE values. The MIRROR_PAGE value defines the page where the NFC counter mirror shall start and the MIRROR_BYTE value defines the starting byte within the defined page. The NFC counter mirror function is enabled with a MIRROR_PAGE value >03h and the MIRROR_CONF bits are set to 10b. If the NFC counter is password protected with the NFC_CNT_PWD_PROT bit set to 1b (see Section 8.5.7), the NFC counter will only be mirrored into the physical memory, if a valid password authentication has been executed before. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 23 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Remark: To enable the NFC counter itself (see Section 8.6), the NFC_CNT_EN bit shall be set to 1b. Remark: Please note that the 6 bytes of the NFC counter mirror shall not exceed the boundary of the user memory. Therefore it is required to use only valid values for MIRROR_BYTE and MIRROR_PAGE to ensure a proper functionality. If the NFC counter mirror exceeds the user memory area, the NFC counter will not be mirrored. Table 16. Configuration parameter description MIRROR_PAGE NTAG213_215_216 Product data sheet COMPANY PUBLIC MIRROR_BYTE bits Minimum values 04h 00b Maximum values last user memory page - 1 01b All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 24 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.7.2.1 NFC counter mirror example Table 17 show the memory content of a NTAG213 which has been written to the physical memory. Without the NFC counter mirror feature, the content in the user memory would be a URL according to the NFC Data Exchange Format (NDEF) Ref. 3 with the content: http://www.nxp.com/index.html?m=000000 Table 17. NFC counter mirror - Physical memory content Page address Byte number dec. hex. 0 1 2 3 0 00h 04 E1 41 2C 1 01h 12 4C 28 80 2 02h F6 internal 3 03h E1 10 12 00 4 04h 01 03 A0 0C .... 5 05h 34 03 20 D1 4.(. 6 06h 01 1C 55 01 .$U. 7 07h 6E 78 70 2E nxp. 8 08h 63 6F 6D 2F com/ 9 09h 69 6E 64 65 inde 10 0Ah 78 2E 68 74 x.ht 11 0Bh 6D 6C 3F 6D ml?m 12 0Ch 3D 30 30 30 =000 13 0Dh 30 30 30 FE 000. 14 0Eh 00 00 00 00 .... 00 00 00 00 .... ... ... 39 27h 40 28h 41 29h 94 42 2Ah Access 43 2Bh 44 2Ch ASCII lock bytes dynamic lock bytes RFUI 0C RFUI AUTH0 PWD PACK RFUI With the NFC counter mirror feature and the related values in the MIRROR_PAGE and the MIRROR_BYTE the NFC counter value of e.g. 00-3F-31h will be mirrored in ASCII code into the user memory starting in page 0Ch byte 1. The virtual memory content is shown in Table 18. Reading the user memory, the data will be returned as an URL according to the NFC Data Exchange Format (NDEF) Ref. 3 with the content: http://www.nxp.com/index.html?m=003F31 NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 25 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Table 18. NFC counter mirror - Virtual memory content Page address Byte number dec. 0 1 hex. 2 3 ASCII 0 00h 04 E1 41 2C 1 01h 12 4C 28 80 2 02h F6 internal 3 03h E1 10 12 4 04h 01 03 A0 0C .... 5 05h 34 03 20 D1 4.(. 6 06h 01 1C 55 01 .$U. 7 07h 6E 78 70 2E nxp. 8 08h 63 6F 6D 2F com/ 9 09h 69 6E 64 65 inde 10 0Ah 78 2E 68 74 x.ht 11 0Bh 6D 6C 3F 6D ml?m 12 0Ch 3D 30 30 33 =003 13 0Dh 46 33 31 FE F31. 14 0Eh 00 00 00 00 .... ... ... 39 27h 00 00 00 .... 40 28h 41 29h 94 42 2Ah Access 43 2Bh 44 2Ch 00 lock bytes dynamic lock bytes RFUI 0C 00 RFUI AUTH0 PWD PACK RFUI 8.7.3 UID and NFC counter mirror function This function enables NTAG21x to virtually mirror the 7 byte UID and 3 byte NFC counter value in ASCII code into the physical memory of the IC separated by 1 byte (“x” character, 78h). The length of the mirror requires 21 bytes to mirror the UID, NFC counter value and the separation byte in ASCII code. On the READ or FAST READ command to the involved user memory pages, NTAG21x will respond with the virtual memory content of the UID and NFC counter in ASCII code. The position within the user memory where the mirroring shall start is defined by the MIRROR_PAGE and MIRROR_BYTE values. The MIRROR_PAGE value defines the page where the mirror shall start and the MIRROR_BYTE value defines the starting byte within the defined page. The UID and NFC counter mirror function is enabled with a MIRROR_PAGE value >03h and the MIRROR_CONF bits are set to 11b. If the NFC counter is password protected with the NFC_CNT_PWD_PROT bit set to 1b (see Section 8.5.7), the NFC counter will only be mirrored into the physical memory, if a valid password authentication has been executed before. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 26 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Remark: To enable the NFC counter itself (see Section 8.6), the NFC_CNT_EN bit shall be set to 1b. Remark: Please note that the 21 bytes of the UID and NFC counter mirror shall not exceed the boundary of the user memory. Therefore it is required to use only valid values for MIRROR_BYTE and MIRROR_PAGE to ensure a proper functionality. If the UID and NFC counter mirror exceeds the user memory area, the UID and NFC counter will not be mirrored. Table 19. NTAG213_215_216 Product data sheet COMPANY PUBLIC Configuration parameter description MIRROR_PAGE MIRROR_BYTE bits Minimum values 04h 00b Maximum values last user memory page - 5 10b All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 27 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.7.3.1 UID and NFC counter mirror example Table 20 show the memory content of a NTAG213 which has been written to the physical memory. Without the UID ASCII mirror feature, the content in the user memory would be a URL according to the NFC Data Exchange Format (NDEF) Ref. 3 with the content: http://www.nxp.com/index.html?m=00000000000000x000000 Table 20. UID and NFC counter ASCII mirror - Physical memory content Page address Byte number dec. hex. 0 1 2 3 0 00h 04 E1 41 2C 1 01h 12 4C 28 80 2 02h F6 internal 3 03h E1 10 12 00 4 04h 01 03 A0 0C .... 5 05h 34 03 2F D1 4.(. 6 06h 01 2B 55 01 .$U. 7 07h 6E 78 70 2E nxp. 8 08h 63 6F 6D 2F com/ 9 09h 69 6E 64 65 inde 10 0Ah 78 2E 68 74 x.ht 11 0Bh 6D 6C 3F 6D ml?m 12 0Ch 3D 30 30 30 =000 13 0Dh 30 30 30 30 0000 14 0Eh 30 30 30 30 0000 15 0Fh 30 30 30 78 000x 16 10h 30 30 30 30 0000 17 11h 30 30 FE 00 00.. 18 12h 00 00 00 00 .... 00 00 00 00 .... ... ... 39 27h 40 28h 41 29h D4 42 2Ah Access 43 2Bh 44 2Ch ASCII lock bytes dynamic lock bytes RFUI 0C RFUI AUTH0 PWD PACK RFUI With the UID Mirror feature and the related values in the MIRROR_PAGE and the MIRROR_BYTE the UID 04-E1-41-12-4C-28-80h and the NFC counter value of e.g. 00-3F-31h will be mirrored in ASCII code into the user memory starting in page 0Ch byte 1. The virtual memory content is shown in Table 21. Remark: Please note that the separation character “x” (78h) is automatically mirrored between the UID mirror and the NFC counter mirror. Reading the user memory, the data will be returned as an URL according to the NFC Data Exchange Format (NDEF) Ref. 3 with the content: NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 28 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory http://www.nxp.com/index.html?m=04E141124C2880x003F31 Table 21. NTAG213_215_216 Product data sheet COMPANY PUBLIC UID and NFC counter ASCII mirror - Physical memory content Page address Byte number dec. hex. 0 1 2 3 0 00h 04 E1 41 2C 1 01h 12 4C 28 2 02h F6 internal 3 03h E1 10 12 00 4 04h 01 03 A0 0C .... 5 05h 34 03 2F D1 4.(. 6 06h 01 2B 55 01 .$U. 7 07h 6E 78 70 2E nxp. 8 08h 63 6F 6D 2F com/ 9 09h 69 6E 64 65 inde 10 0Ah 78 2E 68 74 x.ht 11 0Bh 6D 6C 3F 6D ml?m 12 0Ch 3D 30 34 45 =04E 13 0Dh 31 34 31 31 1411 14 0Eh 32 34 43 32 24C2 15 0Fh 38 38 30 78 880x 16 10h 30 30 33 46 003F 17 11h 33 31 FE 00 31.. 18 12h 00 00 00 00 .... ... ... 39 27h 00 00 00 00 .... 40 28h 41 29h D4 42 2Ah Access 43 2Bh 44 2Ch ASCII 80 lock bytes dynamic lock bytes RFUI 0C RFUI AUTH0 PWD PACK All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 RFUI © NXP Semiconductors N.V. 2015. All rights reserved. 29 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.8 Password verification protection The memory write or read/write access to a configurable part of the memory can be constrained by a positive password verification. The 32-bit secret password (PWD) and the 16-bit password acknowledge (PACK) response are typically programmed into the configuration pages at the tag personalization stage. The AUTHLIM parameter specified in Section 8.5.7 can be used to limit the negative verification attempts. In the initial state of NTAG21x, password protection is disabled by a AUTH0 value of FFh. PWD and PACK are freely writable in this state. Access to the configuration pages and any part of the user memory can be restricted by setting AUTH0 to a page address within the available memory space. This page address is the first one protected. Remark: The password protection method provided in NTAG21x has to be intended as an easy and convenient way to prevent unauthorized memory accesses. If a higher level of protection is required, cryptographic methods can be implemented at application layer to increase overall system security. 8.8.1 Programming of PWD and PACK The 32-bit PWD and the 16-bit PACK need to be programmed into the configuration pages, see Section 8.5.7. The password as well as the password acknowledge are written LSByte first. This byte order is the same as the byte order used during the PWD_AUTH command and its response. The PWD and PACK bytes can never be read out of the memory. Instead of transmitting the real value on any valid READ or FAST_READ command, only 00h bytes are replied. If the password verification does not protect the configuration pages, PWD and PACK can be written with normal WRITE and COMPATIBILITY_WRITE commands. If the configuration pages are protected by the password configuration, PWD and PACK can be written after a successful PWD_AUTH command. The PWD and PACK are writable even if the CFGLCK bit is set to 1b. Therefore it is strongly recommended to set AUTH0 to the page where the PWD is located after the password has been written. This page is 2Bh for NTAG213, page 85h for NTAG215 and page E5h for NTAG216. Remark: To improve the overall system security, it is advisable to diversify the password and the password acknowledge using a die individual parameter of the IC, that is the 7-byte UID available on NTAG21x. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 30 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 8.8.2 Limiting negative verification attempts To prevent brute-force attacks on the password, the maximum allowed number of negative password verification attempts can be set using AUTHLIM. This mechanism is disabled by setting AUTHLIM to a value of 000b, which is also the initial state of NTAG21x. If AUTHLIM is not equal to 000b, each negative authentication verification is internally counted. The count operation features anti-tearing support. As soon as this internal counter reaches the number specified in AUTHLIM, any further negative password verification leads to a permanent locking of the protected part of the memory for the specified access modes. Specifically, whether the provided password is correct or not, each subsequent PWD_AUTH fails. Any successful password verification, before reaching the limit of negative password verification attempts, resets the internal counter to zero. 8.8.3 Protection of special memory segments The configuration pages can be protected by the password authentication as well. The protection level is defined with the PROT bit. The protection is enabled by setting the AUTH0 byte to a value that is within the addressable memory space. 8.9 Originality signature NTAG21x features a cryptographically supported originality check. With this feature, it is possible to verify with a certain confidence that the tag is using an IC manufactured by NXP Semiconductors. This check can be performed on personalized tags as well. NTAG21x digital signature is based on standard Elliptic Curve Cryptography (curve name secp128r1), according to the ECDSA algorithm. The use of a standard algorithm and curve ensures easy software integration of the originality check procedure in NFC devices without specific hardware requirements. Each NTAG21x UID is signed with a NXP private key and the resulting 32-byte signature is stored in a hidden part of the NTAG21x memory during IC production. This signature can be retrieved using the READ_SIG command and can be verified in the NFC device by using the corresponding ECC public key provided by NXP. In case the NXP public key is stored in the NFC device, the complete signature verification procedure can be performed offline. To verify the signature (for example with the use of the public domain crypto library OpenSSL) the tool domain parameters shall be set to secp128r1, defined within the standards for elliptic curve cryptography SEC (Ref. 8). Details on how to check the signature value are provided in following application note (Ref. 5). It is foreseen to offer an online and offline way to verify originality of NTAG21x. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 31 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 9. Command overview NTAG activation follows the ISO/IEC 14443 Type A. After NTAG21x has been selected, it can either be deactivated using the ISO/IEC 14443 HLTA command, or the NTAG commands (e.g. READ or WRITE) can be performed. For more details about the card activation refer to Ref. 1. 9.1 NTAG21x command overview All available commands for NTAG21x are shown in Table 22. Table 22. Command overview Command[1] ISO/IEC 14443 NFC FORUM Command code (hexadecimal) Request REQA SENS_REQ 26h (7 bit) Wake-up WUPA ALL_REQ 52h (7 bit) Anticollision CL1 Anticollision CL1 SDD_REQ CL1 93h 20h Select CL1 Select CL1 SEL_REQ CL1 93h 70h Anticollision CL2 Anticollision CL2 SDD_REQ CL2 95h 20h Select CL2 Select CL2 SEL_REQ CL2 95h 70h Halt HLTA SLP_REQ 50h 00h GET_VERSION[2] - - 60h READ - READ 30h FAST_READ[2] - - 3Ah WRITE - WRITE A2h COMP_WRITE - - A0h READ_CNT[2] - - 39h PWD_AUTH[2] - - 1Bh READ_SIG[2] - - 3Ch [1] Unless otherwise specified, all commands use the coding and framing as described in Ref. 1. [2] This command is new in NTAG21x compared to NTAG203. 9.2 Timings The command and response timings shown in this document are not to scale and values are rounded to 1 s. All given command and response transmission times refer to the data frames including start of communication and end of communication. They do not include the encoding (like the Miller pulses). A NFC device data frame contains the start of communication (1 “start bit”) and the end of communication (one logic 0 + 1 bit length of unmodulated carrier). A NFC tag data frame contains the start of communication (1 “start bit”) and the end of communication (1 bit length of no subcarrier). The minimum command response time is specified according to Ref. 1 as an integer n which specifies the NFC device to NFC tag frame delay time. The frame delay time from NFC tag to NFC device is at least 87 s. The maximum command response time is NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 32 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory specified as a time-out value. Depending on the command, the TACK value specified for command responses defines the NFC device to NFC tag frame delay time. It does it for either the 4-bit ACK value specified in Section 9.3 or for a data frame. All command timings are according to ISO/IEC 14443-3 frame specification as shown for the Frame Delay Time in Figure 14. For more details refer to Ref. 1. last data bit transmitted by the NFC device first modulation of the NFC TAG FDT = (n* 128 + 84)/fc 128/fc logic „1“ 256/fc end of communication (E) 128/fc start of communication (S) FDT = (n* 128 + 20)/fc 128/fc logic „0“ 256/fc end of communication (E) 128/fc start of communication (S) aaa-006986 Fig 14. Frame Delay Time (from NFC device to NFC tag) Remark: Due to the coding of commands, the measured timings usually excludes (a part of) the end of communication. Considered this factor when comparing the specified with the measured times. 9.3 NTAG ACK and NAK NTAG uses a 4 bit ACK / NAK as shown in Table 23. Table 23. ACK and NAK values Code (4-bit) ACK/NAK Ah Acknowledge (ACK) 0h NAK for invalid argument (i.e. invalid page address) 1h NAK for parity or CRC error 4h NAK for invalid authentication counter overflow 5h NAK for EEPROM write error 9.4 ATQA and SAK responses NTAG21x replies to a REQA or WUPA command with the ATQA value shown in Table 24. It replies to a Select CL2 command with the SAK value shown in Table 25. The 2-byte ATQA value is transmitted with the least significant byte first (44h). Table 24. ATQA response of the NTAG21x Bit number NTAG213_215_216 Product data sheet COMPANY PUBLIC Sales type Hex value 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 NTAG21x 00 44h 0 0 1 0 0 0 1 0 0 0 0 0 0 0 All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 0 0 © NXP Semiconductors N.V. 2015. All rights reserved. 33 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Table 25. SAK response of the NTAG21x Bit number Sales type Hex value 8 7 6 5 4 3 2 1 NTAG21x 00h 0 0 0 0 0 0 0 0 Remark: The ATQA coding in bits 7 and 8 indicate the UID size according to ISO/IEC 14443 independent from the settings of the UID usage. Remark: The bit numbering in the ISO/IEC 14443 starts with LSB = bit 1 and not with LSB = bit 0. So 1 byte counts bit 1 to bit 8 instead of bit 0 to 7. 10. NTAG commands 10.1 GET_VERSION The GET_VERSION command is used to retrieve information on the NTAG family, the product version, storage size and other product data required to identify the specific NTAG21x. This command is also available on other NTAG products to have a common way of identifying products across platforms and evolution steps. The GET_VERSION command has no arguments and replies the version information for the specific NTAG21x type. The command structure is shown in Figure 15 and Table 26. Table 27 shows the required timing. NFC device Cmd CRC Data NTAG ,,ACK'' TACK 283 μs CRC 868 μs NAK NTAG ,,NAK'' TNAK 57 μs TTimeOut Time out aaa-006987 Fig 15. GET_VERSION command Table 26. NTAG213_215_216 Product data sheet COMPANY PUBLIC GET_VERSION command Name Code Description Length Cmd 60h Get product version 1 byte CRC - CRC according to Ref. 1 2 bytes Data - Product version information 8 bytes NAK see Table 23 see Section 9.3 4-bit All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 34 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Table 27. GET_VERSION timing These times exclude the end of communication of the NFC device. GET_VERSION [1] NTAG213_215_216 Product data sheet COMPANY PUBLIC TACK/NAK min TACK/NAK max TTimeOut n=9[1] TTimeOut 5 ms Refer to Section 9.2 “Timings”. All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 35 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Table 28. GET_VERSION response for NTAG213, NTAG215 and NTAG216 Byte no. Description NTAG213 NTAG215 NTAG216 Interpretation 0 fixed Header 00h 00h 00h 1 vendor ID 04h 04h 04h NXP Semiconductors 2 product type 04h 04h 04h NTAG 3 product subtype 02h 02h 02h 50 pF 4 major product version 01h 01h 01h 1 5 minor product version 00h 00h 00h V0 6 storage size 0Fh 11h 13h see following information 7 protocol type 03h 03h 03h ISO/IEC 14443-3 compliant The most significant 7 bits of the storage size byte are interpreted as a unsigned integer value n. As a result, it codes the total available user memory size as 2n. If the least significant bit is 0b, the user memory size is exactly 2n. If the least significant bit is 1b, the user memory size is between 2n and 2n+1. The user memory for NTAG213 is 144 bytes. This memory size is between 128bytes and 256 bytes. Therefore, the most significant 7 bits of the value 0Fh, are interpreted as 7d and the least significant bit is 1b. The user memory for NTAG215 is 504 bytes. This memory size is between 256 bytes and 512 bytes. Therefore, the most significant 7 bits of the value 11h, are interpreted as 8d and the least significant bit is 1b. The user memory for NTAG216 is 888 bytes. This memory size is between 512 bytes and 1024 bytes. Therefore, the most significant 7 bits of the value 13h, are interpreted as 9d and the least significant bit is 1b. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 36 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 10.2 READ The READ command requires a start page address, and returns the 16 bytes of four NTAG21x pages. For example, if address (Addr) is 03h then pages 03h, 04h, 05h, 06h are returned. Special conditions apply if the READ command address is near the end of the accessible memory area. The special conditions also apply if at least part of the addressed pages is within a password protected area. For details on those cases and the command structure refer to Figure 16 and Table 29. Table 30 shows the required timing. NFC device Cmd Addr CRC Data NTAG ,,ACK'' TACK 368 μs CRC 1548 μs NAK NTAG ,,NAK'' TNAK 57 μs TTimeOut Time out aaa-006988 Fig 16. READ command Table 29. READ command Name Code Description Length Cmd 30h read four pages 1 byte Addr - start page address 1 byte 2 bytes CRC - CRC according to Ref. 1 Data - Data content of the addressed pages 16 bytes NAK see Table 23 see Section 9.3 4-bit Table 30. READ timing These times exclude the end of communication of the NFC device. READ [1] TACK/NAK min TACK/NAK max TTimeOut n=9[1] TTimeOut 5 ms Refer to Section 9.2 “Timings”. In the initial state of NTAG21x, all memory pages are allowed as Addr parameter to the READ command. • page address 00h to 2Ch for NTAG213 • page address 00h to 86h for NTAG215 • page address 00h to E6h for NTAG216 Addressing a memory page beyond the limits above results in a NAK response from NTAG21x. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 37 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory A roll-over mechanism is implemented to continue reading from page 00h once the end of the accessible memory is reached. Reading from address 2Ah on a NTAG213 results in pages 2Ah, 2Bh, 2Ch and 00h being returned. The following conditions apply if part of the memory is password protected for read access: • if NTAG21x is in the ACTIVE state – addressing a page which is equal or higher than AUTH0 results in a NAK response – addressing a page lower than AUTH0 results in data being returned with the roll-over mechanism occurring just before the AUTH0 defined page • if NTAG21x is in the AUTHENTICATED state – the READ command behaves like on a NTAG21x without access protection Remark: PWD and PACK values can never be read out of the memory. When reading from the pages holding those two values, all 00h bytes are replied to the NFC device instead. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 38 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 10.3 FAST_READ The FAST_READ command requires a start page address and an end page address and returns the all n*4 bytes of the addressed pages. For example if the start address is 03h and the end address is 07h then pages 03h, 04h, 05h, 06h and 07h are returned. If the addressed page is outside of accessible area, NTAG21x replies a NAK. For details on those cases and the command structure, refer to Figure 17 and Table 31. Table 32 shows the required timing. NFC device StartAddr EndAddr Cmd CRC Data NTAG ,,ACK'' TACK 453 μs CRC depending on nr of read pages NAK NTAG ,,NAK'' TNAK 57 μs TTimeOut Time out aaa-006989 Fig 17. FAST_READ command Table 31. FAST_READ command Name Code Description Length Cmd 3Ah read multiple pages 1 byte StartAddr - start page address 1 byte EndAddr - end page address 1 byte CRC - CRC according to Ref. 1 2 bytes Data - data content of the addressed pages n*4 bytes NAK see Table 23 see Section 9.3 4-bit Table 32. FAST_READ timing These times exclude the end of communication of the NFC device. FAST_READ [1] TACK/NAK min TACK/NAK max TTimeOut n=9[1] TTimeOut 5 ms Refer to Section 9.2 “Timings”. In the initial state of NTAG21x, all memory pages are allowed as StartAddr parameter to the FAST_READ command. • page address 00h to 2Ch for NTAG213 • page address 00h to 86h for NTAG215 • page address 00h to E6h for NTAG216 Addressing a memory page beyond the limits above results in a NAK response from NTAG21x. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 39 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory The EndAddr parameter must be equal to or higher than the StartAddr. The following conditions apply if part of the memory is password protected for read access: • if NTAG21x is in the ACTIVE state – if any requested page address is equal or higher than AUTH0 a NAK is replied • if NTAG21x is in the AUTHENTICATED state – the FAST_READ command behaves like on a NTAG21x without access protection Remark: PWD and PACK values can never be read out of the memory. When reading from the pages holding those two values, all 00h bytes are replied to the NFC device instead. Remark: The FAST_READ command is able to read out the whole memory with one command. Nevertheless, receive buffer of the NFC device must be able to handle the requested amount of data as there is no chaining possibility. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 40 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 10.4 WRITE The WRITE command requires a block address, and writes 4 bytes of data into the addressed NTAG21x page. The WRITE command is shown in Figure 18 and Table 33. Table 34 shows the required timing. NFC device Cmd Addr Data CRC ACK NTAG ,,ACK'' TACK 708 μs 57 μs NAK NTAG ,,NAK'' TNAK 57 μs TTimeOut Time out aaa-006990 Fig 18. WRITE command Table 33. WRITE command Name Code Description Length Cmd A2h write one page 1 byte Addr - page address 1 byte CRC - CRC according to Ref. 1 2 bytes Data - data 4 bytes NAK see Table 23 see Section 9.3 4-bit Table 34. WRITE timing These times exclude the end of communication of the NFC device. WRITE [1] TACK/NAK min TACK/NAK max TTimeOut n=9[1] TTimeOut 10 ms Refer to Section 9.2 “Timings”. In the initial state of NTAG21x, the following memory pages are valid Addr parameters to the WRITE command. • page address 02h to 2Ch for NTAG213 • page address 02h to 86h for NTAG215 • page address 02h to E6h for NTAG216 Addressing a memory page beyond the limits above results in a NAK response from NTAG21x. Pages which are locked against writing cannot be reprogrammed using any write command. The locking mechanisms include static and dynamic lock bits as well as the locking of the configuration pages. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 41 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory The following conditions apply if part of the memory is password protected for write access: • if NTAG21x is in the ACTIVE state – writing to a page which address is equal or higher than AUTH0 results in a NAK response • if NTAG21x is in the AUTHENTICATED state – the WRITE command behaves like on a NTAG21x without access protection NTAG21x features tearing protected write operations to specific memory content. The following pages are protected against tearing events during a WRITE operation: • • • • • NTAG213_215_216 Product data sheet COMPANY PUBLIC page 02h containing static lock bits page 03h containing CC bits page 28h containing the additional dynamic lock bits for the NTAG213 page 82h containing the additional dynamic lock bits for the NTAG215 page E2h containing the additional dynamic lock bits for the NTAG216 All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 42 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 10.5 COMPATIBILITY_WRITE The COMPATIBILITY_WRITE command is implemented to guarantee interoperability with the established MIFARE Classic PCD infrastructure, in case of coexistence of ticketing and NFC applications. Even though 16 bytes are transferred to NTAG21x, only the least significant 4 bytes (bytes 0 to 3) are written to the specified address. Set all the remaining bytes, 04h to 0Fh, to logic 00h. The COMPATIBILITY_WRITE command is shown in Figure 19, Figure 20 and Table 35. Table 36 shows the required timing. NFC device Cmd Addr CRC ACK NTAG ,,ACK'' 368 μs TACK 59 μs TNAK 59 μs NAK NTAG ,,NAK'' TTimeOut Time out aaa-006991 Fig 19. COMPATIBILITY_WRITE command part 1 NFC device Data CRC ACK NTAG ,,ACK'' 1558 μs TACK 59 μs NAK NTAG ,,NAK'' TNAK 59 μs TTimeOut Time out aaa-006992 Fig 20. COMPATIBILITY_WRITE command part 2 Table 35. Name NTAG213_215_216 Product data sheet COMPANY PUBLIC COMPATIBILITY_WRITE command Code Description Length Cmd A0h compatibility write 1 byte Addr - page address 1 byte CRC - CRC according to Ref. 1 2 bytes Data - 16-byte Data, only least significant 4 bytes are written 16 bytes NAK see Table 23 see Section 9.3 4-bit All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 43 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Table 36. COMPATIBILITY_WRITE timing These times exclude the end of communication of the NFC device. TACK/NAK min TACK/NAK max TTimeOut COMPATIBILITY_WRITE part 1 n=9[1] TTimeOut 5 ms COMPATIBILITY_WRITE part 2 n=9[1] TTimeOut 10 ms [1] Refer to Section 9.2 “Timings”. In the initial state of NTAG21x, the following memory pages are valid Addr parameters to the COMPATIBILITY_WRITE command. • page address 02h to 2Ch for NTAG213 • page address 02h to 86h for NTAG215 • page address 02h to E6h for NTAG216 Addressing a memory page beyond the limits above results in a NAK response from NTAG21x. Pages which are locked against writing cannot be reprogrammed using any write command. The locking mechanisms include static and dynamic lock bits as well as the locking of the configuration pages. The following conditions apply if part of the memory is password protected for write access: • if NTAG21x is in the ACTIVE state – writing to a page which address is equal or higher than AUTH0 results in a NAK response • if NTAG21x is in the AUTHENTICATED state – the COMPATIBILITY_WRITE command behaves the same as on a NTAG21x without access protection NTAG21x features tearing protected write operations to specific memory content. The following pages are protected against tearing events during a COMPATIBILITY_WRITE operation: • • • • • NTAG213_215_216 Product data sheet COMPANY PUBLIC page 02h containing static lock bits page 03h containing CC bits page 28h containing the additional dynamic lock bits for the NTAG213 page 82h containing the additional dynamic lock bits for the NTAG215 page E2h containing the additional dynamic lock bits for the NTAG216 All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 44 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 10.6 READ_CNT The READ_CNT command is used to read out the current value of the NFC one-way counter of the NTAG213, NTAG215 and NTAG216. The command has a single argument specifying the counter number and returns the 24-bit counter value of the corresponding counter. If the NFC_CNT_PWD_PROT bit is set to 1b the counter is password protected and can only be read with the READ_CNT command after a previous valid password authentication (see Section 10.7). The command structure is shown in Figure 21 and Table 37. Table 38 shows the required timing. NFC Device Cmd Addr CRC Data NTAG ,,ACK'' TACK 368 μs NTAG ,,NAK'' CRC 444 μs NAK TNAK 57 μs TTimeOut Time out aaa-008094 Fig 21. READ_CNT command Table 37. READ_CNT command Name Code Description Length Cmd 39h read counter 1 byte Addr 02h NFC counter address 1 byte CRC - CRC according to Ref. 1 2 bytes Data - counter value 3 bytes NAK see Table 23 see Section 9.3 4-bit Table 38. READ_CNT timing These times exclude the end of communication of the NFC device. READ_CNT [1] TACK/NAK min TACK/NAK max TTimeOut n=9[1] TTimeOut 5 ms Refer to Section 9.2 “Timings”. The following conditions apply if the NFC counter is password protected: • if NTAG21x is in the ACTIVE state – Response to the READ_CNT command results in a NAK response • if NTAG21x is in the AUTHENTICATED state – Response to the READ_CNT command is the current counter value plus CRC NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 45 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 10.7 PWD_AUTH A protected memory area can be accessed only after a successful password verification using the PWD_AUTH command. The AUTH0 configuration byte defines the protected area. It specifies the first page that the password mechanism protects. The level of protection can be configured using the PROT bit either for write protection or read/write protection. The PWD_AUTH command takes the password as parameter and, if successful, returns the password authentication acknowledge, PACK. By setting the AUTHLIM configuration bits to a value larger than 000b, the number of unsuccessful password verifications can be limited. Each unsuccessful authentication is then counted in a counter featuring anti-tearing support. After reaching the limit of unsuccessful attempts, the memory access specified in PROT, is no longer possible. The PWD_AUTH command is shown in Figure 22 and Table 39. Table 40 shows the required timing. NFC device Cmd Pwd CRC PACK NTAG ,,ACK'' TACK 623 μs CRC 359 μs NAK NTAG ,,NAK'' TNAK 57 μs TTimeOut Time out aaa-015710 Fig 22. PWD_AUTH command Table 39. PWD_AUTH command Name Code Description Length Cmd 1Bh password authentication 1 byte Pwd - password 4 bytes CRC - CRC according to Ref. 1 2 bytes PACK - password authentication acknowledge 2 bytes NAK see Table 23 see Section 9.3 4-bit Table 40. PWD_AUTH timing These times exclude the end of communication of the NFC device. PWD_AUTH [1] TACK/NAK min TACK/NAK max TTimeOut n=9[1] TTimeOut 5 ms Refer to Section 9.2 “Timings”. Remark: It is strongly recommended to change the password from its delivery state at tag issuing and set the AUTH0 value to the PWD page. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 46 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 10.8 READ_SIG The READ_SIG command returns an IC specific, 32-byte ECC signature, to verify NXP Semiconductors as the silicon vendor. The signature is programmed at chip production and cannot be changed afterwards. The command structure is shown in Figure 23 and Table 41. Table 42 shows the required timing. NFC device Cmd Addr CRC Sign NTAG ,,ACK'' TACK 368 μs CRC 2907 μs NAK NTAG ,,NAK'' TNAK 57 μs TTimeOut Time out aaa-006994 Fig 23. READ_SIG command Table 41. READ_SIG command Name Code Description Length Cmd 3Ch read ECC signature 1 byte Addr 00h RFU, is set to 00h 1 byte CRC - CRC according to Ref. 1 2 bytes Signature - ECC signature 32 bytes NAK see Table 23 see Section 9.3 4 bit Table 42. READ_SIG timing These times exclude the end of communication of the NFC device. READ_SIG [1] TACK/NAK min TACK/NAK max TTimeOut n=9[1] TTimeOut 5 ms Refer to Section 9.2 “Timings”. Details on how to check the signature value are provided in the following Application note (Ref. 5). It is foreseen to offer an online and offline way to verify originality of NTAG21x. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 47 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 11. Limiting values Stresses exceeding one or more of the limiting values can cause permanent damage to the device. Exposure to limiting values for extended periods can affect device reliability. Table 43. Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol Parameter Min Max Unit II input current - 40 mA Ptot total power dissipation - 120 mW Tstg storage temperature 55 125 C 2 - kV VESD [1] electrostatic discharge voltage on LA/LB [1] ANSI/ESDA/JEDEC JS-001; Human body model: C = 100 pF, R = 1.5 k 12. Characteristics Table 44. Characteristics Symbol Parameter Min Typ Max Unit Tamb ambient temperature Conditions 25 - 70 C Ci input capacitance - 50.0 - pF fi input frequency - 13.56 - MHz EEPROM characteristics tret retention time Tamb = 22 C 10 - - year Nendu(W) write endurance Tamb = 22 C 100.000 - - cycle 13. Wafer specification For more details on the wafer delivery forms see Ref. 5. Table 45. Wafer specifications NTAG213/215/216 Wafer diameter 200 mm typical (8 inches) maximum diameter after foil expansion 210 mm thickness 120 m 15 m NT2L1x11G0DUD 75 m 10 m NT2L1x11G0DUF flatness not applicable Potential Good Dies per Wafer (PGDW) 86470 Wafer backside material Si treatment ground and stress relieve roughness Ra max = 0.5 m Rt max = 5 m Chip dimensions NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 48 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Table 45. step Wafer specifications NTAG213/215/216 x = 505 m size[1] y = 720 m gap between typical = 20 m chips[1] minimum = 5 m Passivation type sandwich structure material PSG / nitride thickness 500 nm / 600 nm Au bump (substrate connected to VSS) material > 99.9 % pure Au hardness 35 to 80 HV 0.005 shear strength > 70 MPa height 18 m height uniformity within a die = 2 m within a wafer = 3 m wafer to wafer = 4 m flatness minimum = 1.5 m size LA, LB, GND, TP[2] = 60 m 60 m size variation 5 m under bump metallization sputtered TiW [1] The step size and the gap between chips may vary due to changing foil expansion [2] Pads GND and TP are disconnected when wafer is sawn 13.1 Fail die identification Electronic wafer mapping covers the electrical test results and additionally the results of mechanical/visual inspection. No ink dots are applied. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 49 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 14. Package outline For more details on the contactless MOA8 module see Ref. 7. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 50 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory PLLMC: plastic leadless module carrier package; 35 mm wide tape SOT500-4 X D A detail X 0 10 scale Dimensions Unit mm 20 mm A(1) D max 0.26 35.05 nom 35.00 min 34.95 For unspecified dimensions see PLLMC-drawing given in the subpackage code. Note 1. Total package thickness, exclusive punching burr. sot500-4_po References Outline version IEC JEDEC JEITA SOT500-4 --- --- --- European projection Issue date 11-02-18 Fig 24. Package outline SOT500-4 NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 51 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 15. Bare die outline For more details on the wafer delivery forms see Ref. 6. NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 52 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Chip Step Bump size LA, LB, GND, TP x [μm] y [μm] 505(1) 720(1) 60 60 LA TP GND LB 638,0 typ. 720,0(1) typ. 20,0(1) min. 5,0 typ. 20,0(1) min. 5,0 43,0 43,0 423,0 Y X typ. 505,0(1) (1) the air gap and thus the step size may vary due to varying foil expansion (2) all dimensions in μm, pad locations measured from metal ring edge (see detail) aaa-008074 Fig 25. Bare die outline NTAG213/215/216 NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 53 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 16. Abbreviations Table 46. Abbreviations and symbols Acronym Description ACK ACKnowledge ATQA Answer To reQuest, Type A CRC Cyclic Redundancy Check CC Capability container CT Cascade Tag (value 88h) as defined in ISO/IEC 14443-3 Type A ECC Elliptic Curve Cryptography EEPROM Electrically Erasable Programmable Read-Only Memory FDT Frame Delay Time FFC Film Frame Carrier IC Integrated Circuit LCR L = inductance, Capacitance, Resistance (LCR meter) LSB Least Significant Bit NAK Not AcKnowledge NFC device NFC Forum device NFC tag NFC Forum tag NV Non-Volatile memory REQA REQuest command, Type A RF Radio Frequency RFUI Reserver for Future Use - Implemented RMS Root Mean Square SAK Select AcKnowledge, type A SECS-II SEMI Equipment Communications Standard part 2 TiW Titanium Tungsten UID Unique IDentifier WUPA Wake-Up Protocol type A 17. References 1. [1] ISO/IEC 14443 — International Organization for Standardization [2] NFC Forum Tag 2 Type Operation, Technical Specification — NFC Forum, 31.05.2011, Version 1.1 [3] NFC Data Exchange Format (NDEF), Technical Specification — NFC Forum, 24.07.2006, Version 1.0 [4] AN11276 NTAG Antenna Design Guide — Application note, BU-ID Document number 2421**1 [5] AN11350 NTAG21x Originality Signature Validation — Application note, BU-ID Document number 2604**1 ** ... BU ID document version number NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 54 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory NTAG213_215_216 Product data sheet COMPANY PUBLIC [6] General specification for 8" wafer on UV-tape; delivery types — Delivery Type Description, BU-ID Document number 1005**1 [7] Contactless smart card module specification MOA8 — Delivery Type Description, BU-ID Document number 1636**1 [8] Certicom Research. SEC 2 — Recommended Elliptic Curve Domain Parameters, version 2.0, January 2010 [9] AN11456 NTAG215/216(F)/NTAG I2C Using the dynamic lock bits to lock the tag — Application note, BU-ID Document number 2769**1 All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 55 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 18. Revision history Table 47. Revision history Document ID Release date Data sheet status Change notice Supersedes NTAG213_215_216 v.3.2 20150602 Product data sheet - NTAG213_215_216 v.3.1 Modifications: NTAG213_215_216 v.3.1 Modifications: NTAG213_215_216 v.3.0 Modifications: NTAG213_215_216 v.2.0 • • Product data sheet COMPANY PUBLIC Correction of Figure 22 “PWD_AUTH command” 20131213 Product data sheet CIN 201312010I NTAG213_215_216 v.3.0 • Modification of capability container content at delivery for NTAG215 and NTAG216 in Section 8.5.4 “Capability Container (CC bytes)” • Modification of memory content at delivery for NTAG215 and NTAG 216 in Section 8.5.6 “Memory content at delivery” 20130724 Product data sheet NTAG213_215_216 v.2.0 • Hexadecimal addresses for NTAG213 in Figure 5 and Tables 14, 15, 17, 18, 20, 21 corrected • Dynamic lock bytes addresses for NTAG215 (Figure 11) and NTAG216 (Figure 12) corrected • • • Number of Possible Good Dies per Wafer (PGDW) and step size in Table 45 corrected Memory content in Tables 14, 15, 17, 18, 20, 21 corrected Table 2 “Ordering information”: corrected 20130528 • NTAG213_215_216 Addition of MOA8 module delivery form Preliminary data sheet - - Initial version All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 56 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 19. Legal information 19.1 Data sheet status Document status[1][2] Product status[3] Definition Objective [short] data sheet Development This document contains data from the objective specification for product development. Preliminary [short] data sheet Qualification This document contains data from the preliminary specification. Product [short] data sheet Production This document contains the product specification. [1] Please consult the most recently issued document before initiating or completing a design. [2] The term ‘short data sheet’ is explained in section “Definitions”. [3] The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status information is available on the Internet at URL http://www.nxp.com. 19.2 Definitions Draft — The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. Short data sheet — A short data sheet is an extract from a full data sheet with the same product type number(s) and title. A short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. For detailed and full information see the relevant full data sheet, which is available on request via the local NXP Semiconductors sales office. In case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail. Product specification — The information and data provided in a Product data sheet shall define the specification of the product as agreed between NXP Semiconductors and its customer, unless NXP Semiconductors and customer have explicitly agreed otherwise in writing. In no event however, shall an agreement be valid in which the NXP Semiconductors product is deemed to offer functions and qualities beyond those described in the Product data sheet. 19.3 Disclaimers Limited warranty and liability — Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. NXP Semiconductors takes no responsibility for the content in this document if provided by an information source outside of NXP Semiconductors. In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors. Right to make changes — NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. NTAG213_215_216 Product data sheet COMPANY PUBLIC Suitability for use — NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors and its suppliers accept no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer’s own risk. Applications — Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product design. It is customer’s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer’s applications and products planned, as well as for the planned application and use of customer’s third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer’s applications or products, or the application or use by customer’s third party customer(s). Customer is responsible for doing all necessary testing for the customer’s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer’s third party customer(s). NXP does not accept any liability in this respect. Limiting values — Stress above one or more limiting values (as defined in the Absolute Maximum Ratings System of IEC 60134) will cause permanent damage to the device. Limiting values are stress ratings only and (proper) operation of the device at these or any other conditions above those given in the Recommended operating conditions section (if present) or the Characteristics sections of this document is not warranted. Constant or repeated exposure to limiting values will permanently and irreversibly affect the quality and reliability of the device. Terms and conditions of commercial sale — NXP Semiconductors products are sold subject to the general terms and conditions of commercial sale, as published at http://www.nxp.com/profile/terms, unless otherwise agreed in a valid written individual agreement. In case an individual agreement is concluded only the terms and conditions of the respective agreement shall apply. NXP Semiconductors hereby expressly objects to applying the customer’s general terms and conditions with regard to the purchase of NXP Semiconductors products by customer. No offer to sell or license — Nothing in this document may be interpreted or construed as an offer to sell products that is open for acceptance or the grant, conveyance or implication of any license under any copyrights, patents or other industrial or intellectual property rights. All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 57 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory Export control — This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities. liability, damages or failed product claims resulting from customer design and use of the product for automotive applications beyond NXP Semiconductors’ standard warranty and NXP Semiconductors’ product specifications. Quick reference data — The Quick reference data is an extract of the product data given in the Limiting values and Characteristics sections of this document, and as such is not complete, exhaustive or legally binding. 19.4 Licenses Non-automotive qualified products — Unless this data sheet expressly states that this specific NXP Semiconductors product is automotive qualified, the product is not suitable for automotive use. It is neither qualified nor tested in accordance with automotive testing or application requirements. NXP Semiconductors accepts no liability for inclusion and/or use of non-automotive qualified products in automotive equipment or applications. In the event that customer uses the product for design-in and use in automotive applications to automotive specifications and standards, customer (a) shall use the product without NXP Semiconductors’ warranty of the product for such automotive applications, use and specifications, and (b) whenever customer uses the product for automotive applications beyond NXP Semiconductors’ specifications such use shall be solely at customer’s own risk, and (c) customer fully indemnifies NXP Semiconductors for any Purchase of NXP ICs with NFC technology Purchase of an NXP Semiconductors IC that complies with one of the Near Field Communication (NFC) standards ISO/IEC 18092 and ISO/IEC 21481 does not convey an implied license under any patent right infringed by implementation of any of those standards. 19.5 Trademarks Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners. MIFARE — is a trademark of NXP Semiconductors N.V. 20. Contact information For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 58 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 21. Tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Quick reference data . . . . . . . . . . . . . . . . . . . . .4 Ordering information . . . . . . . . . . . . . . . . . . . . .4 Pin allocation table . . . . . . . . . . . . . . . . . . . . . . .5 NDEF memory size . . . . . . . . . . . . . . . . . . . . .16 Memory content at delivery NTAG213 . . . . . . .17 Memory content at delivery NTAG215 . . . . . . .17 Memory content at delivery NTAG216 . . . . . . .17 Configuration Pages . . . . . . . . . . . . . . . . . . . . .18 MIRROR configuration byte . . . . . . . . . . . . . . .18 ACCESS configuration byte . . . . . . . . . . . . . . .18 Configuration parameter descriptions. . . . . . . .18 Required memory space for ASCII mirror. . . . .20 Configuration parameter description. . . . . . . . .21 UID ASCII mirror - Physical memory content . .22 UID ASCII mirror - Virtual memory content. . . .23 Configuration parameter description. . . . . . . . .24 NFC counter mirror - Physical memory content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 NFC counter mirror - Virtual memory content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Configuration parameter description. . . . . . . . .27 UID and NFC counter ASCII mirror - Physical memory content . . . . . . . . . . . . . . . . . . . . . . . .28 UID and NFC counter ASCII mirror - Physical memory content . . . . . . . . . . . . . . . . . . . . . . . .29 Command overview . . . . . . . . . . . . . . . . . . . . .32 Table 23. Table 24. Table 25. Table 26. Table 27. Table 28. Table 29. Table 30. Table 31. Table 32. Table 33. Table 34. Table 35. Table 36. Table 37. Table 38. Table 39. Table 40. Table 41. Table 42. Table 43. Table 44. Table 45. Table 46. Table 47. ACK and NAK values. . . . . . . . . . . . . . . . . . . . 33 ATQA response of the NTAG21x . . . . . . . . . . . 33 SAK response of the NTAG21x . . . . . . . . . . . . 34 GET_VERSION command. . . . . . . . . . . . . . . . 34 GET_VERSION timing. . . . . . . . . . . . . . . . . . . 35 GET_VERSION response for NTAG213, NTAG215 and NTAG216 . . . . . . . . . . . . . . . . . 36 READ command . . . . . . . . . . . . . . . . . . . . . . . 37 READ timing . . . . . . . . . . . . . . . . . . . . . . . . . . 37 FAST_READ command . . . . . . . . . . . . . . . . . . 39 FAST_READ timing . . . . . . . . . . . . . . . . . . . . . 39 WRITE command. . . . . . . . . . . . . . . . . . . . . . . 41 WRITE timing. . . . . . . . . . . . . . . . . . . . . . . . . . 41 COMPATIBILITY_WRITE command . . . . . . . . 43 COMPATIBILITY_WRITE timing . . . . . . . . . . . 44 READ_CNT command. . . . . . . . . . . . . . . . . . . 45 READ_CNT timing . . . . . . . . . . . . . . . . . . . . . . 45 PWD_AUTH command . . . . . . . . . . . . . . . . . . 46 PWD_AUTH timing . . . . . . . . . . . . . . . . . . . . . 46 READ_SIG command . . . . . . . . . . . . . . . . . . . 47 READ_SIG timing . . . . . . . . . . . . . . . . . . . . . . 47 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 48 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . 48 Wafer specifications NTAG213/215/216 . . . . . 48 Abbreviations and symbols . . . . . . . . . . . . . . . 54 Revision history . . . . . . . . . . . . . . . . . . . . . . . . 56 22. Figures Fig 1. Fig 2. Fig 3. Fig 4. Fig 5. Fig 6. Fig 7. Fig 8. Fig 9. Fig 10. Fig 11. Fig 12. Fig 13. Fig 14. Fig 15. Fig 16. Fig 17. Fig 18. Fig 19. Fig 20. Fig 21. Fig 22. Fig 23. Fig 24. Fig 25. Contactless system . . . . . . . . . . . . . . . . . . . . . . . .2 Block diagram of NTAG213/215/216 . . . . . . . . . . .5 Pin configuration for SOT500-4 (MOA8) . . . . . . . .5 State diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 Memory organization NTAG213. . . . . . . . . . . . . . 11 Memory organization NTAG215. . . . . . . . . . . . . . 11 Memory organization NTAG216. . . . . . . . . . . . . .12 UID/serial number . . . . . . . . . . . . . . . . . . . . . . . .12 Static lock bytes 0 and 1 . . . . . . . . . . . . . . . . . . .13 NTAG213 Dynamic lock bytes 0, 1 and 2 . . . . . .14 NTAG215 Dynamic lock bytes 0, 1 and 2 . . . . . .14 NTAG216 Dynamic lock bytes 0, 1 and 2 . . . . . .15 CC bytes example . . . . . . . . . . . . . . . . . . . . . . . .16 Frame Delay Time (from NFC device to NFC tag) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 GET_VERSION command. . . . . . . . . . . . . . . . . .34 READ command . . . . . . . . . . . . . . . . . . . . . . . . .37 FAST_READ command . . . . . . . . . . . . . . . . . . . .39 WRITE command . . . . . . . . . . . . . . . . . . . . . . . .41 COMPATIBILITY_WRITE command part 1 . . . . .43 COMPATIBILITY_WRITE command part 2 . . . . .43 READ_CNT command. . . . . . . . . . . . . . . . . . . . .45 PWD_AUTH command . . . . . . . . . . . . . . . . . . . .46 READ_SIG command . . . . . . . . . . . . . . . . . . . . .47 Package outline SOT500-4 . . . . . . . . . . . . . . . . .51 Bare die outline NTAG213/215/216 . . . . . . . . . . .53 NTAG213_215_216 Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.2 — 2 June 2015 265332 © NXP Semiconductors N.V. 2015. All rights reserved. 59 of 60 NTAG213/215/216 NXP Semiconductors NFC Forum T2T compliant IC with 144/504/888 bytes user memory 23. Contents 1 1.1 1.2 1.3 1.4 1.5 2 2.1 3 4 5 6 7 7.1 8 8.1 8.2 8.3 8.4 8.4.1 8.4.2 8.4.3 8.4.4 8.4.5 8.4.6 8.5 8.5.1 8.5.2 8.5.3 8.5.4 8.5.5 8.5.6 8.5.7 8.6 8.7 8.7.1 8.7.1.1 8.7.2 8.7.2.1 8.7.3 8.7.3.1 8.8 8.8.1 8.8.2 8.8.3 8.9 General description . . . . . . . . . . . . . . . . . . . . . . 1 Contactless energy and data transfer. . . . . . . . 1 Simple deployment and user convenience . . . . 2 Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 NFC Forum Tag 2 Type compliance . . . . . . . . . 2 Anticollision. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Features and benefits . . . . . . . . . . . . . . . . . . . . 3 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Quick reference data . . . . . . . . . . . . . . . . . . . . . 4 Ordering information . . . . . . . . . . . . . . . . . . . . . 4 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Pinning information . . . . . . . . . . . . . . . . . . . . . . 5 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Functional description . . . . . . . . . . . . . . . . . . . 6 Block description . . . . . . . . . . . . . . . . . . . . . . . 6 RF interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Data integrity. . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Communication principle . . . . . . . . . . . . . . . . . 8 IDLE state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 READY1 state. . . . . . . . . . . . . . . . . . . . . . . . . . 9 READY2 state. . . . . . . . . . . . . . . . . . . . . . . . . . 9 ACTIVE state . . . . . . . . . . . . . . . . . . . . . . . . . 10 AUTHENTICATED state . . . . . . . . . . . . . . . . . 10 HALT state . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Memory organization . . . . . . . . . . . . . . . . . . . 11 UID/serial number. . . . . . . . . . . . . . . . . . . . . . 12 Static lock bytes (NTAG21x) . . . . . . . . . . . . . . 12 Dynamic Lock Bytes . . . . . . . . . . . . . . . . . . . . 13 Capability Container (CC bytes) . . . . . . . . . . . 16 Data pages . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Memory content at delivery . . . . . . . . . . . . . . 17 Configuration pages . . . . . . . . . . . . . . . . . . . . 18 NFC counter function . . . . . . . . . . . . . . . . . . . 19 ASCII mirror function . . . . . . . . . . . . . . . . . . . 20 UID ASCII mirror function . . . . . . . . . . . . . . . . 21 UID ASCII Mirror example . . . . . . . . . . . . . . . 22 NFC counter mirror function . . . . . . . . . . . . . . 23 NFC counter mirror example . . . . . . . . . . . . . 25 UID and NFC counter mirror function . . . . . . . 26 UID and NFC counter mirror example . . . . . . 28 Password verification protection . . . . . . . . . . . 30 Programming of PWD and PACK . . . . . . . . . . 30 Limiting negative verification attempts . . . . . . 31 Protection of special memory segments. . . . . 31 Originality signature . . . . . . . . . . . . . . . . . . . . 31 9 9.1 9.2 9.3 9.4 10 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 11 12 13 13.1 14 15 16 17 18 19 19.1 19.2 19.3 19.4 19.5 20 21 22 23 Command overview . . . . . . . . . . . . . . . . . . . . NTAG21x command overview . . . . . . . . . . . . Timings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NTAG ACK and NAK . . . . . . . . . . . . . . . . . . ATQA and SAK responses. . . . . . . . . . . . . . . NTAG commands . . . . . . . . . . . . . . . . . . . . . . GET_VERSION . . . . . . . . . . . . . . . . . . . . . . . READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FAST_READ . . . . . . . . . . . . . . . . . . . . . . . . . WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . COMPATIBILITY_WRITE. . . . . . . . . . . . . . . . READ_CNT . . . . . . . . . . . . . . . . . . . . . . . . . . PWD_AUTH. . . . . . . . . . . . . . . . . . . . . . . . . . READ_SIG. . . . . . . . . . . . . . . . . . . . . . . . . . . Limiting values . . . . . . . . . . . . . . . . . . . . . . . . Characteristics . . . . . . . . . . . . . . . . . . . . . . . . Wafer specification . . . . . . . . . . . . . . . . . . . . . Fail die identification . . . . . . . . . . . . . . . . . . . Package outline. . . . . . . . . . . . . . . . . . . . . . . . Bare die outline . . . . . . . . . . . . . . . . . . . . . . . . Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . References. . . . . . . . . . . . . . . . . . . . . . . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . Legal information . . . . . . . . . . . . . . . . . . . . . . Data sheet status . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . Licenses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . Contact information . . . . . . . . . . . . . . . . . . . . Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 32 32 33 33 34 34 37 39 41 43 45 46 47 48 48 48 49 50 52 54 54 56 57 57 57 57 58 58 58 59 59 60 Please be aware that important notices concerning this document and the product(s) described herein, have been included in section ‘Legal information’. © NXP Semiconductors N.V. 2015. All rights reserved. For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] Date of release: 2 June 2015 265332