Home
MN63Y1208 application note
Contents
1. eesesen P48 5 5 1 Setting from Host Controller Serial P49 0 4 1 1 Operation Flow Details P50 5 5 2 Setting from Smartphone FeliCa P52 0 4 1 1 Operation Flow Details P53 5 4 1 2 Transmission Reception Data Details P54 5 5 3 Setting from Smartphone TYPE B P57 0 4 1 1 Operation Flow Details P58 5 4 1 2 Transmission Reception Data Details P59 Appendix Appendix 1 RF Communication Demonstration P62 Appendix 2 Serial Communication Demonstration P66 Appendix 3 Tunnel Communication Demonstration P6 Appendix 4 Environment to Provide Application Software for Smartphone P68 Appendix 5 BIPB 101B design data J P70 Appendix 6 ANT4030 02 0505 BO L design data P72 Appendix 7 List of a related documents and hardware P73 Panasonic NFC Tag LSI Application Note Version 1 4 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 usi
2. 4 4 Tunnel Communication Mode Operation Flow Panasonic NFC Tag LSI Application Note Version 1 4 Contents 2 2 Chapter 5 Operation Examples 5 1 Operation Examples Details P18 5 2 Hardware Conditions P18 5 3 Access to the User Area P19 5 3 1 Access from the Host Controller Serial P20 5 3 1 1 Operation Flow Details P21 5 3 2 Access from Smartphone FeliCa P24 5 3 2 1 Operation Flow Details P25 5 3 2 2 Transmission Reception Data Details P26 5 3 3 Access from Smartphone TYPE B P29 5 3 3 1 Operation Flow Details cece eeeeeeees P30 5 3 3 2 Transmission Reception Data Details P31 5 4 Tunnel Mode Operation J J P34 5 4 1 Operation from Smartphone FeliCa 0 P35 5 4 1 1 Operation Flow Details P36 5 4 1 2 Transmission Reception Data Details P40 5 4 1 Operation from Smartphone TYPE B P43 5 4 2 1 Operation Flow Details P44 5 4 2 2 Transmission Reception Data Details P45 5 5 Specifying System Area
3. Panasonic 73 NFC Tag LSI Application Note Version 1 4 Revision History Jan 28 2013 Modified the Appendix 7 5 Aug 08 2013 1 40 Modified Response to WRITE value PCB and CRC Modified Response to READ value PCB and CRC Panasonic 74 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 are 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 t
4. Outline SNo Send the data Repeat a byte write 48 times according to the write data in the table on the right to write data in the system area Receive ACK for each write SNo 2 Send a stop bit SNo 3 Start communication Send a start bit T bit slave address of 0x54 and WR of 1 Receive ACK and STATUS SN0 4 Send NACK and stop bit Panasonic Flowchart Send DATA1 pP i O e IO OZ N N nooo Similarly write DATA2 through i DATA47 i E sm E E xm um ru E mE DAT OQE DATA48 Send a stop bit processing Notify s NIRQ Low processing complete Start transmission OxA9 ACK as a Data of 0x35 0x25 or response 0x15 may be produced depending on the RF signal state Send NACK stop bit Write Data gt il NFC Tag LSI Application Note Version 1 4 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 1 REQ Command SNo 2 SNo 3 WRITE Command SN0 4 SNo 1 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 SNo 2 The NFC tag returns a response to the REQ command sent in SNo 1 The smartphone recognizes the
5. TYPE B RF communication between smartphone TYPE B and NFC tag is compliant with the ISO IEC14443 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 REQB Command SNo 1 Return ATQB SNo 2 ATTRIB Command SNo 3 iNOS WRITE Command SNo 5 Response to the WRITE Command SNo 6 READ Command SNo 7 Response to the READ Command SNo 8 SNo 1 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 SNo 2 NFC tag returns an ATQB as a response to the REQB command sent in SNo 1 The smartphone recognizes the NFC tag SNo 3 The smartphone sends an ATTRIB command SNo 4 The NFC tag returns a response to the ATTRIB command sent in SNo 3 The NFC tag is activated SNo 5 The smartphone sends a WRITE command The NFC tag receives the WRITE command and processes it SNo 6 The NFC tag sends the processing results to the smartphone SNo 7 The smartphone sends a READ command The NFC receives the READ command and processes it SNo 8 The NFC tag sends the read data to the smartphone Note In Android terminal the OS supports the processing of SNo 1 to SNo 4 Panasonic 29 NFC Tag LSI Application Note Version 1 4 5 3 3 1 Operation Flow Details The d
6. sim RJO Ela 2 S zie ms DIO z P m 0 1 ED2 3 A m x UJ m x UJ e jumpers in series Wl a Sis N2 connector witch jumpers in series o onnector for D WIRE onnector for CN3 SB serial conversion IC O pF capacitor O pF capacitor 7 pF capacitor pF capacitor uF capacitor J UF capacitor 0 uF capacitor witch C 2 B BLACK ap pin C 2 R RED ap pin C 2 Y YELLOW ap pin T1117CST 3 3 V LDO MMSZ5V6T1G MN101EG63G 2 ke z Ini Icloloim s ja DR SL o o o ct o 7 T n o gl o wn o T Co 3 o icrocontroller icrocontroller option 0 MHz oscillator 1588 0k resistor MQ resistor 70 resistor 3 Q resistor 30 Q resistor 3 kQ resistor 6 kQ resistor 3 kQ resistor 00 Q resistor KD SD3 10 000MHz 16pF B501V 40TE 17 K73B1ETTP103J K73B1ETTP105J K73B1ETTP271J K73B1ETTP330J K73B1ETTP331J K73B1ETTP332J K73B1ETTP363J K73B1JTTD332J K73B1JTTD601 J K73Z1ETTP umper K73Z1JTTD umper I 5 R3t RYE RJ2 RJ7 RJ8 RJ13 JRJ17 RJ18 RUI9 R320 2B XH A ower supply connector ilo le Too Too T3215SB32768H5HPWAA 20ppm 12 5pF 32 768 kHz oscillator C7PG34FU uffer option MK105BJ104KV F 1 uF capacitor XS0102DCUR idirectional level shifter T 200 F12 5 32 768KHz 2 768 kHz oscillator WL 1 2P umper WL 1 3P umper P2 c 71 NFC Tag LSI Application Note Version 1 4 Appendix 6 ANT4030 02 0505 BO L Design Data This secti
7. 0 1 23 4 5 6 7 8 9 ab cde f 0x0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 PRODUCT MN6SY nby e y i EE i I mt i 1 vi I 1 TI 00 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 00 00 00 00 00 00 00 00 01 23 45 67 89 ab cd ef PT 0x01e0 jaa ff em aa ff 02 fe 00 00 00 00 00 00 ff ff 00 eO 00 54 n lc n i 0x01f0 00 00 00 00 00 00 00 00 00 00 00 00 47 fO 00 2e The read value is written in as it is a E NDEF FeliCa Type B Mode gt Smart Poster Calculated value Title panasonic URI http panasonic net Address 0 1 2 3 4 5 6 7 8 9 a b c d e f 0x01e0 0x0010 The read value is written in as it is 0x0020 FeliCa Mode 0x0030 6e 69 63 2e 6e 65 Calculated value 0x0180 00 Of 20 00 3b 00 34 04 06 01 03 00 c8 00 i Address 0 1 2 3 4 5 6 7 8 9 a b c d e f Mie oe eS A 0x00 e The read value is written in as it is Type B Mode Calculated value 0x01e0 0x01f0 The read value is written in as it is FeliCa Type B Mode Calculated value E FeliCa Type B Adres 0 1 2 3 4 5 6 7 8 9abcdef Mick ae Ox01fO F em The read value is written in as it is FeliCa Type B Mode
8. 1 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 SNo 2 The NFC tag returns a response to the REQ command sent in SNo 1 The smartphone recognizes the NFC tag SNo 3 The smartphone sends a WRITE command The NFC tag receives the WRITE command and processes it SNo 4 The NFC tag sends the processing results to the smartphone SNo 5 The smartphone sends a READ command The NFC tag receives the READ command and processes it SNo 6 The NFC tag sends the read data to the smartphone Note In Android terminal the OS supports the processing of SNo 1 and SNo 2 Panasonic 24 NFC Tag LSI Application Note Version 1 4 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 O Outline SN Send REQ Seek an NFC tag Respond to REQ The NFC tag 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 Send READ Designate the NFC tag and read data Respond to READ Return a message stating that the NFC tag completed reading normally Panasonic NFC Tag Respond to REQ Respond to WRITE Respond to READ Flowchart Smartphone Send REQ Ge Send READ
9. 23 NFC Tag LSI Application Note Version 1 4 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 Start Field Information Field End Field PREAMBLE SYNC CODE LEN CMD SYS REQ SLOT CR CODE CODE C CICLI LIES I IERI LELE LI LIL CRC calculated value 0x0921 CRC calculated value of information field Response to REQ PREAMBLE SYNC LEN CM PICC CODE DATA FIELD CRC CODE D dl Ed IE Rad Io El d fud cad Ec Ed Ri ua ci PEREZ ome Bem rum emm PREAMBLE 0x000000000000 Fixed value given when starting communication PMM Response time descriptor OxFFFF000000FFFFFF Time until NFC tag returns a response CRC CRC calculated value OxEDCE CRC calculated value of information field Panasonic 26 NFC Tag LSI Application Note Version 1 4 5 3 2 2 Transmission Reception Data Details 2 3 WRITE Start Field Information Field PREAMBLE SYNC LENJCMD PICC CODE SVS SVS BIk 00 oo 00 00 100 00 B2 4D 20108 02 FE 00 00 100 00 100 00 01 109 00 101180 00 IAS ee eee a pe DD DATA Write data Write data A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 Ad A5 A5 A5 ao CRC calculated value 0x93D3 CRC calculated value of information field Response to WRITE Start Field Information Field Field PREAMBLE SYNC LENCMD PICC CODE STATU CRC 5 RI Oe E id d 63 29 d i d sd aod acd aod e d Kod o
10. LSI Product specifications and functional description manual for LSI Manual for setting the system area for LSI MN63Y 1210 Electrical characteristics for LSI Demonstration and Evaluation T Corresponding BEEN NNNM Development kit Installation Manual v200 E Panasonic NFC tag Development kit Installation Manual Android Application User Manual E v200 pdf Application User Manual for Android smartphone MN63Y 1208 NFCTAG DumprTool v200 exe Demo software to control BTPB 101B for Windows PC MN63Y 1210 Panasonic TagFileTx v113 apk Demo software for Tunnel Mode and Handover for Android smartphone Panasonic TagReaderWriterFBRT v102 apk Demo software to access to the NFC tag for Android smartphone Panasonic TagSetting1208 v100 apk Demo software to set MN63Y1208 for Android smartphone MN63Y 1208 Panasonic TagSetting1210 v100 apk Demo software to set MN63Y1210 for Android smartphone MN63Y 1210 SDK Software Development Kit NDA needed C di o mw tre Bem PM Android Sample Software Module Docuit Manual for sample programs to control MN63Y 1208 for Android Specification V E pdf NDA smartphone MN63Y 1208 BN _ Hardware ee Te NE RN CER NFC TAG WS2840 Hardware board of NFC tag for demo and evaluation Antenna module MN63Y1009 NFC TAG MN63Y1210 Hardware board of NFC tag for demo and evaluation Antenna module MN63Y1210 ANTA4030 02 0505 BO L Hardware board of NFC tag for demo and evaluation Antenna module MN63Y 1208
11. NFC tag SNo 3 The smartphone sends a WRITE command The NFC tag receives the WRITE command and processes it SNo 4 The NFC tag sends the processing results to the smartphone Note In Android terminal the OS supports the processing of SNo 1 and SNo 2 Panasonic 52 NFC Tag LSI Application Note Version 1 4 5 5 2 1 Operation Flow Details The detailed operation flow is shown in the figure below Smartphone Send REQ Seek an NFC tag 4 Respond to REQ Respond The NFC tag spes 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 NFC Tag LSI Application Note Version 1 4 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 REQ PREAMBLE SYNC CODE LEN CMD SYS REQ SLOT CRC CODE CODE oo 00 00 00 oo oo B2 4D o6 oo rr rr oo oo 00 21 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 dl Ed IE Rod Io El d fud cad Ec Ed Ri a ci i Rs d ERRE Dune serie rem om PREAMBLE 0x00
12. bit slave address of 0x54 and WR of O Receive ACK Send ANSWER command of OxF8 Receive ACK Send a data Send ACK and then a data of OxA5 SNo 15 Repeat 16 times 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 0x 00 00 00 00 00 00 B2 4D 1D 07 02 FE 00 00 00 00 00 00 00 00 01 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 CA 78 Respond to Tunnel READ Send a read data from the NFC tag SNo 17 Panasonic 39 NFC Tag LSI Application Note Version 1 4 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 Start Field Information Field End Field PREAMBLE SYNC CODE LEN CMD SYS REQ SLOT CR CODE CODE C ESENSRISESEJEAEEZEA3EJARESUXE NE e ee CI NN PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC CODE Synchronous code 0xB24D Fixed value given when starting communication meme sme coor CRC calculation value 0x0921 CRC calculated value of information field Response to REQ PREAMBLE SYNC LEN CM PICC CODE DATA FIELD CRC CODE D dl Ed EE Rod Io El d Fu ad Dc E Ri a ci a d GA GL scd ed o Ll la Ll ae Lon LNEINET CNN Pate Comment PREAMBLE 0x000000000000 Fixed value g
13. 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 See Section 4 2 Serial communication mode Software for the host controller to control the NFC tag See Section 4 3 Tunnel communication mode Both software described above See Section 4 4 Panasonic 14 NFC Tag LSI Application Note Version 1 4 4 2 RF Communication Mode Operation Flow Host Controller P k E N Li b P i k i A 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 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
14. figure below 2 Outline dp Send Tunnel READ Designate the NFC tag and read data 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 O 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 Panasonic Send a stop bit Flowchart Host Controller NFC Tag Smartphone E from the previous page 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 Send ACK as a response Data of 0x31 0x21 or 0x11 may be produced depending on the RF signal state To be continued to the next page 38 NFC Tag LSI Application Note Version 1 4 5 4 1 1 Operation Flow Details 4 4 The detailed operation flow is shown in the figure below Flowchart Outline Host NFC Ta Smartphone Controller g P m O O Receive the TT Continued from the previous page address Send ACK and receive 0x0000 in twice SNo 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
15. interface with host controller The specifications of I2C supported is as follows Operating frequency 100 kHz Operating mode Slave mode Data format 7 bit addressing 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 4 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 applications 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 volatile memory The memory allows for RF and serial communications with time lag For example data which is written to the NFC Tag LSl s built in memory from a reader writer while the application s power is off can be read by the host controller when the app
16. 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 LSl 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 12 NFC Tag LSI Application Note Version 1 4 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 separate Antenna Design Guide 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 ANT4030 Enlarged LSI Block To be connected with a separate board Panasonic 13 NFC Tag LSI Application Note Version 1 4 4 Designing NFC Tag System Software 4 1 Software Required for NFC Tag Host Controller Software for the host Application software controller to control the for smartphone NFC tag To operate an NFC tag a software for the host
17. 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
18. 0 00 00 00 00 00 SF1 0x0000 00 01 02 03 04 05 06 07 08 09 Oa Ob Oc Od Oe Of 00 SW 90 00 SF2 00 Block 01 Data 0x0000 00 01 02 03 04 05 06 07 08 09 Oa Ob Oc Od Oe Of Panasonic 64 NFC Tag LSI Application Note Version 1 4 Write 1 Select mode RF TUNNEL Panasonic 2 Select Write start address When select RF mode 0x0000 0x01a0 When select TUNNEL mode 0x0000 OxOft AX Setup is possible to 192byte ADDRESS 0 000 Confirm input data size X Input data per byte by a hexadecimal number 0 f READ BLOCK CZ lbyte consists of 2 hexadecimal number X When response Type F write data need to be MALA ind Mandl fu consisted of block unit 16 byte It rectifies when insufficient E g input aa ff gt Write aa ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 X When select RF mode Write command exceeding the block address OxO laf ignores X When select TUNNEL mode Write command exceeding the block address Ox0ttt ignores 4 Execute Write vy CR 5 When succeeds in writing the pop up is displayed for about 2 seconds and the following information 1s displayed AX Type F response Connection Type F Connection Type B response data response data Len 0c SW 90 00 Code 09 Type B response PICC 02 fe 00 00 00 00 00 00 SF1 00 SF2 00 Panasonic 65 NFC Tag LSI Application Note Version 1 4 Appendix 2 Serial Communication Demonstrat
19. 0000000000 Fixed value given when starting communication PMM Response time descriptor OxFFFFOOOOOOFFFFFF Time until NFC tag returns a response CRC CRC calculated value OxEDCE CRC calculated value of information field Panasonic 54 NFC Tag LSI Application Note Version 1 4 5 5 2 2 Transmission Reception Data Details 2 3 WRITE Start Field Information Field i I PREAMBLE SYNC LE PICC CODE SVS SVS BIk Block List I dte ida NUM NUM 1 2 i 3999 o6 vo o9 vo ez 30 44 Eoo vo o os o9 o1 89 io s0 Eeo a DATA CONFIG i00 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 RORF ROSI SECURITY CONFIG RM 2 i FF FF 00 E0 00 54 00 00 00 00 00 00 00 00 00 00 00 00 47 F0 00 2E 77 94 CSS CCC COSE CO DATA 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 ORE CRC calculated value 0x7794 CRC calculated value of information field Panasonic 55 NFC Tag LSI Application Note Version 1 4 5 5 2 2 Transmission Reception Data Details 3 3 Response to WRITE Start Field Information Field End Field PREAMBLE SYNC PICC CODE STATUS sa KI CERESIO LI 3 69 EI EI 66 9 E I E 19 EC E EA EI E ware pescnpion Pete commer PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC Synchronous code 0xB24D Fixed value g
20. C 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 35 NFC Tag LSI Application Note Version 1 4 5 4 1 1 Operation Flow Details 1 4 SNo The detailed operation flow is shown in the figure below Flowchart NFC Tag Smartphone Outline Send REQ Ga OAALEBALEL ULOLLLZZQG Seek an NFC y tag 00 00 00 00 00 00 B2 4D 06 00 FF FF 00 00 09 2 Respond to REQ Da The NFC tag SRO RR E M returns a response ea a Vie edite Send Tunnel ee WRITE CINE CT ee EN Send Designate the 00 00 00 00 00 00 B2 4 8 02 FE 00 00 00 00 Tunnel NFC tag and 00 00 01 09 00 01 00 00 Ao A5 AS Ab A5 A5 Ao unne write data i5 A5 Ab Ab Ab Ab AD Ab Ab 46 68 WRITE Wait for processing o NFC tag to terminate Notify Monitor NIRQ aries Turn on VDDEX power supply for Power 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 bit Start communication Send a start bit 7 bit slave address of 0x54 and WR of 1 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 twic
21. Calculated value 2 Read System Area of the NFC tag E STEPI Select the READ tab and click READ button E STEP2 Since a TOUCH screen opens bring a smart phone close to TAG E STEP3 READ screen opens automatically and a result is displayed Read success pop up is displayed for about 2 seconds STEPI STEP2 STEP3 READ N mE Yvert 00 weri 00 ert oO PRODUCT MN63Y1208 PRODUCT MN63Y1208 PRODUCT MN63Y1208 Read System Area Information Bring smart phone close to TAG Read System Area Information READ Display read result READ 1 Select READ tab Result is displayed CONFIG A iBhytey ox CONFIG A bye Ox 0000000000000000 CONFIG B byte ox CONFIG B bte Oxt 01234567 CONFIG C byte Ox CONFIG C dive 0x BSabcdef one Dx 335 000000000000 e 29 Binte ox te 2 Click READ button TOUCH nd it byte C bye ox DO ite byte ox aU A CANCEL Gbyte ox 00 4byle Ox byte Oca QUO dba Ox ideas E n _ Atto o QUOUOUOY PT Y atte 0 Y iic Ox 00000000 1 byte Ox TNP PM byte Ox 47 ci Dai 0 Hv C byle Oxy f cis ERE CONFIG D t bytes act 00 C quae E n x CONFIG E dite ox ee If click CANCEL button Enable RF Type it returns to STEPI RF type is displayed ic ideas for life ideas for life Read success pop up is displayed for about 2 seconds Panasonic 63 NFC Tag LSI Application Note Version 1 4 How to Use the A l
22. M default value of NFC tag STATUS1 Status flag 1 00 Normal termination STATUS2 Status flag 2 00 Normal termination DATA Read data Read data n A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 CRC 0 CRC calculated value OxCA78 CRC calculated value of information field Panasonic 42 NFC Tag LSI Application Note Version 1 4 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 Return ATQB ATTRIB Command Response to the ATTRIB Command Tunnel WRITE Command SNo 6 IRQ Notification SNo 7 Apply a Power to VDDEX SNo 8 QUERY Command SNo 9 Semen SNo 10 pes SNo 11 ax TE SNo 15 pg ey SNo 16 tL necne SNo 17 p t Hu SNo 18 Response to the ANSWER Command Response to the Tunnel READ Command 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 Panasonic SNo 1 SNo 2 SNo 3 SNo 4 SNo 5 SNo 12 SNo 13 SNo 19 43 NFC Tag LSI Application Note Version 1 4 5 4 2 1 Operation Flow Details The operation flow is shown in the figure below Outline SNo Send REQB Seek an NFC tag Return ATQB The NFC tag returns a response Send ATTRIB Select the NFC tag Send ATTRIB The NFC tag is selected Send WRITE Designate the NFC tag and write d
23. Panasonic FI 7 Vavs k Application note MN63Y 1208 Package Code No QFN016 P 0304C Publication date October 2013 Ver 1 4 NFC Tag LSI Application Note Version 1 4 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 Android 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 Suica is a registered trademark of East Japan Railway Company Edy is a registered trademark of Rakuten Edy Inc eAll other trademarks are the property of their respective owners Panasonic NFC Tag LSI Application Note Version 1 4 Contents 1 2 Chapter 1 Introduction 1 1 Purpose assSxbrbeUaVE Gas eEEERE 1 2 Organization eeeeee Chapter 2 About NFC Tag LSI 2 1 Overview di 2 2 Key Applications eee 2 3 List of Specifications 22 2 4 Features ri 2 4 1 Three Communic
24. RC calculated value OxF9EO CRC calculated value Tunnel WRITE SOF EOF L02 00 pe 40 00 01 Ab AC 82 CONE CCI CC PWRTE poe Instruction byte WRITE 0xD6 Instruction byte WRITE 0xD6 WRITE 0xD6 Address Start address 0x4000 Address at which to start writes changed in tunnel mode CRC calculated value 0xAC82 CRC calculated value Response to Tunnel WRITE Same Format as for Response to Normal WRITE z SOF EOF Lo2 o0 00 29 6A Deme seme mmm preme Panasonic NFC Tag LSI Application Note Version 1 4 5 4 2 2 Transmission Reception Data Details 3 3 Tunnel READ PCB CLA INS Address LEN mim EM ore lor L03 00 Bo 40 OO 01 91 8D me eee qs preme 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 SoF EOF LOS as oo o0 24 Fe Deme reso mmm emm Panasonic 47 NFC Tag LSI Application Note Version 1 4 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
25. SI and See the Appendix 6 ANT4030 02 0505 BO L components for interface are implemented ANT4030 02 0505 BO With on board MN63Y 1208 LSpecification Reader VVriter AndroidOS smartphone A device to access a tag in RF communication supporting NFC Connection Example Smartphone Reader Writer RF ON ss K Reverse the ANT4030 02 0505 BO L and connect it to the CN2 white connector of the BTPB 101B Power is supplied to the BIPB 101B through CN1 In this demonstration environment the PC controls the BTPB 101B to simplify the access to the NFC tag Panasonic 18 NFC Tag LSI Application Note Version 1 4 5 3 Access to the User Area This section uses a simple example to describe how to access an NFC tag oince 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 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 19 NFC Tag LSI Application Note Version 1 4 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 fol
26. al Device Game NFG Tag LSI Office Equipment Appliances 2 2 Key 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 e When the application is in error state the error is reported using the data stored in the built in non volatile memory This LSl s built in non volatile memory allows data to be read written from to a smartphone while the application s battery is off e 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 4 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 SEPP Ones COMMER ISO IEC14443 TYPE B JIS X 6319 4 FeliCa specification RF communicat NFC Forum tag Type4 Types Type3 lon Batteryless communication Yes CLK Synchronous Serial Wired Interface specification I2C 20kHz to 100 kHz Up to 1MHz communicat UART Up to 38 4kbps ion Interrupt RF and wired
27. alue given when starting communication STATUS2 Status flag 2 00 Normal termination CRC calculated value 0xD52F CRC calculated value of information field Panasonic 41 NFC Tag LSI Application Note Version 1 4 5 4 1 2 Transmission Reception Data Details 3 3 Tunnel READ Start Field Information Field E E PREAMBLE SYNC PICC CODE Block List CODE 56 96 99 9 6 o 52 46 7 oe oz FE v9 vo vo vo vo vo v evo o vo vo os z o7 Dwme Bee uem om PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC CODE Synchronous code 0xB24D Fixed value given when starting communication Information field length Byte length of information field changed in tunnel mode BLK List Block list 0x000004 Specifies read block Changed in tunnel mode 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 da DATA CODEINID NUM 90 00 00 00 00 00 B2 4D 1D 07 02 FE 00 00 00 00 00 00 00 00 01 A5 A5 A5 AST AS AS A5 A5 A5 A5 A5 A5 AS A5 A5 AS CA 78 Dune Bescon um emm PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC Synchronous code 0xB24D Fixed value given when starting communication CODE Information field length Byte length of information field PICC CODE PICC identifier 0x02FE000000000000 ID
28. ata Respond to WRITE Return a message stating that the NFC tag completed writing normally Send Tunnel READ Designate the NFC tag and read data Respond to Tunnel READ Send a read data from the NFC tag Panasonic Flowchart pi pi NFCTag NFCTag Send REQB ree rn ree Send ATTRIB Smartphone gt to gt Send Tunnel WRITE ie to Tunnel WRITE Send Tunnel READ Respond to Tunnel READ 44 NFC Tag LSI Application Note Version 1 4 5 4 2 2 Transmission Reception Data Details 1 3 REQB SOF AM EOF 05 00 o0 71 FF LN CREE CNN NN 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 00 00 00 00 00 00 00 00 91 81 Fo Do 83 Cime Tee re e NN Protocol Info Protocol Info 0x9181E0 Parameter See the User s Manual CRC calculated value OxD983 CRC calculated value ATTRIB GMD Identifier GRC sor EOF 1D 00 00 00 00 oo OO 01 OO 79 5A im semis rese Teen Identifier PICC identifier 0x00000000 Specifies the PUPI of ATQB Panasonic 45 NFC Tag LSI Application Note Version 1 4 5 4 2 2 Transmission Reception Data Details 2 3 Response to ATTRIB SOF CODE EOF e po e Ten C
29. ation Modes 2 4 1 1 RF Communication Mode 2 4 1 2 Serial Communication Mode 2 4 1 3 Tunnel Communication Mode 2 4 2 Functionality to Reduce Power and Utilize Interfaces Flexibly 2 4 2 1 Batteryless Communication 2 4 2 2 Built in Non volatile Memory 2 4 2 3 Interrupt from RF Signal 2 4 3 High Functionality 2 4 3 1 Encryption 2 2 4 3 2 NDEF FORMAE Almese 2 5 Hardware Configuration 2 5 1 Internal Configuration of the LSI 2 5 2 Pin Configuration Chapter 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 Chapter 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
30. 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 setting 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 ER dd CONFIG name i A m o Emo pe oi name E rb EETEISTEIED a Be m FX Parameter ROSI SECURITY CONFIG2 name NL EM I n ain nd od Outline of Parameters Setting value CONFIG 16 bytes For more information see the User s Manual FeliCa 2 bytes System code of JISX6319 4 communication 8 bytes PICC identifier of JISX6319 4 parameter 2 bytes Response time of JISX6319 4 TYPE B 1byte Based on the AFI setting of ISO IEC14443TYPE B communication FWI 1 byte Based on the AFI setting of ISO IEC14443TYPE B parameter Access RORF 4 bytes Restricts writes in RF communication restriction ROSI 4 bytes Restricts writes in serial communication SECURITY 4 bytes Specifies the plaintext access in RF communication Response TNPRM 1 byte Specifies the tunnel mode wait time setting HW 2 bytes Selects the RF communication specification for response qe IDM setting I2C slave address settin
31. d TYPE B uses 1 byte for each access the following 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 34 NFC Tag LSI Application Note Version 1 4 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 3 SNo 4 IRQ Notification SNo 5 Apply a power to VDDEX F SNo 6 QUERY Command SNo 7 Mn SNo 8 sos i 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 The NFC tag receives the ANSWER command and then sends a response to the command to the host controller SNo 10 The NF
32. d ez Ba LNNNLT CNN CNN CNN PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC CODE Synchronous code 0xB24D Fixed value given when starting communication STATUS2 Status flag 2 00 Normal termination CRC calculated value 0xD52F CRC calculated value of information field Panasonic P NFC Tag LSI Application Note Version 1 4 5 3 2 2 Transmission Reception Data Details 3 3 READ Start Field Information Field E E PREAMBLE SYNC ILE Nc PICC CODE x SVS BIk Block CRC CODE UM List 56 96 96 oo oo o9 82 45 59 o 92 FE 99 69 o6 o6 oo o o os o o 8 oo sz Dime Tesio re Teme RN 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 ds sala CODE N D NUM 90 00 00 00 00 00 B2 4D 1b 07 02 FE 00 00 00 00 00 00 00 00 01 AS A5 A5 AS AS AS AS A5 A5 AS A5 A5 AS A5 A5 AS CA 78 COSE ECCO COSE CO PICC CODE PICC identifier 0x02FE000000000000 IDM default value of NFC tag STATUS1 Status flag 1 00 Normal termination STATUS2 Status flag 2 00 Normal termination DATA Read data Ox Read data A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 CRC calculated value OxCAT78 CRC calculated value of information field Panasonic 26 NFC Tag LSI Application Note Version 1 4 5 3 3 Access from Smartphone
33. 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 Host controller pascere Relationship between Three Communication Modes Tunnel Mode Communication Host Controller NFC Tag LSI Panasonic 6 NFC Tag LSI Application Note Version 1 4 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 NFC IP2 International standard I I I I I I I I ommunication i I I I I I I I NFC operation mode Upper middleware for encryption etc Application 2 4 1 2 Serial Communication Mode The NFC Tag LSI is compatible with I2C that is typical as a serial communication
34. e To beYcontinued to the next page pom Panasonic 36 NFC Tag LSI Application Note Version 1 4 5 4 1 1 Operation Flow Details 2 4 The detailed operation flow is shown in the figure below Flowchart Host Controller NFC Tag Smartphone Send address Continued from the previous Eas gt receive 0x0000 in ns 0x00 H anor Receive LEN Transmit ACK and receive a data length of 0x01 O m z Outline n SNo 7 Receive a data m i ON Send ACK and l receive a data of Re peat 16 0xA5 times Repeat 16 times 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 reception OxA9 Oo 0x54 and WR of 1 O ANSWER as Z i and Data of 0x33 0x23 or Va response 0 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 T yt ru ddl WRITE 00 00 00 00 00 D5 2F Z stating that the NFC f 129 completed writing To be continued to the next page gt normally Panasonic 37 NFC Tag LSI Application Note Version 1 4 5 4 1 1 Operation Flow Details 3 4 The detailed operation flow is shown in the
35. er PICC identifier 0x00000000 Specifies the PUPI of ATQB Panasonic 59 NFC Tag LSI Application Note Version 1 4 5 5 3 2 Transmission Reception Data Details 2 2 Response to ATTRIB SOF CODE EOF me e e Te NN CRC calculated value OxF9EO CRC calculated value WRITE SOF PS 02 00 D6 101 DO 30 DATA CONFIG RM i FF FF 00 EO 00 54 00 00 00 00 00 00 00 00 00 00 OO 00 47 FO 00 2E ce op Dum presento mm em Dus meme om ir Data 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 2bE ORG CRC calculated value OxCE OD CRC calculated value Response to WRITE Pos SOF EOF Lo2 9o o0 29 6A LNEMILT CNN CNN NN CRC calculated value 0x296A CRC calculated value Panasonic 60 NFC Tag LSI Application Note Version 1 4 Panasonic 61 NFC Tag LSI Application Note Version 1 4 Appendix 1 RF Communication Demonstration NFC Tag Board Communication Smartphone This demo shows an RF communication between NFC tag and smartphone Below is an outline of the demo with 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_v100 apk 1 Set the NFC tag to a desired communication for
36. etailed 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 0 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 REQB SNo Send REQB Seek an NFC tag Return ATQB Return The NFC tag ATQB returns a response Send ATTRIB Select the NFC tag Send ATTRIB Respond to ATTRIB The NFC tag Respond to has been ATTRIB selected Send WRITE Designate the NFC tag and write data Respond to E message Respond stating that the NFC to WRITE tag completed writing normally Send READ Designate the NFC tag and read data Send READ Respond to Respond co READ O Return a message stating that the T NFC tag completed reading normally Panasonic NFC Tag LSI Application Note Version 1 4 5 3 3 2 Transmission Reception Data Details 1 3 REQB SOF AM EOF os o0 o0 71 FF Dum eem rmm eR AFI Application Family Identifier 0x00 Overall response See the ISO IEC14443 standard CRC calculated value Ox71FF CRC calculated value ATQB Response to REQB PUPI Application Data Protocol Info SOF CODE EOF 50 00 00 00 00 00 00 00 00 91 81 Fo D9 83 us mem rete e Protocol Info P
37. g Panasonic 48 NFC Tag LSI Application Note Version 1 4 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 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 Panasonic 49 NFC Tag LSI Application Note Version 1 4 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 0x01D0 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 NFC Tag LSI Application Note Version 1 4 5 5 1 1 Operation Flow Details 2 2
38. he 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 Especially 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
39. ication Software for Tag Communication User Area Read Write Software name for Smartphone Tag ReaderWriter apk Panasonic TagReaderWriterFBRT v102 apk 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 SIEPI Start an application by one of the following methods Select application and start P Bring Smart Phone close to NFC TAG and start E SIEP2 Execute Read Write in the following procedures Read 1 Select mode KF TUNNEL 2 Select Read start adderss X When select RF mode 0x0000 0x01a0 X When select TUNNEL mode 0x0000 OxOft 3 Select Read block number X Iblock 16byte Panasonic DEE DESUS 0000 When select RF mode maximum 13 blocks The number of blocks exceeding the block address 0x01a0 cannot be selected When select TUNNNEL mode maximum 15 block GoEZUE Nee ua WRITE DATA Size 16 byte 000102030405060 08090a0b0c0d0e0f The number ot blocks exceeding the block address 4 OxOff cannot be selected 4 Excecute Read i 5 wy Read success S When succeeds in reading the pop up is displayed for about 2 seconds and the following information is displayed ee RR RR RR Type F response o Type B response Connection Type F Connection Type B response data response data Len id Code 07 Data PICC 02 fe 0
40. ion Personal Computer Je O 3uO9 Control Board NFC Tag Board Serial Communication Demonstration Scenario Environment An outline of the serial communication demonstration environment is shown in the figure above This demo shows the following the GUI provided on the PC communicates with the host controller on the control board via USB 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 ooftware name for PC Panasonic NFC TAG Dump Tool exe NFCTAG DumpTool v200 exe Select 1 VDD2 TAG Power supply mode 2 Log mode X if log is disabled Tunnel The file Transfer mode is disabled Mconnect to target board NFC Tag ll Read Write memory STEPI e File t STEPS Select virtual COM port Se Input memory Address connect to the board EN Panasonic IFG TAG Dump Tesi M duee e9 y O 16 byte alignment hexadecimal number Panasonic TAG Memory Tunnel Memory File Transter Stine Md Ew NPC TAG Domp Tont Yer200 ee l w __ feed ly eene on ar XA click of a cell will input an address automatically A 7 8830 Ar a Me LensthHed Fo SE STEP2 al La La Reed All Glar i g y push Connect button fi En le NUR cane GIL Bis ae ac EES Sd do ee i m eea STEP6 gy o Input Length hexadecimal n
41. iven when starting communication PMM Response time descriptor OxFFFFO000000FFFFFF Time until NFC tag returns a response CRC CRC calculated value OxEDCE CRC calculated value of information field Panasonic 40 NFC Tag LSI Application Note Version 1 4 5 4 1 2 Transmission Reception Data Details 2 3 Tunnel WRITE Start Field i a Pee 00 CODE pock Est i CODE TAAA eov o0 oo os o ooo o oo oo x Information Field A5 A5 JA5 A5 A5 A5 A5 AS A5 A5 A AS A5 A5 AS A5 46 68 ware seem rmm emm PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC CODE CODE Synchronous code Synchronous code oBuD Fixed value given when starting communication value given when Fixed value given when starting communication communication LE Information field length a Byte length of information field changed in tunnel mode Command 008 Code of WRITE command of WRITE command DATA Write data Write data i A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 crc 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 Field PREAMBLE SYNC LENCMD PICC CODE STATU CRC ue 13 59 2 E 59 19 ER E 23 a E EO EE EE Ga wane Beo Fate emm PREAMBLE 0x000000000000 Fixed value given when starting communication SYNC CODE Synchronous code 0xB24D Fixed v
42. iven when starting communication CODE STATUS2 Status flag 2 00 Normal termination CRC calculated value 0xD52F CRC calculated value of information field Panasonic 56 NFC Tag LSI Application Note Version 1 4 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 operation flow is shown in the figure below Host Controller NFC Tag Smartphone REQBANUPB Command SNo 2 Return ATQB ATTRIB Command SNo 4 Response to the ATTRIB Command SNo 5 WRITE Command SNo 6 Response to the WRITE Command SNo 1 SNo 3 SNo 1 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 SNo 2 The NFC tag returns an ATQB as a response to the REQB command sent in SNo 1 The smartphone recognizes the NFC tag SNo 3 The smartphone sends an ATTRIB command SNo 4 The NFC tag returns a response to the ATTRIB command sent in SNo 3 The NFC tag is activated SNo 5 The smartphone sends a WRITE command The NFC tag receives the WRITE command and processes it SNo 6 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 57 NFC Tag LSI Application Note Version 1 4 5 5 3 3 Operation Flow Details The detailed operation flow is sho
43. lication 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 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 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 4 2 5 Hardware Configuration 2 5 1 Internal Configuration of the LSI The hardware of MN63Y1208 includes the following functional blocks Analog block RF interface circuit power circuit clock generation circuit Logic block Control circuit encryption circuit I2C interface circuit FeRAM block 4 kbit FeRAM Ferroelectric memory SRAM block 2 kbit SRAM MN63Y1210 does not have encryption circuit and I2C interface circuit but instead contains UART and CLK synchronous
44. lick Next 6 Follow the Install window instructions Panasonic NFC Tag LSI Application Note Version 1 4 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 BTPB 101B Parts Lavout of BTPB 101B Side A F Side A F T H terreur ALL e 2m DO Ur Li iter E LI EID Sn ur ks s CREE ER 4 Oe Tae od A PD 00000 kh n ta o so 5 n 9 o a BOLLE Din E z x t un T Uit p 33 t H ia dia iT nn PTT LLL TRALEE alo rive al Ro da i g atiii y dic M vant gt wis altra E N NNI y NS y Ne NEN MN DAS lt ANSY Panasonic 70 NFC Tag LSI Application Note Version 1 4 BTPB 101B Parts List Panasonic 3K256 1 ST 7503 1020 CSA02 41SGWA F01 P1115AY18G 13 2B XH A LM21PG331SN1 RPY1201W 3216X5R1E476M NZ1E4KTTD X3225GB10000DOHEQZ1 F11CZ 8DP 2V 27 VQPUJO2K XB 24VR000X XB 2HV102JV FC 10BMEP1B FC 16BMEP1B T232RQ REEL RM1555C1H100JZ01D RM1555C1H200JZ01D RM1555C1H470JZ01D RM1555C1H9RODAO1D RM188B31E105KA75DD RM21BF51E475ZA01L_ 2125 25V RM21BR61E106KA73L_2125 25V 10 HS22 PI SRAM SB connector segment LED 8 V LDO ower supply connector errite SEG 1 SEG 2 co Air mju i ci o
45. lows 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 SN0 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 command 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 20 NFC Tag LSI Application Note Version 1 4 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 Start communication
46. martphone DumpTool Computer NFC enabled Terminal 4096 byte 912 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 Tunnel memory Memory inside the Host Controller Panasonic 67 NFC Tag LSI Application Note Version 1 4 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 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 i Developers Design Develop Distribute Training API Guides Reference Tools Developer Tools rr M M Get the Android SDK Download The Android SDK provides you the API libraries and developer tools nece
47. mat STEPI Select Type Setting tab and click the button of the contents to carry out STEP Since a TOUCH screen opens bring a smart phone close to TAG STEP3 Type Setting screen opens automatically Write success pop up is displayed for about 2 seconds STEPI SIEP2 STEP3 Lane Setting er1 00 PRODUCT MN63Y1208 OVERWRITE System Area Initialize System Area NDEF Setting NDEF Type Setting Type Setting Ver1 00 PRODUCT MN63Y1208 RWRITE System Area hnitialize System Area Initialize 1 Select Type Setting tab ing NDEF CLEAR NDEF RF Type Setting I I I I FeliCa I LI er1 Df PRODUCT MN63Y1208 OVERWRITE System Area Bring smart phone close to TAG am Are ualize e Confirm the contents CLEAR NDEF RF Type Setting FeliCa Type B FeliCa Type B Panasonic 2 Click the button of the contents to carry out If click CANCEL button it returns to STEP1 Write success pop up is displayed Initialize Initialize the system area for about 2 seconds NDEF Enable NDEF CLEAR NDEF Disable NDEF Enable FeliCa Type B FeliCa Enable FeliCa Disable Type B Type B Enable Type B Disable FeliCa FeliCa Type B Enable FeliCa Type B Panasonic 62 NFC Tag LSI Application Note Version 1 4 The data which written by each button click of Type Setting E CLEAR NDEF Address
48. 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 Panasonic 11 NFC Tag LSI Application Note Version 1 4 3 4 Designing the NFC Tag Block Circuit A circuit diagram example using MN63Y1208 is shown below For information about antenna block see the separate Antenna Design Guide For information about connections see the figure below For information about the tag LSl s peripheral components see the table below Circuit Diagram Example of LSI Block of NFC Tag Block Host Control Block l 3 3 V Host Controller NFC Tag LSI s Peripheral Components External Recommended Description Components Value R1 R2 3 3 kO 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 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
49. ng 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 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 4 Designing the NFC Tag Block Circuit 3 3 Determining the Block Configuration 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 4 NFC Tag LSI Application Note Version 1 4 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 Taa Implementation Examples Network Audio Visu
50. on summarizes the design data for the antenna board that is used for NFC tag in this document The board is also used for a demonstration board provided by us Photograph Pattern Diagram AJ IE DH mud nu n i gt k PIN i N TA i mds EA al a fon ia A ar co S I T Circuit Diagram DF11CZ 8DS 2w 27 VDDEX 8 7 NC NIRO 6 5 NC 38CL MN63Y1208 IC Parts List Fan qs Te ve 1 meris wcwus i ee msoreczanea comer T_T el GRM188R71E104KA01D Power supply stabilization capacitor 0 1 WF GRM188R71H331KA01D Resonance adjustment Capacitor 330 pF e RK73B1JTTP104J SCL pullup resistor 100k2 R Panasonic 22 NFC Tag LSI Application Note Version 1 4 Appendix 7 List of related documents and hardware The following documents and hardware are provided to help you to evaluate the NFC tag LSI and implement it into your system Overview and LSI standards a Correspond This document Iioduction guide for the NEC ag LSI UN63Y1208 AntennaDesignGuide NFCTAG_V pdf Guideline for antenna design with the NFC tag LSI MN63Y1210 MN63Y1208 E1 USER MANUAL V pdf Product specifications and functional description manual for LSI MN63Y1208 E1 ADMIN MANUAL NDA V pdf possem For nonNDA Manual for setting the system area for LSI MN63Y1208 MN63Y1208 E1 ADMIN MANUAL nonNDA V pdf For NDA Furthermore the explanation of the cipher function for LSI Electrical characteristics for
51. 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 15 NFC Tag LSI Application Note Version 1 4 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 LSPs built in FeRAM The figure below illustrates the operation flow of the host controller and the NFC tag 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 communication 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 16 NFC Tag LSI Application No
52. ote Version 1 4 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 I2C 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 separate Antenna Design Guide Reader Writer Reader Writer for NFC communication For Reference We provide a demonstration environment in which block configuration is as follows Host control block Host board with our on board
53. put No Open Drain interuptrequestoutputfor3V_________ Internal analog power supply Connect a capacitor ower as between this pn and VSS 16 JSEL input No Serial interface selection 1 2 3 4 5 6 T 8 SSOP16 Panasonic 9 NFC Tag LSI Application Note Version 1 4 3 Designing NFC Tag System Hardware This chapter describes the design of an NFC tag system hardware with MN63Y 1208 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 ni 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 Host Controller LSI Antenna Block Block Y RF i Antenna K 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 10 NFC Tag LSI Application N
54. ress of 0x54 and WR of 0 Receive ACK Send a READ command of 0x08 Receive ACK To be continued to the next page Panasonic 22 NFC Tag LSI Application Note Version 1 4 5 3 1 1 Operation Flow Details 3 3 Flowchart O z Outline o Host Controller Continued from the previous page 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 Panasonic Send ADDR H Internal processing Notify processing is terminated Start transmission ACKasa Data of 0x35 0x25 or 0x15 may be produced depending on the RF signal state 23 NFC Tag LSI Application Note Version 1 4 5 3 2 Access from Smartphone FeliCa RF communication between smartphone FeliCa 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 REQ Command SNo 1 Response to the REQ SNo 2 SNo 3 SNo 4 Nos SNo 6 SNo
55. rotocol Info 0x9181E0 Parameter See the User s Manual CRC calculated value 0xD983 CRC calculated value ATTRIB GMD Identifier GRC sor EOF 1D 00 00 00 00 oo OO 01 OO 79 5A LNNNL CNN CNN NNNM Identifier PICC identifier 0x00000000 Specifies the PUPI of ATQB Panasonic 31 NFC Tag LSI Application Note Version 1 4 5 3 3 2 Transmission Reception Data Details 2 3 Response to ATTRIB SOF CODE EOF ee presso Tren o CRC calculated value OxF9EO CRC calculated value WRITE SOF EOF L02 00 pe 00 OO 01 Ab B 94 Dum meme rmm em Response to WRITE Lo2 90 00 29 6A Due emm rmm em CRC calculated value 0x296A CRC calculated value Panasonic 32 NFC Tag LSI Application Note Version 1 4 5 3 3 2 Transmission Reception Data Details 3 3 READ PCB CLA INS Address LEN mim REN L03 00 BO 00 OO 01 E7 88 Deme seme mmm rmm Start address 0x0000 Address at which to start reads CRC calculated value OxE78B CRC calculated value Response to READ er TIT jer Los as 90 oo 24 Fe me seme mmm rmm Panasonic NFC Tag LSI Application Note Version 1 4 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 an
56. sends the content of the ANSWER command to smartphone as a response to the tunnel communication mode command 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 17 NFC Tag LSI Application Note Version 1 4 5 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 smartphone 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 NFC tag Tag antenna board A board on which the NFC tag L
57. serial interface circuit Picture of MN63Y1208 Chip Em ma E NFC Tag Block EM O ial 2 5 2 Pin Configuration The pin information on MN63Y 1208 and MN63Y 1210 are as follows Pin configuration and package of MN63Y 1208 Pin configuration and package of MN63Y 1210 PiNo Name VO Oupitpe Descipioo PinNo Name O 5Vtolerant Output type Descrpion N l lisi 1 e f Notconnected 2 VDDEX Power Contactpowersupply Appy17Vthrough36V 2 MB wo JComededtocol 5 3 Mss GND jGond _3 MDD2 Jhntemalanalog power supply 4 VA vo Comectedtocol 4 MD intemaldigitalpowersuppy L8 Ma le O 1L 1 LL L 9 Mew e e s eee ll I digital Co i Test control Normally connectedto VSS 7 M Ww Connectedtocol Netcomeded Cid 8 NC jNtconeced Cid 9 fest input No Jescmo fest contol Nomelt comete 10 NGP_ No dampni fiostinterace 20 100 i UNE i a Ae _ de TURPIECTE Cock ace RI jJNtcomeded 2a Data rcp RUNI ae TTest conta Nomaly comes S PSV MO Yes Open Drain DatareceptonforS V UART TX Clock syne HO Test control Normally connected to VSS _____ 14 IRO3v Out
58. ssary 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 Samples Creative Commons Attribution 2 5 About Android Legal Support ADK Getting the JDK Download the JDK from the site of http www oracle com technetwork java javase downloads index html Java SE Downloads Click the DOWNLOAD button of JDK ORACLE aas Overview Downloads Documentation Community Technologies Training Java SDKs and Too aa E i 22 mak Java SE Downloads Java EE and Glassfish Jaa SE Sup Java ME Ja SE ADI atest Release Next Release Early Access Embedded Use Previous Releases JavaFX Java Card c letBea Jar Java Nen Jaa Licenses ystem Syste Configurations Configurations Panasonic 68 NFC Tag LSI Application Note Version 1 4 Getting the Eclipse Download the Eclipse from the site of http www eclipse org downloads Eclipse Downloads Tos Starts tomorrow A oe Ese Stes ecLiPse CON INNEREN gt gt EUROS pem t 80 e9e2 Home Downloads Users Members Committers Resources Projects AboutUs Search Eclipse Downloads Packages Developer Builds Projects W Follow EclipseFdin Rin 32 Eclipse Juno 4 2 SR1 Packages fd Windows Y Ri Eclipse IDE for Java EE Developers zz ve REM Downloaded 661 693 Times De
59. talls a 3 Eclipse Classic 4 2 1 183 Me Windows 32 Bit Downloaded 531 050 Times Details Other Downloads Windows 64 Bit Eclipse IDE for Java Developers 150 ma Windows 32 Bit Downloaded 313 646 Times Details Windows 64 Bit Rebel JRebel for Eclipse Promoted Download Download View Java Code Changes instanti Free JRebel Trial_ Terminate Redeploysl G Eclipse IDE for C C Developers 123 Me Windows 32 Bit Downloaded 156 789 Times Details Windows 64 Bit Eclipse for Mobile Developers 144 MB Windows 32 Bit Downloaded 93 867 Times Details Windows 64 Bit A Eclipse IDE for Java and DSL Developers 260 ma Windows 32 Bit Downloaded 39 091 Times Details Windows 64 Bit JE Eclipse IDE for Java and Report Developers 250 ME Windows 32 Bit BIRT Downloaded 61 822 Times Detalls Windows 64 Bit Installing the Eclipse Install the Android Development Tools ADT plugin to develope Android using Eclipse 1 Launch the Eclipse and click Help gt Install New Software 2 In the Install window in the Work with field enter the following URL and click Add http dl ssl google com android eclipse 3 In the Add Repository window name the repository such as Android Plugin and input the repository URL http dl ssl google com android eclipse 4 Return to the Install window and click the link Available Software Site select Android Plugin and click Reload button 5 In the Install window select all development tools to install and c
60. te Version 1 4 4 4 Tunnel Communication Mode Operation Host Controller 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 RHC figure below illustrates the operation flow in tunnel communication mode Interrupt Request IRQ Apply a Power to VDDEX QUERY Command Response to the QUERY Command 4 No 5 6 7 ANSWER Command No Response to Response to the ANSWER Command Tunnel Communication Mode Command No 8 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 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
61. transmission 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 Panasonic Comment for I2C communication In I2C bus communication normally SDA is changed when SCL low Start bit and stop bit produce special patterns as shown below Normal data transmission I Data Data valid i change period period 4 i l Start bit and stop bit change SDA when SLC high Start bit ACK Same as data of 0 NACK Same as data of 1 21 NFC Tag LSI Application Note Version 1 4 5 3 1 1 Operation Flow Details 2 3 Flowchart Outline Host Controller ontinued from the previous page Send a WRITE data of 0xA5 Receive ACK Send a stop bit Wait for NFC tag to be processed v 7 Notify Monitor NIRQ processing omplete Start communication Send a start bit 7 bit slave address of 0x54 and WR of 1 O Vo D i O um Interrupt 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 Start l Send a start bit 7 transmission bit slave add
62. umber NFC Tag Memory STEP3 push the reset switch of the board y STEP4 5 A starting log is displayed Ei Read 0x01 0x200 1 512 byte Write 0x01 OxFB 17251 byte Tunnel Memory Read 0x01 0x1000 1 4096 byte Write Ox01 OxFF 1 255 byte 9 STEP push Read or Write button before you write please set value to cell USER AREA CONFIG AREA SYSTEM AREA Panasonic 66 NFC Tag LSI Application Note Version 1 4 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 USB the host controller communicates with the NFC tag board through 12C 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 ooftware name for Smartphone Tag ReaderWriter apk Panasonic TagReaderWriterFBRT v102 apk SERB RRP BRR RRR RR RR RR RR RR RR RRR eee ee eee Host Controller NFC tag Board ESS Sree sere cree EM E t JoJ49AuO9 asnr eues NFC Tag Personal Android Sample Application Software S
63. wn 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 0 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 Smartphone Send REQB Seek an NFC tag SNo 1 Return ATQB The NFC tag returns a response Send ATTRIB Send Select the NFC tag N 90 00 00 00 00 01 00 79 BA ATTRIB Respond to ATTRIB The NFC tag Respond is selected to ATTRIB SNo 3 SNo2 SNo 4 Send WRITE Designate the NFC tag and write data SNo 5 Respond to WRITE Return a message R espond that the NFC tag IC WRITE completed writing i normally SNo 6 Panasonic NFC Tag LSI Application Note Version 1 4 5 5 3 2 Transmission Reception Data Details 1 2 REQB SOF AM EOF os o0 o0 71 FF Dem seme rmm eR 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 00 00 00 00 00 00 00 00 91 81 Fo D9 83 us E N I N NE Protocol Info Protocol Info 0x9181E0 Parameter See the User s Manual CRC calculated value OxD983 CRC calculated value ATTRIB Identifier SOF MEE ice eee me queste rm Tree Identifi
Download Pdf Manuals
Related Search
Related Contents
Clarity Controls Agilent 1100 Clarity Controls Agilent 1100 Relais diff.rentielle de barre B90 株式会社カンゼンより、e-books 配信権利を獲得 取扱説明書 - アイメックス Copyright © All rights reserved.
Failed to retrieve file