AN NTAG I²C demo application for Android. Application note COMPANY PUBLIC. Rev November Document information

Similar documents
Using the RS232 serial evaluation boards on a USB port

AN Boot mode jumper settings for LPC1800 and LPC4300. Document information

AN AES encryption and decryption software on LPC microcontrollers. Document information

AN1991. Audio decibel level detector with meter driver

PN7120 Windows IoT Porting Guidelines. Rev October

AN11008 Flash based non-volatile storage

UM Vertical Alignment (VA) displays and NXP LCD drivers

AN BGU8009 Matching Options for 850 MHz / 2400 MHz Jammer Immunity. Document information. Keywords

AN LPC24XX external memory bus example. Document information

Mounting instructions for SOT78 (TO-220AB); SOT186A (TO-220F)

AN10866 LPC1700 secondary USB bootloader

ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information

Planar PIN diode in a SOD323 very small plastic SMD package.

AN Single stage 5-6 GHz WLAN LNA with BFU730F. document information

AN Designing RC snubbers

Schottky barrier quadruple diode

NT3H1101/NT3H General description. NTAG I 2 C - Energy harvesting NFC Forum Type 2 Tag with field detection pin and I 2 C interface

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

HEF4011B. 1. General description. 2. Features and benefits. 3. Ordering information. 4. Functional diagram. Quad 2-input NAND gate

NPN wideband transistor in a SOT89 plastic package.

DISCRETE SEMICONDUCTORS DATA SHEET. dbook, halfpage M3D088. BB201 Low-voltage variable capacitance double diode. Product specification 2001 Oct 12

The sensor can be operated at any frequency between DC and 1 MHz.

HEF4021B. 1. General description. 2. Features and benefits. 3. Ordering information. 8-bit static shift register

10 ma LED driver in SOT457

BAT54 series SOT23 Schottky barrier diodes Rev. 5 5 October 2012 Product data sheet 1. Product profile 1.1 General description

AN Quick Start Up Guide for EXPLORE NFC working with Raspberry Pi. Application note COMPANY PUBLIC. Rev December

IP4220CZ6. 1. Product profile. Dual USB 2.0 integrated ESD protection. 1.1 General description. 1.2 Features and benefits. 1.

1-of-4 decoder/demultiplexer

Low forward voltage High breakdown voltage Guard-ring protected Hermetically sealed glass SMD package

AN LPC1700 RTC hardware auto calibration. Document information. RTC, Hardware Auto Calibration, LPC1700, Graphic LCD

Quad 2-input NAND Schmitt trigger

Passivated, sensitive gate triacs in a SOT54 plastic package. General purpose switching and phase control

AN Water and condensation safe touch sensing with the NXP capacitive touch sensors. Document information

DISCRETE SEMICONDUCTORS DATA SHEET M3D848. CGD MHz, 20 db gain power doubler amplifier. Product specification 2002 Oct 08

High-speed switching diodes. Type number Package Configuration Package NXP JEITA JEDEC

SiGe:C Low Noise High Linearity Amplifier

AN TDA8026ET - 5 slots smart card interface. Document information

MF1 IC S General description. Functional specification. 1.1 Contactless Energy and Data Transfer. 1.2 Anticollision. Energy

The 74LVC1G11 provides a single 3-input AND gate.

Low-power configurable multiple function gate

BAS16 series. 1. Product profile. High-speed switching diodes. 1.1 General description. 1.2 Features and benefits. 1.

MIFARE ISO/IEC PICC

AN Using RC Thermal Models. Document information

3-to-8 line decoder, demultiplexer with address latches

74HC377; 74HCT General description. 2. Features and benefits. 3. Ordering information

74HC175; 74HCT175. Quad D-type flip-flop with reset; positive-edge trigger

NFC TagWriter by NXP

14-stage ripple-carry binary counter/divider and oscillator

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

HEF4013B. 1. General description. 2. Features and benefits. 3. Applications. 4. Ordering information. Dual D-type flip-flop

