NTAG213F/216F NFC Forum Type 2 Tag compliant IC with 144/888 bytes user memory and field detection Rev. 3.6 — 28 September 2015 262236 Product data sheet COMPANY PUBLIC 1. General description The NTAG213F and NTAG216F are the new NFC forum compliant Type 2 Tag products developed by NXP Semiconductors for applications in electronics (i.e. connection handover, Bluetooth simple pairing, Wi-Fi Protected set-up, device authentication, gaming and others) - see Figure 1. On top of offering a large range of User memory (144 bytes for NTAG213F and 888 bytes for NTAG216F), the NTAG21xF product family offers innovative functionalities like configuration of the field detection, the SLEEP mode, the FAST_READ command and a configurable password protection. The NTAG21xF product family is designed to fully comply to NFC Forum Type 2 Tag (Ref. 2) and ISO/IEC14443 Type A (Ref. 1) specifications. The NTAG21xF product family also offers the same package (HXSON4), the same input capacitance and a full pinning compatibility to the NTAG203F product. 1.1 Contactless energy and data transfer Communication to NTAG21xF can be established only when the IC is connected to an antenna. Form and specification of the antenna is out of scope of this document. When NTAG21xF 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. EEPROM NFC Micro controller enabled device Wake up Data Field detection Energy aaa-010846 Fig 1. NTAG F concept NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 1.2 Simple deployment and user convenience NTAG21xF 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 communication time overhead • The improved RF performance allows for more flexibility in the choice of shape, dimension and materials • The HXSON4 package delivery form is the same one used as the NTAG203F with the same pinning • The field detect functionality is based on an open-drain implementation that requires only one pull up resistor 1.3 Security • Manufacturer programmed 7-byte UID for each device • Capability container with one time programmable bits • Field programmable read-only locking function per page up to 0Fh page (per 2 pages (NTAG 213F) or per 16 pages (NTAG 216F) for the extended memory section) • ECC based originality signature • 32-bit password protection to prevent unauthorized memory operations 1.4 Field detection The NTAG21xF product family features an RF field detection functionality based on Open Drain (see Figure 2) that can be configured with different RF signal or actions trigger: • upon any RF field presence • upon the first Start-of-Frame (start of the communication) • upon the selection of the tag The corresponding output signal can be used as interrupt source to e.g. wake up an embedded microcontroller or trigger further actions - e.g. Bluetooth and WiFi pairing. For more information on this feature, please refer to Ref. 8. VFD pin pull-up resistor LA FD pin VDD NTAG21xF LB GND time GND RF field ON RF field OFF aaa-008522 Fig 2. NTAG213F_216F Product data sheet COMPANY PUBLIC Field detection implementation in NTAG21xF All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 2 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 1.5 Sleep mode The NTAG21xF product family offers the SLEEP mode feature which allows the electronic device connected with the NTAG21xF to disable the NTAG21xF product by shorting the field detect pin to ground followed by RF field reset. This enables the electronic device to hide the NTAG21xF product from the NFC reader device in case e.g. its battery level is too low or for privacy reason. 1.6 NFC Forum Tag 2 Type compliance NTAG21xF 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.7 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. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 3 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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) True anticollision ECC based originality signature Fast read command UID ASCII mirror for automatic serialization NDEF messages Automatic NFC counter triggered at read command NFC counter ASCII mirror for automatic adding actual read counter value to the NDEF message Configurable Field detect pin with open drain implementation SLEEP mode to disable or re-enable the NTAG21xF device from the connected electronics device side 2.1 EEPROM 180 or 924 bytes organized in 45 or 231 pages with 4 bytes per page 144 or 888 bytes freely available user Read/Write area (36 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 NTAG213F or per 16 pages for NTAG216F 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 NTAG213F_216F Product data sheet COMPANY PUBLIC Goods and device authentication Call request SMS Call to action Bluetooth pairing WiFi pairing Connection handover All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 4 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 4. Ordering information Table 1. Ordering information Type number Package Name Description Version NT2H1611F0DTL HXSON4 plastic thermal enhanced extremely thin small outline package; no leads; 4 terminals; body 2.0 x 1.5 x 0.5 mm 888 bytes user memory, 50 pF input capacitance - NT2H1311F0DTL HXSON4 plastic thermal enhanced extremely thin small outline package; no leads; 4 terminals; body 2.0 x 1.5 x 0.5 mm 144 bytes user memory, 50 pF input capacitance - 5. Block diagram DIGITAL CONTROL UNIT antenna RF INTERFACE ANTICOLLISION EEPROM EEPROM INTERFACE FIELD DETECTION COMMAND INTERPRETER aaa-001748 Fig 3. Block diagram of NTAG213F/216F 6. Pinning information 6.1 Pinning The pinning of the NTAG21xF is exactly the same as for the NTAG203F. terminal 1 index area NTAG21xF GND 1 4 LA LB 2 3 FD aaa-007862 Transparent top view Fig 4. NTAG213F_216F Product data sheet COMPANY PUBLIC Pin configuration for SOT1312AB2 (HXSON4) All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 5 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection Table 2. Pin description of the HXSON4 package Contactless interface module NTAG213F NTAG216F Antenna contacts Description Symbol Pin 1 GND Ground Pin 2 LB Antenna connection LB Pin 3 FD RF Field Detect connection Pin 4 LA Antenna connection LA It is recommended to leave the central pad of the package floating. 7. Marking 7.1 Marking HXSON4 Table 3. Marking HXSON4 Type number Description NT2H1311F0DTL Marking Line A N3F Marking Line B yww Marking Line A N2F Marking Line B yww NT2H1611F0DTL NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 6 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8. Functional description 8.1 Block description NTAG21xF ICs consist of a 180 (NTAG213F) or 924 bytes (NTAG216F) EEPROM, RF interface and Digital Control Unit. Energy and data are transferred via an antenna consisting of a coil with a few turns which is directly connected to NTAG21xF. 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 tags may be selected and managed in sequence • Command interpreter: processes memory access commands supported by the NTAG21xF • EEPROM interface • NTAG213F 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 • NTAG216F 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 NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 7 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 data communication) as it is used for both communication and as power supply for the tag. 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 the NTAG21xF to ensure reliable data transmission: • • • • • NTAG213F_216F 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.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 8 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.4 Communication principle The commands are initiated by the NFC device and controlled by the Digital Control Unit of the NTAG21xF. The command response is depending on the communication state of the IC and for memory operations also on the access limitations valid for the corresponding page. POR HALT IDLE REQA WUPA WUPA READY 1 READ from page 0 HLTA HLTA identification and selection procedure ANTICOLLISION SELECT cascade level 1 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 5. NTAG213F_216F Product data sheet COMPANY PUBLIC State diagram All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 9 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.4.1 IDLE state After a power-on reset (POR), NTAG21xF 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 NTAG21xF 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 NTAG21xF into READY2 state where the second part of the UID is resolved. • READ command (from address 0): all anticollision mechanisms are bypassed and the NTAG21xF 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 NTAG21xF 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 NTAG21xF returns to the IDLE or HALT state. 8.4.3 READY2 state In this state, NTAG21xF 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 NTAG21xF 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. NTAG21xF 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 NTAG21xF is in the NFC device field, a READ command from address 0 selects all NTAG21xF 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 NTAG21xF returns to either the IDLE state or HALT state. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 10 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.4.4 ACTIVE state All memory operations and other functions like the originality check are operated in the ACTIVE state. The ACTIVE state is exited with the HLTA command and upon reception NTAG21xF 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 NTAG21xF returns to either the IDLE state or HALT state. NTAG21xF transits to the AUTHENTICATED state after successful password verification using the PWD_AUTH command. 8.4.5 AUTHENTICATED state In this state, all memory operations as well as 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 NTAG21xF 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 NTAG21xF 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 NTAG21xF. An already processed NTAG21xF 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. NTAG21xF 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 NTAG21xF state remains unchanged. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 11 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.5 Memory organization The EEPROM memory is organized in pages with 4 bytes per page. NTAG213F variant has 45 pages and NTAG216F variant has 231 pages in total. The memory organization can be seen in 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 6. Memory organization NTAG213F 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 PACK RFUI Dynamic lock bytes Configuration pages RFUI aaa-008089 Fig 7. Memory organization NTAG216F The structure of manufacturing data, static lock bytes, capability container and user memory pages (except of the user memory length) are compatible to NTAG203F. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 12 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 0 1 2 0 0 1 0 page 0 3 LSB 0 manufacturer ID for NXP Semiconductors (04h) 0 serial number part 1 1 2 page 1 3 0 serial number part 2 1 2 page 2 3 check byte 1 internal check byte 0 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 (NTAG21xF) 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. 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 BL 9-4 LSB MSB BL CC L 15 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 NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 13 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 (NTAG21xF) To lock the User Memory pages of NTAG21xF 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 NTAG213F and at page E2h for NTAG216F. The three lock bytes cover the memory area of 96 data bytes for NTAG213F and 830 data bytes for NTAG216F. The granularity is 2 pages for NTAG213F and 16 pages for NTAG216F compared to a single page for the first 48 bytes as shown in Figure 10 and Figure 11. Remark: It is recommended to 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 NTAG216F refer to Ref. 9 “AN11456 NTAG21x Using the dynamic lock bits to lock the tag”. 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 page 40 (28h) 0 1 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. NTAG213F Dynamic lock bytes 0, 1 and 2 NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 14 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 11. NTAG216F 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. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 15 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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. See example for NTAG213F in Figure 12. page 3 byte 12 13 14 15 Example NTAG216F default value (initialized state) 11100001 00010000 CC bytes 01101111 00000000 00000000 00001111 CC bytes write command to page 3 00000000 00000000 result in page 3 (read-only state) 11100001 00010000 01101111 00001111 aaa-007868 Fig 12. CC bytes 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. Any write operation to the CC bytes is tearing-proof. 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 NTAG213F 12h 144 byte NTAG216F 6Dh 872 byte The default values of the CC bytes at delivery are defined in Section 8.5.6. To maintain compatibility to NFC Forum Type 2 tTag specification (and interoperability with different NFC device), it is recommended to not change the default capability container content. 8.5.5 Data pages Pages 04h to 27h for NTAG213F and 04h to E1h for NTAG216F 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.9 for further details. The default values of the data pages at delivery are defined in Section 8.5.6. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 16 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.5.6 Memory content at delivery The capability container in page 03h and the data pages 04h and 05h of NTAG21xF are pre-programmed as defined in Table 5 and Table 6. Table 5. Memory content at delivery NTAG213F 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 3 Memory content at delivery NTAG216F Page Address Byte number within page 0 1 2 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.9 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 NTAG216F refer to Ref. 9 “AN11456 NTAG21x Using the dynamic lock bits to lock the tag”. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 17 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.5.7 Configuration pages Pages 29h to 2Ch for NTAG213F and pages E3h to E6h for NTAG216F variant are used to configure and enable the NTAG 21xF features. The memory content of the configuration pages is detailed below. Table 7. Configuration Pages Page Address[1] Byte number Dec Hex 0 1 2 3 41/227 29h/E3h FDP and MIRROR configuration RFUI MIRROR_PAGE AUTH0 42/228 2Ah/E4h ACCESS RFUI RFUI RFUI 43/229 2Bh/E5h 44/230 2Ch/E6h RFUI RFUI [1] PWD PACK Page address for resp. NTAG213F and NTAG216F Table 8. FDP and MIRROR configuration Bit number 7 6 MIRROR_CONF Table 9. 5 4 MIRROR_Byte 3 SLEEP_ EN 2 1 STRG MOD EN 0 FDP CONF ACCESS configuration byte Bit number 7 6 PROT Table 10. CFGLCK 5 RFUI 4 3 2 1 0 NFC_CNT NFC_CNT AUTHLIM _EN _PWD_P ROT_EN Configuration parameter descriptions Field Bit MIRROR_CONF 2 Default values 00b Description Defines which ASCII mirror shall be used, if the ASCII mirror is enabled by a valid 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 00b The 2 bits define the byte position within the page defined by the MIRROR_PAGE byte (beginning of ASCII mirror) SLEEP_EN 1 0b Enables the SLEEP mode function STRG MOD_EN 1 1b Controls the tag modulation strength - by default strong modulation is enabled FDP CONF 2 11b FDP CONF defines the configuration of the Field detect pin 00b ... no field detect 01b... enabled by first State-of-Frame (start of communication) 10b... enabled by selection of the tag 11b... enabled by field presence NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 18 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection Table 10. Configuration parameter descriptions Field Bit MIRROR_PAGE 8 Default values 00h Description MIRROR_Page defines the page for the beginning of the ASCII mirroring A value in the following range enables the ASCII mirror feature 04h-24h ... valid MIRROR_PAGE values for NTAG213F (UID ASCII mirror) 04h-26h ... valid MIRROR_PAGE values for NTAG 213F (NFC counter mirror only) 04h-22h ... valid MIRROR_PAGE values for NTAG213F (both UID and NFC counter mirror) 04h-DEh ... valid MIRROR_PAGE values for NTAG216F (UID ASCII mirror) 04h-E0h ... valid MIRROR_PAGE values for NTAG 216F (NFC counter mirror only) 04h-DCh ... valid MIRROR_PAGE values for NTAG216F (both UID and NFC counter mirror AUTH0 8 FFh PROT 1 0b 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. One bit inside the ACCESS byte defining the memory protection 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 excluding the PWD and PACK 0b ... user configuration open to write access 1b ... user configuration permanently locked against write access NFC_CNT_EN 1 0b Enables the NFC counter 0b ... disabled 1b ... enabled NFC_CNT_PW D_PROT_EN 1 AUTHLIM 3 0b enables the password protection to read out and mirror the NFC counter 0b ... the protection is disabled 1b ... the protection is enabled 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 NTAG21xF. If write protection is enabled, each write attempt leads to a NAK response. Remark: Most of the user configuration elements get activated only after the RF reset. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 19 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.6 NFC counter function NTAG21xF features a NFC counter function. This function enables NTAG21xF to automatically increase the 24 bit counter value, triggered by the first • READ command or • FAST-READ command after the NTAG21xF tag is powered by an RF field. 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 both above listed ways 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 NTAG21xF features a ASCII mirror function. This function enables NTAG21xF 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, NTAG21xF 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 11. Table 11. 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 specified in the range of Table 10. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 20 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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). 8.7.1 UID ASCII mirror function This function enables NTAG21xF 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, NTAG21xF 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, otherwise the mirroring is not executed. Table 12. Configuration parameter descriptions MIRROR_PAGE NTAG213F_216F Product data sheet COMPANY PUBLIC MIRROR_BYTE bits Minimum values 04h 00b - 11b Maximum value last user memory page - 3 10b All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 21 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.7.1.1 UID ASCII Mirror example Table 13 show the memory content of a NTAG213F 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 13. UID ASCII mirror - NTAG 213F 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 lock bytes 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 dynamic lock bytes 41 29h 54 42 2Ah Access 43 2Bh PWD 44 2Ch PACK RFUI ASCII RFUI 0C AUTH0 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 14. 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 NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 22 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection Table 14. UID ASCII mirror - NTAG 213F 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 lock bytes 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 dynamic lock bytes 41 29h 54 42 2Ah Access 43 2Bh PWD 44 2Ch PACK RFUI 00 RFUI 0C AUTH0 RFUI 8.7.2 NFC counter mirror function This function enables NTAG21xF 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, NTAG21xF 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 and MIRROR_BYTE value according to Table 10 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. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 23 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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, otherwise the mirroring will not be executed. Table 15. Configuration parameter descriptions MIRROR_PAGE NTAG213F_216F Product data sheet COMPANY PUBLIC MIRROR_BYTE bits Minimum values 04h 00b - 11b Maximum value last user memory page - 1 01b All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 24 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.7.2.1 NFC counter mirror example Table 16 show the memory content of a NTAG213F 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 16. NFC counter mirror - NTAG 213F 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 lock bytes 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 .... ... ... 39 27h 00 40 28h dynamic lock bytes 41 29h 94 42 2Ah Access 43 2Bh PWD 44 2Ch PACK RFUI ASCII RFUI 0C AUTH0 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 17. 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 NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 25 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection Table 17. NFC counter mirror - NTAG213F 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 lock bytes 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 00 .... 40 28h dynamic lock bytes 41 29h 94 42 2Ah Access 43 2Bh PWD 44 2Ch PACK RFUI 00 RFUI 0C AUTH0 RFUI 8.7.3 UID and NFC counter mirror function This function enables NTAG21xF to virtually mirror the 7 byte UID and 3byte 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, NTAG21xF 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 and a MIRROR_BYTE value according to Table 10 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. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 26 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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, otherwise the mirroring will not be executed. Table 18. Configuration parameter descriptions MIRROR_PAGE NTAG213F_216F Product data sheet COMPANY PUBLIC MIRROR_BYTE bits Minimum values 04h 00b - 11b Maximum value last user memory page - 5 10b All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 27 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.7.3.1 UID and NFC counter mirror example Table 19 show the memory content of a NTAG213F 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 19. UID and NFC counter ASCII mirror - NTAG213F 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 lock bytes 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 .... ... ... 39 27h 00 40 28h dynamic lock bytes 41 29h D4 42 2Ah Access 43 2Bh PWD 44 2Ch PACK RFUI ASCII RFUI 0C AUTH0 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 20. Remark: Please note that the separation character “x” (78h) is automatically inserted 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: NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 28 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection http://www.nxp.com/index.html?m=04E141124C2880x003F31 Table 20. UID and NFC counter ASCII mirror - NTAG213F Physical 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 lock bytes 3 03h E1 10 12 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 00 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 dynamic lock bytes 41 29h D4 42 2Ah Access 43 2Bh PWD 44 2Ch PACK RFUI RFUI 0C AUTH0 RFUI 8.8 Sleep mode If the sleep mode is enabled (see configuration bit Table 10) and the electronic device (e.g. a microcontroller) connected to the NTAG21xF device brings the Field detection pin to GROUND and the NFC device triggers RF reset, then the NTAG21xF device will enter into the sleep mode where it will become invisible for the NFC device (e.g. phone). This mode is only effective after RF reset, i.e. even if the Field detect pin is brought to ground during HF communication, this will have no impact on the ongoing device activities. See Ref. 8 for additional information and Table 42 for the voltage range to be applied on the field detection pin for effective sleep mode. The Field detect pin shall not be left floating. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 29 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.9 Password verification protection The memory write or read/write access to a configurable part of the memory can be constrained to a positive password verification. The 32-bit secret password (PWD) and the 16-bit password acknowledge (PACK) response shall be 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 NTAG21xF, 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 NTAG21xF 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.9.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 NTAG213F and E5h for NTAG216F. 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, which is the 7-byte UID available on NTAG21xF. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 30 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 8.9.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 NTAG21xF. If AUTHLIM is not equal to 000b, each negative authentication verification is internally counted. 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. Independently, 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.9.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 and that is at least the first page address of the configuration pages (29h for NTAG 213F or E3h for NTAG 216F). 8.10 Originality signature NTAG21xF 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. NTAG21xF digital signature is based on standard Elliptic Curve Cryptography, according to the ECDSA algorithm. The use of a standard algorithm and curve ensures easy software integration of the originality check procedure in an application running on a NFC devices without specific hardware requirements. Each NTAG21xF UID is signed with a NXP private key and the resulting 32-byte signature is stored in a hidden part of the NTAG21xF 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. 7). Details on how to check the signature value are provided in following application note (Ref. 5). It is foreseen to offer not only offline, as well as online way to verify originality of NTAG21xF. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 31 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 9. Command overview NTAG21xF activation follows the ISO/IEC 14443 Type A. After NTAG21xF has been selected, it can either be deactivated using the ISO/IEC 14443 HLTA command, or the NTAG21xF commands (e.g. READ or WRITE) can be performed. For more details about the tag activation refer to Ref. 1. 9.1 NTAG21xF command overview All available commands for NTAG21xF are shown in Table 21. Table 21. 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 READ_CNT[2] - - 39h COMP_WRITE - - A0h 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 NTAG21xF compared to NTAG203F. 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 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 n=9 (approximately 87s). The maximum command response time is 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 NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 32 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection time. It does it for either the 4-bit ACK value specified in Section 9.3 or for a data frame. All timing can be measured according to ISO/IEC 14443-3 frame specification as shown for the Frame Delay Time in Figure 13. 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 13. Frame Delay Time (from NFC device to NFC tag), TACK and TNAK 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 22. Table 22. NTAG213F_216F Product data sheet COMPANY PUBLIC 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 5h NAK for EEPROM write error All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 33 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 9.4 ATQA and SAK responses NTAG21xF replies to a REQA or WUPA command with the ATQA value shown in Table 23. It replies to a Select CL2 command with the SAK value shown in Table 24. The 2-byte ATQA value is transmitted with the least significant byte first (44h). Table 23. ATQA response of the NTAG21xF Bit number Sales type Hex value 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 NTAG21xF 00 44h 0 0 1 0 0 0 1 0 0 Table 24. 0 0 0 0 0 0 0 SAK response of the NTAG21xF Bit number Sales type Hex value 8 7 6 5 4 3 2 1 NTAG21xF 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. NTAG21xF 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 NTAG21xF. 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 NTAG21xF type. The command structure is shown in Figure 14 and Table 25. Table 26 shows the required timing. NFC device Cmd CRC Data NTAG ,,ACK'' 283 µs TACK CRC 868 µs NAK NTAG ,,NAK'' TNAK TTimeOut Time out 57 µs aaa-006987 Fig 14. GET_VERSION command NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 34 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection Table 25. 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, s 8 bytes NAK see Table 22 see Section 9.3 4-bit Table 26. GET_VERSION timing These times exclude the end of communication of the NFC device. GET_VERSION [1] TACK/NAK min TACK/NAK max TTimeOut n=9[1] TTimeOut 5 ms Refer to Section 9.2 “Timings”. Table 27. GET_VERSION response for NTAG213F and NTAG216F Byte no. Description 0 fixed Header NTAG213F NTAG216F 00h 00h Interpretation 1 vendor ID 04h 04h NXP Semiconductors 2 product type 04h 04h NTAG 3 product subtype 04h 04h 50 pF + FD pin 4 major product version 01h 01h 1 5 minor product version 00h 00h V0 6 storage size 0Fh 13h see following information 7 protocol type 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 NTAG213F is 144 bytes. This memory size is between 128 bytes (27) and 256 bytes (28). 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 NTAG216F is 888 bytes. This memory size is between 512 bytes (29) and 1024 bytes (210). Therefore, the most significant 7 bits of the value 13h are interpreted as 9d and the least significant bit is 1b. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 35 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 10.2 READ The READ command requires a start page address, and returns the 16 bytes of four NTAG21xF 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 special condition see the end of the paragraph and the roll over mechanism. The command structure is shown in Figure 15 and Table 28. Table 29 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 15. READ command Table 28. READ command Name Code Description Length Cmd 30h read four pages 1 byte Addr - start page address 1 byte CRC - CRC according to Ref. 1 2 bytes Data - Data content of the addressed pages 16 bytes NAK see Table 22 see Section 9.3 4-bit Table 29. 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 NTAG21xF, all memory pages are allowed as Addr parameter to the READ command. • page address 00h to 2Ch for NTAG213F • page address 00h to E6h for NTAG216F Addressing a memory page beyond the limits above results in a NAK response from NTAG21xF. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 36 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 NTAG213F 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 NTAG21xF 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 NTAG21xF is in the AUTHENTICATED state – the READ command behaves like on a NTAG21xF 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. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 37 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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, NTAG21xF replies a NAK. For details on the command structure, refer to Figure 16 and Table 30. Table 31 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 16. FAST_READ command Table 30. 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 22 see Section 9.3 4-bit Table 31. 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 NTAG21xF, all memory pages are allowed as StartAddr parameter to the FAST_READ command. • page address 00h to 2Ch for NTAG213F • page address 00h to E6h for NTAG216F Addressing a memory page beyond the limits above results in a NAK response from NTAG21xF. The EndAddr parameter must be equal to or higher than the StartAddr. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 38 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection The following conditions apply if part of the memory is password protected for read access: • if NTAG21xF is in the ACTIVE state – if any requested page address is equal or higher than AUTH0 a NAK is replied • if NTAG21xF is in the AUTHENTICATED state – the FAST_READ command behaves like on a NTAG21xF 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. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 39 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 10.4 WRITE The WRITE command requires a block address, and writes 4 bytes of data into the addressed NTAG21xF page. The WRITE command is shown in Figure 17 and Table 32. Table 33 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 17. WRITE command Table 32. 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 22 see Section 9.3 4-bit Table 33. 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 NTAG21xF, the following memory pages are valid Addr parameters to the WRITE command. • page address 02h to 2Ch for NTAG213F • page address 02h to E6h for NTAG216F Addressing a memory page beyond the limits above results in a NAK response from NTAG21xF. 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. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 40 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection The following conditions apply if part of the memory is password protected for write access: • if NTAG21xF is in the ACTIVE state – writing to a page which address is equal or higher than AUTH0 results in a NAK response • if NTAG21xF is in the AUTHENTICATED state – the WRITE command behaves like on a NTAG21xF without access protection NTAG21xF features tearing protected write operations to specific memory content. The following pages are protected against tearing events during a WRITE operation: • • • • NTAG213F_216F Product data sheet COMPANY PUBLIC page 2 containing static lock bits page 3 containing CC bits page 28h containing the additional dynamic lock bits for the NTAG213F page E2h containing the additional dynamic lock bits for the NTAG216F All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 41 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 NTAG21xF, only the least significant 4 bytes (bytes 0 to 3) are written to the specified address. It is recommended to set all the remaining bytes, 04h to 0Fh, to logic 00h. The COMPATIBILITY_WRITE command is shown in Figure 18, Figure 19 and Table 32. Table 35 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 18. 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 19. COMPATIBILITY_WRITE command part 2 Table 34. Name NTAG213F_216F 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 22 see Section 9.3 4-bit All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 42 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection Table 35. 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 NTAG21xF, the following memory pages are valid Addr parameters to the COMPATIBILITY_WRITE command. • page address 00h to 2Ch for NTAG213F • page address 00h to E6h for NTAG216F Addressing a memory page beyond the limits above results in a NAK response from NTAG21xF. 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 NTAG21xF is in the ACTIVE state – writing to a page which address is equal or higher than AUTH0 results in a NAK response • if NTAG21xF is in the AUTHENTICATED state – the COMPATIBILITY_WRITE command behaves the same as on a NTAG21xF without access protection NTAG21xF features tearing protected write operations to specific memory content. The following pages are protected against tearing events during a COMPATIBILITY_WRITE operation: • • • • NTAG213F_216F Product data sheet COMPANY PUBLIC page 2 containing static lock bits page 3 containing CC bits page 28h containing the additional dynamic lock bits for the NTAG213F page E2h containing the additional dynamic lock bits for the NTAG216F All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 43 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 10.6 READ_CNT The READ_CNT command is used to read out the current value of the NFC one-way counter of the NTAG213F, NTAG216F. 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 20 and Table 36. Table 37 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-007869 Fig 20. READ_CNT command Table 36. 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 22 see Section 9.3 4-bit Table 37. 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 NTAG21xF is in the ACTIVE state – Response to the READ_CNT command results in a NAK response • if NTAG21xF is in the AUTHENTICATED state – Response to the READ_CNT command is the current counter value plus CRC NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 44 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 21 and Table 38. Table 39 shows the required timing. NFC device Cmd Pwd CRC PACK NTAG ,,ACK'' TACK 623 µs 274 µs NAK NTAG ,,NAK'' TNAK 57 µs TTimeOut Time out aaa-006993 Fig 21. PWD_AUTH command Table 38. 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 22 see Section 9.3 4-bit Table 39. 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. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 45 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 22 and Table 40. Table 41 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 22. READ_SIG command Table 40. 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 22 see Section 9.3 4 bit Table 41. 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 NTAG21xF. NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 46 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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 42. 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 VFD pin Voltage on the Field Detection pin 0.5 4.6 V Tstg storage temperature 55 125 C 2 - kV VESD [1] electrostatic discharge voltage for all pads [1] ANSI/ESDA/JEDEC JS-001; Human body model: C = 100 pF, R = 1.5 k 12. Characteristics Table 43. Characteristics Symbol Parameter Ci input capacitance fi Tamb Min Typ Max Unit - 50.0 - pF input frequency - 13.56 - MHz ambient temperature 25 70 °C VIL, FDpin LOW-level input voltage on FD-pin for sleep mode detection 0.3 0.7 V VIH, FDpin HIGH-level input voltage on FD-pin for sleep mode detection 1.2 3.6 V VOL, FD pin LOW-level out put voltage on FD-pin Conditions 0 Io = 50 A 0 0.05 V Io = 4mA 0.35 0.5 V Io = 8mA 0.8 1.2 V EEPROM characteristics NTAG213F_216F Product data sheet COMPANY PUBLIC tret retention time Tamb = 22 C 10 - - year Nendu(W) write endurance Tamb = 22 C 100.000 - - cycle All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 47 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 13. Package outline HXSON4: plastic thermal enhanced extremely thin small outline package; no leads; 4 terminals; body 2.0 x 1.5 x 0.5 mm NTAG213F-216F X B D A A A3 A1 detail X E terminal 1 index area e terminal 1 index area v w b 1 2 C C A B C y y1 C L K Eh 4 3 Dh 0 2 mm scale Dimensions: (mm are the orginal dimensons) Unit mm A A1 A3 b D Dh E Eh max 0.50 0.05 0.152 0.30 1.60 1.05 2.10 0.85 nom 0.49 0.25 1.50 1.00 2.00 0.80 min 0.47 0.00 0.050 0.20 1.40 0.95 1.90 0.75 e K 0.5 L 0.40 0.35 0.20 0.30 v 0.1 w y y1 0.05 0.05 0.05 Note 1. Plastic or metal protrusions af 0.075 maximum per side are not included. Outline version References IEC JEDEC JEITA ntag213f-216f_po European projection Issue date 14-12-09 14-12-10 NTAG213F-216F Fig 23. Package outline SOT1312AB2 (HXSON4) NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 48 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 14. Abbreviations Table 44. 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 LSB Least Significant Bit NAK Not AcKnowledge NFC device NFC Forum device NFC tag NFC Forum tag REQA REQuest command, Type A RF Radio Frequency RFUI Reserver for Future Use - Implemented RMS Root Mean Square SAK Select AcKnowledge, type A UID Unique IDentifier WUPA Wake-Up Protocol type A 15. 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** [6] General specification for 8" wafer on UV-tape; delivery types — Delivery Type Description, BU-ID Document number 1005** [7] Certicom Research. SEC 2 — Recommended Elliptic Curve Domain Parameters, version 2.0, January 2010 ** ... BU ID document version number NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 49 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection NTAG213F_216F Product data sheet COMPANY PUBLIC [8] AN11383 NTAG21xF, Field detection and sleep mode feature — Application note, BU-ID Document number 2709** [9] AN11456 NTAG21x Using the dynamic lock bits to lock the tag — Application note, BU-ID Document number 2769** All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 50 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 16. Revision history Table 45. Revision history Document ID Release date Data sheet status Change notice Supersedes NTAG213F_216F v.3.6 20150928 Product data sheet - NTAG213F_216F v.3.5 Modifications: NTAG213F_216F v.3.5 Modifications: NTAG213F_216F v.3.4 Modifications: NTAG213F_216F v.3.3 Modifications: NTAG213F_216F v.3.2 Modifications: NTAG213F_216F v.3.1 Modifications: NTAG213F_216F v.3.0 Modifications: NTAG213F_216F v.2.3 NTAG213F_216F Product data sheet COMPANY PUBLIC • • • • Table 10 “Configuration parameter descriptions”: updated Table 27 “GET_VERSION response for NTAG213F and NTAG216F”: updated Section 17.4 “Licenses”: updated Editorial updates 20141211 • - NTAG213F_216F v.3.4 Figure 23 “Package outline SOT1312AB2 (HXSON4)”: updated 20140312 • Product data sheet Product data sheet - NTAG213F_216F v.3.3 - NTAG213F_216F v.3.2 Table 7 “Configuration Pages”: updated 20131218 Product data sheet • 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” • Figure 1 “NTAG F concept”: updated 20130910 • NTAG213F_216F v.3.1 Product data sheet - NTAG213F_216F v.3.0 Type number corrected in Table 3 “Marking HXSON4” 20130718 • - Section 4 “Ordering information”: Package description updated 20130828 • Product data sheet Product data sheet - NTAG213F_216F v.2.3 - - General update 20130606 Preliminary data sheet All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 51 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 17. Legal information 17.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. 17.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. 17.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. NTAG213F_216F 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.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 52 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 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. 17.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. Purchase of NXP Semiconductors IC does not include a license to any NXP patent (or other IP right) covering combinations of those products with other products, whether hardware or software. 17.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. 18. Contact information For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 53 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 19. 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. Ordering information . . . . . . . . . . . . . . . . . . . . .5 Pin description of the HXSON4 package . . . . . .6 Marking HXSON4 . . . . . . . . . . . . . . . . . . . . . . .6 NDEF memory size . . . . . . . . . . . . . . . . . . . . .16 Memory content at delivery NTAG213F . . . . . .17 Memory content at delivery NTAG216F . . . . . .17 Configuration Pages . . . . . . . . . . . . . . . . . . . . .18 FDP and MIRROR configuration . . . . . . . . . . .18 ACCESS configuration byte . . . . . . . . . . . . . . .18 Configuration parameter descriptions. . . . . . . .18 Required memory space for ASCII mirror. . . . .20 Configuration parameter descriptions. . . . . . . .21 UID ASCII mirror - NTAG 213F Physical memory content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 UID ASCII mirror - NTAG 213F Virtual memory content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 Configuration parameter descriptions. . . . . . . .24 NFC counter mirror - NTAG 213F Physical memory content . . . . . . . . . . . . . . . . . . . . . . . .25 NFC counter mirror - NTAG213F Virtual memory content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Configuration parameter descriptions. . . . . . . .27 UID and NFC counter ASCII mirror - NTAG213F Physical memory content . . . . . . . . . . . . . . . . .28 UID and NFC counter ASCII mirror - NTAG213F Physical memory content . . . . . . . . . . . . . . . . .29 Table 21. Table 22. 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. Command overview . . . . . . . . . . . . . . . . . . . . 32 ACK and NAK values. . . . . . . . . . . . . . . . . . . . 33 ATQA response of the NTAG21xF . . . . . . . . . . 34 SAK response of the NTAG21xF . . . . . . . . . . . 34 GET_VERSION command. . . . . . . . . . . . . . . . 35 GET_VERSION timing. . . . . . . . . . . . . . . . . . . 35 GET_VERSION response for NTAG213F and NTAG216F . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 READ command . . . . . . . . . . . . . . . . . . . . . . . 36 READ timing . . . . . . . . . . . . . . . . . . . . . . . . . . 36 FAST_READ command . . . . . . . . . . . . . . . . . . 38 FAST_READ timing . . . . . . . . . . . . . . . . . . . . . 38 WRITE command. . . . . . . . . . . . . . . . . . . . . . . 40 WRITE timing. . . . . . . . . . . . . . . . . . . . . . . . . . 40 COMPATIBILITY_WRITE command . . . . . . . . 42 COMPATIBILITY_WRITE timing . . . . . . . . . . . 43 READ_CNT command. . . . . . . . . . . . . . . . . . . 44 READ_CNT timing . . . . . . . . . . . . . . . . . . . . . . 44 PWD_AUTH command . . . . . . . . . . . . . . . . . . 45 PWD_AUTH timing . . . . . . . . . . . . . . . . . . . . . 45 READ_SIG command . . . . . . . . . . . . . . . . . . . 46 READ_SIG timing . . . . . . . . . . . . . . . . . . . . . . 46 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 47 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . 47 Abbreviations and symbols . . . . . . . . . . . . . . . 49 Revision history . . . . . . . . . . . . . . . . . . . . . . . . 51 20. 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. NTAG F concept . . . . . . . . . . . . . . . . . . . . . . . . . .1 Field detection implementation in NTAG21xF . . . .2 Block diagram of NTAG213F/216F . . . . . . . . . . . .5 Pin configuration for SOT1312AB2 (HXSON4) . . .5 State diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 Memory organization NTAG213F . . . . . . . . . . . .12 Memory organization NTAG216F . . . . . . . . . . . .12 UID/serial number . . . . . . . . . . . . . . . . . . . . . . . .13 Static lock bytes 0 and 1 . . . . . . . . . . . . . . . . . . .13 NTAG213F Dynamic lock bytes 0, 1 and 2 . . . . .14 NTAG216F Dynamic lock bytes 0, 1 and 2 . . . . .15 CC bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 Frame Delay Time (from NFC device to NFC tag), TACK and TNAK . . . . . . . . . . . . . . . . . . . . . . . . . . .33 GET_VERSION command. . . . . . . . . . . . . . . . . .34 READ command . . . . . . . . . . . . . . . . . . . . . . . . .36 FAST_READ command . . . . . . . . . . . . . . . . . . . .38 WRITE command . . . . . . . . . . . . . . . . . . . . . . . .40 COMPATIBILITY_WRITE command part 1 . . . . .42 COMPATIBILITY_WRITE command part 2 . . . . .42 READ_CNT command. . . . . . . . . . . . . . . . . . . . .44 PWD_AUTH command . . . . . . . . . . . . . . . . . . . .45 READ_SIG command . . . . . . . . . . . . . . . . . . . . .46 Package outline SOT1312AB2 (HXSON4) . . . . .48 NTAG213F_216F Product data sheet COMPANY PUBLIC All information provided in this document is subject to legal disclaimers. Rev. 3.6 — 28 September 2015 262236 © NXP Semiconductors N.V. 2015. All rights reserved. 54 of 55 NTAG213F/216F NXP Semiconductors NFC Forum T2T IC with 144/888 bytes user memory and field detection 21. Contents 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 2 2.1 3 4 5 6 6.1 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.9 General description . . . . . . . . . . . . . . . . . . . . . . 1 Contactless energy and data transfer. . . . . . . . 1 Simple deployment and user convenience . . . . 2 Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Field detection . . . . . . . . . . . . . . . . . . . . . . . . . 2 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 NFC Forum Tag 2 Type compliance . . . . . . . . . 3 Anticollision. . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Features and benefits . . . . . . . . . . . . . . . . . . . . 4 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Ordering information . . . . . . . . . . . . . . . . . . . . . 5 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Pinning information . . . . . . . . . . . . . . . . . . . . . . 5 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Marking HXSON4 . . . . . . . . . . . . . . . . . . . . . . . 6 Functional description . . . . . . . . . . . . . . . . . . . 7 Block description . . . . . . . . . . . . . . . . . . . . . . . 7 RF interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Data integrity. . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Communication principle . . . . . . . . . . . . . . . . . 9 IDLE state . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 READY1 state. . . . . . . . . . . . . . . . . . . . . . . . . 10 READY2 state. . . . . . . . . . . . . . . . . . . . . . . . . 10 ACTIVE state . . . . . . . . . . . . . . . . . . . . . . . . . 11 AUTHENTICATED state . . . . . . . . . . . . . . . . . 11 HALT state . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Memory organization . . . . . . . . . . . . . . . . . . . 12 UID/serial number. . . . . . . . . . . . . . . . . . . . . . 13 Static lock bytes (NTAG21xF). . . . . . . . . . . . . 13 Dynamic Lock Bytes (NTAG21xF) . . . . . . . . . 14 Capability Container (CC bytes) . . . . . . . . . . . 16 Data pages . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Memory content at delivery . . . . . . . . . . . . . . 17 Configuration pages . . . . . . . . . . . . . . . . . . . . 18 NFC counter function . . . . . . . . . . . . . . . . . . . 20 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 Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Password verification protection . . . . . . . . . . . 30 8.9.1 8.9.2 8.9.3 8.10 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 14 15 16 17 17.1 17.2 17.3 17.4 17.5 18 19 20 21 Programming of PWD and PACK. . . . . . . . . . Limiting negative verification attempts . . . . . . Protection of special memory segments . . . . Originality signature . . . . . . . . . . . . . . . . . . . . Command overview . . . . . . . . . . . . . . . . . . . . NTAG21xF command overview . . . . . . . . . . . Timings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NTAG ACK and NAK . . . . . . . . . . . . . . . . . . ATQA and SAK responses. . . . . . . . . . . . . . . NTAG21xF commands . . . . . . . . . . . . . . . . . . GET_VERSION . . . . . . . . . . . . . . . . . . . . . . . READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FAST_READ . . . . . . . . . . . . . . . . . . . . . . . . . WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . COMPATIBILITY_WRITE. . . . . . . . . . . . . . . . READ_CNT . . . . . . . . . . . . . . . . . . . . . . . . . . PWD_AUTH. . . . . . . . . . . . . . . . . . . . . . . . . . READ_SIG. . . . . . . . . . . . . . . . . . . . . . . . . . . Limiting values . . . . . . . . . . . . . . . . . . . . . . . . Characteristics . . . . . . . . . . . . . . . . . . . . . . . . Package outline. . . . . . . . . . . . . . . . . . . . . . . . Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . References. . . . . . . . . . . . . . . . . . . . . . . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . Legal information . . . . . . . . . . . . . . . . . . . . . . Data sheet status . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . Licenses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . Contact information . . . . . . . . . . . . . . . . . . . . Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 31 31 31 32 32 32 33 34 34 34 36 38 40 42 44 45 46 47 47 48 49 49 51 52 52 52 52 53 53 53 54 54 55 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: 28 September 2015 262236