Home
NTAG I2C Explorer Kit user`s manual
Contents
1. Board input Temperaiure 25 60 C 77 80 F Enengy Harwesiing Wantage 28W i Figure 3 14 Displaying NDEF on Explorer LCD 3 5 Speed tab The Speed demonstration measures the transfer bit rate when communicating with the NFC Explorer board in different configurations NXP NTAG I C Explorer Kit user s manual 3 5 1 SRAM board configuration In SRAM configuration the Android application operates in Pass through mode for the transmission and reception of data when communicating with the NTAG I C Explorer board Data to be transmitted for the transfer bit rate calculation is the number of 64 byte blocks defined by the user in the block multiplier field see Figure 3 15 This test indicates the performance of the communication in Pass through mode from the application to the microcontroller and from the microcontroller to the application DP HTAG eC Demo LED DER SPEED TEST Board configuration Block multiplier 20 x BA bytes Memory sran EEPROM P a eee ee E FastMode Polling Made Board input Test finished Figure 3 15 Soeed test SRAM configuration The SRAM mode defines two methods for the data transfer Fast Mode and Polling Mode In Fast Mode the data is transmitted as soon as it is ready in the application while in the polling mode the application checks to verify that the transferred data has been read by the Explorer board microcontroller via informati
2. LPC11U24 Power LED Figure 2 7 PN544 NFC transceiver board NXP NTAG I C Explorer Kit user s manual 11 2 2 1 4 NFC RF detector board An RF detector with visual LED output to facilitate location of the optimum RF field or to ensure that NFC has been enabled Illumination of LED indicates presence kee me of RF field A Ni NFC RF DETECTOR Figure 2 8 NFC RF detector board 2 2 1 5 USB to micro USB cable Cable to use with the NTAG C Explorer board when using supporting Peek and Poke software see Section 2 2 2 or to use with the transceiver board for the simulated mobile device graphical user interface Figure 2 9 USB to micro USB cable 2 2 1 6 LPC Link2 debug probe An optional low cost development tool platform for the LPC MCUs such as the LPC 11U24 including a target board see Figure 2 10 with integrated debug probe plus debug ribbon cable see Section 2 3 3 and Section 6 NXP NTAG I C Explorer Kit user s manual 12 Connect USB to PC Connect USB on Explorer Board to a separate PC USB port to obtain power only Connect J7 to JIAG SWD connector on Explorer Board using supplied 10 pin ribbon connector Figure 2 10 LPC Link2 debug board 2 2 2 Kit software Supporting software also comes with the NTAG I C Explorer Kit This software consists of the following components gt NTAG I C Demoboard An Android mobile phone application to enable use of an NFC enabled mobile phone as an
3. these names refer to the static memory structure required of an NFC Forum Type 2 Tag such as the NTAG I C tag chip The I C address is stored in a location reserved for internal data bytes reserved by the specification for manufacturing use For more information about the required memory NFC tag chip format visit nfc forum org and download a specification Clicking on an item in the left column for example the Capability Container in Figure 4 3 highlights the actual contents of the memory in the grid The grid locations highlight in green if the memory is Read Write R W and in gray if it is Read Only R The software considers the highlighted 16 byte memory block to be the active block In Figure 4 3 the active memory block is 0x000 The software uses the active block in conjunction with the Write Block or Read Block buttons see Section 4 2 3 Read and write controls Figure 4 3 Memory block selection 4 2 3 Read and write controls Figure 4 4 illustrates the buttons used to read from and write to the NTAG C tag chip via the USB I C interface These buttons may be found at the top of the initial screen as shown in Figure 4 1A gt The Write Block button writes data input into the grid to the active 16 byte memory block see the Memory Block Selection paragraph for the definition of an active block gt The Read Block button reads from the 16 byte active memory block and displays it on the grid gt
4. EXPLORER f La a La Wrte detaut NDEF message Type NDEF message Figure 3 12 Writing NDEF data to NTAG I C tag chip 3 4 2 Reading NDEF data To read an NDEF formatted NTAG I C tag chip 1 Remove the mobile device from the antenna 2 Select Read NDEF from the tab on the left of the mobile device screen 3 Lay the mobile device onto the antenna 4 When you hear the two note tone indicating NFC communication check the screen A proper read will result in a message on the mobile device indicating read tag successfully done See Figure 3 13 If the tag chip has not been NDEF formatted placing the mobile device on the antenna will result in a message NTAG I C product is not NDEF formatted NXP NTAG I C Explorer Kit user s manual 27 Select Read NDEF f Tap tag to read NOEF content Hello Workd NFC Explorer NDEF data appears in window NDEF Msg Type Text Figure 3 13 Reading NDEF formatted NTAG I C tag chip 3 4 3 Displaying NDEF on the Explorer board LCD You can also display the NDEF data on the Explorer board LCD To do so 1 Select the LED tab on your mobile device 2 Touch the Display NDEF Message selection box to enable LCD message display see Figure 3 14 3 Lay your mobile device on the antenna The stored NDEF data will scroll through the LCD as long as the selection box has been checked ral Board configuration os 0 isplay NDEF message
5. Energy harvesting and Pass through mode features of the NTAG I C device The Energy harvesting functionality allows the NTAG I C tag chip to power up the microcontroller with energy obtained from the RF interface Using this energy the microcontroller executes its code and switches on the LEDs using zero external consumption as long as the NFC mobile device is in close proximity The Pass through mode allows bidirectional communication between the NFC mobile device and the NTAG I C Explorer board On one side the Android board configuration application transmits the user selected color red blue or green to the NTAG I C Explorer microcontroller On the other side the NTAG I C Explorer microcontroller transmits the voltage and temperature measured in its sensors and the identifiers of the buttons pressed color and number to the Android device The Android application displays this information in the Board Input section of the LED tab screen 3 3 1 Configuring board to demonstrate RF to C communication The board configuration part of the demonstration shows how the NTAG I C tag chip passes a command from the RF input through the I C serial bus interface output to the microprocessor which in turns acts upon the command and lights the appropriate LED 1 Lay your mobile device on the antenna When properly placed the two note NFC communication tone will sound the LCD will display the NTAG I C Explorer text the harvested voltage and it
6. Ob if the feld is switched off Obx if the Geld is switched off or the lag is wel to the HALT state 10b if the field is switched off or the last page of the NOEF message has been read defined in LAST NOEF BLOCK 11x if FO_ON 1 if the feki is switched off or if last data is read by 12C in Pass through mode RF gt 12C or last data is written by 12C in Pass through mode 12C gt RF o 03 0 Ow DW l Ait if FD_ON 00b o Oib or 10b if the field amp switched off o2 00 00 00 OO 0 Gl fp ow defines the event upce which the signal output on the FO pin is brought down OOb by fiekd d Lii in Pass though mode RF gt TAC if the data is ready to be read from the 12C interface 11b in Pass though mode 120 gt RF if the data is read by the RF interface d SRAM_MIRROR_ON_OFF Enables SRAM mirror mode DIR Defines the data fow for the Pass through mode interface PTHRU_ Ob From 12C to RF Ab From RF to 2C interface endi n case the pass fhrough made is not enabled 3 Ob No WRITE access from the RF ade Figure 4 14 Session and configuration register help screens NXP NTAG I C Explorer Kit user s manual 43 5 USB NFC Reader Use the USB NFC Reader when an NFC enabled mobile device is not available or when you require more power than a mobile device can provide To start the demo Ensure that you ve loaded all of the latest firmware and software required see Sections 2 3 7 through 2 3 10 Connect the
7. Reader board to the PC using the USB cable 1 2 3 Navigate to where you have installed the PC GUI software NTAG_I C_Demo and double click on it 4 Awindow emulating an Android device screen should appear on your monitor see Figure 5 1 Display NDEF message Board input Temp rature 25 50 C 77 90 F Voltage 2 78 mv Tap tag to read session xX N a Android back arrow emulation Figure 5 1 NFC USB reader gui start up screen Figure 5 2 Tap screen with browser back arrow After launching your NTAG_I C_Demo GUI the operation is almost identical to that of the Android application discussed in Section 3 The GUI will indicate when to tap the reader to the Explorer board see Figure 5 2 In reality you can just pick up the Explorer board Antenna pair and lay it back down so that the Explorer antenna lies over the Reader board antenna Note also the back arrow on the GUI that emulates the same function on an Android mobile device Note Sometimes the demo GUI application fails to detect the reader and indicates No Reader Found when launched Close down the application unplug the USB cable from the PC and reinsert it Then relaunch the demo GUI NXP NTAG I C Explorer Kit user s manual 44 6 LPC Link2 debug probe To enable fast development the Explorer kit comes equipped with a LPC Link2 debug probe The LPC Link2 probe ships pre programmed with an CMSIS DAP complia
8. herein and shall have no liability for the consequences of use of such information 12 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 Suitabil
9. not used Session identifier value is not critical and is not used HID 1 C Request use 0x05 which is an C serial bus write read request I2 C txLength number of data bytes to write to the I C serial bus IC rxLength number of data bytes to read from the I C serial bus Options Ox00 No special options required I C Address displays the I C serial bus address of the NTAG I C tag chip Note that this is a 7 bit address with the read write bit appended I C Subaddress displays the memory block address of the NTAG I C tag chip gt I C Data O Data 15 there are always 16 data bytes provided whenever data is sent to the NTAG I C tag chip except when programming the Session Register v v v yv VF VF WT WH 4 3 2 Session register If the user clicks the Session Register address OxFE or the Session Registers button see Figure 4 11 the GUI displays the Session Register details see Figure 4 12 Note Individual bit definitions are listed most significant bit to least significant bit A check in a box representing a single bit indicates that bit will be set to a 1 on a write or a 1 has been read back from the register No check in a box representing a single bit indicates that bit will be set to a 0 on a write or a 0 has been read from the register Unless otherwise noted if the full 8 bits of a register are not used the control populates lsb first for example I C clock stretching controlled by register OxFE5 is enable
10. of the NTAG I C The application then begins to write 64 byte blocks with all bytes set to zero to the SRAM memory as many times as indicated by the user After each time it writes to the SRAM it recalculates the CRC32 with the new data sent and if the Polling Mode is NXP NTAG I C Explorer Kit user s manual 50 active it waits until the microcontroller has finished reading the SRAM At the end in the last block the application sends a message indicating that it is the last one and it also sends the CRC32 calculated in the last 4 bytes The microcontroller checks the integrity of the data by comparing the CRC32 received with the one calculated from the data received Once this first phase has finished the microcontroller begins writing 64 byte blocks all zeros again to the SRAM In Polling Mode the application waits for the microcontroller to finish writing while in Fast Mode it reads as fast as it can In the last block the microcontroller sends the CRC32 calculated in the last four bytes The application checks the integrity of the data by comparing this CRC32 with the one calculated from the data received Once the test has finished both the application and the microcontroller indicate whether the integrity check was successful through a green LED at the microcontroller and the application shows the time mean speed and data transferred for both directions 9 2 2 EEPROM The application creates the NDEF message to be written by
11. output to facilitate location of the optimum RF field or to ensure that NFC has been enabled USB micro USB cable Optional LPC Link2 debug probe The LPC Link2 debug probe is a low cost development tool platform for the LPC MCUs such as the LPC 11U24 including a target board with integrated debug probe plus debug ribbon cable and supported by an Eclipse based integrated development environment NXP NTAG I C Explorer Kit user s manual 3 Contents NFC communication 1 3 5 1 SRAM board configuration 29 3 5 2 EEPROM configuration 29 NTAG I C Explorer Kit contents 2 3 6 Config tab 30 1 Definitions 5 3 6 1 Reading tag memory 31 1 1 Nomenclature and acronyms 5 3 6 2 Resetting tag memory 31 12 Antematasses dened 5 3 6 3 Reading session registers 32 134 Classa antennas 5 3 6 4 Reading writing configuration registers 33 1 2 2 Class 4 antennas gt 4 NTAG PC Explorer Peek and Poke GUI 34 1 2 3 Class 5 antennas 6 4 1 NTAG I C Explorer Peek and Poke GUI overview 34 1 2 4 Class 6 antennas 6 4 2 GUI top control bar details 35 2 NXP NTAG I C Explorer Kit Overview Contents and 4 2 1 Device type 35 Setup 7 4 2 2 Memory block selection 36 2 1 NTAG C Explorer Kit Overview 7 4 2 3 Read and write controls 36 2 2 Kit contents 9 4 2 4 Changing NTAG I C tag chip memory contents 37 2 2 1 Kit hardware 9 4 2 5 I C device address and scanning 37 2 2 1 1 Explorer board 7 4 2 6 C clock frequency 38 2 2 1 2 NFC ante
12. rate of the Android application see Appendix B determines the sampling rate for this operation Although NXP used a temperature sensor to demonstrate the RF to I C data bridging any low power I2C compatible device could be used instead One example would be to add additional memory with an 12C bus compatible memory device The voltage reading displayed on both the LCD and on the NFC enabled phone GUI is representative of Vou the voltage harvested by the NTAG C device from the RF field For more information about power harvested versus RF field strength see the FAQs located at http nxp rfid com ntag i2c design resources The Vou measurement is also passed along from the Explorer board to the mobile device via the SRAM memory The LCD has a backlight but it is not activated unless the USB is connected and not during conventional power harvesting mode However if desired the backlight may be used if one depresses the blue switch on the Explorer board while connecting power via the USB connection Depressing the blue button prior to insertion of the USB instructs the microcontroller to remain in the default demonstration routine In this mode the LCD displays NTAGI2C Explorer If the USB is connected without depressing the blue switch the 5 V from the USB signals the microcontroller to switch to Peek and Poke mode This 5v supply is passed through a 3 3 V regulator and is or d with the power harvested V from the NTAG C dev
13. the words Near Field Communication 2 The NFC RF Detector board has a similar LED to antenna orientation as the NTAG I C board does between the NTAG I C tag chip and the antenna After you have ascertained that your phone is NFC enabled and determined the position of optimal reception make a note of where on the phone GUI display the LED lines up Because the NTAG I C chip is also centered on the PCB chances are the NTAG I C antenna board will work best in a similar location See examples for the popular Moto X and Samsung GII phones in Figure 8 2 and Figure 8 3 respectively where the LED lines up near the words Board input on the GUI display and the optimal NTAG C antenna board placement is in a similar location NXP NTAG I C Explorer Kit user s manual 46 NFC RF Detector p gt Board input Board LED aligns Bp tag to read configuration with Board input Board input Tap tag to nad configuration cls nian a NTAG I C tag chip on antenna board in approximate position as LED fi Board configuration Board input Tap tag to read configuration f Board a ny lt NFC RF Detector gt f z Board input Board LED aligns Tap tag to read configuration above Board input NTAG I C tag chip on antenna board in approximate position as LED Figure 8 3 Samsung Galaxy III optimal antenna coupling location 8 2 Selec
14. will also indicate the NXP NTAG I C Explorer Kit user s manual 23 temperature sensed by the board in this case ambient The mobile device displays the same information with one digit more resolution 2 Touch one of the Board Configuration buttons Red Blue or Green on your mobile device under the LED tab on the home screen The NTAG Icon will change color indicating the color selection Figure 3 4 Figure 3 5 and Figure 3 6 and the NTAG I C Explorer board LED will illuminate in the chosen color Red LED Blue LED emperaiune 24 61 Gf 75 23 F Energy Harvesting Voltage 28W a a Figure 3 4 Red LED board configuration selection Figure 3 5 Blue LED board configuration selection Green LED Figure 3 6 Green LED board configuration selection 3 3 2 Reading board input to demonstrate I C to RF communication The three colored and numbered buttons Red 1 Green 2 and Blue 3 on the Explorer board demonstrate information from the board being transferred from the microprocessor through the I C serial bus to the NTAG I C tag chip which then sends it via the RF field to the mobile device for display When pressed each colored and numbered NXP NTAG I C Explorer Kit user s manual 24 button on the Explorer board will cause a corresponding numbered box on the mobile device to display in the appropriate color Board alae o Tap the tag Figure 3 7 Read
15. 006 field seatched off al O0b hald switched off Ob ekdi switched off of set to HALT 10b held ewitched off of LAST_HMOEF_PAGE Tib field switched off of Dara is read write Y i2c SETTINGS WO_LS Temer is WOME Tirner is 26 Check Stretch is GENERAL CHIF INFORMATION IC Product NXP NTAG IC 2E User memory 1904 Bytes FIELD DETECTION gt PASS THROUGH T SRAM MEMORY SETTINGS Last NOEF Fage iz SRAM Miror iz SRAM Miror block 1 33 4 NTAG I C Explorer Peek and Poke GUI The Peek and Poke software is a PC based software tool which developers can use to view the EEPROM SRAM contents in an NXP Semiconductors NT3H1101 1 Kbyte or NT3H1201 2 Kbyte NTAG I C tag chip This software allows users to read from and write to the memory in the NTAG I C tag chip via the I C serial bus interface as well as control the Session and Configuration registers Because developers can also read from or write to the NTAG I C tag chip memory via the RF interface for example by using an NFC enabled mobile phone the tool supports bidirectional communication verification between the I C serial bus and RF interfaces This capability is very useful for debug purposes when developing independent applications that must communicate through the NTAG I C tag chip For example one use might be to verify correct operation of software running ona microcontroller embedded in a printed circuit board I C side which must work in conjunctio
16. 2C EXPLORER USB MODE and the Peek and Poke GUI will indicate the NTAG I C Explorer hardware detected e LAAIE gt Figure 2 25 Explorer Board connected to an NTAG I C antenna board in USB mode CLASS 4 REV C NXP NTAG I C Explorer Kit user s manual 21 3 NTAG I C Demoboard Android phone application The NTAG I C Demoboard Android phone application turns an NFC enabled mobile phone into an demonstration interface for the NTAG I C tag chip capabilities If an NFC enabled phone is not available use the NFC USB Reader to perform the same functions see Section 5 3 1 Splash window The Splash window see Figure 3 1 is the first activity to be displayed when the application is launched This window will automatically close after 2 seconds Figure 3 1 Solash window 3 2 Default home screens and power harvesting After the Splash window closes the screen shown in Figure 3 2 will appear This screen allows the user to launch the LED demo NDEF demo Speed Test Demo and access the configuration functionalities supported by the application Ensure that you have the latest copy of Explorer board firmware installed by touching the information circle at the upper right of the home screen Note because the board microprocessor shares the firmware version of the board with the application when performing the LED demonstration see Section 3 3 this information will not be available to the application until the demonstration
17. AW i 0x100 User memory RAW i 0x110 User memory RAW i 0x120 User memory RAW i 0x130 User memory RAW 0x140 User memory RAW n 0x150 User memory RAW 0x 160 User memory RAW i 0x170 User memory RAW i 0x180 User memory RAW 0x 190 User memory R W i 0x1A0 User memory R W i 0x 1B0 User memory RAW i 0x1C0 User memory RAW 0x 1D0 User memory R W fam 0x 1E0 User memory RAW Ox 1F0 User memory RAW 0x200 User memory RAW 00 L 02 03 882383833838338 3888888888388888 2w 8888888888888888 8888888332 e 8888888888888888 83888888883Z2 na 8888888888888888 838888888B83B32 e O BREEFSESRSRERESSRLEEE S G R S jt N Session Configuration Registers Registers USB Logging Disabled Clear m o9 I 00 00 00 00 OU S6 00 NTAGFC Explorer hardware not detected 8888888888888888 888888B88B8B82 8888888888888888 8888888B2 e 8888888888888888 8888888B8B M 8888888888888838 8888888882 e 3833283282833833 8323323333323323 33333338 j n 888888 8 8888888888888888 888888B88B88B88B32Wr 8888888888888888 838888888882 gt gt 4 Figure 2 24 Peek and Poke GUI landing screen No Hardware Detected 10 Using the supplied MicroUSB to USB connector connect the Explorer board NTAG I C antenna board combination to your computer After connecting the boards the Explorer board LCD will display NTAGI
18. Antenna Guide i Board Sadia Reader Related NTAG I C Explorer Kit Application Source Code NFC RF Detector User s Guide Explorer Related Board Reader Board Photos Source Code Reader Board NTAG 14C Explorer Ean Photos NTAG 12C Explorer Firmware Peek and Poke GUI Top Figure 2 20 Explorer Kit resources links area 4 Download NXP NTAG I C Explorer Software Peek and Poke GUI zip 5 This file will contain the Peek and Poke GUI software as well as some supporting files 6 Double click on the NTAG I C Explorer application file which will result in dialog box suggesting you extract all files NXP NTAG I C Explorer Kit user s manual 19 i x nl ad NTAG C Explorer Compressed size 3 16 MB Ratio GO Size 7 86 MB Date modified 10 3 2014 1244 PM Figure 2 21 Extract all Peek and Poke GUI files dialog box 7 Extract all files in a directory of your choice on your computer Oia i Dow NAP NTAG IDC Explorer Software Peek amp Poke m 5 f Seorch NAP ATAG UC Explorer 0 in Compressed size TEE Ne 1EB Na Select a Destination and Extract Files Files will be extracted to this folder CAUserrAnn Download AO NTAG DC Explorer Software Peek amp Poke OUT a 9 Dam MIAGE Explorer Compressed sze 3 16 Mo Patio 60 Sire TEEME Date modified IWENI 124 PM Figure 2 22 File Location dialog box for Peek and Poke GUI files 8 Double click on the NXP NTAG C Expl
19. EPROM write cycle is active access to the EEPROM is disabled Ob access to EEPROM for write cycle is possible RF field is detected NXP NTAG I C Explorer Kit user s manual 41 4 3 4 Configuration registers Edit the contents of the Configuration Registers see Figure 4 13 by pressing the Configuration Registers button refer to Figure 4 11 at the bottom left of the screen or by clicking in the grid on memory block 0x3A for the NT3H1101 and Ox7A for the NT3H1201 ID Configuration Registers FD_OFF 12C_CLOCK_STR 0x3A 5 Write Config 12C_CLOCK_STR Enabled Read Config Close Figure 4 13 Configuration register 4 3 5 Configuration register details Table 4 2 provides a more detailed explanation of the configuration registers Table 4 2 Configuration register details NC_REG 0x3A 0 or Ox7A 0 NTAG Configuration Register located at 0x3A 0 for the NT3H1101 and 0x7A 0 for the NT3H1201 I2C TRST ONT OFF When checked enables soft reset through 1 C repeated start Used to allow combined read write operations without releasing the bus and in this way guaranteeing that the data transfer is not interrupted When this feature is enabled if the microcontroller does not issue a STOP condition between two START conditions this situation will trigger a reset of the C interface and hence may hamper communication via the 2C interface Note that the NTAG Explorer software does not issue a STOP condition between two START
20. I C tag chip memory when the data in the grids change The user must click the Write Block or Write All Data buttons to update the memory 0 1 2 3 4 5 6 7 8 9 4 68 C 0 E FF 4 0 2 2 3 4 5 6 7 8 9 A BICIDIEF 00 04 SE AA 14 00 00 00 00 44 00 OA o oc 0D o o aeg D F AR O 01 03 00 FE 00 00 00 00 00 00 00 00 00 00 00 00 00 L pb 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF 43 2 AY 04 58 50 20 53 6D 69 63 GF GE 64 75 63 74 OF NXP Semiconducto 05 72 73 20 54 41 47 2D 49 32 43 OD 00 00 00 00 ris IN T A G I 2 C Figure 4 5 NTAG I C tag chip memory display 4 2 5 IC device address and scanning The default IC serial bus address of the NTAG I C tag chip is OxAA The user can change the I C serial bus address by writing to memory location 0x000 The software locks the value of the I C serial bus address to OxAA unless it is unlocked by pressing the lock icon shown in Figure 4 6 Note The software does not use the value shown at memory location 0x000 in the data grid when programming block 0 The value in the edit box overrides the value in the grid This approach ensures that the user does not accidentally change the value Figure 4 6 NTAG I C tag chip address To determine which I C serial bus address has been programmed into the NTAG I C tag chip use the Scan button to find a device on the bus After pressing the Scan button the software w
21. NFC transceiver for the demonstration development kit 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 and is available from the Google Play Store gt NTAG I C Demo GUI A PC based GUI application to emulate the Android phone screen for users of the NFC USB Reader board gt NTAG I C Explorer Board Firmware Firmware for the NTAG I2C Explorer board microprocessor which supports the demonstration functionality of the hardware gt NTAG I C Explorer Peek and Poke GUI The Peek and Poke software enables users to examine and control NTAG I C memory and register contents which is useful in verifying proper operation of either PC board based software or NFC reader firmware which must communicate through the chip 2 3 System requirements and setup This section explores NFC phone compatibility minimal PC requirements for the Peek and Poke software to work correctly hardware setup connections enabling NFC operation on your Android device load the NTAG I C Demoboard application on your mobile device and updating firmware on the Explorer board if necessary Before beginning it might be helpful to view the Quick Start Guide Video available at http nxp rfid com ntag i2c explorerkit 2 3 1 NFC phone compatibility The demo application is intended to ope
22. NTAG 1 C Explorer Kit Th em aatelalere NFC communication Near Field Communication NFC is a short range intuitive wireless connectivity specifically designed and engineered to provide zero power operation and maximize privacy at very low cost Because they function as wireless dual port memories NFC connected tags packaged NFC devices that include a hardwired bus interface are useful in any application that can take advantage of data transfer between an embedded system and an external reader writer e g an NFC enabled mobile device In fact NFC connected tags enable exciting new capabilities for applications ranging from home automation to home appliances health care tracking to utility monitoring zero power electronic product configuration to zero effort consumable goods replenishment the long touted Internet of Things actually come to life but with greater privacy protection and lower cost than other approaches NTAG I C connected tag chip The NTAG I C tag chip the first connected product of NXP s NTAG family offers both contactless NFC Forum compliant and contact I C serial bus interfaces see Figure 1 If it has an external power supply or by using its embedded energy harvesting feature to power itself the NTAG I C device can communicate with a microcontroller or other C compatible device via its IC serial bus The NTAG I C device contains two memory types gt EEPROM memory compliant with the NFC Forum Type 2 T
23. The Write All Data button writes the contents of the grid to the NTAG I C tag chip except for the Session Register The user can only edit the contents of the Session Register by pressing the Session Register button or by selecting a cell in memory block OxFE in the grid When the Session register button is pressed or when the user clicks in memory block OxFE the software will display the Session register dialog shown in Figure 4 12 gt The Read All Data button reads the contents of the NTAG I C tag chip with the exception of the Session registers located in memory block OxFE and then displays the contents of the NTAG I C tag chip memory in the grids gt The Reset button loads the grids with the default contents of the NTAG I C tag chip It does not write the contents into the NTAG I C tag chip memory The Write All Data button must be used to load the Reset values into memory a an _ Write All Read All Write Block Read Block Data Data Reset Figure 4 4 Read and write control buttons NXP NTAG I C Explorer Kit user s manual 36 4 2 4 Changing NTAG FC tag chip memory contents Change the contents of the NTAG I C tag chip memory by entering hexadecimal values in the middle of the grid or alternatively by entering ASCii characters in the right side see Figure 4 5 Changing the values in one side of the grid will automatically change those values in the other side Note The software does not automatically send data to the NTAG
24. These pads may be used to connect a custom antenna if desired by cutting the traces to the on board antenna structure and replacing with a custom coil structure Where C1 is not populated see Figure 2 4 add a custom capacitor to adjust tuning or add to replace existing capacitor on populated boards see Figure 2 5 Custom antenna connection pads Cut traces between antenna and capacitor connecion points to use custom coil CLASS 5 REV C Figure 2 4 Class 5 antenna board NXP NTAG I C Explorer Kit user s manual 10 Class 6 Antenna Class 6 FR4 antenna board same as Class 4 board except with a Class 6 antenna structure Replace or add to existing capacitor for custom tuning CLASS 6 REV C Figure 2 5 Class 6 antenna board Flex Class 6 antenna Class 6 flex board same architecture as Class 6 board except mounted on flex material and with extended traces to the connector so that it can be inserted into products more easily ESSEE Figure 2 6 Class 6 flex antenna 2 2 1 3 NFC USB Reader board USB based PN544 NFC transceiver board controlled by an NXP LPC11U24 microprocessor to enable using a PC for the NFC tag read write functionality PN544PC r EE a gi a if Hiha a t a P urii 4 k E j kj me i 1 tE a is A i RES Ga L E e pin S T ISP lt GATH 7 a d a i H J ea 2 5 a 1 NFC USB READER Rev B aA od doe e FAB 9 001 94V 0 3114 WL A Teal ma
25. additionally provides a development platform for application designers NXP NTAG I C Explorer Kit user s manual 45 8 Appendix A Optimal NFC phone placement It sometimes takes a bit of experimentation to determine the optimal coupling between an NFC enabled phone antenna and one of the NTAG I C antenna boards For this reason NXP has included an NFC RF detector board NFC antenna with an LED indicator light with the NTAG I C Explorer Kit This board is useful in determining whether or not a phone is NFC enabled and if so where is the optimal placement of an external NFC antenna in order to achieve the best RF communication 8 1 Using the NFC RF Detector Board 1 If you are not certain that you have an NFC enabled phone lay the phone on the NFC RF detector board and move it around If the LED lights up then the phone is NFC enabled Depending on the phone type antenna sizes and placement differ so you may need to experiment with and adjust the placement of the phone versus the NFC RF detector board in order to find the optimal position Note in some cases as in the Samsung phones NFC antennas are located inside the battery case If your phone battery has been replaced with an after market version you may no longer have NFC capability Look for the words Near Field Communication under the Samsung logo to make sure you have an NFC enabled phone Figure 8 1 Some NFC antennas are located inside the battery case as indicated by
26. ag implementation gt 64 byte SRAM memory which is mapped within the EEPROM memory and powered externally Without an external power supply the NTAG I C tag chip can communicate via its RF interface as a passive NFC tag and because it contains EEPROM store data for later retrieval via the I C serial bus Under power the SRAM memory supports a Pass Through mode that allows fast download and upload of data from the RF interface to the I C interface and vice versa without affecting the EEPROM access limitations essentially creating a wireless RF to connected I C serial bus bridge The NTAG I C device can also use its energy harvesting feature to supply power to external low power devices such as microcontrollers for zero external power operation A separate configurable Field Detection pin provides an external trigger depending on the activities at the RF interface avoiding processor cycle consuming polling schemes and delivering additional application flexibility For a brief video introduction to the NTAG I C Explorer Kit please visit http nxp rfid com ntag i2c explorerkit and click on Watch Quick Start Guide Video tagrc NFC enabled device Fe ie Lf Energy harvesting Data Field detection Data Energy Energy Figure 1 NTAG I C tag chip contact and contactless interfaces NXP offers the NTAG I C product in two different versions the NTAG I C 1K version with 888 bytes freely available in the user memo
27. ar at the bottom of the GUI indicates presence or absence of any connected NTAG I C hardware In this case the Explorer board is present and the software detects it notifying the user with NTAG I C Explorer hardware detected see Figure 4 1F NXP NTAG I C Explorer Kit user s manual 34 NTAG C Explorer Peek and Poke Utility gt lH _ 7 Write Block Read E T Reset I Device Type NT3H1201 2k8 f 12C Address m e Scan 100k 0 12 3456 7 8 9 A BCID EF Z b 8882828328328382 82 8385 L 8828828283282882 8282 8 SB E FGH IJa gD Session Configuration Registers Registers use Logging Disabled Clear sssssssssssesesMisssssssseseses88ea sssssssssssesesHissssssssessge88n sssssssssssessMisssssesssesseges8e8eoe sssssssssessesesMissssssssesegessgean ssssssssssgsgsgseisssssssssssgsgsn sssssssssssssMsssssssssegsesvy a eaiegissisigaiealeiaad ssssssssssesessMssssssssssgsgsgspr ssssssssssssesMHissssssss88e888 sssssssssessesesMisssssessesegsegesg en sssssssssessssHissssssssessgess88u sssssssssessessMHisssssessesegesges88e sssssssssessesesMsssssesssegsgegsg eu sssssssssssesesHisssssesssessge8 8a 8 8 8 8 8 8 8 8 8 8 8 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2c 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 Figure 4 1 NTAG I C Explorer initial screen 4 2 GUI top control bar details 4 2 1 Device type The dropdown menu labeled Device Type indicat
28. ated within a zone defined as either a rectangle of dimensions 25 x 20 mm or a circle of 25 mm diameter see Figure 1 4 25mm 25mm gt Figure 1 4 Class 6 antenna specified zones NXP NTAG I C Explorer Kit user s manual 2 NXP NTAG C Explorer Kit Overview Contents and Setup 2 1 NTAG I C Explorer Kit Overview NXP developed the NTAG I C Explorer Kit to demonstrate the operation of the NXP NTAG I C device and to show how it can be used in a typical energy harvesting application The primary components of the demonstration are the Explorer Board and the NTAG 2C Antenna board of which a variety are included see Table 1 The NTAG I C Antenna board consists of an NTAG I C tag chip assembled on a PCB connected to an antenna etched from the copper on the PCB see NTAG C Antenna Board in Figure 2 1 The antenna board connects to the NXP LPC11U24 Cortex M0O microcontroller based NTAG I C Explorer board see Explorer Board in Figure 2 1 which receives its power from the antenna board Explorer Board NTAG I C Antenna Board USB I 3 3V LDO Regulator 2 I blige NL Xen ou GMSs DVLP Connector LB LPC11U24 Microcontroller Reset ISP SDA I C bus data PCT2075 Temp Sensor SCL I C bus clock Figure 2 1 NTAG I C Explorer Kit microprocessor and Antenna Boards As shown in Figure 2 1 the Explorer board also hosts a 2x16 character LCD an NXP PCT2075 temperature sensor a voltage reference an
29. ation documents specifications nfc forum technical specifications gt http nfc forum org our work specifications and application documents application documents NXP NTAG I C Explorer Kit user s manual 51 10 4 I C Serial Bus Specification To understand more about the I C serial bus protocol please see gt I C Serial Bus and User Manual Application Note from NXP http www nxp com documents user_manual UM10204 pdf 10 5 Microcontrollers To learn more about the Explorer kit s microcontrollers and their use as a development tool please visit gt LPCXpresso development tool platform www nxp com lpcxpresso gt Software and support for NXP MCUs http www pcware com gt LPC Link2 debug probe http www pcware com Ipclink2 11 About NXP NXP Semiconductors NASDAQ NXPI a global semiconductor company with operations in more than 25 countries is a key supplier of LF HF NFC and UHF RFID solutions as well as a provider of High Performance Mixed Signal products For more information visit www nxp rfid com ntag i2c or to contact NXP visit nxp rfid com contact NXP NTAG I C Explorer Kit user s manual 52 12 Legal 12 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
30. conditions so enabling this feature will automatically trigger a reset when the software attempts to communicate with the NTAG device RUARUEONTORF When checked enables the pass through mode of the NTAG chip where data passes from the RF interface through the SRAM to the I C serial bus interface and vice versa to avoid affecting the write cycle limitations of the NTAG EEPROM EREORE Pull down menu to select definition of when the Field Detect pin output stays high gt OOb in the event no RF field is present gt 01b in the event no RF field is present or the NTAG has been set to the HALT state gt 10b in the event no RF field is present or the last page of the NDEF message has been read as defined in LAST_NDEF_BLOCK register gt 11b in the event no RF field is present or if the last data has been read by the I C interface where pass through mode is in the RF gt C direction or if the last data has been written by the 12C interface where pass through mode is in the I C gt RF direction FD_ON Pull down menu to select event for which the Field Detect pin will be brought low gt OOb in the event an RF field is present gt 01b in the event an RF field is present AND the first valid Start of Frame SoF has been received gt 10b in the event an RF field is present AND the tag has been selected gt 11b when in pass through mode in the RF interface gt C interface direction and data is ready for reading at th
31. creating a string that contains the content from the textbox as many times as indicated and adding the appropriate header The application then writes the created NDEF message 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 Here it is important to note that because the Write command writes bytes 4 by 4 and the Read command reads 16 by 16 usually the read bytes are more than the written bytes see NFC Forum Type 2 Tag Operation Specification 10 References 10 1 General Reference Information and Resources gt http nxp rfid com ntag i2c design resources 10 2 Explorer Kit Resources gt http nxp rfid com ntag i2c explorerkit 10 3 NDEF In order to understand more about the different types of NDEF messages and their structures please refer to the following NFC Forum specifications NFC Data Exchange Format NDEF Technical Specifications NFC Record Type Definition RTD Technical Specification NFC Text RTD Technical Specification NFC URI RTD Technical Specification NFC Forum Connection Handover Technical Specification v v v vo WT WW Bluetooth Secure Simple Pairing Using NFC These specifications can be found by visiting gt http nfc forum org our work specifications and applic
32. d RGB LEDs Because the NTAG I C Antenna board provides power for all these parts they must all use minimal current while operating at voltage levels typically in the 2 7 V to 3 0 V range Keeping the total current consumption below 5 mA is critical because the current consumption of the development board affects the output voltage of the NTAG C device If the required current is too high the output voltage will be too low to power the board Although most components on the board operate down to 1 8 V the LCD requires a minimum of 2 7 V so this part determines the minimum voltage required by the kit Each LED in the RGB array consumes less than 1 mA the PCT2075 temperature sensor typically consumes less than 1 pA because it is normally in idle mode the LCD consumes a maximum of 0 5 mA the microcontroller consumes approximately 1 6 mA in active mode using an internal RC oscillator the voltage reference typically consumes 42 pA The microcontroller serves as the IC master It acquires the temp in C from the temperature sensor and provides it via the I2C bus to the NTAG I C device s SRAM memory buffer in pass through mode which passes it along in a standard NDEF formatted package via the RF interface to an NFC enabled mobile device The mobile device NXP NTAG I C Explorer Kit user s manual 7 calculates the F conversion and passes it back to the microcontroller which then sends it to the LCD also via the I2C bus The polling
33. d if the least significant bit of OxFE5 has been set to 1 NXP NTAG I C Explorer Kit user s manual 39 E Ai ee I aae Session Configuration Figure 4 11 Session registers and configuration registers buttons ve Session Register Configuration WDT OxFE 4 3 NC_REG OxFE 0 PLAST_NDEF_BLOCK OxFE 1 msb of OxFEO I2C_RST_ON_OFF o 08 48 ON ac Watchdog time out 20 000 ms FD_OFF 00 Field switched off X Read NDEF Write NDEF Read WDT Write WDT FD_ON l l 00 Field presence NS_REG OxFE 6 z NDEF_DATA_READ RO _DATA_ SRAM_MIRROR_ON_OFF 12C LOCKED Isb of OxFEO PTHRU_DIR Read NC_REG Write NC_REG RF_LOCKED RO SRAM_I2C_READY RO SRAM_RF_READY RO EEPROM_WR_ERR EEPROM_WR_BUSY RO RF_FIELD_PRESENT RO Read NS_REG Write NS_REG 20 CLOCK STR Enabled z Read 12C STR Figure 4 12 Session register 4 3 3 Session register details Table 4 1 provides an explanation of the session register name abbreviations Table 4 1 Session register details NC REG OxFE 0 IZERSILONIOEF PTARUSONTORF NXP NTAG I C Explorer Kit user s manual NTAG Configuration Register located at block OxFE byte O When checked enables soft reset through 1 C repeated start Used to allow combined read write operations without releasing the bus and in this way g
34. data has been read by the I C interface where pass through mode is in the RF gt I C direction or if the last data has been written by the I C interface where pass through mode is in the I C gt RF direction Pull down menu used to select the event for which the Field Detect FD pin will be brought low gt OOb in the event an RF field is present gt 01b in the event an RF field is present AND the first valid Start of Frame SoF has been received gt 10b in the event an RF field is present AND the tag has been selected gt 11b when in pass through mode in the RF interface gt I C interface direction and data is ready for reading at the I C interface OR when in pass through mode in the I C interface gt RF interface direction and data is read by the RF interface When checked enables SRAM mirror mode Defines the data flow direction for pass through mode If pass through has been enabled PTHRU_ON_OFF 1 gt Ob from the I C interface gt the RF interface gt 1b from the RF interface gt the I C interface If pass through has not been enabled PTHRU_ON_OFF 0 gt Ob No write access from the RF side Allows input of the address for the last page of the NDEF message SRAM mirror lower page address in 4 page granularity gt 1h is page 4h first page of User Memory 2h is page 8h 3h is page Ch gt gt 74h is 1DOh Watchdog Timer Because it is possible that the host can keep the I C se
35. e 3 19 The user should tap the mobile device to the NTAG I C tag chip for some time about 2 to 3 seconds to read the memory content Tap tag to read configuration registers Figure 3 18 Tap to read screen Figure 3 19 Read tag memory selection results 3 6 2 Resetting tag memory The reset function resets the memory of the NTAG I C tag chip to the original content programmed in it during production sets the fifth page of the EEPROM memory to a known value the capability container and the rest of the memory to zero 1 Select Reset Tag Memory from the Config Tab Landing screen A screen similar to that shown in Figure 3 18 will display 2 Tap the mobile device to the tag antenna The user should tap the NTAG I C device for some time about 2 to 3 seconds to reset the memory content A dialog is displayed on the screen as long as the operation goes on 3 Upon successful reset a banner indicating completion will display along the bottom of the screen see Figure 3 20 If not successful remove the mobile device from the antenna and try again NXP NTAG I C Explorer Kit user s manual 31 Figure 3 20 Reset tag memory window 3 6 3 Reading session registers Session registers are used to configure or monitor the register values of the current communication session Session register values can be modified within a particular communication session However after Power On Reset these values return to the default configura
36. e 3 23 Write configuration registers NXP NTAG I C Explorer Kit user s manual 1 E ae Read Config Write Config GENERAL CHIP INFORMATION It Predict NEP WT AG I K r memar EIG Byt P FIELD DETECTION E PASS THROUGH gt SRAM MEMORY SETTINGS i iC SETTINGS Figure 3 22 Read configuration registers screen Select Read Write Config Registers from the Config Tab Landing screen A screen similar to that shown in Figure 3 18 will display Tap the mobile device to the tag antenna Upon successful read a screen similar to that shown in Figure 3 22 will display Note the blue Read Config banner at the top of the screen This indicates the active selection To write to the configuration registers remove the mobile device from the antenna and touch Write Config The screen shown in Figure 3 23A will display Register contents are controlled either via dropdown menus Figure 3 23B direct input e g number pad see Figure 3 23C or by slider controls where grey indicates off and blue indicates on Figure 3 23D EAA IC Product NXP NTAG 12C 2K User memory gt FIELD DETECTION Y PASS THROUGH Functionality ts Direction Write from RF is Y SRAM MEMORY SETTINGS Last NDEF Page is SRAM Meror is SRAM Meror block is Y 12C SETTINGS WD_LS Timer is WO_MS Timer is 12C Clock stretch is Y GENERAL CHIP INFORMATION IC Product HXP ATA 2C 2K User memory 1904 Bytes YF FIELD DETECTION FDLOFF isc
37. e I C interface OR when in pass through mode in the 1 C interface gt RF interface direction and data is read by the RF interface NXP NTAG I C Explorer Kit user s manual 42 SRAM_MIRROR_ON_ When checked enables SRAM mirror mode O PTAROSDIR Defines the data flow direction for pass through mode If pass through has been enabled PTHRU_ON_OFF 1 gt Ob from the lC intemace the RF interface gt lb from the RE internace gt the lC imtenrace If pass through has not been enabled PTHRU_ON_OFF 0 gt 0b No write access from the RF side SRAM_MIRROR_BLOCK SRAM mirror lower page address in 4 page granularity 0x3A 2 or 0x7A 2 gt 1h is page 4h first page of User Memory gt 2h is page 8h gt 3h is page Ch gt gt 74h is 1D0h I2C_CLOCK_STR 0x3A 5 or When checked lsb set to 1 this register enables I C clock stretching see C serial bus 0x7A 5 specification for clock stretching details 4 3 6 Help screens for session and configuration registers For quick explanations for any of the registers listed under the session and configuration register screens click on the small blue question mark see Figure 4 14A This action will bring up a help screen describing the register in a bit more detail see Figure 4 14B I2C_RST_ON_OFT Enables soft reset through 12C repeated start PTHRU_ON_OFF Enables data transfer use of SRAM FD_OFF defines the event upon which the sgnal ouput on the FD pin it brought up O
38. e information into the SRAM of the NTAG It writes which LED color should be shown Table 9 1 61 0x01 red color 0x03 green color 1 NDEF displayed 2 The microcontroller reads the SRAM updating the LEDs and displays accordingly 3 For buttons pressed on the Explorer board the microcontroller writes the corresponding content to the SRAM Table 9 2 62 Isb red button pushed third Isb blue button pushed 50 57 voltage value voltage at sensor 4 Finally the application reads that information and updates the GUI The application also sends back the temperature and voltage previously received from the board because the computing power of a smartphone or PC is much higher than that of the Explorer board microprocessor Therefore the board sends directly the values obtained from the voltage and temperature sensors to the application and the application calculates the actual values of the temperature and voltage and sends them back in ASCII to the board This way it sends back the temperature in Celsius in bytes 40 to 43 the temperature in Fahrenheit in bytes 45 to 49 and the voltage in bytes 56 and 57 9 2 Speed test process 9 2 1 SRAM The Speed Test begins as soon as the user taps the NTAG I C tag antenna At this point the application writes a message in the SRAM indicating to the microcontroller that it will start the SRAM Speed Test and waits until the microcontroller indicates that is ready through the session registers
39. ed with firmware When updates are available they will be available for download from http nxp rfid com ntag i2c explorerkit see Section 2 3 8 Download the NFC USB Reader GUI Software Executables folder to a PC subdirectory of your choice Unzip it Locate the NTAG_ C_Demo exe file and double click on it When properly launched you should see a small window that emulates a mobile device screen ot a ee 2 3 10 Peek and Poke GUI software installation The Peek and Poke software is a PC based software tool which developers can use to view the EEPROM SRAM contents in an NXP Semiconductors NTAG I C tag chip For hardware setup see Section 2 3 3 For software operation see Section 4 To begin the software installation process 1 Navigate to http nxp rfid com products ntag ntag i2c explorer demonstration and development kit 2 Register in order to make links at bottom of page valid 3 Locate the NTAG I C Explorer Board Resource links column and click on the Peek and Poke GUI link r O c e aca E Ne NXP RFIDNTAG RFID fam x C D nxp rfid com products ntag ntag i2c explorer demonstration and development kit full access 7T NXP RFID Howdy devriescreativellc 5 BEST IN SHOW READ MORE ABOUT IT d Schematic Gerber amp Class 4 5 amp 6 FR 4 NTAG I C Data Sheet Schematic Gerber amp BOM Antenna Boards NTAG I2C Quick Start BOM PC GUI Software Class 6 Flex
40. enna for other phones see Appendix A Or alternatively use the supplied RF detector see Section 2 2 1 4 to find the strongest RF source location on your phone NXP NTAG I C Explorer Kit user s manual 16 With these two edges Line up these two edges Note mobile phone shown upside down flip phone over when attempting communication CLASS 4 REV C Figure 2 19 Best placement for successful NFC communication with Samsung Galaxy IIl mobile phone 2 3 6 NFC enabled phone APK installation In order to use your Android NFC enabled phone as the demonstration GUI you must download the NXP NTAG I C Demoboard application from the Google Play Store Ensure that any previous versions have been uninstalled before initiating a new download Open the Google Play Store app Search for NXP C Demoboard Touch Install 7 oe N Touch Accept after reviewing the permissions You can also download the software over the Internet from http nxp rfid com ntag i2c explorerkit 1 Ensure that any previous versions have been uninstalled before initiating a new download 2 Navigate to the demonstration software download links in the Explorer page located at http nxp rfid com ntag i2c explorerkit 3 Download ntagi2cdemoboard apk 4 After downloading the apk locate it on your phone e g under Settings Storage Downloads 5 Select the NTAG I C Explorer application and follow the directions for installing Note Although you can
41. ern sssssssssssssMssssssssssessgen sssssssssssessMissssssssesesesgsge8u sssssssssssssHisssssssessesese8e sssssssssssessMsssssssssessgseu sssssssssssssMsssssssssssgsgsa sssssssssssssMssssssssssgegsgseu sssssssssssssMsssssssssssesse ssssssssssessesMissssssesesessgese88e sssssssssssssMssssssssssssgsep ssssssssssssesMssssssssesesessee sssssssssssesesMsssssssesesesesseen sssssssssssessMssssssssesegeseso sssssssssssessHssssssseseseseegenm 888888888888 8 2 8888888888888ZM 4 NTAG FC Explorer hardware detected NTAG selected address 0x2CF Figure 4 9 USB data logging control NXP NTAG lC Explorer Kit user s manual 38 When a read or write message transmits over USB the contents of the message displays in the console below the checkbox see Figure 4 10 Report Output Report ID Total Bytes 0x19 Transaction identifier 0x91 Session identifier 0x29 exes 0x11 0x99 9x99 I2C Address OxXAA I2C Subddress exes I2C Data Data is x4E 8x58 8x50 6x20 0x53 8x6S 8x60 8x69 x63 GXGF GXGE GX64 Figure 4 10 USB data logging The USB HID message totals 65 bytes in length 1 Report ID byte and 64 data bytes Although 65 bytes are sent received in every USB transaction the logging report only shows the data used by the USB I C hardware The following data is displayed Total Bytes the number of actual data bytes used for the message 0x19 or 25d Transaction identifier value is not critical and is
42. es which version of the NTAG I C chip has been detected There are two versions of the NTAG I C tag chip supported by the software NT3H1101 and NT3H1201 The difference between the two devices is the amount of user memory available the NT3H1101 contains 1 kB of user memory while the NT3H1201 contains 2 kB of user memory The software automatically detects which version of chip is connected by attempting to read location 07 Ah which is the location of the configuration register accessible via the C interface in the 2 kB chip version The configuration registers for the 1 kB version of the chip are located at block 03 Ah If you have a 2 kB version connected and attempt to switch the chip type to the 1 kB version the software will alert you to the fact that it can read data at location 07 Ah and ask if you still want to switch chip types ve oe aris ka Figure 4 2 Device selection NXP NTAG I C Explorer Kit user s manual 35 4 2 2 Memory block selection The memory in the NTAG I C tag chip is configured in 16 byte data blocks The software displays the memory block organization by hexadecimal address on the left side of the user interface To examine the contents of a memory block the user can click on that memory block in the left column For example in Figure 4 3 the memory in block 0x000 contains the I C Address the serial number Internal Data Lock Bytes and the Capability Container With the exception of the I C address
43. g chip interface connector JTAG SWD debug connector RGB LED NXP PCT2075 temperature sensor micro USB connector and five push button controls JTAG SWD connector NTAG I2C connection MicroUSB p gt ka R E RGB LED Temperature Red Green Blue Reset ISP sensor control control control Figure 2 2 Explorer Board components NXP NTAG I C Explorer Kit user s manual 9 2 2 1 2 NFC antennas NXP provides four different antenna boards Class 4 Class 5 and two Class 6 options so as to provide maximum flexibility and optimal coupling choices Note when connecting any of the antenna boards to the Explorer board make sure that the NTAG C logos on the selected antenna board and the Explorer board are both upright and facing you This orientation will ensure proper pin to pin connection Class 4 antenna Class 4 FR4 antenna board NTAG I C integrated circuit IC mounted with a Class 4 NFC antenna and a connector for the NTAG I C IC connections of FD Field Detect gt Vout Power harvesting output gt SCL I C bus clock line gt SDA I C bus data line gt V Ground gt View Power NTAG PC 3 Mies tag chip ie N A g NFC antenna structure CLASS 4 REV C Figure 2 3 Class 4 antenna board Class 5 antenna Class 5 FR4 antenna board same as Class 4 board except with a Class 5 antenna structure Note also the additional connection pads near the NTAG I C chip
44. g 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 12 3 Trademarks Notice All referenced brands product names service names and trademarks are property of their respective owners NXP NTAG I C Explorer Kit user s manual 54 www nxp com 2014 NXP BV All rights reserved Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner The Date of release November 2014 information presented in this document does not form part of any qu
45. has executed at least once Note that the NTAG logo is grey and Choose option is displayed The explorer board LCD will be blank and the LED will be dark At this point there is no power to the Explorer board Touch the i to verify version installed Grey logo indicates Blank LCD indicates no option selected no power Mtagl Can Tap tag to road configuration CLASS 4 REY Ne iD Figure 3 2 Default Explorer and mobile phone app home screens NXP NTAG I C Explorer Kit user s manual 22 Prior to beginning the demonstration use the RFID detector board to ensure that you have NFC capability enabled on your phone and that you ve determined the optimal coupling location between your phone s antenna and the Explorer antenna board To begin the demonstration lay your mobile device onto the antenna If properly communicating and sound on your mobile device is turned on you will hear a two note tone indicating NFC communication The NTAG device board will harvest power from the RF field and deliver it to the Explorer board to power up the microprocessor which illuminates the LCD with the text NTAGI2C Explorer on the first line and the harvested voltage and temperature readings on the second line Figure 3 3 ns Tap hag bo read cocliquration h Figure 3 3 Explorer board receiving power from NTAG I C via power harvest function 3 3 LED tab The LED Demo shows in an intuitive way the
46. ice our The Explorer board also includes a JIAG SWD debug connector allowing a user to create their own custom application and a USB connector to implement a USB I C interface allowing the user to review and change the contents of the internal SRAM and EEPROM in the NTAG I C device via the Peek and Poke software provided The NDEF tabulation of the demonstration allows users to write and read simple text URI or BT pair messages to and from the NTAG I C s EEPROM memory The Speed tabulation of the demonstration allows one to monitor the uplink and downlink transfer rates in Bytes sec as data is passed to from either EEPROM or SRAM memory in a variety of settings such as data length fast mode or polling mode This speed is limited on the RF side by the NFC protocol RF link speed of 106 kb sec and on the C side by the specified bus transfer rate which may be set to either normal 100 kb s or fast mode 400 kb s In this mode the 64Byte SRAM buffer is used to pass along data and transfer rates will be affected by the efficiency of the handshaking routines coupling link optimization for higher voltages and strong data links etc The Config tab of the demo provides users with the opportunity to reset the tag to factory configurations read from or write to the configuration registers to set up the NTAG I C device as desired and read the tag memory or the status registers NXP included various antenna geometries from a Class 6 si
47. iconductors 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 NXP NTAG I C Explorer Kit user s manual 93 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 national 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 non infringement 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 includin
48. ill begin looking for an acknowledgement on the I C serial bus When it detects an acknowledgement the scanning process will stop and software will display the detected address as shown in Figure 4 7 Place this address in the C Address box as shown in Figure 4 6 Figure 4 7 C serial bus address scanning NXP NTAG I C Explorer Kit user s manual af 4 2 6 I C clock frequency Change the IC serial bus clock frequency by selecting a data rate from the drop down box as shown in Figure 4 8 The maximum data rate supported by the NTAG I C tag chip is 400 kHz Figure 4 8 C serial bus clock selection 4 3 NTAG I C Explorer lower left screen controls 4 3 1 USB data logging To determine what data is actually being transmitted over the USB connection select the USB Logging Enabled checkbox at the bottom left of the main GUI screen see Figure 4 9A for the checkbox location Note USB Data Logging does affect the amount of time required to Write All or Read All so if speed is important disable Logging NTAG C Explorer Peek and Poke Utility o O j gt lH Write Block ach E En eae Reset I Device Type NT3H1201 2 kB f 12C Address m e Scan oo it 0 2 2 3 4 5 6 7 8 9 A BCDEF LJ E F G H I J ta Session Configuration Registers Registers use Logging Disabled Clear SSeCRRERBKRESRRERESERUVSEREBREBS sssssssssssessMssssssssesesessese sssssssssssessHissssssssesesees
49. ing board input red button Figure 3 8 Reading board input green button Board een ra Board input Tompar tura 24 61 C 75 233 Energy Harvesting Voltage 2a Figure 3 9 Reading board input blue button 3 3 3 Temperature sensor The Explorer board displays ambient temperature unless one touches the temperature sensor Hold a finger on the sensor and watch the temperature display immediately indicate the rising temperature over ambient The temperature displays both in the LCD and also on the mobile device under Board Input This operation demonstrates the NTAG I C tag chip operating in pass through mode where data passes through its SRAM It is also another demonstration of passing data from the microprocessor through the I C serial bus to the NTAG C tag chip which in turn sends the data through the RF interface for display on the mobile device NXP NTAG I C Explorer Kit user s manual 25 puniat r 4 IH Tap the tag Board input Temparatune 30 68 C 87 38 F Energy Harvesting Voltage 28W cc Figure 3 10 Temperature sensor demonstrates SRAM pass through mode 3 4 NDEF tab The NDEF tab demonstrates reading and writing of NDEF content to the NTAG I C tag chip 3 4 1 Writing NDEF data In the Write NDEF mode the application allows the user to write a Text type URI type or Bluetooth pairing type NDEF message URI type NDEF messages allow NFC tags to trigger actions on a
50. ity 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 Sem
51. n NFC device usually a smartphone such as opening a webpage or sending an SMS message Bluetooth pairing NDEF messages contain information about a Bluetooth device that allow the smartphone to pair with that Bluetooth device by just tapping the tag In the case of writing a Bluetooth pairing type message it is important to remember that the MAC address shall be 6 bytes in hexadecimal therefore 12 characters from 0 to F To NDEF format the NTAG I C tag chip or write new data 1 Remove the mobile device from the antenna 2 Select Write NDEF from the tab on the right of the mobile device screen 3 Type a message into the NDEF message area Or alternatively touch Write default NDEF message on your screen which uses Text type as default and will enter the words NTAG I C EXPLORER in the text window see Figure 3 11 4 Lay the mobile device onto the antenna 5 When you hear the two note tone indicating NFC communication check the screen A proper write will result in a message on the mobile device indicating write tag successfully done NXP NTAG I C Explorer Kit user s manual 26 Tap tag to wrie NDEF message a Text URI STPair Text window ALLEL NTAG I2C EXPLORER Touch to fill text window with default words NTAG I2C EXPLORER Figure 3 11 Default NDEF entry option Select Write NDEF Tap tag to wrie NDEF message Tou URI BTPair weneneee NTAG I2C
52. n with software running on an independent NFC reader RF side The USB hardware uses the HID class so no additional drivers need to be installed to use the software allowing plug and play functionality 4 1 NTAG I C Explorer Peek and Poke GUI overview Upon software start up the GUI shown in Figure 4 1 will display on the PC screen The top bar see Figure 4 1A contains most of the GUI controls which are described in the paragraphs below The left column lists the NTAG memory locations by hexadecimal address with each line representing 16 bytes of data for example the highlighted row covers addresses from 0x2CO through 0x2CF see Figure 4 1B The center column displays the contents of those addresses in hexadecimal format with one entry for each two bytes The right column displays the ASCII representation of the data listed in the center column As an example in Figure 4 1 the hexadecimal numbers 45 through 4A have been entered into the addresses corresponding to 0x2C9 though Ox2CE respectively Glancing at the right column one can see that this represents the letters E through J Location 0x2F has the hexadecimal value 61 entered see Figure 4 1C and it highlights in blue as it is the currently active location Note that the corresponding entry in the right column shows the ASCII character a see Figure 4 1D and highlights in grey The bottom bar of the GUI also lists the active selected address see Figure 4 1E The b
53. nnas 10 4 3 NTAG I C Explorer lower left screen controls 38 2 2 1 3 NFC USB Reader board 11 4 3 1 USB data logging 38 2 2 1 4 NFC RF detector board 12 4 3 2 Session register 39 2 2 1 5 USB to micro USB cable 12 4 3 3 Session register details 40 2 2 1 6 LPC Link2 debug probe 12 4 3 4 Configuration registers 42 2 2 2 Kit software 13 4 3 5 Configuration register details 42 2 3 System requirements and setup 13 4 3 6 Help screens for session and configuration registers 2 3 1 NFC phone compatibility 13 43 2 3 2 Minimal PC requirements 14 5 USB NFC Reader 44 2 3 3 Hardware connections 14 2 3 4 Enabling NFC on Android device 16 6 LPC Link2 debug probe 45 2 3 5 Location of NFC antenna 16 7 Summary 45 2 3 6 NFC enabled phone APK installation 17 2 3 7 NTAG I C Explorer board firmware load 17 P APPENEIRA Optimal NPE prone p ACEMER pi 2 3 8 NFC USB Reader board firmware load 18 Bed Uang WE NFC RF Detector Boara no 2 3 9 NTAG I C PC demo GUI for PC software installation pia Sec cuna an AIAG FE antennaga al 18 The easier case Samsung Galaxy 5 47 2 3 10 Peek and Poke GUI software installation 19 TAE TOE AIGU Case AIE 3 NTAG I C Demoboard Android phone application 22 9 Appendix B Application processing details 24 Solach window 22 9 1 LED application 50 3 2 Default home screens and power harvesting 22 a2 TE OEE a 3 3 LED tab 23 9 2 1 SRAM 50 3 3 1 Configuring board to demonstrate RF to l C oe EEPROM al communication 23 10 References 51 3 3 2 Reading board input t
54. nt debug image that allows a developer to utilize IDEs such as the LPCXpresso Keil MDK and IAR EWARM Connect the USB connector J5 to the probe and using the provided 10 pin ribbon cable connect J7 to the JTAG SWD header on the LPC11U14 Explorer board After making the connection launch your preferred IDE and begin coding For more information about the LPC Link2 debug probe visit www pcware com lpcxpresso where you can find help forums downloads FAQs and more JTAG Serial Analog digital LPC4380 target connector connector JP1 and JP2 MM Dubuging target to be open JP 2 Open Target is self powered Closed Target powered by LPC Link2 LPCXpresso JTAG target header 010101010101010 I Dubuging LPC4370 Connect USB JP I and J7 to Open Boot from USB DFU Explorer or Closed Boot from SPI Flash Reader Board JTAG SWD Trace for Digital for target target connector serto gt c A eha bh J miS L d ir a hk Arg f ia a inal a PALi a T 44 Al aia eo coca aasa i nd ALLLLILII porreroreore a e 9 T eee or bs om a CLASS 4 REV C J s 26 a Figure 6 2 LPC Link2 debug board connected to the Explorer Board 7_ Summary The NTAG I C Explorer demonstration kit facilitates understanding of the many features of the NXP NTAG I C tag chip and its potential for application in a wide variety of products With the purchase of the optional LPC Link2 debug board the demonstration kit
55. o demonstrate I C to RF 10 1 General Reference Information and Resources 51 communication 24 10 2 Explorer Kit Resources 51 3 3 3 Temperature sensor 25 10 3 NDEF 51 3 4 NDEF tab 26 10 4 I C Serial Bus Specification 52 3 4 1 Writing NDEF data 26 10 5 Microcontrollers 52 3 4 2 Reading NDEF data 27 41 About NXP 52 3 4 3 Displaying NDEF on the Explorer board LCD 28 3 5 Speed tab 28 12 Legal 53 NXP NTAG I C Explorer Kit user s manual 4 1 Definitions 1 1 Nomenclature and acronyms For convenience sake the following shortcut names and acronyms are used in the document gt Explorer Board NXP NTAG I C Explorer Board see Section 2 2 1 1 gt Reader Board USB based PN544 NFC transceiver board see Section 2 2 1 3 gt Peek and Poke NTAG C Explorer Peek and Poke see Section 2 2 2 1 2 Antenna classes defined The ISO IEC standard describes six antenna classes Class 1 through Class 6 which refer to their form factor and size For an NFC tag NXP recommends using Class 3 through Class 6 The following describes these recommended form factors sizes For more information see the NTAG Antenna Design Guide Application Note AN11276 1 2 1 Class 3 antennas A Class 3 antenna shall meet the requirements of being located within a zone defined as see Figure 1 1 gt An external rectangle of 50 x 40 mm gt An internal rectangle of 35 x 24 mm centered in the external rectangle with 3 mm corner radii OR gt An e
56. on obtained from the Session Registers before transferring a new block It also checks if the Explorer microcontroller has written new information before reading the SRAM block Therefore the Fast Mode method will always return higher bit rates than the Polling Mode method 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 If the CRC32 from the message received by the application is correct the application will display an Integrity of the data OK message If the CRC32 from the message received by the board is correct it will turn on the green LED at the end of the Speed Test 3 5 2 EEPROM configuration In the EEPROM configuration see Figure 3 16 the Android application operates via the EEPROM memory and thus there is no communication with the NTAG I C Explorer Board Pass through mode not used The content is stored in the form of an NDEF text type message and the payload is calculated as the data present in the EEPROM field repeated as many times as the user indicates in the Block Multiplier field When the transmission completes successfully the Android application displays the number of bytes mean speed and time for both the reading and writing process measured for this particular communication The user can also check the content of the memory to ensure that the NDEF message has been written a
57. orer Application file and click on Run when you encounter the security warning dialog box NXP NTAG I C Explorer Kit user s manual 20 Open File Security Warning The publisher could not be verified Are you sure you want to run this software Name ftware Peek amp Poke GUI NTAG I2C Explorer exe Publisher Unknown Publisher Type Application From C Users Ann Documents NXP NTAG I2C Explore V Always ask before opening this file publisher You should only run software from publishers you trust x This file does not have a valid digital signature that verifies its How can decide what software to mn Figure 2 23 Security Warning dialog box 9 The program will begin and you should see the default screen Unless you have already plugged in an Explorer board the message along the footer will indicate NTAG I C Explorer hardware not detected Reset Device Type NT3H1201 2k8 1c aderess il Scan okz 0 1 2 3 4 5 6 7 8 9 A B C D ELF la gt a 0x0 10 User memory R W 0x020 User memory RAW 0x030 User memory R W 01 0x040 User memory R W i 0x050 User memory RAW i 0x060 User memory RAW i 0x070 User memory RAW 0x080 User memory RAW 0x090 User memory RAW Ox0A0 User memory RAW i 0x0B0 User memory RAW 0x0CO User memory RAW fam 0x0D0 User memory R W i 0x0E0 User memory RAW i 0x0F0 User memory R
58. otation or contract is believed to be accurate and reliable and Published in the USA may be changed without notice No liability will be accepted by the publisher for any consequence of its use Publication thereof does not convey nor imply any license under patent or other industrial or intellectual property rights
59. ppropriately NXP NTAG I C Explorer Kit user s manual 29 WP tac 2c Demo LED DEMO SPELD TEST Board configuration Block multiplier 20 times Memory SRAM EEPROM NTAG 12C Board input Test finished Figure 3 16 Speed test EEPROM configuration 3 6 Config tab The Config Tab allows the user to read tag memory reset tag memory to its default read session registers and read from or write to configuration registers For explanation of the tag memory configuration reference the data sheet For more information about the session and configuration registers please see Sections 4 4 3 and 4 4 5 Selecting the Config tab will bring up the landing screen shown in Figure 3 17 From this screen the user may select to Read Tag Memory Reset Tag Memory Read Session Registers or Read Write Config Registers LLL LLL oor Read tag memory iiagl ao ee MT Reset tag memory tg a ee Ao Read Session Read Write Config Registers Registers Figure 3 17 Config tab landing screen NXP NTAG I C Explorer Kit user s manual 30 3 6 1 Reading tag memory To read the tag memory 1 Select Read Tag Memory from the Config Tab Landing screen A screen similar to that shown in Figure 3 18 will display 2 Tap the mobile device to the tag antenna 3 The two note tone indicating NFC communication will sound and the screen will display the entire memory contents See Figur
60. rate on devices running Android version 4 0 and beyond and has been tested and confirmed to perform well with Google Android reference devices Performance with various phones varies from one make and model to another as several factors impact performance such as the size and power output of the NFC mobile device s antenna and how the phone s operating system handles the NFC stack with different revisions of Android NXP NTAG I C Explorer Kit user s manual 13 2 3 2 Minimal PC requirements gt The NTAG I C Explorer Peek and Poke software requires an IBM PC compatible computer running a 32 bit or 64 bit Windows operating system XP through Windows 8 compatible 2 3 3 Hardware connections The Explorer kit is highly flexible and thus has a few different hardware setups These setups are detailed here S Ea Figure 2 11 Explorer Board to PC connection for firmware updates CLASS REW C NTAG I C logo facing upright NTAG I C logo facing upright Figure 2 12 Explorer board to Antenna Board connection sa e s 7 A l i j d s Board input Tap tag to read configuration Figure 2 13 Explorer Board with connected Antenna Board interacting with an NFC enabled phone NXP NTAG I C Explorer Kit user s manual 14 Figure 2 14 NFC USB reader board to PC connection for firmware updates Figure 2 15 NFC USB reader board in phone emulation mode interacting with the Explorer board antenna boa
61. ration p uins mi NTAG I C tag chip on antenna board in approximate position as LED Figure 8 5 Samsung Galaxy 5 optimal coupling antenna location The more difficult case HTC The HTC phone antenna is harder to couple to for three reasons its small size its location surrounding the camera lens and because it is behind metal see Figure 8 6 where the orange shape indicates the antenna form factor In this case using the smaller NTAG I C Class 6 antenna see Figure 8 7 which approximates the shape of the HTC phone s antenna results in the best coupling and communication If you would like to experiment try using the NTAG I C Class 4 antenna board and note the more inefficient coupling this selection provides NXP NTAG I C Explorer Kit user s manual 48 Note slit in metal case to pass NFC signal Antenna NFC antenna location Back of the HTC phone Inside back cover Figure 8 6 HTC NFC antenna location ie NFC antenna ataia ara p location CLASS 6 REV C NTAG l C Explorer Board with Class 6 antenna See through view of HTC phone Figure 8 7 NTAG C Class 6 antenna coupled to an HTC phone NXP NTAG I C Explorer Kit user s manual 9 Appendix B Application processing details 9 1 LED application As the LEDs display and GUI require updating the process performs iteratively several times in a second At each iteration 1 The application writes the appropriat
62. rd for demonstration purposes m Figure 2 16 LPC Link2 probe connected to Explorer board NXP NTAG I C Explorer Kit user s manual 5 20000A idii ji a lee eee og z Ps d EEETEAaRR Fi no Rr wi ga nag a te Sa NFC USB READER Rev B FAB 9 881 94V 8 3114 AL A Figure 2 17 LPC Link2 probe connected to NFC USB reader board 2 3 4 Enabling NFC on Android device NFC data exchange must be enabled on your Android device in order for the demonstration kit to work To enable NFC data exchange 1 Navigate to the Settings application on your home screen 2 Under Settings select More Settings 3 Under Wireless and Network scroll down to the NFC option and make sure this feature is turned on ba Wireless and networks Nebeork Airplane mode Mobile networks Lanta and pi ortable hotspot Filetdala traneler Make sure NFC data exchange is enabled Figure 2 18 Enabling NFC on mobile phone 2 3 5 Location of NFC antenna The location of the NFC antenna varies from phone to phone It s helpful both in using the tool and in debugging to know exactly where the location is for the phone you are using For example in the Samsung Galaxy IIl phone the NFC antenna is located in the battery By lining up two sides of the battery with two sides of the NFC antenna traces more successful NFC communication is possible see Figure 2 19 For details about where to locate the NFC ant
63. rial bus locked for a longer period it is possible to program a watchdog timer to unlock the 1 C host from the tag so that the RF reader can access the tag The host itself will not be notified of this event directly but the NS_REG register see Session Register descriptions is updated accordingly the register bit I2C_LOCKED will be cleared The default value is set to 20 ms 848h but the user can set the watchdog timer from 0001h 9 43 us up to FFFFh 617 995 ms The timer starts ticking when the communication between the NTAG C and the I C interface starts If the communication with the C is still going on after the watchdog timer expires the communication will continue until it completes Then the status register 2C_ LOCKED will be immediately cleared When checked Isb set to 1 this register enables C clock stretching see C serial bus specification for clock stretching details NTAG Session Register located at block OxFE byte 6 Indicates that all data bytes have been read from the address specified in LAST_NDEF_BLOCK Disables access to the configuration registers from the I C serial bus interface Disables access to the configuration registers from the RF interface Indicates that data is ready in the SRAM for the RF interface to read Indicates that data is read in the SRAM for the I C interface to read HV voltage error during EPP cycle via I C host Indicates whether or not the EEPROM is active gt 1b E
64. ry and the NTAG C 2K version with 1904 bytes freely available in the user memory NTAG I C Explorer Kit contents To demonstrate the unique properties of the NTAG I C tag chip NXP developed the NTAG I C Explorer Kit an all in one demonstration development resource for NFC connected tag chips By including a full complement of hardware and software tools users can not only investigate the capabilities of the chip through the various demonstrations but also develop and test their own applications with purchase of the optional LPC Link2 debug probe NXP s NTAG I C Explorer Kit supports interactive demonstrations and enables exploration of all NTAG I C tag chip capabilities for both the hardware designer and the application developer Optionally the addition of the LPC Link2 Debugger probe kit allows easy debugging of code ported directly in the NTAG I C Explorer Board facilitating custom applications Table 1 NTAG I C Explorer Kit components NFC Antennas NTAG 1 C tag chips mounted on a variety of different antenna types Class 4 5 and 6 FR4 PCB based with separate antenna pads for custom antenna use as well as a Class 6 Flex board based tag for easier product insertion testing and with built in I C serial bus interface connectors NTAG 2c Demo NXP NTAG I C Explorer Kit user s manual 2 Table 1 NTAG I C Explorer Kit components NTAG I C packaged samples NFC RF Detector Board An RF detector with visual LED
65. set your phone to appear as a drive on a PC and copy apk software to the appropriate location and then eject your phone from the PC you may not be able to locate the software on your phone using this approach even if you have loaded an application manager If you encounter this problem use one of the other two download approaches 2 3 7 NTAG I C Explorer board firmware load The NTAG I C Explorer kit comes with firmware loaded into the microprocessor If newer versions are available they will be accessible via the NTAG I C Explorer Board resources links at the bottom of the Explorer kit page located at http nxp rfid com ntag i2c explorerkit To load the firmware 1 Locate your USB cable Connect the micro USB cable connector end to the Explorer board and the USB end to your PC 2 Simultaneously hold down the RESET and ISP buttons on the Explorer board 3 Release the RESET first NXP NTAG I C Explorer Kit user s manual 17 Release the ISP second The Explorer board will now appear as a disk named CRP DISABLED on your computer Click Open the folder to view files on the CRP DISABLED disk and delete the current firmware bin The new firmware image you are installing will be named NTAG_I2C_Explorer_VXX bin where XX is the So Ot firmware revision For example if XX 20 then the firmware revision is 2 0 8 Drag and copy the new file to the CRP DISABLED file directory 9 Either eject the CRP DISABLED disk or just unpl
66. ting an NTAG C antenna board Matching an NTAG I C antenna to the form factor of an NFC enabled phone antenna helps in obtaining the optimal coupling for the best communication To illustrate let s examine both an easy case and a more difficult one The easier case Samsung Galaxy 5 The Samsung Galaxy 5 has a large antenna located in the battery pack The orange shape shown in Figure 8 4 illustrates the approximate antenna form factor The best coupling results when using a similarly sized NTAG I C antenna which in this case would be the Class 4 version If using a Class 4 antenna is not feasible try to line up at least two sides of the antenna when using the Class 5 or Class 6 options see Figure 8 4 where the green shape indicates a Class 5 antenna form factor NXP NTAG I C Explorer Kit user s manual 47 Note Near Field Communication Class 5 antenna form factor Class 4 antenna form factor Figure 8 4 Samsung Galaxy 5 antenna location back cover removed Figure 8 5 shows use of the NFC RF detector board as described in Using the NFC RF Detector Board step 2 to locate the best point of coupling for the Samsung Galaxy 5 where one makes a note of how the LED lines up with the phone display and begins with the same orientation when using the NTAG I C board NFC RF Detector t _ gt Board LED aligns tops cr ee above Board input f Board input Tap tag to read configu
67. tion values Session register values can be read in Pages F8h to F9h sector 3 via RF or block FEh via the I C serial bus However they can only be written via the I C serial bus For further information about the session registers bytes please consult the NTAG I C tag chip datasheet To read the tag session registers 1 Select Read Session Registers from the Config Tab Landing screen A screen similar to that shown in Figure 3 18 will display 2 Tap the mobile device to the tag antenna 3 Upon successful read the screen similar to that shown in Figure 3 21A will display Tapping on any of the right facing arrows will bring up more details as shown in Figure 3 21B For on off selections a blue checkmark indicates on or selected see Figure 3 21C NXP NTAG I C Explorer Kit user s manual 32 Figure 3 21 Read session registers screen Deans YF GENERAL CHIP INFORMATION i Pnohiet User mermiry E NTAG CONFIGURATION E FIELD DETECTION P PASS THROUGH SRAM MEMORY SETTINGS E 120 SETTINGS YF GENERAL CHIP INFORMATION iG Product NEP HTAG AC 28 Liser merory 1904 Bytes T NTAG CONFIGURATION I2C AST on sion is YF FIELD DETECTION FO OFF i FO_ON is Last MDEF Page is NDEF Data Read ix RF held presert rs Y PASS THROUGH Pass Through is IZG locked is AF locked is SARAM ZC reay i SRAM AF rendy ia 3 6 4 Reading writing configuration registers To read the tag configuration registers 1 Figur
68. uaranteeing that the data transfer is not interrupted When this feature is enabled if the microcontroller does not issue a STOP condition between two START conditions this situation will trigger a reset of the I C interface and hence may hamper communication via the 12C interface Note that the NTAG Explorer software does not issue a STOP condition between two START conditions so enabling this feature will automatically trigger a reset when the software attempts to communicate with the NTAG device When checked enables the pass through mode of the NTAG chip where data passes from the RF interface through the SRAM to the I C serial bus interface and vice versa to avoid affecting the write cycle limitations of the NTAG EEPROM 40 FD_OFF FD_ON SRAM_MIRROR_ON_ OFF Ie 5 LAST_NDEF_BLOCK OxFE 1 SRAM_MIRROR_BLOCK OxFE 2 VVIDIE Oxte 4 onei xeS 2C CLOCK SIR OFE S NS REG 0xFE 6 NDEF_DATA_READ 2C LOCKED RE LOCKED SRAM_RF_READY SRAM_I2C_READY EEPROM_WR_ERR EEPROM_WR_BUSY RERIE D PRESENT Pull down menu used to select definition of when the Field Detect FD pin output stays high gt OOb in the event no RF field is present 01b in the event no RF field is present or the NTAG has been set to the HALT state gt 10b in the event no RF field is present or the last page of the NDEF message has been read as defined in LAST_NDEF_BLOCK register gt 11b in the event no RF field is present or if the last
69. ug the USB cable from your computer Verify that the new firmware version has been loaded correctly by starting the NTAG I C Demoboard application and placing the phone on the antenna If operational the board will harvest energy from the mobile device and NTAGI2C Explorer along with a second line indicating the temperature and voltage will display on the LCD screen see Section 4 Note Typically the Explorer board will not allow communication with the NFC enabled mobile device if it is still connected via USB cable to the PC and there is any activity on the USB bus In that case users are expected to be utilizing the Peek and Poke functionality see Section 4 However for phones which may have inadequate power to support power harvesting there is an added feature which allows the use of USB power for better coupling or for backlighting In order to use this feature press the blue button on the Explorer board then connect the Explorer board to the PC using the micro USB to USB cable To resume using the Peek and Poke functionality disconnect the USB cable from the PC and reconnect without depressing any buttons on the Explorer board 2 3 8 NFC USB Reader board firmware load The NFC USB Reader board comes with firmware loaded into the microprocessor If newer versions are available they will be accessible via the NTAG I C Reader Board resources links at the bottom of the Explorer kit page located at http nxp rfid com ntag i2c e
70. xplorerkit To load the firmware 1 Locate your USB cable Connect the micro USB cable connector end to the Reader board and the USB end to your PC 2 Simultaneously hold down the SW1 RESET and SW2 ISP buttons on the NFC Reader board see Figure 2 7 3 Release the RESET first 4 Release the ISP second 5 The Reader board will now appear as a disk named CRP DISABLED on your computer 6 Click Open the folder to view files on the CRP DISABLED disk and delete the current firmware bin 7 Drag and copy the new file to the CRP DISABLED file directory 8 Eject the CRP DISABLED disk or unplug the USB cable from the PC 9 Reconnect the USB cable to the PC Verify that the new firmware version has been loaded correctly by starting the NTAG I C Demo application and placing the Explorer Board antenna on the NFC USB Reader board antenna If operational the Explorer board will harvest energy from the mobile device and NTAGI2C Explorer along with a second line indicating the temperature and voltage will display on the LCD screen 2 3 9 NTAG I C PC demo GUI for PC software installation In order for the NFC USB Reader to emulate the Android phone you must download the NFC USB Reader GUI Software accessible via the NTAG I C Reader Board resources links at the bottom of the Explorer kit page located at http nxp rfid com ntag i2c explorerkit NXP NTAG I C Explorer Kit user s manual 18 _ The NFC USB Reader board arrives load
71. xternal circle with diameter of 50 mm gt An internal circle with diameter of 32 mm concentric with the external circle 50mm 32mm R 3mm PICC antenna zone PICC antenna zone Figure 1 1 Class 3 antenna specified zones 1 2 2 Class 4 antennas A Class 4 antenna shall meet the requirements of being located within a zone defined as see Figure 1 2 gt An external rectangle of 50 x 27 mm gt An internal rectangle of 35 x 13 mm centered in the external rectangle with 3 mm corner radii OR gt An external circle with diameter of 41 mm gt An internal circle with diameter of 24 mm concentric with the external circle NXP NTAG lC Explorer Kit user s manual 41mm 24mm R 3mm PICC antenna zone PICC antenna zone Figure 1 2 Class 4 antenna specified zones 1 2 3 Class 5 antennas A Class 5 antenna shall meet the requirements of being located within a zone defined as see Figure 1 3 gt An external rectangle of 40 5 x 24 5 mm gt An internal rectangle of 25 x 10 mm centered in the external rectangle with 3 mm corner radii OR gt An external circle with diameter of 35 mm gt An internal circle with diameter of 18 mm concentric with the external circle 35mm 18mm R 3mm PICC antenna zone PICC antenna zone Figure 1 3 Class 5 antenna specified zones 1 2 4 Class 6 antennas A Class 6 antenna shall meet the requirements of being loc
72. zed geometry smallest in this kit to a Class 4 sized geometry largest in this kit Under normal circumstances the larger the antenna the better the coupling and hence the greater the harvested power But the coupling is critical so if the source antenna the reader is small then sometimes using the smaller tag antenna couples more energy Ideally the reader antenna is close to the same size as the tag antenna An NFC RF detector board is provided to help the user determine if the NFC function on their NFC phone is enabled and to identify the optimal antenna coupling location For users without an NFC enabled phone the Advanced kit includes a reader board where the same type of GUI as on the mobile app may be implemented on a PC The development kit provides a great way to explore and demonstrate the dual access memory of the NTAG C and is a useful tool for the software and hardware engineer alike NXP NTAG I C Explorer Kit user s manual 8 2 2 Kit contents The NXP NTAG C Explorer is a hardware software tool developers can use to understand the NXP NTAG I C tag chip functionality and demonstrate its potential for other applications The kit includes Table 2 1 NTAG I C Advanced Explorer Kit contents NTAG I C Explorer development demo board with Class 4 antenna ZI 2 2 1 Kit hardware 2 2 1 1 Explorer board NXP NTAG I C Explorer board LCD mounted above a small PCB populated with an NXP LPC11U24 microprocessor NTAG C ta
Download Pdf Manuals
Related Search
Related Contents
Samsung HW-E450 Manuel de l'utilisateur 取扱説明書を見る Weider WEEVBE8909 User's Manual Samsung Ace 4 「市立博物館」及び「(仮称)四日市公害と環境未来館」展示 English USER`S MANUAL CableWholesale 30S1-16260 Lightolier C9E28VN User's Manual Copyright © All rights reserved.
Failed to retrieve file