AN10811 Programming SPI flash on EA3131 boards Rev May 2009 Application note Document information Info Content Keywords Abstract

AN Failure signature of electrical overstress on power MOSFETs. Document information

AN1304. NFC Type MIFARE Classic Tag Operation. Application note PUBLIC. Rev October Document information

BES10 Self-Service. Version: User Guide

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

74HC02; 74HCT General description. 2. Features and benefits. Ordering information. Quad 2-input NOR gate

LIN-bus ESD protection diode

DISCRETE SEMICONDUCTORS DATA SHEET. BT151 series C Thyristors

74HC107; 74HCT107. Dual JK flip-flop with reset; negative-edge trigger

DATA SHEET. BF245A; BF245B; BF245C N-channel silicon field-effect transistors DISCRETE SEMICONDUCTORS

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features

45 V, 100 ma NPN general-purpose transistors

AN10860_1. Contact information. NXP Semiconductors. LPC313x NAND flash data and bad block management

AN1305. MIFARE Classic as NFC Type MIFARE Classic Tag. Application note COMPANY PUBLIC. Rev October Document information

BlackBerry Web Desktop Manager. Version: 5.0 Service Pack: 4. User Guide

USER GUIDE EDBG. Description

AT88CK490 Evaluation Kit

User Guide. BES12 Self-Service

Temperature & Humidity SMS Alert Controller

Triple single-pole double-throw analog switch

Ultrafast, epitaxial rectifier diode in a SOD59 (TO-220AC) plastic package

74HC238; 74HCT to-8 line decoder/demultiplexer

74HC2G02; 74HCT2G General description. 2. Features and benefits. 3. Ordering information. Dual 2-input NOR gate

BLL6G1214L Product profile. LDMOS L-band radar power transistor. 1.1 General description. 1.2 Features and benefits. 1.

QUADRO POWER GUIDELINES

AN Software Design Guide for POS Development Kit OM5597/RD2663. Rev August Application note COMPANY PUBLIC

Femtofarad bidirectional ESD protection diode

SL2 ICS53/SL2 ICS General description I CODE SLI-S/I CODE SLI-S HC. 1.1 Anticollision. 1.2 Contactless energy and data transfer

8-bit binary counter with output register; 3-state

DUAL MONITOR DRIVER AND VBIOS UPDATE

BlackBerry Enterprise Server Express. Version: 5.0 Service Pack: 4. Update Guide

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

74HC574; 74HCT574. Octal D-type flip-flop; positive edge-trigger; 3-state

74HC154; 74HCT to-16 line decoder/demultiplexer

Dell Spotlight on Active Directory Server Health Wizard Configuration Guide

8-channel analog multiplexer/demultiplexer

8-bit synchronous binary down counter

Hex buffer with open-drain outputs

General purpose low power phase control General purpose low power switching Solid-state relay. Symbol Parameter Conditions Min Typ Max Unit V DRM

74HC4040; 74HCT stage binary ripple counter

NPN wideband silicon RF transistor

74HC393; 74HCT393. Dual 4-bit binary ripple counter

IP4294CZ10-TBR. ESD protection for ultra high-speed interfaces

74HC165; 74HCT bit parallel-in/serial out shift register

The 74LVC1G04 provides one inverting buffer.

Near Field Communication (NFC) controller. The PN533 supports four main operating modes:

EULA - Page 2 of 5 any service, account, computer systems or networks associated with the Internet-based services provided by ESI-TECNALIA.

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

74HCU General description. 2. Features and benefits. 3. Ordering information. Hex unbuffered inverter

Transcription:

Document information Info Content Keywords NTAG I²C, Android, NFC tag Abstract This aims at describing the functionalities behind the Android App of the NTAG I²C.

Revision history Rev Date Description 1.1 20141112 Section 3 updated 1.0 20141006 Initial release of technical description Contact information For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 2 of 18

