NFC Forum Type 2 Tag Platform Operations with the TRF7970A

Slides:



Advertisements
Similar presentations
System Integration and Performance
Advertisements

INPUT-OUTPUT ORGANIZATION
DMA Controller (8237 Programming Examples)
Erick Macias & Josh Wyatt 02/19/2013
Data Dependencies Describes the normal situation that the data that instructions use depend upon the data created by other instructions, or data is stored.
PROTOCOL VERIFICATION & PROTOCOL VALIDATION. Protocol Verification Communication Protocols should be checked for correctness, robustness and performance,
EE 4272Spring, 2003 Chapter 7 Data Link Control Objectives: Effective & reliable data communication between two directly connected transmitting-receiving.
Module R2 CS450. Next Week R1 is due next Friday ▫Bring manuals in a binder - make sure to have a cover page with group number, module, and date. You.
Programmable Keyboard/ Display Interface: 8279
9/20/6Lecture 3 - Instruction Set - Al1 Exception Handling (2)
Java Card Technology Ch07: Applet Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Computer Science & Engineering.
Protocol Configuration in Horner OCS
William Stallings Data and Computer Communications 7th Edition
1 Fall 2005 Hardware Addressing and Frame Identification Qutaibah Malluhi CSE Department Qatar University.
Firmware implementation of Integer Array Sorter Characterization presentation Dec, 2010 Elad Barzilay Uri Natanzon Supervisor: Moshe Porian.
PicoPass 32K(S) Card Operations with the TRF79xxA Texas Instruments S2 MCU NFC/RFID Apps/Systems Team Training Module #6 09/14/2014.
1 The 9-Pin Connector Pin abbreviations (numbers in parentheses are the 25D pin numbers): 1. CD (8) 2. RD (Rx) (3) 3. TD (Tx) (2) 4. DTR (20) 5. SG (Ground)
E*Tag ® RFID System e*Tag ® Host Preview. What is e*Tag ® Host? A graphic user interface designed to demonstrate the commands and responses available.
Example Data Link Protocols Quick review Reference Models? Layers? Flow Control? Bit stuffing? Connection Oriented? Synchronous transmission?
Examining the Code [Reading assignment: Chapter 6, pp ]
Timers and Interrupts Shivendu Bhushan Sonu Agarwal.
DM0 Timing on the TRF79x0A + MSP430
INPUT-OUTPUT ORGANIZATION
The University of New Hampshire InterOperability Laboratory Serial ATA (SATA) Protocol Chapter 10 – Transport Layer.
Embedded Systems 7763B Mt Druitt College of TAFE
CSC 311 IEEE STANDARD ETHERNET Common Bus topology Uses CSMA/CD Named after “ether”, the imaginary substance many once believed occupied all of space.
MOV,MOVM,COP,FLL,BSL,BSR, FRD,TOD
SDR Test bench Architecture WINLAB – Rutgers University Date : October Authors : Prasanthi Maddala,
NetSim ZigBee Simulation Code Walkthrough in 10 steps
Data Link Control Protocols Dr. Muazzam A. Khan. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow.
Specview 32 Release 2.5 Enhancements
Chapter 4. INTERNAL REPRESENTATION OF FILES
HDMI High-Definition Multimedia Interface Mythri P K September 2010.
8279 KEYBOARD AND DISPLAY INTERFACING
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
Notes on using TMS3705A1DRG4 for TI Low Frequency Read Only & Read\Write Transponders MCU-RF Applications\Systems Team 09\23\2010 Josh Wyatt.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
GPRS functionality overview in Horner OCS. GPRS functionality – Peer to Peer communication over GPRS – CSCAPE connectivity over GPRS – Data exchange using.
8279 KEYBOARD AND DISPLAY INTERFACING
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
NFC Forum Type 2 Tag Platform Operations with the TRF7970A TI NFC/RFID Applications Team.
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
7. IRQ and PIC ENGI 3655 Lab Sessions. Richard Khoury2 Textbook Readings  Interrupts ◦ Section
NFC Devices WG Infineon Technologies Change Request to Type 2 Tag Operation Specification 1.1 Remove inconsistency of memory size indication.
Sequencers SQO,SQC,SQL.
©Contrinex JDC PPT_HF_RWMTAGCommands HF RWM and TAG Commands J.-D. Chatelain HF RWM Commands HF TAG Commands.
COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section M Topics: 1.Flow Control and ARQ Protocols.
TRF79xx/MSP430/Stellaris Mifare Direct Mode 0 Training Texas Instruments NFC/RFID Apps Team 12/2011 (updated 12/2012) (added slides 13, 21-24)
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
11/18/2003 Smart Card Authentication Mechanism Tim W. Baldridge, CISSP Marshall Space Flight Center Office of the Chief Information Officer.
WINLAB Open Cognitive Radio Platform Architecture v1.0 WINLAB – Rutgers University Date : July 27th 2009 Authors : Prasanthi Maddala,
Review ATA - IDE Project name : ATA – IDE Training Engineer : Minh Nguyen.
COMPARISON I CODE SLI versus I CODE1. 2 Semiconductors Content  Overview, Block Diagram and System Configuration  Memory Organisation (Write Access.
PicoPass 32K(S) Card Operations with the TRF79xxA Texas Instruments S2 MCU NFC/RFID Apps/Systems Team Training Module #6 09/14/2014.
Introduction to Networks v6.0
Pass Through with NTAG I²C
Serial mode of data transfer
Instructor Materials Chapter 5: Ethernet
OpenStorage API part II
NFC Forum Type 2 Tag Platform Operations with the TRF7970A
Modbus with the AKD Using Modbus Poll and Wireshark Rev. F Dec
NFC Forum Type 2 Tag Platform Operations with the TRF7970A
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Serial Communication Interface: Using 8251
Introduction to the Intel x86’s support for “virtual” memory
8279 – Programmable Keyboard/Display Interface
Mr. M. D. Jamadar Assistant Professor
Presentation transcript:

NFC Forum Type 2 Tag Platform Operations with the TRF7970A TI NFC/RFID Applications Team

Overview of NFC Forum Type 2 Tag Platform Operations TRF7970A being used with NFC Forum Type 2 Tag Platform operations is possible using Direct Mode 2 (default mode of the TRF7970A) TRF7970A will be configured for ISO14443A operations by MCU TRF7970A (+ MCU) will activate and select the Type 2 tag platform using ISO14443A standard command flow After activation and selection, detection of the NDEF message will be done using the READ command on Block 3. If tag is not previously NDEF Formatted, then obviously writing to Block 3 would be first step to take with the tag, after activating and selecting it. Then the reading or writing of the NDEF Message is possible on the remaining block values. Reference  Type 2 Tag Operation Specification, Technical Specification T2TOP 1.1, NFC ForumTM, NFCForum-TS-Type-2-Tag_1.1 (Dated 2011-05-31)

NFC Forum Type 2 Tag Platform Memory Maps First Three Blocks of these tags contain the UID, etc. (as listed) Block 3 is the capability container Subsequent blocks are the NDEF message area Static Memory Structure This memory structure is used by Type 2 Tag Platform with a physical memory size equal to 64 bytes. Dynamic Memory Structure This memory structure is applied to Type 2 Tag Platform with a memory size bigger than 64 bytes.

READ Command for Tag Type 2 The READ command has command code 0x30 and needs the block number (Bno) as a parameter. The Type 2 Tag Platform responds to a READ command by sending 16 bytes, starting from the block number defined in the READ command (for example: if BNo is equal to 0x03, then blocks 3, 4, 5, and 6 are returned). The block numbering and memory organization of the Type 2 Tag Platform is described in previous slide. In case of error, the Type 2 Tag Platform sends a NACK response. (from NFC Forum TT2 OS, section 5.1)

WRITE Command for Tag Type 2 The WRITE command has the command code A2h followed by the block number (BNo) parameter. The NFC Forum Device SHALL use the WRITE command for programming data. This MAY be the CC bytes the lock bytes, or the data area bytes. The NFC Forum Device SHALL use the WRITE command block-wise, programming 4 bytes at once. If the WRITE command is executed successfully by the Type 2 Tag Platform, the ACK response is sent back. In case of error, the Type 2 Tag Platform sends a NACK response. (from NFC Forum TT2 OS, section 5.2)

Send Broken Byte of 7 bits Activating & Selecting an unformatted Type 2 tag (Mifare Ultralight or Infineon my-d™ move / my-d™ NFC) First we configure the TRF7970A as ISO14443A reader/writer by writing registers: 0x09 0x01 (100% MOD depth, for ISO14443A) 0x00 0x21 (+5VDC ops, Full TX power out) 0x01 0x88 (no CRC expected in response) Then we issue SENS_REQ (a.k.a REQA) to activate the card: 0x8F, 0x90, 0x3D, 0x00, 0x0F, 0x26, where 0x0F is indicating that a broken byte of seven bits will be sent out and 0x26 is that broken byte called SENS_REQ (NFC Forum name) or REQA (ISO14443A name) Reset the FIFO Send w/o CRC Write Continuous Send Broken Byte of 7 bits SENS_REQ / REQA

(2 bytes present to read out) Activating an unformatted Type 2 tag (Mifare Ultralight or Infineon my-d™ move / my-d™ NFC) Then, EOTX IRQ is received, serviced, FIFO is cleared. Next EORX IRQ is received and serviced, FIFO status is read, then FIFO is read out to retrieve the SENS_RES (NFC Forum name) or ATQA (ISO14443A name), card is now activated. EOTX IRQ and servicing Clearing the FIFO EORX IRQ and servicing FIFO status (2 bytes present to read out) ATQA

Selecting an unformatted Type 2 tag (Mifare Ultralight or Infineon my-d™ move / my-d™ NFC) To select the Type 2 tag, the ISO14443A anti-collision loop logic is followed  The PCD shall assign SEL with the code for the selected anti-collision cascade level. The PCD shall assign NVB with the value of '20'. NOTE This value defines that the PCD will transmit no part of UID CLn. Consequently this command forces all PICCs in the field to respond with their complete UID CLn. The PCD shall transmit SEL and NVB. All PICCs in the field shall respond with their complete UID CLn. If more than one PICC responds, a collision may occur. If no collision occurs, steps 6 to 10 shall be skipped. The PCD shall recognize the position of the first collision. The PCD shall assign NVB with a value that specifies the number of valid bits of UID CLn. The valid bits shall be part of the UID CLn that was received before a collision occurred followed by a (0)b or (1)b, decided by the PCD. A typical implementation adds a (1)b. The PCD shall transmit SEL and NVB, followed by the valid bits. Only PICCs of which the part of UID CLn is equal to the valid bits transmitted by the PCD shall transmit their remaining bits of the UID CLn. If further collisions occur, steps 6 to 9 shall be repeated. The maximum number of loops is 32. If no further collision occurs, the PCD shall assign NVB with the value of '70'. NOTE This value defines that the PCD will transmit the complete UID CLn. The PCD shall transmit SEL and NVB, followed by all 40 bits of UID CLn, followed by CRC_A. The PICCs which UID CLn matches the 40 bits shall respond with their SAK. If the UID is complete, the PICC shall transmit SAK with cleared cascade bit and shall transit from READY state to ACTIVE state or from READY* state to ACTIVE* state. The PCD shall check if the cascade bit of SAK is set to decide whether further anti-collision loops with increased cascade level shall follow.

If 0x88 shows up here…b3 in SAK will be set. Selecting an unformatted Type 2 tag (cont.) (Mifare Ultralight or Infineon my-d™ move / my-d™ NFC) The following algorithm shall apply to the PCD to get the complete UID: The PCD selects cascade level 1. The anti-collision loop shall be performed. The PCD shall check the cascade bit of SAK. If the cascade bit is set, the PCD shall increase the cascade level and initiate a new anti-collision loop. NOTE: a 0x88 showing up in the UID0 and UID3 spot (shown as CT for double and triple size UIDs) is a pointer or clue that UID will not be complete in that cascade round. 0x88 is not allowed for UID3 in double size UID tags If 0x88 shows up here…b3 in SAK will be set.

Selecting an unformatted Type 2 tag (cont Selecting an unformatted Type 2 tag (cont.) (Mifare Ultralight or Infineon my-d™ move / my-d™ NFC) After activation, card must be selected. This is started by sending out the first anti-collision command. The EOTX IRQ is received and serviced, along with the EORX IRQ is received, FIFO status is read, then FIFO is read out to retrieve the UID_CLn.

Selecting an unformatted Type 2 tag (cont Selecting an unformatted Type 2 tag (cont.) (Mifare Ultralight or Infineon my-d™ move / my-d™ NFC) The card must be selected before looping back for next cascade level. This is done by sending out the SEL + NVB + UIDCLn + CRC_A (done by the TRF79xxA, because 0x91 sent out in the command string. NOTE: ISO Control register must be changed to 0x08 at this time because the CRC will be coming back from the tag.) The EOTX IRQ is received and serviced, along with the EORX IRQ is received, FIFO status is read, then FIFO is read out to retrieve the SAK. Here we can see that b3 in the SAK response is set, also indicating UID is not complete and according to the rules, the cascade level must be incremented and anti-collision loop performed again. b3 = 1 in SAK response

Selecting an unformatted Type 2 tag (cont Selecting an unformatted Type 2 tag (cont.) (Mifare Ultralight or Infineon my-d™ move / my-d™ NFC) The cascade level is incremented and the second anti-collision command is sent out. (0x95, 0x20) The EOTX IRQ is received and serviced, along with the EORX IRQ is received, FIFO status is read, then FIFO is read out to retrieve the UID_CLn.

Selecting an unformatted Type 2 tag (cont Selecting an unformatted Type 2 tag (cont.) (Mifare Ultralight or Infineon my-d™ move / my-d™ NFC) The card must be selected. This is done by sending out the SEL + NVB + UIDCLn + CRC_A (done by the TRF79xxA, because 0x91 sent out in the command string. NOTE: ISO Control register must be changed to 0x08 at this time because the CRC will be coming back from the tag.) The EOTX IRQ is received and serviced, along with the EORX IRQ is received, FIFO status is read, then FIFO is read out to retrieve the SAK. Here we can see that b3 in the SAK response is not set, indicating the UID is now complete and b6 not being set indicates that the device is not ISO14443-3 compliant (which is correct for Type 2 tag). The MCU can concatenate the response to form the complete double size UID In this case it is: 04:E8:1C:C2:13:27:84 b3 and b6 = 0 in SAK response

Reading Data from empty / non-formatted NFC Forum Type 2 Tag Platform Next step in the process, now that the tag is selected, is to read the blocks for the lock bits and the Capability Container. The NFC Forum Tag Type 2 command for this (as shown earlier in slide 4) is the READ command along with the starting block number. For this we can send out the command string 0x8F, 0x91, 0x3D, 0x00, 0x30, 0x02 The IRQs are received and serviced as before, and FIFO status is read which indicates 16 bytes are present to read as the response from the tag. (four blocks) READ Command Block # Lock Status (unlocked) Block 3 Capability Container (not NDEF formatted) Block 4 Block 5

Capability Container Data NDEF Formatting and Reading out NDEF data from the NFC Forum Type 2 Tag Platform Next step in the process, now that the tag is selected and known to be unformatted, is to NDEF format the tag by writing to block 3 with the Capability Container information. The NFC Forum Tag Type 2 command for this (as shown earlier in slide 5) is the Write command along with the block number. For this we can send out the command string (in this case) 0x8F, 0x91, 0x3D, 0x00, 0x60, 0xA2, 0x03, 0xE1, 0x10, 0x12, 0x00 The IRQs are received and serviced as before, and then depending on the tag size, etc. the next data blocks can be written to with Lock Control / Memory Control TLV Information Data. Then NDEF Data can be written into blocks after that. Afterwards, can read back block data as shown before using the READ command. This is from Blocks 6 - 9 of one tag and display is showing the ASCII of the hex data returned. WRITE Command Block # Capability Container Data Block 6 Block 7 Block 8 Block 9