Home

NFC Tag LSI Application Note

image

Contents

1. P18 Panasonic 2 NFC Tag LSI Application Note Version 1 5 Contents 2 2 Chapter 5 Operation Examples 5 1 Operation Examples Details 0 0 P19 5 2 Hardware Conditions P19 5 3 Access to the User Area a P20 5 3 1 Access from the Host Controller Serial P21 5 3 1 1 Operation Flow Details P22 5 3 2 Access from Smartphone FeliCa P25 5 3 2 1 Operation Flow Details 00 P26 5 3 2 2 Transmission Reception Data Details P27 5 3 3 Access from Smartphone TYPE B P30 5 3 3 1 Operation Flow Details 0 00 P31 5 3 3 2 Transmission Reception Data Details P32 5 4 Tunnel Mode Operation 0 00 P35 5 4 1 Operation from Smartphone FeliCa P36 5 4 1 1 Operation Flow Details P37 5 4 1 2 Transmission Reception Data Details P41 5 4 1 Operation from Smartphone TYPE B P44 5 4 2 1 Operation Flow Details P45 5 4 2 2 Transmission Reception Data Details P46 5 5 Specifying System rea ca P49 5 5 1 Setting from Host Controller Serial P50 5 5 1 1 Operation Flow Details P51 5 5 2 Setting fro
2. a p Power py ra vitu 30 or 4 5 V through 55V a vor Power meti capactor peleen this pin and VSS L5 en CT s voor Power Comedia capaetor banean this pin and VSS UH qm lo ESTI a Nc Noicomeded s rest input No __ Test control Normally connected io VS o Nue No _ olampeontol CS Bata reception UART AX Clock sym SOK Interrupt request output for 5 V Serial interface selection SSOP 16 ox N C Cn d NI e Panasonic 9 NFC Tag LSI Application Note Version 1 5 Pin configuration and package of MN63Y1212 Pin configuration and package of MN63Y1213 3 e wo fem Eee TT a co OO 2 N C TEST pin Left this pin open or connect this pin to VEDE Power Contact power supply Apply 1 7 V through 3 6 V e ground a vss ew fora 3 vs SN arang a va Wo __ Connected to oi 4 va vo Connected to coil NIRQ Output Interrupt request output Interrupt request output 6 SCL Input Hostinterface I2C 100 kHz When using this pin Pull this pin up to the power 7 SDA 1 0 Host interface 12C 100 kHz 5 NIRQ Output Open Drain supply associated with NIRQ a Sa ce p mena so ONG E Connec a capacitor Wh t using this pin Left it titt a using this pin Left it open or connect it to 8 VDDA Power between this pin and VSS TEST
3. OS cr p e Smart Poster Title panasonic URI http panasonic net 70 91 01 Oc 54 02 61 63 51 01 Of 55 03 61 6e 69 63 2e 6e 74 2f 00 00 00 00 Of 20 00 04 06 01 12 fe rr Calculated value Write the read value as is E CLEAR NDEF Address 0127345 6 1 8 9 a b c d e f 0x0000 100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x01e0 0x01f0 E NFC F Write the read value as is Ek NFC F NFC B mode E Calculated value Address 0 12 34 56 7289 abcdef UN eee Y 0x01f0 mm E NFC B 0x01e0 0x01f0 Write the read value as is X NFC F mode E Calculated value E NFC F NFC B Write the read value as is Xe NFC B mode Address 0 1 2 3 4 5 6 12 8 9 a b o d e f inet ee eee 0x01f0 STEP 1 Select the READ tab and touch the READ button STEP 2 A TOUCH screen appears and bring a smartphone close to the NFC tag Write the read value as is kk NFC F NFC B mode e Calculated value STEP 3 A READ screen appears automatically and the result is displayed A Read success pop up is displayed for about 2 seconds STEPI READ Ng PRODUCT MN63Y1210 Read System Area Information Dienlav read result 1 Select the READ tab uxuTau CONFIG A Gmie CONFIG Es Hbri CONFIG L mie 0x01e0 Put AFI EXA Hi
4. 2 1 Overview 2 2 Key Applications 2 3 List of Specifications 2 4 Features 2 5 Hardware Configuration 3 Designing NFC Tag System Hardware 3 1 Hardware Design Flow 3 2 Determining the System Configuration 3 3 Determining the Block Configuration 3 4 Designing the NFC Tag Block Circuit 3 5 Designing the NFC Tag Block Pattern 4 Designing NFC Tag System Software 4 1 Software Required for NFC Tag 4 2 RF Communication Mode Operation Flow 4 3 Serial Communication Mode Operation Flow 4 4 Tunnel Communication Mode Operation Flow 5 1 Operation Examples Details 5 2 Hardware Conditions 5 3 Access to the User Area 5 4 Tunnel Mode Operation 5 5 Specifying System Area Panasonic A NFC Tag LSI Application Note Version 1 5 2 About NFC Tag LSI 2 1 Overview NFC tag LSI is an NFC tag LSI which is capable of communication with smartphone or other reader writers It features built in RF interface and wired serial interface and includes a non volatile memory that allows bidirectional access This LSI allows existing applications to easily perform RF communication In other words mounting the NFC tag LSI in various applications enables them to be connected each other through NFC communication NFC Tag Implementation Examples Network Server Audio Visual Device Game p NFC Tag LSI ma A O S Healthcare DV m Equipment Mim GF Printer Office Equipment Appliances 2 2 Key
5. Ox01f0 RORF itr ROS tbyt SECURITY tt kay 2 Touch the READ button PRODUCT MN63Y1210 Bring smart phone close to TAG Touching the CANCEL button reverts to STEP 1 64 STEP3 PRODUCT MN63Y1210 Read System Area Information READ Display read result The result is displayed 0x01d0 CONFIG A Yt CONFIG B 4byte CONFIG C 4byte 0x01e0 IDM PMM AFI FMI HW 0x01f0 RORF tbyte Of ROSI ibyte 1 SECURITY 4byte 0 TNPRM te OF CONFIG D 1byte CONFIG E we ot OQ 4 Enable RF Type 7 7 ec urona RE type is displayed sh 7 A Read success pop up is displayed for about 2 seconds Panasonic NFC Tag LSI Application Note Version 1 5 How to Use the Application Software for Taq Communication User Area Read Write software name for Smartphone Tag ReaderWriter apk Panasonic TagReaderWriterFBRT v xxx apk xxx is version No Launch the TagReaderWriter_typeFB application software to read write from to the user area of the NFC tag through a communication with tag The read process is as follows E STEP I Launch an application with either of the following ways Select an application and launch it Bring a smartphone close to NFC tag and activate it E STEP 2 While bringing a smartphone close to NFC tag execute Read Write in the following procedures Ifit reacts to NFC tag READ and WRITE buttons wi
6. RF communication between smartphone TYPE B and NFC tag is compliant with the ISO IEC 14443 standard The data transfer rates supported are 106 kbps and 212kbps but anti collision is not supported The outline of the operation flow is shown in the figure below Outline of Operation Flow Host Smartphone SNo 1 SNo 2 SNo 3 SNo 4 SNo 5 SNo 6 SNo 7 SNo 8 SNo 1 REQB Command Return ATQB SNo 2 ATTRIB Command SNO WRITE Command SNo 5 Response to the WRITE Command SNo 6 READ Command SNo 7 Response to the READ Command SNo 8 Smartphone sends a REQB command and waits for a response If NFC tag does not exist the response to be returned in SNo 2 is not returned and SNo 1 is repeated NFC tag returns an ATQB as a response to the REQB command sent in SNo 1 The smartphone recognizes the NFC tag The smartphone sends an ATTRIB command The NFC tag returns a response to the ATTRIB command sent in SNo 3 The NFC tag is activated The smartphone sends a WRITE command The NFC tag receives the WRITE command and processes it The NFC tag sends the processing results to the smartphone The smartphone sends a READ command The NFC receives the READ command and processes it The NFC tag sends the read data to the smartphone SNo 3 Note In Android terminal the OS supports the processing of SNo 1 to SNo 4 Panasonic 30 NFC Tag LSI Application Note Version 1 5 5 3 3
7. 20 kHz to 100 kHz Up to 1 MHz UART Up to 38 4 kbps Interrupt Yes RF and wired direct communications Yes tunnel communication mode 2 4 Features Based on the list of specifications described in Section 2 3 this section provides the features of NFC Tag LSI 2 4 1 Three Communication Modes The NFC Tag LSI allows itself or its application s host controller to perform the following data communications with smartphone or other reader writers RF communication mode Reader Writer NFC Tag LSI Serial communication mode Host controller NFC Tag LSI Tunnel communication mode Reader Writer lt gt Host controller Reader Writer Relationshio between Three Communication Modes Tunnel Mode Communication nes Controller NFC Tag LSI NFC Tag LSI Application Note Version 1 5 2 4 1 1 RF Communication Mode The NFC Tag LSI supports 2 RF communication standards ISO IEC14443 TTPE B and JIS X 6319 4 FeliCa The standards above are typical in the world of communication so the NFC Tag LSI supports applications for global market The area enclosed by a red line in the table below shows the NFC standards supported by the NFC Tag LSI standards supported by NFC Tag LSI ISO IEC21481 p ISO IEC 14443B i TYPE B International standard 4 l l l BG l l l l l l l l l l Communication distance NFC operation mode N Upper middleware for encryption etc Application 2
8. The NFC tag receives the ANSWER command and then sends a response to the command to the host controller SNo 10 The NFC tag sends a response to the Tunnel WRITE command to the Smartphone SNo 11 The smartphone sends a Tunnel READ command SNo 12 to SNo 16 Same as for SNo 4 and SNo 6 through SNo 9 SNo 17 The NFC tag sends a response to the Tunnel READ command to the smartphone Panasonic 36 NFC Tag LSI Application Note Version 1 5 5 4 1 1 Operation Flow Details 1 4 SNo ed O Z 0 S O Z 0 Ko O Z 0 SNo 2 SNo The detailed operation flow is shown in the figure below lin Outline TEE Controller Flowchart NFC Tag Send REQ Seek an NFC tag Respond to REQ The NFC tag returns a response Send Tunnel WRITE Designate the NFC tag and write data Wait for processing o NFC tag to terminate Monitor NIRQ Notify processing is terminated Turn on VDDEX power supply for NFC tag Wait 3 ms Start communication Send a start bit 7 bit slave address of 0x54 and WR of 0 Receive ACK Send QUERY command of 0x28 Receive ACK Send a stop Start Data of 0x33 0x23 or 0x13 may be produced depending on the RF signal state Receive ACK and STATUS Receive address Send ACK and receive 0x0000 in twice Smartphone To beYcontinued to the next page p xm Panasonic 37 NFC Tag LSI Application Note Version 1 5 5 4 1 1 Operation Flo
9. l S O 2 0 SIB OS F 7 13 0000 Pana T Tee TS TO sse JO Jd Z si ULIM JO jeg pue sjueuieje eulajxa Jo eouejoedeo onisejed ay jo WNS ay JEU OS Jejojuooo1onu BY Je u 9ZO pue GZO py YX eoeld Je sayesado Ja joquo2010 w SSA SSA U9UM a9ej1ajul A 8 L BU 104 uoddns SSA oo dr Sagosge eegee Uziz dae75ii40 Sx silii e e gejsesmg IMIR IS qiie iuc Pd gwarze 5 8 B PD I x ise amp NO 00i ied i 3 5 Ss o ERIE 88 99d i x a od 98 sed i O Ll 18 wa 2 TI S 5 d m o an OX 66 dad al 2 an iX ro 19d E bn 6 t6 08d a TSUN Wd 16 od SSA 06 S d o WHXOZS A Je sajesado 19 0u090J01UJ 50 vd H Z dei U9UM a98j19 ul A 8 ay 104 Joddng BY d T TED o o oO ki d INI taf 88 ivd pe Sg Dvd i 8 TG a DIA pe TX Ca Um 8 za Bi ts HW OA PI za ON 08 q 20d 6 LT Bid 8 E 0 X19 wus 8 Zi rx id Wes 65 amp ix M 2255822283828 Sg la v RR BSS 99 gas 2 oz ot uonoeuuoo gN JO pesn ae pejoeuuoo si yn ueuw s weu jeubis ay BB sis 3 aa muss INO yo Fl aa rss 71 Panasonic NFC Tag LSI Application Note Version 1 5 BTPB 101B Parts List 3K256 I ST SPI SRAM 1 7503 1020 1 CSA02 41SGWA F01 7 segment LED 2 AP1115AY18G 13 1 8 V LDO 1 1 1 u3 2l Ca 2B XH A Power supply connector 1 l 2 ME SEG 1 7SEG 2 1 EDO 1 Z z A LM21PG331SN1
10. 1 Operation Flow Details The detailed operation flow is shown in the figure below For waveform specification and SOF EOF patterns see the ISO IEC14443 standard Data is sent in units of 10 bits to which values of O and 1 have been given as the first and last bits respectively in units of 8 bytes These specifications are also specified in the ISO IEC 14443 standard Flowchart Outline NFC Tag Smartphone Send REQB Seek an NFC T Send tag 5 00 00 SE REQB Return ATQB Return The NFC tag ATQB returns a response Send ATTRIB Select the NFC tag SNo Send ATTRIB Respond to ATTRIB The NFC tag A has been selected Send WRITE Designate the NFC tag and write data Respond to baal message Respond stating that the NFC o WRITE tag completed writing normally Send READ Designate the NFC tag and read data Respond to Respond co READ to READ Return a message 3 stating that the 175 NFC tag completed reading normally Panasonic 31 NFC Tag LSI Application Note Version 1 5 5 3 3 2 Transmission Reception Data Details 1 3 REQB SOF AM EOF Los 00 00 1 FF Application Family Identifier 0x00 Overall response See the ISO IEC14443 standard CRC calculated value 0x71FF CRC calculated value ATQB Response to REQB PUPI Application Data Protocol Info SOF CODE EOF 50 oo oo oo oo oo oo oo 00 91 81 EO Do 83 CI CET E NN P
11. Applications The NFC tag LSI intends for audio visual devices home appliances and other applications When this LSI is mounted in various applications the following operations are allowed using smartphone or other reader writers e Controlling home appliances and audio visual devices from smartphone Smartphone can read write information from to applications with built in NFC tag LSI When the application is in error state the error is reported using the data stored in the built in non volatile memory This LSI s built in non volatile memory allows data to be read written from to a smartphone while the application s battery is off O Fast data communication with handover Only paring is performed in NFC communication and high capacity data communication is allowed in Bluetooth and Wi Fi Panasonic 5 NFC Tag LSI Application Note Version 1 5 2 3 List of Specifications The NFC Tag LSI has a functionality optimized for RF interface implementation on applications Its key specifications are listed in the table below List of Specifications MN63Y1212 MN63Y1213 MN63Y1208 MN63Y1210A Operating voltage a 1 7 V to 3 6 V 1 8 V to 5 5 V Built in non volatile memory 4 Kbit FeRAM Supported communication ISO IEC14443 TypeB NFC B EE specification JIS X 6319 4 FeliCa NFC F commu NFC Forum tag Type4 Type3 nication Batteryless communication Yes Encryption Yes AES CLK Synchronous Serial Interface specification I2C
12. Ctrl C and paste Ctrl V are possible with cells selected Panasonic 67 NFC Tag LSI Application Note Version 1 5 Appendix 3 Tunnel Communication Demonstration An outline of the tunnel communication demonstration environment is shown in the figure below This demo shows the following the GUI provided on the PC communicates with the host controller on the control board via AA USB the host controller communicates with the NFC tag board through I2C and the NFC tag communicates with NFC enabled terminal through an antenna As a result it is possible to communicate with NFC enabled terminals from the GUI on the PC The demo runs as shown below Software name for PC Panasonic NFC TAG Dump Tool exe NFCTAG DumpTool v200 exe Software name for Smartphone Tag ReaderWriter Android Sample apk Panasonic TagReaderWriterFBRT v102 apk Application Software Host Controller NFC tag Board DO 3 SE ma 55 212500 5 NO ES NFC Tag 3 Personal Smartphone Dump Tool Computer NFC enabled Terminal 4096 byte 512 byte Tunnel NFC tag Memory Memory 3 2 Tunnel Communication Demonstration Scenario Environment Operating Sequence 1 Read write from to the NFC tag memory via NFC from smartphone 2 Read write from to the tunnel memory via NFC from smartphone 3 Read write from to the NFC tag memory from PC or Host Controller 4 Read write from to the tunnel memory from PC
13. Data Details 2 2 Response to ATTRIB SOF CODE EOF m meme E CI CRC CRC calculated value OxF9EO CRC calculated value WRITE D Pw D6 01 DO 30 DATA CONFIG 00 00 00 00 00 00 oo 00 01 23 45 67 89 JABJCD EF AA FF 102 FE 00 00100 00 0000 i FF FF 00 E0 00 54 00 00 00 oo oo 00 00 00 OO 00 00 00 47 FO 00 2E cE op NG nsructon bye WRITE 0106 Address Start address 0x01D0 Address at which to start writes Data length Write data length byte Write data Write data 00 00 00 00 00 00 00 01 23 45 67 89 AB CD EF AA FF 02 FE 00 00 00 00 00 00 FF FF 00 EO 00 54 00 00 00 00 00 00 00 00 00 00 00 00 47 FO 00 2E CRC calculated value OxCE OD CRC calculated value ca a SOF EOF 02 90 00 29 6a ICO rmm CT CRC calculated value 0x296A CRC calculated value 3 E Panasonic 61 NFC Tag LSI Application Note Version 1 5 Panasonic 62 NFC Tag LSI Application Note Version 1 5 Appendix 1 RF Communication Demonstration 9V1 04N NFC Tag Board Communication Smartphone This demo shows an RF communication between NFC tag and smartphone Below is an outline of the demo with MN63Y 1208 sample application software How to Use the Application Software for Tag Type Setting System Area Settin Software name for Smartphone 1208Tag Setting apk Panasonic TagSetting1208 v xxx apk xxx is version No 1 Set
14. NFC tag SOR returns a response Send WRITE Designate the NFC tag and write data Respond to WRITE Return a message stating that the NFC tag completed writing normally Panasonic 54 NFC Tag LSI Application Note Version 1 5 5 5 2 2 Transmission Reception Data Details 1 3 This section describes the transmit and receive data shown in the operation flow For more information see the User s Manual Start Field Information Field End Field LEN CMD SYS REQ SLOT CRC CODE CODE SYNC CODE oo 00 oo oo 00 00 B2 4D 06 PREAMBLE LFF FF oo oo 09 21 PREAMBLE Fixed value given when starting communication SYNC CODE Fixed value given when starting communication N Byte length of information field SYS CODE Responds independent of the system area SC REQ CODE Request code Processed as No request RC CRC calculated value 0x0921 CRC calculated value of information field m O Response to REQ PREAMBLE SYNC LEN CM PICC CODE DATA FIELD CRC CODE D d od ET Ie Ld Hd PA ci ee lal c c ware Bees E emm PREAMBLE 0x000000000000 Fixed value given when starting communication Response time descriptor OxFFFFOOOOOOFFFFFF Time until NFC tag returns a response CRC calculated value OxEDCE CRC calculated value of information field Panasonic 55 NFC Tag LSI Application Note Version 1 5 5 5 2 2 Transmission Reception Data Details 2 3 WRITE Start Fie
15. No 3 When a power is not applied to VDDEX pin the host controller applies it to the pin No 4 The host controller sends a QUERY command to the NFC tag No 5 The NFC tag sends a response to the QUERY command to the host controller No 6 The host controller sends an ANSWER command to the NFC tag to report the results No 7 The NFC tag receives the ANSWER command and then sends a response to the command to the host controller No 8 Following the response in Step No 7 the NFC tag sends the content of the ANSWER command to smartphone as a response to the tunnel communication mode command a AAA We provide sample demonstration software for host controller and sample demonstration application software for smartphone For detailed settings and operations refer to the source code of the sample software In addition for an outline of how to use those software see the Appendix Panasonic 18 NFC Tag LSI Application Note Version 1 5 9 Operation Examples This chapter specifically describes the operations of a system with NFC tag which uses hardware described in Chapter 3 and software described in Chapter 4 Unless otherwise specified MN63Y1208 is used for these examples 5 1 Operation Example Details To describe the operation examples the following sections are provided 5 3 Access to the User Area Access from host controller serial and smartphone FeliCa TYPE B 5 4 Tunnel Mode Operation Operation with smartpho
16. Send ACK and then a data of OxAS 16 times Repeat 16 times oo md SNo 15 Send a stop bit Start communication Send a start bit 7 bit slave address of 0x54 and WR of 1 Receive ACK and STATUS SNo 16 may be produced depending on the RF signal state Send NACK and stop bit Ox 00 00 00 00 00 00 B2 4D 1D 07 02 FE 00 00 00 00 00 00 00 00 01 A5 Ab Ab Ab Ab Ab Ab Ab Ab Ab Ab Ab Ab Ab Ab Ab CA 78 Respond to Tunnel READ Send a read data from the NFC tag SNo 17 anasonic 40 NFC Tag LSI Application Note Version 1 5 5 4 1 2 Transmission Reception Data Details 1 3 This section describes the transmit and receive data shown in the operation flow For more information see the User s Manual REQ CODE IEC CA E A AACE ume sem E em Response to REQ PREAMBLE SYNC LEN CM PICC CODE DATA FIELD CRC CODE D EP ET qoo peo eo o onn ee eee ee peo Dune see reum emm PREAMBLE 0x000000000000 Fixed value given when starting communication Response time descriptor OxFFFFOOOOOOFFFFFF Time until NFC tag returns a response CRC calculated value OxEDCE CRC calculated value of information field Panasonic 41 NFC Tag LSI Application Note Version 1 5 5 4 1 2 Transmission Reception Data Details 2 3 Tunnel WRITE Start Field Information Field i PREAMBLE SYNC LENEMD PICC CODE SVS SVS BIk Block List CODE UM UM i 00 00 00 00 00 100 B2 4D 21 08 0
17. Tunnel memory Memory inside the Host Controller Panasonic 68 NFC Tag LSI Application Note Version 1 5 Appendix 4 Environment to Provide Application Software for Smartphone We can provide the separate NFC Tag Android Application Implementation Manual Our development environment for operation verification and how to get software are as follows Our Verification Environment Development Environment Intel Core 2 Duto CPU 3 16GHz 3 50GB RAM Microsoft Windows XP Professional Version 2002 Service Pack 2 Eclipse Version Indigo Service Release 2 SDK Platform Android 2 3 3 API 10 4 Getting the Android SDK Download the SDK corresponding to your OS from the site of http developer android com sdk index html Android SDK Android Developers LI Developers Design Develop Distribute Training API Guides Reference Tools Developer Tools a Get the Android SDK Download The Android SDK provides you the API libraries and developer tools necessary to build test and debug apps for Android Download the SDK for Windows Other platforms System requirements Installing the SDK Exploring the SDK NDK Workflow Tools Help Revisions Extras Creative Commons Attribution 2 5 Content License Samples About Android Legal Support ADK Getting the JDK Download the JDK from the site of htto www oracle com technetwork java javase downloads index html Java SE Downloads Click the DOWNLOAD
18. and NFC tag is compliant with the JISX6319 4 standard The data transfer rates supported are 212 kbps and 424 kbps but anti collision is not supported The outline of the operation flow is shown in the figure below Outline of Operation Flow Host Controller NFC Tag Smartphone SNo 1 SNo 2 SNo 3 SNo 4 SNo 5 SNo 6 Note REQ Command SNo 1 SNo 2 SNo 3 SNo 4 SNo 5 SNo 6 Smartphone sends a REQ command and waits for a response If NFC tag does not exist the response to be returned in SNo 2 is not returned and SNo 1 is repeated The NFC tag returns a response to the REQ command sent in SNo 1 The smartphone recognizes the NFC tag The smartphone sends a WRITE command The NFC tag receives the WRITE command and processes it The NFC tag sends the processing results to the smartphone The smartphone sends a READ command The NFC tag receives the READ command and processes it The NFC tag sends the read data to the smartphone In Android terminal the OS supports the processing of SNo 1 and SNo 2 Panasonic 25 NFC Tag LSI Application Note Version 1 5 5 3 2 1 Operation Flow Details The detailed operation flow is shown in the figure below For waveform specification see the JISX6319 4 standard Flowchart NFC Tag Smartphone REQ O Outline SN Send REQ Seek an NFC tag Respond to REQ The NFC tag returns a response Respond to REQ Send WRITE Desi
19. bit Write processing processing complete NIRQ Low Start transmission Send ACK as a response Data of 0x35 0x25 or 0x15 may be produced depending on the RF signal state Send NACK stop bit Notify Write Data Panasonic 52 NFC Tag LSI Application Note Version 1 5 5 5 2 Setting from Smartphone FeliCa This section describes how to specify the system area of the NFC tag from Smartphone FeliCa The outline of the operation flow is shown in the figure below Host Controller NFC Tag Smartphone SNo 4 REQ Command SNo 2 Response to the REQ Command SNo 3 WRITE Command SNo 4 SNo 1 SNo 2 SNo 3 SNo 4 Note Smartphone sends a REQ command and waits for a response If NFC tag does not exist the response to be returned in SNo 2 is not returned and SNo 1 is repeated The NFC tag returns a response to the REQ command sent in SNo 1 The smartphone recognizes the NFC tag The smartphone sends a WRITE command The NFC tag receives the WRITE command and processes it The NFC tag sends the processing results to the smartphone In Android terminal the OS supports the processing of SNo 1 and SNo 2 Panasonic 53 NFC Tag LSI Application Note Version 1 5 5 5 2 1 Operation Flow Details The detailed operation flow is shown in the figure below Smartphone Send REQ Seek an NFC tag Respond to REQ Respond REQ The
20. button of JDK E E gt lava JavaFX keam lava ee RR we EQ C2 a Are LE Jar Fischers LP Tub Jex JO Tul Matar He Cee ge Bare are e lw U Grae in deb r1 Ki Panasonic 69 NFC Tag LSI Application Note Version 1 5 Appendix 5 BTPB 101B Design Data This section summarizes the design data for the microcontroller board that is used in the host control example of this document The board is also used for a demonstration board provided by us Photograph of BIPB 101B Parts Layout of BTPB 101B SI I G A e gt nalaki ii If ac Om O BB yu a m MANA PN O esce soe dd DY p t Hi ia 101 8418 DMUOSBUBY O O O D OOOO Las LAS 33 DIS gc Xs BE e fase Sod a saneeereaget 1444444561 A asl m EM N d Ta CA amp NS S E HREL SN AW vat ty S LIH xc T JIE y T M TOT uu Panasonic 70 iaqram of BTPB 101B it D Circu NFC Tag LSI Application Note Version 1 5 A8 LE sajejado Ja oqu020J9 w UYM A ye uM A LIO A 1 sajelado Ja JoJJuOJOJoIu usyM fs ALOJA ATCOLAHZ Ux3 104 WMOS TOYS DW gn bununow ueuw An 01 29 Jo enje ay aBueyo HOSS Ei EEEEEEE E PIN 10 REET jus b x VS 822 MAOLAdMHg SSA daa GGA GA lt 6 IIOLL sasa in on mu lt 6 dr br day 2 91 ji L o o ka ETS zT E Buiuowws WYYS IdS a o gt
21. power supplies for stabilizing the tag LSI operation Their values are fixed C2 is connected to VDDD C3 to VDDA C4 to VDDEX 100 kQ Pullup resistor to prevent the undefined state of SCL leading to malfunction Necessary when R1 is connected to the NFC tag LSI Note R1 R2 and R3 on the tag LSI s peripheral circuit is unnecessary for RF communication When using our NFC tag board ANT4030 02 0505 BO L mount these resistors on the host control block side of the board Panasonic 13 NFC Tag LSI Application Note Version 1 5 3 5 Designing the NFC Tag Block Pattern In designing a pattern of the NFC tag block the antenna block and LSI block must be combined This section describes the LSI block For information on the antenna block see the following URL http www semicon panasonic co jp en tool nfcdesignnavigator index html When designing a pattern of the LSI block keep in mind the following precautions Place capacitors C2 C3 and C4 within 20 mm from the chip For resistors R1 R2 and R3 there is no problem to exceed this limit An example of the pattern for the NFC tag evaluation board ANT4030 02 0505 BO L we provide is shown below NFC Tag Pattern Example ANT4030 02 0505 BO L L ANT4030 02 0505 BO L is printed side of this board f ESI Block Antenna Block Enlarged LSI Block Panasonic 14 NFC Tag LSI Application Note Version 1 5 4 Designing
22. the NFC tag in a desired communication format E STEP 1 Select the Type Setting tab and touch the desired button E STEP 2 A TOUCH screen appears and bring a smartphone close to the NFC tag E STEP 3 A Type Setting screen appears automatically And a Write success pop up is displayed for about 2 seconds STEP 1 STEP 2 STEP 3 Type Setting Type Setting PRODUCT MN63Y1208 PRODUCT MN63Y12708 PRODUCT MN63Y1208 OVERWRITE System Area OVERWRITE System Area Bring smart phone close to TAG Initialize System Area a RWRITE System Area as 7 1 Select the Type Setting tab NDEF Setting NDEF CLEAR NDEF RF Type Setting NFC F NFC B NFC F NFC B CANCEL 2 Touch the desired button Touching the CANCEL button reverts to STEP 1 A Write success pop up is displayed for about 2 seconds Initialize Initialize the system area NDEF Enable NDEF CLEAR NDEF Disable NDEF Enable FeliCa Type B NFC F Enable FeliCa Disable Type B NFC B Enable Type B Disable FeliCa NFC F NFC B Enable FeliCa Type B Panasonic 63 NFC Tag LSI Application Note Version 1 5 WRITE data for each Type Setting button PRODUCT MN63Y1218 E OVERWRITE System Area TW 2 Read the system area of the NFC tag kk Initialize 0x01b0 0x01c0 0x01d0 0x01e0 0x01f0 0x0000 0x0010 0x0020 0x0030 0x0180 0x01e0 0x01f0 NFC F NFC B pps o pue
23. the RF communication mode command sent in Step No 1 process it in the tag LSI and then sends the processing results to the smartphone as a response to the RF communication mode command We provide sample demonstration application software for smartphone For detailed settings and operations refer to the source code of the sample software In addition for an outline of how to use the sample demonstration software see the Appendix Panasonic 16 NFC Tag LSI Application Note Version 1 5 4 3 Serial Communication Mode Operation Flow Host Controller Smartphone NFC enabled Software for the host controller to control the NFC tag In serial communication mode supplying a power from the host controller activates the NFC tag allowing the host controller to access the NFC tag LSI s built in FeRAM The figure below illustrates the operation flow of the host controller and the NFC tag Smart phone Response to serial communication mode command No 1 Apply a power to VDDEX pin and then wait at least 3 ms for a serial communication mode command to be issued in Step No 2 See parameter E1 of the Product Standards No 2 The host controller sends an serial communication mode command to the NFC tag No 3 The NFC tag receives the serial communication mode command sent in Step No 2 process it in the NFC tag LSI and then sends the processing results to the host controller as a response to the serial communicat
24. 2 FE 00 00100 00 00 00 01 09 00 04 00 00 04 iAS AS AS AS AS AS A5 AS AS ee Description Comment Preamble 0x000000000000 Fixed value given when starting communication SYNC CODE Synchronous code OxB24D Fixed value given when starting communication LEN Information field length Byte length of information field changed in tunnel CMD Command Code of WRITE command PICC CODE PICC identifier IDM default value of NFC tag SVSNUM Number of service files Number of service files SVS Service file identifier Service file identifier BLK NUM Number of blocks Number of write blocks Block list Specifies write block Changed in tunnel mode Write data Ox Write data A5 A5 A5 A5 A5 A5 Ab A5 A5 A5 Ab A5 A5 Ab A5 A5 CRC calculated value 0x4668 CRC calculated value of information field Response to Tunnel WRITE Same Format as for Response to Normal WRITE Start Field Information Field End Field PREAMBLE SYNC PICC CODE SODE e E IE E E e MR ee TE eme seii O Pato Comment PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC CODE Synchronous code 0xB24D Fixed value given when starting communication PREAMBLE BLK List DATA 3 O o O O A O LEN Byte length of information field CMD Response code to WRITE command PICC CODE IDM default value of NFC tag STATUS1 00 Normal termination STATUS2 Status flag 2 00 Normal termination CRC CRC calculated value 0xD52F CRC calculated value o
25. 4 1 2 Serial Communication Mode MN63Y1208 and MN63Y 1213 provide a serial communication interface with host controller which is compatible with I2C The specifications of I2C supported is as follows Operating frequency 100 kHz Operating mode Slave mode Data format 7 bit addressing MN63Y1210A provides a serial communication interface with host controller which is compatible with CLK Synchronous Serial and UART 2 4 1 3 Tunnel Communication Mode Operation mode used when performing direct data communication between reader writer and application s host controller via the NFC Tag LSI In this mode reader writer accesses the virtual memory area of the host controller Panasonic 7 NFC Tag LSI Application Note Version 1 5 2 4 2 Functionality to Reduce Power and Utilize Interfaces Flexibly The NFC Tag LSI has a functionality to minimize standby power and utilize both RF and serial communication interfaces flexibly 2 4 2 1 Batteryless Communication The NFC Tag LSI can operate as a non volatile memory while no power is supplied from its application An alternating magnet field from a sender produces the power necessary for operating the LSI The NFC Tag LSI can add RF communication function to applications without increasing standby power It can also operates even while its application s power is off 2 4 2 2 Built in Non volatile Memory The NFC Tag LSI has a built in ferroelectric memory FeRAM of 4 kbits as non vol
26. CODE SVS SVS BIk Block CODE NUM NUM List j 00 oo oo foo 00 00 B2 4D 20 08 02 FE 00 foo oo oo oo 00 os os 00101 80 00 A5 Ca E mmm Fixed value given when starting communication DATA Write data Write data pa A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 Ab A5 A5 A5 CRC CRC calculated value 0x93D3 CRC calculated value of information field Response to WRITE Start Field Information Field KO KO PREAMBLE SYNC LENJ CMD PICC CODE STATUS CRC Lo a BIZ kag d Kag d ed ad c ecd Ed id E as Eid a so d EG S d E Ed El e em eme STATUS2 Status flag 2 00 Normal termination CRC calculated value OxD52F CRC calculated value of information field Panasonic 28 NFC Tag LSI Application Note Version 1 5 5 3 2 2 Transmission Reception Data Details 3 3 READ Field CODE D NUM NUM List joo 00 00 foo 00 00 B2 4D 10 06 02 FEJ00 00 00 00 00 00 01 09 00 014 80 00 9244 CC CT E CT BLK List Block list 0x8000 Specifies read block CRC calculated value 0x924A CRC calculated value of information field Response to READ Start Field Information Field Field OPE pala CODE N D NUM eee eee eee d cd aa pa CN E E CT DATA Read data Read data pe A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 Ro CRC calculated value OxCA78 CRC calculated value of information field Panasonic 29 NFC Tag LSI Application Note Version 1 5 5 3 3 Access from Smartphone TYPE B
27. F or TUNNEL mode 2 Select the Write start block address NFC F response NFC F response data When RF mode is selected 0x0000 to 0x01a0 When TUNNEL mode is selected 0x0000 to OxOff0 3 Set Write data Settable up to 192 bytes Confirm the size of input data Input the data in byte units and hexadecimal 0 to f When responding with NFC F write the data in units of 16 bytes If not 16 byte units arrange it in units of 16 bytes e g input aa ff gt Write as aa ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 When RF mode is selected Writing data in excess of the block address 0x0 laf is ignored When TUNNEL mode is selected Writing data in excess of the block address OxOfff 1s ignored 4 Execute Write 5 When Write is succeeded the following information will be displayed NFC B response Connection NFC B response data Sw 90 00 Write success NN success message Write success Panasonic 66 NFC Tag LSI Application Note Version 1 5 Appendix 2 Serial Communication Demonstration a Control Board NFC Tag Board Personal Computer controller Serial Communication Demonstration Scenario Environment MN63Y1208 An outline of the serial communication demonstration environment MN63Y 1208 is shown in the figure above This demo shows the following the GUl provided on the PC communicates with the host controller on the control board via U
28. IETTP Jumper fOR R2 RJ3 RJ4 RUS RUG RJ9 RJ10 RJ11 RJI2 RI14 RIS RJ16 RJ21 IRK73Z1JTTID 1 Jumper Ra RH RJ2 RJ7 RJ8 RI13 RI17 RJ18 RJ19 RJ20 IS2B XH A_ JjPowerspplycomectr 1ijCNb O l Ll IST3215SB32768H5HPWAA 20ppm 125pF 32768 kHz oscillator X1 1l o IC PGMMFU JjBWfer oto O O0 l l l L ll TMK105BJ104KV F 01 ugFcapactor SCT X C4 lcs ce C7 C8 co C15 Ci8 C2 lez2 C27 C29 TXS01002DCUR 1 jBidrectionalevel shifter O u5 O OT l ll VT 200 F12 5 32 768KHz 82768kHzoscllator 0OlX4 l MA o o 1 Jumper ea IWL CI C3BP o jumper 2 dor ppp 1 segs D pas 203 pan o NI a O m al co os al D O o A 2 co zz Panasonic 72 NFC Tag LSI Application Note Version 1 5 Appendix 6 Design Data of NFC Tag Antenna Board This section summarizes the design data for the MN63Y1208 antenna board that is used for NFC tag in this document The board is also used for a demonstration board provided by us For more information see the following URL http www semicon panasonic co jp en products detail cat CBE70008part
29. MN63Y1208 Photograph Pattern Diagram eu ERN o o Circuit Diagram E B8 NG T TESTI B DDD 5 NC oo DF116Cz 8DS 2w 27 VDDER 8 T MG MIRO O 6G 5 NC M NES S1208 35CL Ic ea Parts List Fano emeem 770 wwe mer wow 3 le ms ornozaoe2nen come DD ev TEST4 14 GRM188R71E104KA01D Power supply stabilization capacitor 0 1 uF GRM188R71H331KA01D Resonance adjustment Capacitor 330 pF c RK73B1JTTP104J SCL pullup resistor 000k0 RO Panasonic 73 NFC Tag LSI Application Note Version 1 5 MAntenna Boards We provide the antenna boards below Antenna form ANT4030 02 0505 BO L ae MN63Y1208 2 turns ANT4030 02 0505 BO L 1213 VO Aa MN63Y1213 Ba 2 2 ANT2020 03 0505 BO L 1213 VO id MN63Y 1213 AA mia 2 3 turns nmm NFC TAG CABLEO1 NFC TAG MN63Y12120A MN63Y1210A is needed when connecting to 1 turn BTPB 101B Panasonic 74 NFC Tag LSI Application Note Version 1 5 Appendix 7 Related Documents and Hardware We provide the following documents and hardware to help you to evaluate the NFC tag LSI and implement it into your system Overview and LSI Specifications Type Description Corresponding LSI NFC TAG_Application_note_V pdf This document NFC tag LSI User s Guide MN63Y1208 E1_USER_MANUAL_V pdf Product specifications and function description manual 2 ition t tti MN63Y1208 E1_ADMIN_MANUAL_NDA_V pdf ment Non NDA gd
30. NFC Tag LSI Application Note Version 1 5 NFC Tag LSI Application Note Version 1 5 Panasonic NFC Tag LSI Application Note Version 1 5 Trademark Usage Wi Fi is a registered trademark of the Wi Fi Alliance Bluetooth is a registered trademark of the Bluetooth SIC Inc FeliCa is a trademark of Sony Corporation FeliCa is the contactless IC card technology developed by Sony Corporation Windows is a registered trademark of Microsoft Corporation in the United States and other countries eAndroid is a trademark of Google Inc Eclipse is a trademark of Eclipse Foundation Inc MIFARE is a trademark of NXP Semiconductors Osaifu Keitai is a trademark or registered trademark of NTT DOCOMO INC in Japan and or other countries taspo is a registered trademark of the Tobacco Institute of Japan eSuica is a registered trademark of East Japan Railway Company Edy is a registered trademark of Rakuten Edy Inc All other trademarks are the property of their respective owners Panasonic NFC Tag LSI Application Note Version 1 5 Contents 1 2 Chapter 1 Introduction 1 1 Purpose aa P4 1 2 Organization Xa P4 Chapter 2 About NFC Tag LSI 2 1 Overview a P5 2 2 Key Applications ee P5 2 3 List of Specifications P6 2 4 Features ee P6 2 4 1 Three Communication Modes P6 2 4 1 1 RF C
31. NFC Tag System Software 4 1 Software Required for NFC Tag Host Controller fo ab Smano ne Tunnel Communication NFC enabled E NOAA VEAN Porn Software for the host Application software controller to control the for smartphone NFC tag To operate an NFC tag a software for the host controller to control the NFC tag and an application software for smartphone Reader Writer are required The NFC tag system has 3 communication modes each of which requires different software RF communication mode Application software for smartphone oee Section 4 2 Serial communication mode Software for the host controller to control the NFC tag oee Section 4 3 Tunnel communication mode Both software described above oee Section 4 4 Panasonic 15 NFC Tag LSI Application Note Version 1 5 4 2 RF Communication Mode Operation Flow Host Controller Y x Smartphone NFC enabled Application software for smartphone In RF communication mode even if no voltage is supplied to the NFC tag LSI generating a magnetic field from a smartphone Reader Writer activates the NFC tag allowing the smartphone to access the NFC tag LSI s built in FeRAM The figure below illustrates the operation flow of the smartphone and the NFC tag Host Controller Response to RF Communication Mode Command No 1 Smartphone sends an RF communication mode command to the NFC tag No 2 The NFC tag receives
32. Note Version 1 5 Revision History Aug 08 2013 1 40 Modified Response to WRITE value PCB and CRC Modified Response to READ value PCB and CRC No Feb 25 2014 1 50 All pages Deleted Don t copy All pages Changed MN63Y1210 gt MN63Y1210A All pages Added MN63Y 1212 1213 P6 Added table for MN63Y 1212 1213 P10 Added package diagram for MN63Y1212 1213 P12 13 14 Changed Antenna Design Guide gt NFC Design Navigator on WEB Appendix Updated figures E E Panasonic T Request for your special attention and precautions in using the technical information and semiconductors described in this book 1 If any of the products or technical information described in this book is to be exported or provided to non residents the laws and regulations of the exporting country especially those with regard to security export control must be observed 2 The technical information described in this book is intended only to show the main characteristics and application circuit examples of the products No license is granted in and to any intellectual property right or other right owned by Panasonic Corporation or any other company Therefore no responsibility is assumed by our company as to the infringement upon any such right owned by any other company which may arise as a result of the use of technical information described in this book 3 The products described in this book ar
33. RPY1201W C3216X5R1E476M CNZ1E4KTTD CX3225GB10000DOHEQZ 1 MOM 6 F11CZ 8DP 2V 27 VQPUJO2K Switch al XB 24VR000X 2 jumpers in series O XB 2HV102JV Eight 1 kQ resistors in series 2 FC 10BMEP1B 13g 4 FIJO i Halll 2 LED2 3 2 m gt lt UJ C 2 SW IRQ2 D T XB1 FC 16BMEP1B T232RQ REEL GRM1555C1H100JZ01D GRM1555C1H200JZ01D GRM1555C1H470JZ01D 2 GRM1555C1H9RODAO1D 19 pF capacitor O GRM188B31E105KA75DD 1 uF capacitor 1l GRM21BF51E475ZA01L 2125 25V 147 uF capacitor x0 110 uF capacitor 2 HS22 Switch C 2 B BLACK C 2 R RED C 2 Y YELLOW 3 i mE 2 CICIO mn mimimimi m o vs vv vv o m ps Bo W ps e tn o e A gt nI 49 Ma gt N al ES NI al lt 3 o eg 2 1 a T1117CST 3 3 MMSZ5V6T1G MN101EG63G KD SD3 10 000MHz 16pF B501V 40TE 17 K73B1ETTP103J 110k9 resisto 9 R19 R20 R21 R28 K73B1ETTP105J oup K73B1ETTP271J 1270 Q resistor SCO j K73B1ETTP330J D wp xu IRK73B1ETTP331J j830Qresstr 4IR5 J R6 R7 Re l T ll IRK73B1ETTP332 1 j33kQ resistor 1 9 R24 R25 ess l l l IRK73BIETTP362 36kQresistor ORA l l l1 Ll L IRK73B1JTTD332 j 833kQ resistor air R23 R27 LL IRK73B1JTTD601Y j6e00Qresstr oler l l l T T 1 IRKJI Z
34. SB and the host controller communicates with the NFC tag board through I2C As a result it is possible to read write from to the NFC tag memory area from the GUI on the PC The demo runs as shown below Software name for PC Panasonic NFC TAG Dump Tool exe NFCTAG DumpTool v xxx exe xxx is version No Select 1 Tag power supply mode and 2 Log mode Enable All Log Tunnel Disable Log The file transfer application TagFileTx is disabled Memory When you want to perform a file transfer with log not displayed select Enable File ll Connecting to target board NFC Tag Transfer Log STEP 1 Memory File Transfer E Read Write memory Select a virtual COM port for connection to the board M man Ta UU Input the memory address y ae Na en Es ae a I in 16 byte units and hexadecimal 1 Y xo 78 5 gt lere STEP 2 EIE z E m in re Clicking on a cell inputs an address automatically Press the Connect button 8 AO ODE y STEP 6 STEP 3 Input the data length in hexadecimal Press the reset switch of the board STEP 4 A starting log appears NFC Tag Memory Read 0x01 to 0x200 1 to 512 bytes Write 0x01 to OxFB 1 to 251 bytes Tunnel Memory Read 0x01 to 0x1000 1 to 4096 bytes Write 0x01 to OxFF 1 to 255 bytes o STEP 7 Press the Read or Write button before writing data setitin a cell USER AREA CONFIG AREA SYSTEM AREA Copy
35. XX MCU Sample VerXXX Izh O aaa for the BTPB 101 demo board with a microcontroller Panasonic 75 NFC Tag LSI Application Note Version 1 5 SDK Software Development Kit NDA required AP Corresponding Description LSI Android Sample Software Module Manual for sample programs to control NFC tag for Android Document Specification V E pdf smartphone Panasonic TagTestApp Sample01 v zh Sample programs to control NFC tag for Android smartphone Android NDEF Test Specification v E pdf Manual for sample programs of Android NDEF test application KKK Panasonic_NdefTest_v apk Panasonic NdefTest v lzh Sample programs of Android NDEF test application MN63Y1208 1213 Module Specification v E pdf Manual for microcontroller sample programs to control MN63Y 1208 MN63Y1208 MN63Y1208 1213 MCU Sample Ve zh Microcontroller sample programs to control MN63Y 1208 MN63Y1208 1213 Module Specification_v E pdf Manual for microcontroller sample programs to control MN63Y1213 MN63Y1213 MN63Y1208 1213 MCU Sample Ve Izh Microcontroller sample programs to control MN63Y1213 MN63Y1210 Module Specification_v E pdf Manual for microcontroller sample programs to control MN63Y1210A MN63Y1210A MN63Y1210 MCU Sample Ver Izh Microcontroller sample programs to control MN63Y1210A Hardware IE O O ci Hardware board of host controller for demo and evaluation Panasonic 76 NFC Tag LSI Application
36. anged in tunnel mode um ETT LN ETT TT eae iat CO CRC calculated value 0xAC82 CRC calculated value Response to Tunnel WRITE Same Format as for Response to Normal WRITE PCB eL ELS e oz 90 00 29 6A Dum eem rmm RR ms EEE owe mem we sme em seme E emen CS CN COTE omm CT Panasonic 47 NFC Tag LSI Application Note Version 1 5 5 4 2 2 Transmission Reception Data Details 3 3 Tunnel READ SOF EOF 03 oo Bo 40 oo 01 91 8D PCB Protocol Control Byte I block INS READ Instruction byte READ OxBO Address Start address 0x4000 Address at which to start reads changed in tunnel mode CRC calculated value 0x918D CRC calculated value Response to Tunnel READ Same Format as for Response to Normal READ PCB DATA sw m SOF EOF Los A5 90 oo 24 ro Aka Panasonic 43 NFC Tag LSI Application Note Version 1 5 5 5 Specifying System Area Before using the NFC tag the system area of the NFC tag LSI must be specified Before setting the system area is not validated and set to the initial values fixed in hardware In the initial state fixed in hardware of the NFC tag LSI 3 communication modes are available RF communication TYPE B FeliCa and serial communication This section provides how to specify the system area using the three communication modes of RF communication TYPE B FeliCa and serial communication Examples of setti
37. atile memory The memory allows for RF and serial communications with time lag For example data which is written to the NFC Tag LSPs built in memory from a reader writer while the application s power is off can be read by the host controller when the application s power is turned on 2 4 2 3 Interrupt from RF Signal It is possible to output an interrupt signal to the host controller based on RF signal This function can be used even in batteryless communication For example a reader writer can control the system s power on wirelessly Interrupt signal generation conditions can be set in the NFC Tag LSI s non volatile memory However the condition cannot be changed for MN63Y1210A 2 4 3 High Functionality The NFC Tag LSI also has a functionality to meet higher usage requirements 2 4 3 1 Encryption RF communication is vulnerable to interception because signals travel outside of applications In order to address this issue this LSI provides AES encryption for RF communication However MN63Y1210A does not have encryption circuit 2 4 3 2 NDEF Format The NFC Tag LSI supports the NDEF data format specified in the NFC Forum tag The support for the standard data format allows a link to certain URL and other settings for a wide variety of NFC enabled devices Panasonic 8 NFC Tag LSI Application Note Version 1 5 2 5 Hardware Configuration 2 5 1 Internal Configuration of the LSI The hardware of MN63Y 1208 in
38. cludes the following functional blocks Analog block RF interface circuit power circuit clock generation circuit Logic block Control circuit encryption circuit 12C interface circuit FeRAM block 4 kbit FeRAM Ferroelectric memory SRAM block 2 kbit SRAM MN63Y1210A does not have encryption circuit and I2C interface circuit but instead contains UART and CLK synchronous serial interface circuit Picture of MN63Y1208 Chip NFC Tag Block The pin information on MN63Y1208 MN63Y 1212 MN63Y1213 and MN63Y1210A are as follows Pin configuration and package of MN63Y1210A Pin configuration and package of MN63Y 1208 Output type 3 ve uo Gomnected to coi 2 VDDEX Power Contact power supply Apply 1 7 V through 3 6 V 3 ps ND CT VO Connected to coil _ Not connected Power Internal digital power supply Connect a capacitor between this pin and VSS Testcontrol Normally connected to VSS OF N gt INC Netconnected TESTS mur Testconrol Nommaly connected VS gt Sc mu jMesmefaceqac o0 J T ereomeses resta a rea mamo vs TEST mou Test conrot Normay connected vss Internal analog power supply Connect a capacitor VDDA Power between this pin and VSS O E zZ 1 1 7 10 11 12 4 5 6 1 3 inc a CU vs o oonnectedtocot
39. e intended to be used for general applications such as office equipment communications equipment measuring instruments and household appliances or for specific applications as expressly stated in this book Consult our sales staff in advance for information on the following applications Special applications such as for airplanes aerospace automotive equipment traffic signaling equipment combustion equipment life support systems and safety devices in which exceptional quality and reliability are required or if the failure or malfunction of the products may directly jeopardize life or harm the human body It is to be understood that our company shall not be held responsible for any damage incurred as a result of or in connection with your using the products described in this book for any special application unless our company agrees to your using the products in this book for any special application 4 The products and product specifications described in this book are subject to change without notice for modification and or im provement At the final stage of your design purchasing or use of the products therefore ask for the most up to date Product Standards in advance to make sure that the latest specifications satisfy your requirements 5 When designing your equipment comply with the range of absolute maximum rating and the guaranteed operating conditions operating power supply voltage and operating environment etc Especia
40. ee communication modes are available RF communication FeliCa TYPE B and serial communication However using the subsequent setting you can restrict communication In such a case note that a certain communication may be disabled Panasonic 20 NFC Tag LSI Application Note Version 1 5 5 3 1 Access from the Host Controller Serial The serial communication between the NFC tag with MN63Y1208 and the host controller is compliant with the I2C specification Its corresponding protocol is as follows 7 bit addressing mode and operating frequency of 100 kHz The outline of the operation flow is shown in the figure below Outline of Operation Flow Host Controller NFC Tag SNo 1 Apply a Power to VDDEX SNo 2 WRITE Command SNo 3 Write Complete Flag SNo 4 Response to the WRITE Command SNo 5 READ Command SNo 6 Read Ready Complete Flag SNo 7 Read Data SNo 1 Apply a power to VDDEX pin and then wait 3 ms for a command to be received See parameter E1 of the Product Standards SNo 2 The host controller sends a WRITE command to the NFC tag After receiving the command the NFC tag processes the command SNo 3 After completing the command processing the NFC tag returns an NIRQ as a write complete flag SNo 4 The NFC tag sends the processing results to the host controller as a response to the write command SNo 5 The host controller sends a READ command to the NFC tag After receiving the command the NFC tag processes the comma
41. f information field Panasonic 42 NFC Tag LSI Application Note Version 1 5 5 4 1 2 Transmission Reception Data Details 3 3 Tunnel READ Start Field Information Field Field PREAMBLE SYNC PICC CODE Block List CODE D NUM U 00 00 00 00 00 00 B2 4D 10 06 02 FE 00 00 00 oo 00 00 01 os oo for 00 oo 04 82 C7 ware Bee Paton am PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC CODE Synchronous code OxB24D Fixed value given when starting communication Information field length Byte length of information field changed in tunnel mode SVSNUM Number of service files SVS Service file identifier BLK NUM Number of read blocks BLK List Block list 0x000004 Specifies read block Changed in tunnel mode CRC CRC calculated value 0x82C7 CRC calculated value of information field Response to Tunnel READ Same Format as for Response to Normal READ Start Field Information Field Field dl pala CODE N D NUM 223 Ed d E E EH EIE RC EXE ELE E EE E E ee ee ee eee Description Comment Preamble 0x000000000000 Fixed value given when starting communication SYNC Synchronous code OxB24D Fixed value given when starting communication CODE LEN Information field length Byte length of information field CMD Command Response code to READ command PICC CODE PICC identifier 0x02FE000000000000 IDM default value of NFC tag Status flag 1 00 Normal termination Status flag 2 00 Normal term
42. gnate the NFC tag and write data Respond to WRITE Return a message stating that the NFC tag completed writing normally Respond to WRITE Send READ Designate the Send NFC tag and READ read data Respond to READ Return a message stating that the NFC tag completed reading normally Respond to READ Panasonic 26 NFC Tag LSI Application Note Version 1 5 5 3 2 2 Transmission Reception Data Details 1 3 This section describes the transmit and receive data shown in the operation flow For more information see the User s Manual REQ PREAMBLE SYNC CODE LEN CMD SYS CODE CODE CAI KAKA KAKA KAKA LATA E AE EE E Cana emm o o PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC CODE Synchronous code 0xB24D Fixed value given when starting communication CRC calculated value 0x0921 CRC calculated value of information field Response to REQ PREAMBLE SYNC LEN CM PICC CODE DATA FIELD CRC CODE D d od ET Ie Ld Hd PA ci ee lal c c De Seecinton rate comet PREAMBLE 0x000000000000 Fixed value given when starting communication Response time descriptor OxFFFFOOOOOOFFFFFF Time until NFC tag returns a response CRC calculated value OxEDCE CRC calculated value of information field Panasonic 27 NFC Tag LSI Application Note Version 1 5 5 3 2 2 Transmission Reception Data Details 2 3 WRITE Start Field Information Field PREAMBLE SYNC LENI CM PICC
43. i ON System ane setting manua MN63Y1208 MN63Y1208 E1 ADMIN MANUAL nonNDA V pdf NDA edition Also describes the cipher function MN63Y1208 E1 Product Standard Ver pdf Electrical characteristics MN63Y1212 E1 USER MANUAL V pdf Product specifications and function description manual ition i MN63Y1212 E1_ADMIN_MANUAL_NDA_V paf Boomen Non NDA adition System araa Seg manua MN63Y1212 MN63Y1212 E1_ADMIN_MANUAL_nonNDA_V pdf NDA edition Also describes the cipher function MN63Y1212 E1_Product_Standard_Ver pdf Electrical characteristics MN63Y1213 E1_USER_MANUAL_V paf Product specifications and function description manual MN63Y1213 E1_ADMIN_MANUAL_NDA_V paf Document Non NDA Scion System arga seung manual MN63Y1213 MN63Y1213 E1 ADMIN MANUAL nonNDA V pdf NDA edition Also describes the cipher function MN63Y1213 E1 Product Standard Ver pdf Electrical characteristics MN63Y1210A E1 ADMIN MANUAL V pdf Product specifications and function description manual MN63Y1210A E1 ADMIN MANUAL V pdf System area setting manual MN63Y1210A MN63Y1210A E1 Product Standard Ver pdf Electrical characteristics Demonstration and Evaluation Type Description corresponding LSI Development kit Installation Manual vXXX E pdf Panasonic NFC tag development kit installation manual Android Application User Manual E vXXX pdf Application user s manual for Android smartphone NFCTAG DumpTool vXXX exe Demo software to control BTPB 101B for Windows PC MN63YXXXX XX
44. ination Read data Ox Read data A5 A5 A5 Ab A5 A5 Ab A5 A5 A5 A5 A5 A5 Ab A5 A5 CRC calculated value OxCA78 CRC calculated value of information field PREAMBLE STATUS1 STATUS2 DATA O A O Panasonic 43 NFC Tag LSI Application Note Version 1 5 5 4 2 Operation from Smartphone TYPE B The outline of the operation flow is shown in the figure below Host Controller NFC Tag Smartphone REQB Command SNo 1 Return ATQB SNo 2 ATTRIB Command SNo 3 SNo 4 SNo 6 Tunnel WRITE Command SNo 5 UERY Command SNo 8 E pa SNo 9 ANSWER Command SNo 10 SNo 11 SNo 12 B Tunnel READ Command SNo 13 SNo 14 IRQ Notification SNo 15 a QUERY Command B Np P ANSWER Command SNo 16 SNo 17 SNo 18 SNo 1 to SNo 4 Same as SNo 1 to SNo 4 described in Section 5 3 3 SNo 5 to SNo 19 Same as SNo 3 to SNo 17 described in Section 5 4 1 Response to the ANSWER Command Response to the Tunnel READ Command SNo 19 Panasonic 44 NFC Tag LSI Application Note Version 1 5 5 4 2 1 Operation Flow Details The operation flow is shown in the figure below Flowchart O Z Outline ie NFC Tag Smartphone Controller Send REQB Seek an NFC Send tag REQB Return ATQB Return The NFC tag ATQB returns a response Send ATTRIB Send Select the NFC ATTRIB tag Send ATTRIB The NFC tag is Respond to selected ATTRIB Send WRITE Send Designate the Tunnel NFC tag and write da
45. ion mode command We provide sample demonstration software for host controller For detailed settings and operations refer to the source code of the sample software In addition for an outline of how to use the sample demonstration software see the Appendix Panasonic 17 NFC Tag LSI Application Note Version 1 5 4 4 Tunnel Communication Mode Operation Flow Host Controller ho gt 1 E n 1 EI gt 7 artphone NFC enabled Software for the host controller to control the Application software NFC tag for smartphone Using the tunnel communication mode allows communication between the host controller and a smartphone via the NFC tag however requiring the following software for the host controller and application software for smartphone ma figure below illustrates the operation flow in tunnel communication mode Interrupt Request IRQ e Apply a Power to VDDEX Tunnel Communication Mode Command QUERY Command Response to the QUERY Command 3 4 No 5 6 7 ANSWER Command No Response to Response to the ANSWER Command Tunnel Communication Mode Command No 8 a _ _ _ _ _ _JJJJJJJJJJJJJJ No No 1 Smartphone sends a tunnel communication mode command to the NFC tag No 2 The NFC tag receives the tunnel communication mode command and then sends an Interrupt request IRQ to the host controller
46. it 3 ms O Z 0 CN O Z Y Start Send a start bit 7 bit and WR of 0 Receive ACK Send QUERY command of 0x28 Receive ACK Start communication Send a start bit 7 bit slave address of 0x54 and WR of 1 Receive ACK and STATUS SNo 14 Receive the address Send ACK and receive 0x0000 in twice power supply for communication slave address of 0x54 Send a stop bit Flowchart Host Controller pr lag from the previous page ES Ox 00 00 00 00 00 00 B2 4D 11 06 02 FE 00 00 00 00 00 00 01 09 00 01 00 00 04 82 C7 Notify NIRQ Low processing is terminated Start transmission 0xAS8 Start reception B Data of 0x31 0x21 or Ox11 may be produced depending on the RF signal state To be continued to the next page anasonic Smartphone 39 NFC Tag LSI Application Note Version 1 5 5 4 1 1 Operation Flow Details 4 4 The detailed operation flow is shown in the figure below Flowchart O z Outline i biis NFC Ta Smartphone Controller 9 p SSS AA Receive the gt Continued from the previous page address Send ACK and receive 0x0000 in twice Receive LEN Send ACK and receive a data length of 0x01 SNo 14 Send NACK and stop bit Start communication Send a start bit 7 bit slave address of 0x54 and WR of 0 Receive ACK Send ANSWER command of OxF8 Receive ACK Send a data
47. ld Information Field PREAMBLE SYNC LE PICC CODE TR Block List i ow uia bist UM 1 2 oo 00 00 o6 oos 82 gb 2 os oz FE 95 oo 9 o os vo o1 os vo 07 86 5 8o ejes 1 DATA CONFIG 100 00 00 oo oo oo 00 00 01 23 45 67 89 JABICDIEF JAA FF 102 FE 00 00100 00 00 00 RORF ROSI SECURITY sala Babad RM 2 i FF FF 00 E0 00 54 00 foo oo oo 00 foo Joo 00 Joo oo oo 00 7 F0 00 2E 77 94 ICO e E CT DATA Write data Write data ss 00 00 00 00 00 00 00 01 23 45 67 89 AB CD EF AA FF 02 FE 00 00 00 00 00 00 FF FF 00 EO 00 54 00 00 00 00 00 00 00 00 00 00 00 00 47 FO 00 2E ere CRC calculated value 0x7794 CRC calculated value of information field Panasonic 56 NFC Tag LSI Application Note Version 1 5 5 5 2 2 Transmission Reception Data Details 3 3 Response to WRITE Field PREAMBLE SYNC LEN CMD PICC CODE CRC Doe E PP EN pra ER CU RE ECTS a EZ REA IO EE aa PREAMBLE Ox000000000000 Fixed value given when starting communication SYNC Synchronous code 0xB24D Fixed value given when starting communication CODE STATUS2 Status flag 2 00 Normal termination CRC calculated value OxD52F CRC calculated value of information field Panasonic 57 NFC Tag LSI Application Note Version 1 5 5 5 3 Setting from Smartphone TYPE B This section describes how to specify the system area of the NFC tag from smartphone TYPE B The outline of the opera
48. ll become effective and the type of the reacted NFC tag will be displayed e C 1 Select RF or TUNNEL mode 2 Select the Read start block address When RF mode is selected 0x0000 to 0x01a0 1 oo L When TUNNEL mode is selected 0x0000 to OxOffO 3 Select the number of blocks to be read ONERE block 16 bytes When RF mode is selected d READ BLOCK Up to 13 blocks WRITE DATA MAX 192byte Size 16 byte The number of blocks exceeding the block address boo 10203040506070809020b0c0d0e0f 0x01a0 cannot be selected j When TUNNEL mode is selected 4 WRITE Up to 15 block The number of blocks exceeding the block address OxOffO cannot be selected 4 Execute Read 5 When Read is succeeded the following information willbe displayed zoo NFC F response Connection NFC F dat response ata NFC B response Code 07 Connection NFC B PICC 02 fe 00 00 00 00 00 00 response data SF1 00 Data SF2 00 0x0000 00 01 02 03 04 05 06 07 Block 01 Data 0x0000 00 01 02 03 04 05 06 07 08 09 Oa Ob Oc Od Oe Of Sw 90 00 Read success 08 09 Oa Ob Oc Od Oe OF 1 Read success message Read success Panasonic 65 NFC Tag LSI Application Note Version 1 5 WRITE DATA MAX 19 2bytk 16 byte Paneer 3 M 5 Connection Len Oc ole IN Obs PICC 02 fe 00 00 00 00 00 00 SF1 00 SF2 00 Write 1 Select R
49. llowing communication process is applied Detail of Communication In the initial state of NFC tag the following three communication modes are available RF communication FeliCa TYPE B and serial communication However using the subsequent setting you can restrict communication In such a case note that a certain communication may be disabled Panasonic 35 NFC Tag LSI Application Note Version 1 5 5 4 1 Operation from Smartphone FeliCa The outline of the operation flow is shown in the figure below Host Controller NFC Tag Smartphone REQ Command SNo 1 Response to the REQ SNo 2 SNo 4 Tunnel WRITE Command SNo 3 SNo 6 QUERY Command SNo 7 Er SNo 8 ANSWER Command SNo 9 SNo 10 Tunnel READ Command SNo 11 SNo 12 IRQ Notification SNo 13 E QUERY Command a SNo 14 Response to the QUERY Command SNo 15 ANSWER Command SNo 1 6 Response to the ANSWER Command Response to the Tunnel READ Command SNo 17 SNo 1 to SNo 2 Same as for Section 5 3 2 SNo 3 Smartphone sends a Tunnel WRITE command SNo 4 NFC tag notifies the host controller using NIRQ SNo 5 Apply a power to VDDEX pin and wait 3 ms for a command to be received See parameter E1 of the Product Standards SNo 6 The host controller sends a QUERY command to the NFC tag SNo 7 The NFC tag sends a response to the QUERY command to the host controller SNo 8 The host controller sends an ANSWER command to the NFC tag to report the results SNo 9
50. lly please be careful not to exceed the range of absolute maximum rating on the transient state such as power on power off and mode switching Otherwise we will not be liable for any defect which may arise later in your equipment Even when the products are used within the guaranteed values take into the consideration of incidence of break down and failure mode possible to occur to semiconductor products Measures on the systems such as redundant design arresting the spread of fire or preventing glitch are recommended in order to prevent physical injury fire social damages for example by using the products 6 Comply with the instructions for use in order to prevent breakdown and characteristics change due to external factors ESD EOS thermal stress and mechanical stress at the time of handling mounting or at customer s process When using products for which damp proof packing is required satisfy the conditions such as shelf life and the elapsed time since first opening the packages 7 This book may be not reprinted or reproduced whether wholly or partially without the prior written permission of our company 20100202
51. m Smartphone FeliCa P53 5 5 2 1 Operation Flow Details P54 5 5 2 2 Transmission Reception Data Details P55 5 5 3 Setting from Smartphone TYPE B P58 5 5 3 1 Operation Flow Details P59 5 5 3 2 Transmission Reception Data Details P60 Appendix Appendix 1 RF Communication Demonstration P63 Appendix 2 Serial Communication Demonstration P6 Appendix 3 Tunnel Communication Demonstration P68 Appendix4 Environment to Provide Application Software for Smartphone P69 Appendix 5 BTPB 101B Design Data P70 Appendix 6 Design Data of NFC Tag Antenna Board P73 Appendix 7 Related documents and hardware P75 Panasonic 3 NFC Tag LSI Application Note Version 1 5 1 Introduction 1 1 Purpose This is an introduction guide for the NFC Tag LSI which covers the following Introduction and Overview of NFC Tag LSI Information necessary for setting up a system with the NFC Tag LSI This includes typical usage examples When using this chip in your own environment refer to the reference data that are introduced in this document 1 2 Organization This document is organized as follows 2 About NFC Tag LSI
52. n 1 5 3 3 Determining the Block Configuration Next determine the basic block configuration Required functions and hardware examples by block are as follows Required Functions and Hardware Example by Block Required Functions Necessary Hardware Host control Interface voltage 1 7 V to 3 6 V Microcontroller 2C communication function 100 kHz NFC Tag LSI power supply control signal Interrupt function NFC I2C signal processing RF signal processing MN63Y 1208 tag LSI and tag peripheral components Antenna RF signal reception Antenna and capacitor for resonant frequency adjustment Reader Writer NFC Forum compliant communication Smartphone with built in NFC function Host control block select the controller supporting the following functions O voltage 1 8 V or 3 3 V 2C communication function As needed GPIO with a high output current capacity of at least 500 uA for battery off As needed interrupt function for detecting interrupt from RF signal LSI of NFC tag block NFC tag LSI and peripheral components are required For more information see Section 3 4 Antenna of NFC tag block Adjusted antenna and resonant capacitor are required For more information see the following URL http www semicon panasonic co jp en tool nfcdesignnavigator index html Reader Writer Reader Writer for NFC communication For Reference We provide a demonstration environment in which block configuration is as follows H
53. nd SNo 6 After completing the command processing the NFC tag returns an NIRQ as a read ready complete flag SNo 7 the NFC tag sends a read data to the host controller as a response to the read command Panasonic 21 NFC Tag LSI Application Note Version 1 5 5 3 1 1 Operation Flow Details 1 3 The detailed operation flow is shown in the figure below Flowchart Host Controller Turn on VDDEX power supply Power VDDEX High for NFC tag ON Wait 3 ms Start communication Send a start bit 7 bit slave address of 0x54 and WR of 0 Receive ACK Send a WRITE command of 0x18 Receive ACK Send the address of 0x0000 In twice Receive ACK for each transmission Send a transmit data length LEN of 0x01 Receive ACK To be continued to the next page Comment for I2C communication In 12C bus communication normally SDA is changed when SCL low Start bit and stop bit produce special patterns as shown below Normal data transmission SCL N y l l l SDAY Data Data valid change period period AA 4 7 l Start bit and stop bit change SDA when SLC high Start bit r ACK Same as data of 0 NACK Same as data of 1 Panasonic 22 NFC Tag LSI Application Note Version 1 5 5 3 1 1 Operation Flow Details 2 3 Flowchart Host Controller Outline Send a WRITE data of 0xA5 Receive ACK Send a stop bit Wait for NFC tag to be p
54. nd REQB Seek an NFC tag Return ATQB The NFC tag returns a response Send ATTRIB Select the NFC tag Respond to ATTRIB The NFC tag is selected Respond to ATTRIB Send WRITE Designate the NFC tag and write data Respond to WRITE Return a message that the NFC tag completed writing normally Respond to WRITE Smartphone Panasonic 59 NFC Tag LSI Application Note Version 1 5 5 5 3 2 Transmission Reception Data Details 1 2 REQB SOF AM EOF Los 00 o0 71 FF IC IET CT TT Application Family Identifier 0x00 Overall response See the ISO IEC 14443 standard CRC calculated value Ox71FF CRC calculated value ATQB Response to REQB PUPI ApplicationData Protocol Info SOF CODE EOF 50 oo 00 00 oo oo oo oo 00 91 81 EO Do 83 CO CT E CT Protocol Info Protocol Info 0x9181E0 Parameter See the User s Manual CRC calculated value 0xD983 CRC calculated value ATTRIB CMD Identifier SOF EOF Lid 00 oo oo oo oo oo oi oo 79 5A me mei rmm eR Identifier PICC identifier 0x00000000 Specifies the PUPI of ATQB PARAM1 Parameter 1 See the User s Manual PARAM2 Parameter 2 See the User s Manual PARAM3 Parameter 3 See the User s Manual PARAM4 Parameter 4 See the User s Manual CRC CRC calculated value CRC calculated value Panasonic 60 NFC Tag LSI Application Note Version 1 5 5 5 3 2 Transmission Reception
55. ne FeliCa TYPE B 5 5 Specifying System Area Setting with host controller serial and smartphone FeliCa TYPE B 5 2 Hardware Conditions This operation examples use the following hardware examples and connection examples Devices Used in this Examples Host controller Our demonstration board A device with built in host controller that is See the Appendix 5 BTPB 101B accessible to NFC tag in serial communication BTPB 01B Specification Tag antenna board A board on which the NFC tag LSI and See the Appendix 6 ANT4030 02 0505 BO L components for interface are implemented ANT4030 02 0505 BO With on board MN63Y1208 LSpecification Reader Writer AndroidOS smartphone A device to access a tag in RF communication supporting NFC Connection Example Smartphone Reader Writer CN1 MINI cm Reverse the ANT4030 02 0505 BO L and connect it to the CN2 white connector of the BTPB 101B Power is supplied to the BTPB 101B through CN1 In this demonstration environment the PC controls the BTPB 101B to simplify the access to the NFC tag Panasonic 19 NFC Tag LSI Application Note Version 1 5 5 3 Access to the User Area This section uses a simple example to describe how to access an NFC tag since FeliCa uses 16 bytes and TYPE B and serial communication use 1 byte for each access the following communication process is applied Communication Process In the initial state of NFC tag the following thr
56. ng for writes is based on the initial state fixed in hardware See the table below For more information about parameters see the User s Manual Detail of Communication Serial TYPE B and FeliCa Write the following setting parameters to the blocks of 29 to31 the addresses of 0x01D0 to 0x01FF in the NFC tag Parameters for Setting Examples BlockAddress 29 mo CONFIG name e mo GA name Hi Moll EEE ADO DSTI la ME P FX Parameter wo ROSI SECURITY CONFIG2 name at MN O Ri in d al Outline of Parameters FeliCa communication pana TYPES communication 1 byte Based on the AFI setting of ISO IEC14443TYPE B parameter Access E Response setting HW 2 bytes Selects the RF communication specification for response IDM setting I2C slave address setting 1 byte Specifies the NIRQ generation source Setting value CONFIG2 2 bytes For more information see the User s Manual Panasonic 49 NFC Tag LSI Application Note Version 1 5 5 5 1 Setting from Host Controller Serial The outline of the operation flow is shown in the figure below Host Controller NFC Tag Smartphone SNo 1 Apply a Power to VDDEX SNo 2 WRITE Command SNo 3 Write Complete Flag SNo4 SNo 1 Apply a power to VDDEX pin and then wait 3 ms for a command to be received See parameter E1 of the Product Standards SNo 2 The host controller sends a WRITE command to the NFC tag After receiving the command the NFC tag processe
57. ommunication Mode P7 2 4 1 2 Serial Communication Mode P7 2 4 1 3 Tunnel Communication Mode P7 2 4 2 Functionality to Reduce Power and Utilize Interfaces Flexibly P8 2 4 2 1 Batteryless Communication 2 4 2 2 Built in Non volatile Memory P8 2 4 2 3 Interrupt from RF Signal P8 2 4 3 High Functionality P8 2 4 8 1 Encryption aa P8 2 4 3 2 NDEF Format eeees P8 2 5 Hardware Configuration P9 2 5 1 Internal Configuration of the LS P9 2 5 2 Pin Configuration P9 Chapter 3 Designing NFC Tag System Hardware 3 1 Hardware Design Flow J a P11 3 2 Determining the System Configuration P11 3 3 Determining the Block Configuration P12 3 4 Designing the NFC Tag Block Circuit P13 3 5 Designing the NFC Tag Block Pattern a P14 Chapter 4 Designing NFC Tag System Software 4 1 Software Required for NFC Tag P15 4 2 RF Communication Mode Operation Flow P16 4 3 Serial Communication Mode Operation Flow P17 4 4 Tunnel Communication Mode Operation Flow
58. ost control block Host board with our on board microcontroller MN101EF63G NFC tag block ANT4030 02 0505 BO L our NFC tag board For reference circuit see Section 3 4 LSI For more information see Section 3 4 Antenna Our antenna board for demonstration Application software for reader writer Android application software for smartphone NFC Tag LSI Application Note Version 1 5 3 4 Designing the NFC Tag Block Circuit A circuit diagram example using MN63Y1208 is shown below For information about antenna block see the following URL http www semicon panasonic co jp en tool nfcdesignnavigator index html For information about connections see the figure below For information about the tag LSI s peripheral components see the table below Circuit Diagram Example of LSI Block of NFC Tag Bloc Host Control Block 3 3 V jl Host I Controller il LSI Block L Our NFC Tag Board ANT4030 02 0505 BO L NFC Tag LSI s Peripheral Components External Recommended Description Components Value R1 R2 3 3 KQ Pullup resistors for I2C signal line Determine the values based on data rate wiring capacitance and current capacity Unmounted on our NFC tag board ANT4030 02 0505 BO L R3 3 3 KQ Pullup resistor for interrupt signal line Determine the values based on wiring capacitance and current capacity Unmounted on our NFC tag board ANT4030 02 0505 BO L C2 C3 C4 0 1 uF Capacitors between
59. pin Left this pin open or connect this pin to ground TEST pin Left this pin open or connect this pin to ground Power Internal analog power supply Connect a capacitor between this pin and VSS Panasonic 10 NFC Tag LSI Application Note Version 1 5 3 Designing NFC Tag System Hardware This chapter describes the design of an NFC tag system hardware with MN63Y1208 3 1 Hardware Design Flow The flow of designing a hardware is summarized below Subsequent descriptions follow this design flow Hardware Design Flow Determine the system configuration Determine the block configuration Circuit design tii Pattern design 3 2 Determining the System Configuration First determine the system configuration based on requirements for NFC tag system and the communication mode of the NFC tag LSI A typical system configuration example used in this document is illustrated below NFC Tag System Configuration Example NFC Tag Block Reader Writer Antenna Block Y RF MN63Y1208 Antenna K Host Controller Block Host Controller The figure above is based on all communication modes The blocks required vary with the communication mode used 2C communication Host control block NFC tag block LSI RF communication Reader Writer NFC tag block LSI antenna Tunnel mode communication Reader Writer host control block NFC tag block LSI antenna Panasonic 11 NFC Tag LSI Application Note Versio
60. rocessed Y o Notify Monitor NIRQ processing omplete Interrupt Start communication Send a start bit 7 bit slave address of 0x54 and WR of 1 Send ACK as a Receive ACK and Data of 0x35 0x25 or response STATUS 0x15 may be produced depending on the RF signal state Send NACK Send NACK and stop bit and stop bit Start communication Send a start bit 7 bit slave address of 0x54 and WR of 0 Receive ACK Send a READ command of 0x08 Receive ACK To be continued to the next page Panasonic 23 NFC Tag LSI Application Note Version 1 5 5 3 1 1 Operation Flow Details 3 3 O Z Outline o Send the address of 0x0000 in twice Receive ACK for each transmission Send the required data length LEN of 0x01 Receive ACK Send a stop bit Wait for internal processing of the NFC tag to terminate Monitor NIRQ Start communication Send a start bit T bit slave address of 0x54 and WR of 1 Receive ACK and STATUS Receive the data After sending ACK read the data Send NACK and stop bit Flowchart Send a stop bit processing Notify processing is terminated Start transmission Send ACK as a Data of 0x35 0x25 or 0x15 KESPONSE may be produced depending on the RF signal state Panasonic 24 NFC Tag LSI Application Note Version 1 5 5 3 2 Access from Smartphone FeliCa RF communication between smartphone FeliCa
61. rotocol Info Protocol Info 0x9181E0 Parameter See the User s Manual CRC calculated value 0xD983 CRC calculated value ATTRIB CMD identfier GRC sor EOF 1D 00 o0 00 oo oo oo ot 00 79 5A meme IC E EC Identifier PICC identifier 0x00000000 Specifies the PUPI of ATQB Panasonic 32 NFC Tag LSI Application Note Version 1 5 5 3 3 2 Transmission Reception Data Details 2 3 Response to ATTRIB SOF CODE EOF em mee e eR CRC calculated value OxF9EO CRC calculated value WRITE SOF EOF L02 00 Do 00 00 O1 LAS tB 94 Dum sem m em Response to WRITE 02 oo oo 29 6A A TACTO Status word 1 0x9000 No error CRC calculated value 0x296A CRC calculated value Panasonic 33 NFC Tag LSI Application Note Version 1 5 5 3 3 2 Transmission Reception Data Details 3 3 READ SOF EOF 03 oo Bo 00 00 O1 67 88 m emm rm eR Start address 0x0000 Address at which to start reads CRC calculated value OxE78B CRC calculated value Response to READ nmo EI ECC GN Panasonic 34 NFC Tag LSI Application Note Version 1 5 5 4 Tunnel Mode Operation This section specifically describes how to access between the host controller and smartphone through an NFC tag while in Tunnel mode For information about Tunnel mode see Section 4 4 Since FeliCa uses 16 bytes and TYPE B uses 1 byte for each access the fo
62. s the command SNo 3 After completing the command processing the NFC tag returns an NIRQ as a write complete flag SNo 4 The NFC tag sends the processing results to the host controller as a response to the write command Panasonic 50 NFC Tag LSI Application Note Version 1 5 5 5 1 1 Operation Flow Details 1 2 The detailed operation flow is shown in the figure below power supply Power VDDEX High for NFC tag ON SNo 1 Wait 3 ms Start Start communication transmission Send a start bit T bit slave address of 0x54 and WR of 0 Receive ACK Send a WRITE command of 0x18 Receive ACK Send the address of 0x01DO In twice Receive ACK for each transmission Send a transmit data length LEN of 0x30 Receive ACK To be continued to the next page Panasonic 51 NFC Tag LSI Application Note Version 1 5 5 5 1 1 Operation Flow Details 2 2 SNo SNo 2 SNo 3 SNo 4 Outline Send the data Repeat a byte write 48 times according to the write data in to write data in the system area Receive ACK for each write Send a stop bit Wait for NFC tag to be processed Monitor NIRQ Start communication Send a start bit 7 bit slave address of 0x54 and WR of 1 Receive ACK and STATUS Send NACK and stop bit the table on the right Flowchart Similarly write DATA2 through i DATA47 DAT 0x2E DATA48 Send a stop
63. ta WRITE Return a message stating that the NFC tag completed writing normally to Tunnel WRITE Send Tunnel READ Designate the NFC tag and read data Respond to Tunnel READ Respond to Tunnel READ Send a read data from the NFC tag Panasonic 45 NFC Tag LSI Application Note Version 1 5 5 4 2 2 Transmission Reception Data Details 1 3 REQB SOF AM EOF Los 00 o0 1 FF Ca ET TT AFI Application Family Identifier 0x00 Overall response See the ISO IEC14443 standard CRC calculated value Ox71FF CRC calculated value ATQB Response to REQB PUPI ApplicationData Protocol Info SOF CODE EOF 50 oo 00 oo oo oo oo oo 00 91 81 EO Do 83 Ee CT CI CT Protocol Info Protocol Info 0x9181E0 Parameter See the User s Manual CRC calculated value 0xD983 CRC calculated value ATTRIB Identifier SOF ae e EIA ce ICO CO CI CI Identifier PICC identifier 0x00000000 Specifies the PUPI of ATQB Panasonic 46 NFC Tag LSI Application Note Version 1 5 5 4 2 2 Transmission Reception Data Details 2 3 Response to ATTRIB SOF CODE EOF e E e CI scone e uem eee CRC calculated value OxF9EO CRC calculated value Tunnel WRITE SOF EOF 02 00 D6 40 oo O1 A5 AC 82 LONE CNN NN NN CN ECT om fea m m em CET D pue IC pmemm ewmmemem Address Start address 0x4000 Address at which to start writes ch
64. tion flow is shown in the figure below Host Controller NFC Tag Smartphone SNo 1 SNo 2 SNo 3 SNo 4 SNo 5 SNo 6 SNo 1 SNo 2 SNo 3 SNo 4 SNo 5 SNo 6 Return ATQB ATTRIB Command Response to the ATTRIB Command WRITE Command Response to the WRITE Command Smartphone sends a REQB command and waits for a response If NFC tag does not exist the response to be returned in SNo 2 is not returned and SNo 1 is repeated The NFC tag returns an ATQB as a response to the REQB command sent in SNo 1 The smartphone recognizes the NFC tag The smartphone sends an ATTRIB command The NFC tag returns a response to the ATTRIB command sent in SNo 3 The NFC tag is activated The smartphone sends a WRITE command The NFC tag receives the WRITE command and processes it The NFC tag sends the processing results to the smartphone Note In Android terminal the OS supports the processing of SNo 1 to SNo 4 Panasonic 58 NFC Tag LSI Application Note Version 1 5 5 5 3 1 Operation Flow Details The detailed operation flow is shown in the figure below For waveform specification and SOF EOF patterns see the ISO IEC14443 standard Data is sent in units of 10 bits to which values of O and 1 have been given as the first and last bits respectively in units of 8 bytes SNo 1 SNo 3 SNo 2 SNo 5 SNo 4 SNo 6 These specifications are also specified in the ISO IEC 14443 standard Se
65. w Details 2 4 The detailed operation flow is shown in the figure below Flowchart Host Controller NFC Tag Smartphone Send address Continuedffrom the previous page gt receive 0x0000 in mee 0x00 H avor Receive LEN Transmit ACK and receive a data length of 0x01 Outline SNo SNo 7 Receive a data Send ACK and n receive a data of Repeat 16 OxA5 times i Repeat 16 times m mmm mm Send NACK and stop bit Start communication Send a start bit 7 bit slave address of 0x54 and WR of 0 Receive ACK Send ANSWER command of OxF8 Receive ACK SNo 8 Send a stop bit Start communication Send a start bit 7 bit slave address of Start O 10x54 and WR of 1 O ANSWER as Z Ka and Data of 0x33 0x23 or la response v i 0x13 may be produced depending on the RF signal state Send NACK Send NACK and stop bit stop bit Send 0x Respond to Tunnel 00 00 00 00 00 00 B2 4D OC 09 02 FE 00 00 00 y nne kala WRITE 00 00 00 00 00 D5 2F Z stating that the NFC s un t29 completed writing S To be continued to the next page L normally anasonic 38 NFC Tag LSI Application Note Version 1 5 5 4 1 1 Operation Flow Details 3 4 The detailed operation flow is shown in the figure below 2 Outline 9 Send Tunnel READ Designate the NFC tag and read data Turn on VDDEX NFC tag Wa

Download Pdf Manuals

image

Related Search

Related Contents

Acme United BH20  Hitachi Protection Platform S1500 User Manual  Microsoft LifeCam VX-2000  electricrange    INSTRUCTIONS INSTRUCCIONES MODE D`EMPLOI  Sony SSC-CR481 surveillance camera    Badger Meter Europa GmbH MN05 / MN1 / MN2 with MR100  高麗神社で初詣  

Copyright © All rights reserved.
Failed to retrieve file