1. Object The objective of the document is to explain how to use the NTAG I 2 C App developed by NXP Semiconductors. There are two distinctive purposes behind the NTAG I 2 C App: The Demonstration purpose, to interact with the NTAG I 2 C demonstration board and demonstrate the features behind the NTAG I 2 C. The Configuration purpose, to read or write configuration of the NTAG I 2 C chip (without necessarily any demo boards but at least with an antenna connected to the NTAG I 2 C) Technical aspects related to the IC functioning (i.e. the configuration registers) are out of scope of this document. In order to get further technical details please consult the dedicated Datasheet of the NTAG I²C see the Appendix. 2. NTAG I²C introduction The NTAG I 2 C is the first product of NXP s NTAG family offering both contactless and contact interfaces. In addition to the passive NFC Forum compliant RF interface, the NTAG I 2 C product provides an I 2 C interface that allows the IC to communicate with the microcontroller when the chip is powered by an external device, i.e. a mobile phone. The NTAG I 2 C operating in energy harvesting mode provides the possibility to supply external low power devices (e.g. microcontrollers) with the energy generated from the RF field of the external NFC device. Fig 1. NTAG I²C The NTAG I 2 C product has 2 types of memories. 1. EEPROM memory compliant with the NFC Forum type 2 Tag implementation. 2. 64-byte SRAM memory which is mapped within the EEPROM memory and is externally powered. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 3 of 18

The NTAG I 2 C IC features a Pass-Through mode that allows fast download and upload of data from the RF interface to the I 2 C interface and vice versa. This functionality makes use of the SRAM memory that allows fast data transfer between interfaces without the EEPROM performance limitations. NXP Semiconductors provides the NTAG I 2 C product in two different versions 1. NTAG I 2 C 1K version with 888 bytes freely available in the user memory 2. NTAG I 2 C 2K version with 1904 bytes freely available in the user memory In addition to the I 2 C interface functionality, the NTAG I 2 C product features a Field Detection Pin for waking up the host connected devices or synchronize the data transfer between the 2 interfaces. 3. Hardware components The NTAG I 2 C Android App is meant to be working with the NTAG I²C DEMO kit board, and an adjacent PCB antenna to test all the features and functionalities the NTAG I 2 C is offering. The below picture is a view of the NTAG I 2 C DEMO kit board and the Class 5 PCB antenna. LEDs NTAG I²C Buttons Antenna Temp. Sensor Fig 2. NTAG I 2 C DEMO kits board including Class 5 antenna The NTAG I²C DEMO kit board contains an NXP microcontroller (LPC11U24 Cortex-M0), a RGB LED and RGB push button as well as an NXP temperature sensor (PCT 2075) and an LCD screen to show the messages coming from the NTAG and the application. The Android application, called NTAG I 2 C Demo, can be found and freely downloaded from the Google Play Store. This document applies to the NTAG I 2 C Demoboard application version 1.5 and above. The Android application is intended to operate on devices running Android version 4.0 and beyond. The application has been optimized for a correct visioning of the graphical elements in smartphones featuring different resolutions. This Android application does also support the simple LED demonstration board with no display. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 4 of 18

Fig 3. NTAG I 2 C Android application 4. NTAG I 2 C application 4.1 Splash window The Splash window is the first activity to be displayed when the application is launched. This window will be automatically closed after 2 seconds. Fig 4. Splash window All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 5 of 18

4.2 Functionalities structure As it can be observed in Fig. 5, the application consists of four main tabs that can be launched from the main activity of the application and four additional sub tabs that are accessed from the Config tabs. Fig 5. Application overview 5. DEMONSTRATION part 5.1 DEMO tab Please see Fig. 6 for a snapshot of the demo section. In this section, the user can change dynamically the color of the LED of the board by changing it in the application, and can see on the screen which push buttons are pressed on the board. The temperature and voltage measured by the board are on top displayed on both the display of the board and on the screen of the NFC device. This section allows demonstrating: The Energy harvesting functionality of NTAG I 2 C IC that enables to power up the complete DEMO kit board with the energy harvested from the RF interface without any battery. The RF to I²C communication by enabling to modify the LED color by pressing the right color on the NFC device screen The I²C to RF communication as the set of push buttons pressed by the user on the DEMO kit board gets reflected on the NFC device screen The dynamic bi directional communication between the 2 interfaces as the temperature value as well as the Voltage on the Energy harvesting pin get dynamically updated on both the low power screen and the NFC device screen The firmware version of the board can be seen on the information button on the upper-right corner of the application. Note that, as the firmware version of the board is shared with the application when the DEMO is performed, it will not be known to the application until this demo has been executed at least one time. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 6 of 18

Firmware version LED color selection Push buttons color slection Display Temperature of the sensor + the output voltage on the Vout pin Fig 6. DEMO section snapshot Additionally when tapping on the i at the top of the tab, one can use the App to get the version being used for the board design, firmware of the board and the Android App by tapping the board with the NFC enabled device see Fig. 7 for a snapshot example. Firmware version Fig 7. Getting version snapshot examples All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 7 of 18

5.2 SPEED tab The SPEED section is about measuring the speed of data transfer when using the SRAM buffer to exchange data with the Microcontroller and the NFC device (SRAM selection) or when writing data to the EEPROM (EEPROM selection). See Fig. 8 for the snapshot of the Speed tab and Fig. 9 for the concept behind this tap. The amount of data has to be selected first (with a 64bytes granularity to match the SRAM buffer size, 20 blocks value being the default one) and then the configuration of the data transfer (SRAM or EEPROM). Fig 8. SPEED section snapshot Fig 9. Data transfer speed measurement concept behind the SRAM selection All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 8 of 18

SRAM Selection The SRAM Speed Test measures the speed at which the data is transferred from the application to the microcontroller through the SRAM memory (with the NTAG I 2 C in Pass- Through mode), and vice versa. First, the application writes to the SRAM several times, and the microcontroller reads from it. Then once all the data has been transmitted from the NFC interface, the microcontroller starts writing to the SRAM memory the same amount of data, while the NFC interface reads from it. The SRAM Speed Test can be run in two different modes: Fast Mode and Polling Mode: in Polling Mode the application checks if the transferred data has been read by the MCU before transferring a new block (from NFC to I²C) or checks if the MCU has written the new information before reading from the NFC interface the SRAM block (from I²C to NFC) by checking the appropriate session registers of the NTAG I²C. In Fast Mode the data is written and read to the NTAG as fast as the READ or WRITE command is performed, one block of data after the other Typically the Fast Mode method will always return higher bit rates than the Polling Mode method due to the additional polling checks on the session registers. The integrity of the data transferred in both directions is checked by appending a CRC32 value in the last block. The CRC32 is calculated for the whole message that has been transferred (for all the blocks). If the CRC32 from the message received by the application is right, it will show an Integrity of the data: OK message. Additionally, if the CRC32 from the message received by the board is right, it will also turn on the green LED at the end of the Speed Test on the DEMO kit board. EEPROM selection 6. CONFIGURATION PART With the EEPROM selection, one can measure the speed at which the application is able to write and read to the EEPROM memory of the NTAG I²C. The application creates first the NDEF message to be written by creating a string that contains the content from the textbox as many times as indicated, and adding the appropriate header. Then, it writes it to the EEPROM memory by sending as many NFC Forum standard type-2-tag Write commands as necessary, and measuring the time it takes to do so. Once it has finished writing, it reads the NDEF message by sending as many NFC Forum type-2-tag Read commands as necessary. Once the test is finished, the application shows the number of bytes, mean speed and time for both the reading and writing process. The user can also check the content of the memory to ensure that the NDEF message has been written appropriately. 6.1 NDEF Section See Fig. 7 for a snapshot of the NDEF section. The NDEF section allows the user to read or write any NDEF message to the NTAG I²C (it could be used to read or write an NDEF message to any NFC Forum type 2 tag). All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 9 of 18

On the Read NDEF mode, the application reads the NDEF message from the NTAG and returns its content and the type of NDEF message. This can be done by tapping the NTAG, or by pressing the Read NDEF button when the NTAG is in proximity. On the Write NDEF mode, the application allows the user to write 3 types of information into the tag: simple text ( Text ), URl information ( URl ), or Bluetooth pairing type NDEF message ( BTpair ): Simple text will be to write text in ASCII such as Hello World URl information will be NDEF messages allowing the tag to trigger actions on the NFC device in one tap such as opening a webpage or sending an SMS message. Bluetooth pairing NDEF message allows the smartphone to be paired with a Bluetooth device by just tapping the tag. Fig 10. NDEF section snapshot The NDEF Demo also contains a Write default NDEF message button. This button jumps to the Write NDEF mode, text type, and writes automatically the text NTAG I2C EXPLORER. When the NDEF message has been successfully written the write tag successfully done popup appears temporarily in the application informing the user that the message has been correctly written. There is no need to tap again the tag if the user wants to write multiple NDEF messages and read them in between. In order to know more about the different types of NDEF messages and their related structure, please refer to the NFC Forum specification (see appendix). All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 10 of 18

6.2 CONFIG section See fig. 10 for the snapshot of the Config section. This section shows a selection menu that provides access to the different configuration activities of NTAG I²C supported by the application. Fig 11. Configuration Section snapshot 6.2.1 Read tag memory This activity reads and displays on the screen the content of the whole memory of the NTAG I 2 C product. The complete content can be scrolled on the screen. See Fig. 11 for an example of a snapshot of such memory reading. The user should tap the NTAG I 2 C product for some time (about 2 or 3 seconds) to read the memory content. A dialog is displayed on the screen while the operation goes on. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 11 of 18

Fig 12. Read Tag Memory screenshot example 6.2.2 Reset tag Memory This configuration functionality is about resetting the whole user memory of the NTAG I²C product to the original content that was programmed during production. This means setting the fifth page of the EEPROM memory to a known value (an empty NDEF message) and the rest of the memory to zero (the first four pages do not belong to the user memory). This way, the NTAG I²C is ready for an NDEF message to be written on it. See Fig. 12 for a screenshot after a successful reset of the memory. Fig 13. Reset Tag Memory screenshot example All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 12 of 18

The user should tap the NTAG I 2 C product for about 2 or 3 seconds to reset the memory content. A reset completed message will be displayed once the reset has been fully performed. 6.2.3 Read Session Registers This activity displays the content of the session registers in the NTAG I²C. Session registers are used to configure or monitor the registers values of the current communication session. Session registers values can be modified within a particular communication session (only via the I²C interface, so the application is not able to modify them). However, after a Power-On Reset, these values go back to their default configuration values, which are obtained from the configuration registers. Session registers values can be read at pages F8h to F9h (sector 3) via the RF interface, or at block FEh via the I²C interface. Fig 14. Read session register screenshot example Session Registers values are displayed on the screen divided into different groups: General Chip Information: displays general information about the discovered NTAG I 2 C product. It shows the following information: o IC Product: NTAG I2C chip version (1K or 2K) o User memory: size of the user memory of the NTAG I2C chip NTAG Configuration: displays general NTAG configuration information: o I2C RST on start is: shows the content of the I2C_RST_ON_OFF bit, which is responsible for enabling a soft reset through an I²C repeated start. Field Detection: displays information related to the field detection functionality, which is used for the smart pairing with devices, as it triggers a signal to the connected host when the NTAG I 2 C product is powered by an external NFC device. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 13 of 18

o FD_OFF is: shows the content of the FD_OFF bits, which define the event upon which the signal output on the field detection pin is brought up. o FD_ON is: shows the content of the FD_ON bits, which define the event upon which the signal output on the field detection pin is brought down. o Last NDEF Block is: shows the content of the LAST_NDEF_BLOCK byte, this is, the address of the last block (I²C interface addressing) of the NDEF message. o NDEF Data Read is: shows the content of the NDEF_DATA_READ bit. o RF field present is: shows the content of the RF_FIELD_PRESENT bit, which indicates if an RF field is detected. Pass Through: displays information related to the pass-through functionality, which allows the fast transfer of data between the RF and the I 2 C interface by using a 64 byte SRAM memory: o Pass Through is: shows the content of the PTHRU_ON_OFF bit, which is responsible for enabling the data transfer via the SRAM memory. o I2C locked is: shows the content of the I2C_LOCKED bit, which can lock the access to memory to the I2C interface. o RF locked is: shows the content of the RF_LOCKED bit, which can lock the access to memory to the RF interface. o SRAM I2C ready is: shows the content of the SRAM_I2C_READY bit, which indicates if the data in the SRAM memory is ready to be read by the I2C interface. o SRAM RF ready is: shows the content of the SRAM_RF_READY bit, which indicates if the data in the SRAM memory is ready to be read by the RF interface. o From RF to I2C is: shows the content of the PTHRU_DIR bit, which defines the data flow direction for the data transfer. SRAM Memory Settings: displays information about the SRAM mirroring feature. The SRAM memory can be mirrored in the User memory for RF access by enabling the SRAM Mirroring feature. o SRAM Mirror is: shows the content of the SRAM_MIRROR_ON_OFF bit. o SRAM Mirror block is: shows the content of the SRAM_MIRROR_BLOCK byte, which indicates the address of the first block (I2C interface addressing) of the mirror of SRAM memory. I 2 C Settings: Information about the I 2 C management configuration: o WD_LS Timer is: shows the content of the WDT_LS byte: the LSB of the watchdog time control register. o WD_MSTimer is: shows the content of the WDT_MS byte: the MSB of the watchdog time control register. o I2C Clock stretch is: shows the content of the I2C_CLOCK_STR bit, which is responsible for enabling the I2C clock stretching. For further information about the session registers bytes please refer to the NTAG I 2 C product Datasheet see appendix section. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 14 of 18

6.2.4 Read/Write Config Registers This configuration functionality displays the content of the configuration registers of the NTAG I²C, allowing to the user to change their values. Configuration registers define the default configuration of the NTAG I 2 C to be used for the communication after a Power-On Reset. Configuration registers values can be read and written at pages E8h to E9h (sector 1) via the RF interface, or at block 78h via the I 2 C interface. The user can read or write the content of those registers by first selecting the Read Config or Write Config buttons and then tapping the NTAG I²C DEMO kit board. Fig 15. Read/Write Configuration Registers screenshot example Configuration Registers values displayed on the screen are divided into the following groups: General Chip Information: displays general information about the discovered NTAG I 2 C product. It shows the following information: o IC Product: NTAG I2C chip version (1K or 2K) o User memory: size of the user memory of the NTAG I2C chip Field Detection: displays information related to the field detection functionality, which is used for the smart pairing with devices, as it triggers a signal to the connected host when the NTAG I 2 C product is powered by an external NFC device. o FD_OFF is: shows the content of the FD_OFF bits, which define the event upon which the signal output on the field detection pin is brought up. o FD_ON is: shows the content of the FD_ON bits, which define the event upon which the signal output on the field detection pin is brought down. Pass Through: displays information related to the pass-through functionality, which allows the fast transfer of data between the RF and the I 2 C interface by using a 64 byte SRAM memory: All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 15 of 18

o Direction: shows the content of the TRANSFER_DIR bit, which defines the data flow direction for the data transfer. o Write from RF is: shows the content of the TRANSFER_DIR bit (same as Direction), which defines the data flow direction for the data transfer. SRAM Memory Settings: displays information about the SRAM mirroring feature. The SRAM memory can be mirrored in the User memory for RF access by enabling the SRAM Mirroring feature. o Last NDEF Block is: shows the content of the LAST_NDEF_BLOCK byte, this is, the address of the last block (I2C interface addressing) of the NDEF message. o SRAM Mirror block is: shows the content of the SRAM_MIRROR_BLOCK byte, which indicates the address of the first block (I2C interface addressing) of the mirror of SRAM memory. I 2 C Settings: displays information about the I 2 C management configuration: o WD_LS Timer is: shows the content of the WDT_LS byte: the LSB of the watchdog time control register. o WD_MSTimer is: shows the content of the WDT_MS byte: the MSB of the watchdog time control register. o I2C Clock stretch is: shows the content of the I2C_CLOCK_STR bit, which is responsible for enabling the I2C clock stretching. o I2C RST on start is: shows the content of the I2C_RST_ON_OFF bit, which is responsible for enabling a soft reset through an I2C repeated start. For further information about the configuration registers bytes please refer to the NTAG I 2 C product Datasheet (see appendix). 7. Appendix NFC Forum specifications please refer to: http://www.nxp.com/redirect/nfc-forum.org/our-work/specifications-and-applicationdocuments/specifications/nfc-forum-technical-specifications/ http://www.nxp.com/redirect/nfc-forum.org/our-work/specifications-and-applicationdocuments/application-documents/ NTAG I²C datasheet can be found online under: http://www.nxp.com/documents/data_sheet/nt3h1101_1201.pdf All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 16 of 18

8. Legal information 8.1 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. 8.2 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. 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. 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 accepts 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. 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. Evaluation products This product is provided on an as is and with all faults basis for evaluation purposes only. NXP Semiconductors, its affiliates and their suppliers expressly disclaim all warranties, whether express, implied or statutory, including but not limited to the implied warranties of noninfringement, merchantability and fitness for a particular purpose. The entire risk as to the quality, or arising out of the use or performance, of this product remains with customer. In no event shall NXP Semiconductors, its affiliates or their suppliers be liable to customer for any special, indirect, consequential, punitive or incidental damages (including without limitation damages for loss of business, business interruption, loss of use, loss of data or information, and the like) arising out the use of or inability to use the product, whether or not based on tort (including negligence), strict liability, breach of contract, breach of warranty or any other theory, even if advised of the possibility of such damages. Notwithstanding any damages that customer might incur for any reason whatsoever (including without limitation, all damages referenced above and all direct or general damages), the entire liability of NXP Semiconductors, its affiliates and their suppliers and customer s exclusive remedy for all of the foregoing shall be limited to actual damages incurred by customer based on reasonable reliance up to the greater of the amount actually paid by customer for the product or five dollars (US$5.00). The foregoing limitations, exclusions and disclaimers shall apply to the maximum extent permitted by applicable law, even if any remedy fails of its essential purpose. 8.3 Licenses 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. 8.4 Trademarks Notice: All referenced brands, product names, service names and trademarks are property of their respective owners. MIFARE is a trademark of NXP B.V. I²C-bus is a trademark of NXP B.V. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. 17 of 18

9. Contents 1. Object... 3 2. NTAG I²C introduction... 3 3. Hardware components... 4 4. NTAG I 2 C application... 5 4.1 Splash window... 5 4.2 Functionalities structure... 6 5. DEMONSTRATION part... 6 5.1 DEMO tab... 6 5.2 SPEED tab... 8 6. CONFIGURATION PART... 9 6.1 NDEF Section... 9 6.2 CONFIG section... 11 6.2.1 Read tag memory... 11 6.2.2 Reset tag Memory... 12 6.2.3 Read Session Registers... 13 6.2.4 Read/Write Config Registers... 15 7. Appendix... 16 8. Legal information... 17 8.1 Definitions... 17 8.2 Disclaimers... 17 8.3 Licenses... 17 8.4 Trademarks... 17 9. Contents... 18 Please be aware that important notices concerning this document and the product(s) described herein, have been included in the section 'Legal information'. NXP B.V. 2014. All rights reserved. For more information, visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com Date of release: 12 November 2014 Document identifier: