NFCT — Near field communication tag

The NFCT peripheral (referred to as the 'NFC peripheral' from now on) supports communication signal interface type A and 106 kbps bit rate from the NFC Forum.

With appropriate software, the NFC peripheral can be used to emulate the listening device NFC-A as specified by the NFC Forum.

Listed here are the main features for the NFC peripheral:

  • NFC-A listen mode operation
    • 13.56 MHz input frequency
    • Bit rate 106 kbps
  • Wake-on-field low power field detection (SENSE) mode
  • Frame assemble and disassemble for the NFC-A frames specified by the NFC Forum
  • Programmable frame timing controller
  • Integrated automatic collision resolution, CRC and parity functions

Overview

The NFC peripheral is an implementation of an NFC Forum compliant listening device NFC-A.

Figure 1. NFC block diagram

The NFC peripheral contains a 13.56 MHz AM receiver and a 13.56 MHz load modulator compatible with the NFC-A technology defined in the NFC Forum with 106 kbps data rate.

The received frames will be automatically disassembled and the data part of the frame transferred to RAM. When transmitting, the frame data will be transferred directly from RAM and transmitted with configurable frame type and delay timing. The system will be notified by an event whenever a complete frame is received or sent.

It also supports the collision detection and resolution ("anticollision") as defined by the NFC Forum.

Wake-on-field is supported in SENSE mode while the device is either in System OFF or System ON mode. When the antenna enters an NFC field, an event will be triggered notifying the system to activate the NFC functionality for incoming frames. In System ON, if the energy detected at the antenna increases beyond a threshold value, the module will generate a FIELDDETECTED event. The module will generate a FIELDLOST event when the quality or strength of the field no longer support NFC communication. Please refer to NFCT Electrical Specification for the Low Power Field Detect threshold values.

In system OFF, the NFC Low Power Field Detect function can wake the system up through a reset. The NFC bit in register RESETREAS will be set as cause of the wake-up.

If the system is put into system OFF mode while a field is already present, the NFC Low Power Field Detect function will wake the system up right away and generate a reset.

Note that as a consequence of reset, NFC is disabled, so the reset handler will have to activate NFC again and set it up properly.

The HFXO must be running before the NFC peripheral goes into ACTIVATED state. Note that the NFC peripheral calibration is automatically done on ACTIVATE task. The HFXO can be turned off when the NFC peripheral goes into SENSE mode. The shortcut FIELDDETECTED_ACTIVATE can be used when the HFXO is already running while in SENSE mode.

Outgoing data will be collected from RAM with the EasyDMA function and assembled according to the TXD.FRAMECONFIG register. Incoming data will be disassembled according to the RXD.FRAMECONFIG register and the data section in the frame will be written to RAM via the EasyDMA function.

The NFC peripheral includes a frame timing controller that can be used to accurately control the inter-frame delay between the incoming frame and a corresponding outgoing frame. It also includes optional CRC functionality.

The NFC peripheral has a set of different states. The module can change state by triggering a task, or when specific operations are finalized. Events and tasks allow software to keep track of and change the current state.

See Figure 1 and Figure 2 for more information.

Notes:
  • FIELDLOST event will not be reflected in the state machine (for instance by going back to the DISABLE state), it is up to software to decide on the actions to take when a field lost occurs.
  • FIELDLOST event is not generated in SENSE mode.
  • FIELDDETECTED event is generated only on the transition from FIELDLOST event to energy detected by the NFC peripheral. So, sending SENSE task while field is still present does not generate FIELDDETECTED event.
  • If the FIELDDETECTED event is cleared before sending the ACTIVATE task, then the FIELDDETECTED event shows up again after sending the ACTIVATE task. The shortcut FIELDDETECTED_ACTIVATE can be used to avoid this condition.
Figure 2. NFC state diagram

Pin configuration

NFC uses two pins to connect the antenna.

These pins are shared with GPIOs, and the PROTECT field in the NFCPINS register in UICR defines the usage of these pins and their protection level against excessive voltages. The content of the NFCPINS register is reloaded at every reset.

When NFCPINS.PROTECT=NFC, a protection circuit will be enabled on the dedicated pins, preventing the chip from being damaged in the presence of a strong NFC field. The GPIO function will be disabled on those pins as well.

When NFCPINS.PROTECT=Disabled, the device will not be protected against strong NFC field damages caught by a connected NFC antenna, and the NFCT peripheral will not operate as expected, as it will never leave the DISABLE state.

The pins dedicated to the NFC antenna function will have some limitation when the pins are configured for normal GPIO operation. The pin capacitance will be higher on those (refer to CPAD_NFC in the GPIO Electrical Specification below), and some increased leakage current between the two pins is to be expected if they are used in GPIO mode, and are driven to different logical values. To save power the two pins should always be set to the same logical value whenever entering one of the device power saving modes. Please refer to INFC_LEAK in GPIO Electrical Specification for details.

EasyDMA

The NFC peripheral implements EasyDMA for reading and writing of data packets from and to the Data RAM without CPU involvement.

The NFC EasyDMA utilizes one pointer called PACKETPTR for receiving and transmitting packets.

The EasyDMA can either read or write between the NFC peripheral and the RAM, but not at the same time. The event RXFRAMESTART indicates that the EasyDMA has started writing to the RAM for a receive frame and the event RXFRAMEND indicates that the EasyDMA has completed writing to the RAM. Similarly, the event TXFRAMESTART indicates that the EasyDMA has started reading from the RAM for a transmit frame and the event TXFRAMEND indicates that the EasyDMA has completed reading from the RAM. If a transmit and a receive operation is issued at the same time, the transmit operation would be prioritized.

Starting a transmit operation while the EasyDMA has already started writing a receive frame to the RAM will result in unpredictable behavior. Starting an EasyDMA operation whilst there is an ongoing EasyDMA operation may result in unpredictable behavior. It is recommended to wait for the TXFRAMEEND or RXFRAMEND event for the respective ongoing transmit or receive before starting a new receive or transmit operation.

The MAXLEN register determines the maximum number of bytes that can be read from or written to the RAM. This feature can be used to secure that the NFC peripheral does not overwrite, or read beyond, the RAM assigned to a packet. Note that if the RXD.AMOUNT or TXD.AMOUNT register indicates longer data packets than set in MAXLEN, the frames sent to or received from the physical layer will be incomplete. In RX, the OVERRUN bit in the FRAMESTATUS.RX register will be set and an RXERROR event will be triggered in that situation.

Note that RXD.AMOUNT and TXD.AMOUNT define a frame length in bytes and bits excluding SoF, EoF and parity, but including CRC for RXD.AMOUNT only, make sure to take potential additional bits into account when setting MAXLEN.

Only sending task ENABLERXDATA ensures that a new value in PACKETPTR pointing to the RX buffer in Data RAM is taken into account.

If PACKETPTR is not pointing to the Data RAM region, an EasyDMA transfer may result in a HardFault or RAM corruption. See Chapter Memory for more information about the different memory regions.

The NFC peripherals normally do alternative receive and transmit frames. So, to prepare for the next frame, the PACKETPTR, MAXLEN, TXD.FRAMECONFIG and TXD.AMOUNT can be updated while the receive is in progress, and, similarly, the PACKETPTR, MAXLEN and RXD.FRAMECONFIG can be updated while the transmit is in progress. They can be updated and prepared for the next NFC frame immediately after the STARTED event of the current frame has been received. Updating the TXD.FRAMECONFIG and TXD.AMOUNT during the current transmit frame or updating RXD.FRAMECONFIG during current receive frame may cause unpredictable behaviour.

In accordance with NFC Forum, NFC Digital Protocol Technical Specification, the least a significant bit from the least significant byte is sent on air first. The bytes are stored in increasing order, starting at the lowest address in the EasyDMA buffer in RAM.

Collision resolution

The NFC peripheral implements an automatic collision resolution function as defined by the NFC Forum.

The SENSRES and SELRES registers need to be programmed upfront in order for the collision resolution to behave correctly. Depending on the NFCIDSIZE field in SENSRES, the following registers also need to be programmed upfront:
  • NFCID1_LAST if NFCID1SIZE=NFCID1Single (ID = 4 bytes);
  • NFCID1_2ND_LAST and NFCID1_LAST if NFCID1SIZE=NFCID1Double (ID = 7 bytes);
  • NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST if NFCID1SIZE=NFCID1Triple (ID = 10 bytes);
Table 1 explains the position of the ID bytes in NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST, depending on the ID size, and as compared to the definition used in the NFC Forum, NFC Digital Protocol Technical Specification.
Table 1. NFCID1 byte allocation (top sent first on air)
 ID = 4 bytesID = 7 bytesID = 10 bytes
NFCID1_Q  nfcid10
NFCID1_R  nfcid11
NFCID1_S  nfcid12
NFCID1_T nfcid10nfcid13
NFCID1_U nfcid11nfcid14
NFCID1_V nfcid12nfcid15
NFCID1_Wnfcid10nfcid13nfcid16
NFCID1_Xnfcid11nfcid14nfcid17
NFCID1_Ynfcid12nfcid15nfcid18
NFCID1_Znfcid13nfcid16nfcid19

Automatic collision resolution is enabled by default.

The hardware implementation can handle the states from IDLE to ACTIVE_A automatically as defined in the NFC Forum, NFC Activity Technical Specification, and the other states are to be handled by software. The software keeps track of the state through events. The collision resolution will trigger an AUTOCOLRESSTARTED event when it has started. Reaching the ACTIVE_A state is indicated by the SELECTED event.

If collision resolution fails, a COLLISION event is triggered. Note that errors occurring during automatic collision resolution may also cause ERROR and/or RXERROR events to be generated. Also, other events may get generated. It is recommended that the software ignores any event except COLLISION, SELECTED and FIELDLOST during automatic collision resolution. Software shall also make sure that any unwanted SHORT or PPI shortcut are disabled during automatic collision resolution.

A pre-defined set of registers, NFC.TAGHEADER0..3, containing a valid NFCID1 value, is available in FICR, and can be used by software to populate the NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST registers. Refer to the release notes of the NFC stack for more details on the format.

The automatic collision resolution will be restarted, if the packets are received with CRC or parity errors while in ACTIVE_A state.

The SLP_REQ is automatically handled by the NFC peripheral. However, this results in an ERROR event (with FRAMEDELAYTIMEOUT cause in ERRORSTATUS) since the SLP_REQ has no response. This error must be ignored until the SELECTED event is triggered and this error should be cleared by the software when the SELECTED event is triggered.

Frame timing controller

The NFC peripheral includes a frame timing controller that continuously keeps track of the number of the 13.56 MHz RF-carrier clock periods since the end of the EoF of the last received frame.

The NFC peripheral can be programmed to send a responding frame within a time window or at an exact count of RF carrier periods. In case of FRAMEDELAYMODE = Window a STARTTX task triggered before the frame timing controller counter is equal to FRAMEDELAYMIN will force the transmission to halt until the counter is equal to FRAMEDELAYMIN. If the counter is within FRAMEDELAYMIN and FRAMEDELAYMAX when the STARTTX task is triggered, the peripheral will start the transmission straight away. In case of FRAMEDELAYMODE = ExactVal, a STARTTX task, triggered before the frame delay counter is equal to FRAMEDELAYMAX, will halt the actual transmission start until the counter is equal to FRAMEDELAYMAX.

In case of FRAMEDELAYMODE = WindowGrid, the behaviour is similar to the FRAMEDELAYMODE = Window, but the actual transmission between FRAMEDELAYMIN and FRAMEDELAYMAX starts on a bit grid as defined for NFC-A Listen frames (slot duration of 128 RF carrier periods).

The FRAMEDELAYMIN and FRAMEDELAYMAX values shall only be updated before the STARTTX task is triggered. Failing to do so may cause unpredictable behaviour. An ERROR event (with FRAMEDELAYTIMEOUT cause in ERRORSTATUS) will be asserted if the frame timing controller counter reaches FRAMEDELAYMAX without any STARTTX task triggered. This may happen even when the response is not required as per NFC Forum, NFC Digital Protocol Technical Specification. Any commands handled by the automatic collision resolution that don't involve a response being generated may also result in an ERROR event (with FRAMEDELAYTIMEOUT cause in ERRORSTATUS).

The frame timing controller operation is illustrated in Figure 3. The frame timing controller automatically adjusts the frame timing counter based on the last received data bit according to NFC-A technology in the NFC Forum, NFC Digital Protocol Technical Specification.

Figure 3. Frame timing controller (FRAMEDELAYMODE=Window)

Frame assembler

The NFC peripheral implements a frame assembler in hardware.

When the NFC peripheral is in the ACTIVE_A state, the software can decide to enter RX or TX mode. For RX, see Frame disassembler. For TX, the software must indicate the address of the source buffer in Data RAM and its size through programming the PACKETPTR and MAXCNT registers respectively, then issuing a TXSTART task.

MAXCNT must be set so that it matches the size of the frame to be sent.

The STARTED event indicates that the PACKETPTR and MAXCNT registers have been captured by the frame assembler's EasyDMA.

When asserting the STARTTX task, the frame assembler module will start reading TXD.AMOUNT.TXDATABYTES bytes (plus one additional byte if TXD.AMOUNT.TXDATABITS > 0) from the RAM position set by the PACKETPTR.

The NFC peripheral transmits the data as read from RAM, adding framing and the CRC calculated on the fly. The NFC peripheral will take (8*TXD.AMOUNT.TXDATABYTES + TXD.AMOUNT.TXDATABITS) bits and assemble a frame according to settings in TXD.FRAMECONFIG. Both short frames, standard frames and bit oriented SDD frames as specified in the NFC Forum, NFC Digital Protocol Technical Specification can be assembled by correct setting of the TXD.FRAMECONFIG register.

The bytes will be transmitted on air in the same order as they are read from RAM with a rising bit order within each byte (least significant bit first). That is, b0 will be transmitted on air before b1, and so on. The bits read from RAM will be coded into symbols as defined in the NFC Forum, NFC Digital Protocol Technical Specification.

Important: Some NFC Forum documents, such as NFC Forum, NFC Digital Protocol Technical Specification, define bit numbering in a byte from b1 (LSB) to b8 (MSB), while most other technical documents from the NFC Forum, and also the Nordic Semiconductor documentation, traditionally numbers them from b0 to b7. The present document uses the b0 to b7 numbering scheme. Be aware of this when comparing with the NFC Forum, NFC Digital Protocol Technical Specification to others.

The frame assembler can be configured in TXD.FRAMECONFIG to add Start of Frame (SoF) symbol, calculate and add parity bits, and calculate and add CRC to the data read from RAM when assembling the frame. The total frame will then be longer than what is defined by TXD.AMOUNT.TXDATABYTES and TXDATABITS. DISCARDMODE will select if the first bits in the first byte read from RAM or the last bits in the last byte read from RAM will be discarded if TXD.AMOUNT.TXDATABITS are not equal to zero. Note that if TXD.FRAMECONFIG.PARITY = Parity and TXD.FRAMECONFIG.DISCARDMODE=DiscardStart, a parity bit will be included after the non-complete first byte. No parity will be added after a non-complete last byte.

The Frame Assemble operation is illustrated in Figure 4 for different settings in TXD.FRAMECONFIG. All shaded bits fields are added by the frame assembler. Some of these bits are optional and appearances are configured in TXD.FRAMECONFIG. Please note that the frames illustrated do not necessarily comply with the NFC specification. The figure is only to illustrate the behavior of the NFC peripheral.

Figure 4. Frame assemble

The accurate timing for transmitting the frame on air is set using the frame timing controller settings.

Frame disassembler

The NFC peripheral implements a frame disassembler in hardware.

When the NFC peripheral is in the ACTIVE_A state, the software can decide to enter RX or TX mode. For TX, see Frame assembler. For RX, the software must indicate the address of the destination buffer in Data RAM and its size through programming the PACKETPTR and MAXCNT registers respectively, then issuing a ENABLERXDATA task.

The STARTED event indicates that the PACKETPTR and MAXCNT registers have been captured by the frame disassembler's EasyDMA.

When an incoming frame starts, the RXFRAMESTART event will get issued and data will be written to the buffer in Data RAM. The frame disassembler will verify and remove on the fly any parity bits and SoF and End of Frame (EoF) symbols based on RXD.FRAMECONFIG register configuration. It will, however, verify and transfer the CRC bytes into RAM, if the CRC is was enabled through RXD.FRAMECONFIG.

When an EoF symbol is detected, the NFC peripheral will assert the RXFRAMEEND event and write the RXD.AMOUNT register to indicate numbers of received bytes and bits in the data packet. The module does not interpret the content of the data received from the remote NFC device, except for SoF, EoF, parity and CRC checking, as described above. The Frame disassemble operation is illustrated in Figure 5.

Per NFC specification, the time between end of frame to the next start of frame can be as short as 86 μs, so care must be taken that PACKETPTR and MAXCNT are ready and ENABLERXDATA is issued on time after the end of previous frame. The use of a PPI shortcut from TXFRAMEEND to ENABLERXDATA is recommended.

Figure 5. Frame disassemble illustration

Antenna interface

In ACTIVATED state, an amplitude regulator will adjust the voltage swing on the antenna pins to a value that is within the Vswing limit.

Refer to NFCT Electrical Specification.

NFCT antenna recommendations

The NFCT antenna coil must be connected differential between NFC1 and NFC2 pins of the device.

Two external capacitors should be used to tune the resonance of the antenna circuit to 13.56 MHz.

Figure 6. NFCT antenna recommendations

The required tuning capacitor value is given by the below equations:

Equations for calculating the required tuning capacitor value

An antenna inductance of Lant = 2 μH will give tuning capacitors in the range of 130 pF on each pin. For good performance, match the total capacitance on NFC1 and NFC2.

Battery protection

If the antenna is exposed to a strong NFC field, current may flow in the opposite direction on the supply due to parasitic diodes and ESD structures.

If the battery used does not tolerate return current, a series diode must be placed between the battery and the device in order to protect the battery.

References

NFC Forum, NFC Analog Specification version 1.0, www.nfc-forum.org

NFC Forum, NFC Digital Protocol Technical Specification version 1.1, www.nfc-forum.org

NFC Forum, NFC Activity Technical Specification version 1.1, www.nfc-forum.org

Registers

Table 2. Instances
Base addressPeripheralInstanceDescriptionConfiguration
0x40005000NFCTNFCTNear Field Communication Tag  
Table 3. Register Overview
RegisterOffsetDescription
TASKS_ACTIVATE0x000Activate NFC peripheral for incoming and outgoing frames, change state to activated 
TASKS_DISABLE0x004Disable NFC peripheral 
TASKS_SENSE0x008Enable NFC sense field mode, change state to sense mode 
TASKS_STARTTX0x00CStart transmission of a outgoing frame, change state to transmit 
TASKS_ENABLERXDATA0x01CInitializes the EasyDMA for receive. 
TASKS_GOIDLE0x024Force state machine to IDLE state 
TASKS_GOSLEEP0x028Force state machine to SLEEP_A state 
EVENTS_READY0x100The NFC peripheral is ready to receive and send frames 
EVENTS_FIELDDETECTED0x104Remote NFC field detected 
EVENTS_FIELDLOST0x108Remote NFC field lost 
EVENTS_TXFRAMESTART0x10CMarks the start of the first symbol of a transmitted frame 
EVENTS_TXFRAMEEND0x110Marks the end of the last transmitted on-air symbol of a frame 
EVENTS_RXFRAMESTART0x114Marks the end of the first symbol of a received frame 
EVENTS_RXFRAMEEND0x118Received data have been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer 
EVENTS_ERROR0x11CNFC error reported. The ERRORSTATUS register contains details on the source of the error. 
EVENTS_RXERROR0x128NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error. 
EVENTS_ENDRX0x12CRX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full. 
EVENTS_ENDTX0x130Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer 
EVENTS_AUTOCOLRESSTARTED0x138Auto collision resolution process has started 
EVENTS_COLLISION0x148NFC Auto collision resolution error reported. 
EVENTS_SELECTED0x14CNFC Auto collision resolution successfully completed 
EVENTS_STARTED0x150EasyDMA is ready to receive or send frames. 
SHORTS0x200Shortcut register 
INTEN0x300Enable or disable interrupt 
INTENSET0x304Enable interrupt 
INTENCLR0x308Disable interrupt 
ERRORSTATUS0x404NFC Error Status register 
FRAMESTATUS.RX0x40CResult of last incoming frames 
CURRENTLOADCTRL0x430Current value driven to the NFC Load Control 
FIELDPRESENT0x43CIndicates the presence or not of a valid field 
FRAMEDELAYMIN0x504Minimum frame delay 
FRAMEDELAYMAX0x508Maximum frame delay 
FRAMEDELAYMODE0x50CConfiguration register for the Frame Delay Timer 
PACKETPTR0x510Packet pointer for TXD and RXD data storage in Data RAM 
MAXLEN0x514Size of allocated for TXD and RXD data storage buffer in Data RAM 
TXD.FRAMECONFIG0x518Configuration of outgoing frames 
TXD.AMOUNT0x51CSize of outgoing frame 
RXD.FRAMECONFIG0x520Configuration of incoming frames 
RXD.AMOUNT0x524Size of last incoming frame 
NFCID1_LAST0x590Last NFCID1 part (4, 7 or 10 bytes ID) 
NFCID1_2ND_LAST0x594Second last NFCID1 part (7 or 10 bytes ID) 
NFCID1_3RD_LAST0x598Third last NFCID1 part (10 bytes ID) 
SENSRES0x5A0NFC-A SENS_RES auto-response settings 
SELRES0x5A4NFC-A SEL_RES auto-response settings 

SHORTS

Address offset: 0x200

Shortcut register

Bit number313029282726252423222120191817161514131211109876543210
Id                           BA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWFIELDDETECTED_ACTIVATE  

Shortcut between FIELDDETECTED event and ACTIVATE task

See EVENTS_FIELDDETECTED and TASKS_ACTIVATE

   Disabled0Disable shortcut
   Enabled1Enable shortcut
BRWFIELDLOST_SENSE  

Shortcut between FIELDLOST event and SENSE task

See EVENTS_FIELDLOST and TASKS_SENSE

   Disabled0Disable shortcut
   Enabled1Enable shortcut
 

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id           TSRN MLKHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWREADY  

Enable or disable interrupt for READY event

See EVENTS_READY

   Disabled0Disable
   Enabled1Enable
BRWFIELDDETECTED  

Enable or disable interrupt for FIELDDETECTED event

See EVENTS_FIELDDETECTED

   Disabled0Disable
   Enabled1Enable
CRWFIELDLOST  

Enable or disable interrupt for FIELDLOST event

See EVENTS_FIELDLOST

   Disabled0Disable
   Enabled1Enable
DRWTXFRAMESTART  

Enable or disable interrupt for TXFRAMESTART event

See EVENTS_TXFRAMESTART

   Disabled0Disable
   Enabled1Enable
ERWTXFRAMEEND  

Enable or disable interrupt for TXFRAMEEND event

See EVENTS_TXFRAMEEND

   Disabled0Disable
   Enabled1Enable
FRWRXFRAMESTART  

Enable or disable interrupt for RXFRAMESTART event

See EVENTS_RXFRAMESTART

   Disabled0Disable
   Enabled1Enable
GRWRXFRAMEEND  

Enable or disable interrupt for RXFRAMEEND event

See EVENTS_RXFRAMEEND

   Disabled0Disable
   Enabled1Enable
HRWERROR  

Enable or disable interrupt for ERROR event

See EVENTS_ERROR

   Disabled0Disable
   Enabled1Enable
KRWRXERROR  

Enable or disable interrupt for RXERROR event

See EVENTS_RXERROR

   Disabled0Disable
   Enabled1Enable
LRWENDRX  

Enable or disable interrupt for ENDRX event

See EVENTS_ENDRX

   Disabled0Disable
   Enabled1Enable
MRWENDTX  

Enable or disable interrupt for ENDTX event

See EVENTS_ENDTX

   Disabled0Disable
   Enabled1Enable
NRWAUTOCOLRESSTARTED  

Enable or disable interrupt for AUTOCOLRESSTARTED event

See EVENTS_AUTOCOLRESSTARTED

   Disabled0Disable
   Enabled1Enable
RRWCOLLISION  

Enable or disable interrupt for COLLISION event

See EVENTS_COLLISION

   Disabled0Disable
   Enabled1Enable
SRWSELECTED  

Enable or disable interrupt for SELECTED event

See EVENTS_SELECTED

   Disabled0Disable
   Enabled1Enable
TRWSTARTED  

Enable or disable interrupt for STARTED event

See EVENTS_STARTED

   Disabled0Disable
   Enabled1Enable
 

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id           TSRN MLKHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWREADY  

Write '1' to Enable interrupt for READY event

See EVENTS_READY

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
BRWFIELDDETECTED  

Write '1' to Enable interrupt for FIELDDETECTED event

See EVENTS_FIELDDETECTED

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
CRWFIELDLOST  

Write '1' to Enable interrupt for FIELDLOST event

See EVENTS_FIELDLOST

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
DRWTXFRAMESTART  

Write '1' to Enable interrupt for TXFRAMESTART event

See EVENTS_TXFRAMESTART

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
ERWTXFRAMEEND  

Write '1' to Enable interrupt for TXFRAMEEND event

See EVENTS_TXFRAMEEND

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
FRWRXFRAMESTART  

Write '1' to Enable interrupt for RXFRAMESTART event

See EVENTS_RXFRAMESTART

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
GRWRXFRAMEEND  

Write '1' to Enable interrupt for RXFRAMEEND event

See EVENTS_RXFRAMEEND

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
HRWERROR  

Write '1' to Enable interrupt for ERROR event

See EVENTS_ERROR

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
KRWRXERROR  

Write '1' to Enable interrupt for RXERROR event

See EVENTS_RXERROR

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
LRWENDRX  

Write '1' to Enable interrupt for ENDRX event

See EVENTS_ENDRX

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
MRWENDTX  

Write '1' to Enable interrupt for ENDTX event

See EVENTS_ENDTX

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
NRWAUTOCOLRESSTARTED  

Write '1' to Enable interrupt for AUTOCOLRESSTARTED event

See EVENTS_AUTOCOLRESSTARTED

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
RRWCOLLISION  

Write '1' to Enable interrupt for COLLISION event

See EVENTS_COLLISION

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
SRWSELECTED  

Write '1' to Enable interrupt for SELECTED event

See EVENTS_SELECTED

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
TRWSTARTED  

Write '1' to Enable interrupt for STARTED event

See EVENTS_STARTED

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
 

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id           TSRN MLKHGFEDCBA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWREADY  

Write '1' to Disable interrupt for READY event

See EVENTS_READY

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
BRWFIELDDETECTED  

Write '1' to Disable interrupt for FIELDDETECTED event

See EVENTS_FIELDDETECTED

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
CRWFIELDLOST  

Write '1' to Disable interrupt for FIELDLOST event

See EVENTS_FIELDLOST

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
DRWTXFRAMESTART  

Write '1' to Disable interrupt for TXFRAMESTART event

See EVENTS_TXFRAMESTART

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
ERWTXFRAMEEND  

Write '1' to Disable interrupt for TXFRAMEEND event

See EVENTS_TXFRAMEEND

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
FRWRXFRAMESTART  

Write '1' to Disable interrupt for RXFRAMESTART event

See EVENTS_RXFRAMESTART

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
GRWRXFRAMEEND  

Write '1' to Disable interrupt for RXFRAMEEND event

See EVENTS_RXFRAMEEND

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
HRWERROR  

Write '1' to Disable interrupt for ERROR event

See EVENTS_ERROR

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
KRWRXERROR  

Write '1' to Disable interrupt for RXERROR event

See EVENTS_RXERROR

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
LRWENDRX  

Write '1' to Disable interrupt for ENDRX event

See EVENTS_ENDRX

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
MRWENDTX  

Write '1' to Disable interrupt for ENDTX event

See EVENTS_ENDTX

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
NRWAUTOCOLRESSTARTED  

Write '1' to Disable interrupt for AUTOCOLRESSTARTED event

See EVENTS_AUTOCOLRESSTARTED

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
RRWCOLLISION  

Write '1' to Disable interrupt for COLLISION event

See EVENTS_COLLISION

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
SRWSELECTED  

Write '1' to Disable interrupt for SELECTED event

See EVENTS_SELECTED

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
TRWSTARTED  

Write '1' to Disable interrupt for STARTED event

See EVENTS_STARTED

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
 

ERRORSTATUS

Address offset: 0x404

NFC Error Status register

Write a bit to '1' to clear it. Writing '0' has no effect.

Bit number313029282726252423222120191817161514131211109876543210
Id                          DCA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWFRAMEDELAYTIMEOUT  No STARTTX task triggered before expiration of the time set in FRAMEDELAYMAX
CRWNFCFIELDTOOSTRONG  Field level is too high at max load resistance
DRWNFCFIELDTOOWEAK  Field level is too low at min load resistance
 

FRAMESTATUS.RX

Address offset: 0x40C

Result of last incoming frames

Write a bit to '1' to clear it. Writing '0' has no effect.

Bit number313029282726252423222120191817161514131211109876543210
Id                          CB A
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWCRCERROR  No valid End of Frame detected
   CRCCorrect0Valid CRC detected
   CRCError1CRC received does not match local check
BRWPARITYSTATUS  Parity status of received frame
   ParityOK0Frame received with parity OK
   ParityError1Frame received with parity error
CRWOVERRUN  Overrun detected
   NoOverrun0No overrun detected
   Overrun1Overrun error
 

CURRENTLOADCTRL

Address offset: 0x430

Current value driven to the NFC Load Control

Bit number313029282726252423222120191817161514131211109876543210
Id                          AAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARCURRENTLOADCTRL  Current value driven to the NFC Load Control
 

FIELDPRESENT

Address offset: 0x43C

Indicates the presence or not of a valid field

Bit number313029282726252423222120191817161514131211109876543210
Id                              BA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARFIELDPRESENT  Indicates the presence or not of a valid field. Available only in the activated state.
   NoField0No valid field detected
   FieldPresent1Valid field detected
BRLOCKDETECT  Indicates if the low level has locked to the field
   NotLocked0Not locked to field
   Locked1Locked to field
 

FRAMEDELAYMIN

Address offset: 0x504

Minimum frame delay

Bit number313029282726252423222120191817161514131211109876543210
Id                AAAAAAAAAAAAAAAA
Reset 0x0000048000000000000000000000010010000000
IdRWFieldValue IdValueDescription
ARWFRAMEDELAYMIN  Minimum frame delay in number of 13.56 MHz clocks
 

FRAMEDELAYMAX

Address offset: 0x508

Maximum frame delay

Bit number313029282726252423222120191817161514131211109876543210
Id                AAAAAAAAAAAAAAAA
Reset 0x0000100000000000000000000001000000000000
IdRWFieldValue IdValueDescription
ARWFRAMEDELAYMAX  Maximum frame delay in number of 13.56 MHz clocks
 

FRAMEDELAYMODE

Address offset: 0x50C

Configuration register for the Frame Delay Timer

Bit number313029282726252423222120191817161514131211109876543210
Id                              AA
Reset 0x0000000100000000000000000000000000000001
IdRWFieldValue IdValueDescription
ARWFRAMEDELAYMODE  Configuration register for the Frame Delay Timer
   FreeRun0Transmission is independent of frame timer and will start when the STARTTX task is triggered. No timeout.
   Window1Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX
   ExactVal2Frame is transmitted exactly at FRAMEDELAYMAX
   WindowGrid3Frame is transmitted on a bit grid between FRAMEDELAYMIN and FRAMEDELAYMAX
 

PACKETPTR

Address offset: 0x510

Packet pointer for TXD and RXD data storage in Data RAM

Bit number313029282726252423222120191817161514131211109876543210
IdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWPTR  Packet pointer for TXD and RXD data storage in Data RAM. This address is a byte aligned RAM address.
 

MAXLEN

Address offset: 0x514

Size of allocated for TXD and RXD data storage buffer in Data RAM

Bit number313029282726252423222120191817161514131211109876543210
Id                       AAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWMAXLEN [0..257]Size of allocated for TXD and RXD data storage buffer in Data RAM
 

TXD.FRAMECONFIG

Address offset: 0x518

Configuration of outgoing frames

Bit number313029282726252423222120191817161514131211109876543210
Id                           D CBA
Reset 0x0000001700000000000000000000000000010111
IdRWFieldValue IdValueDescription
ARWPARITY  Adding parity or not in the frame
   NoParity0Parity is not added in TX frames
   Parity1Parity is added TX frames
BRWDISCARDMODE  Discarding unused bits in start or at end of a Frame
   DiscardEnd0Unused bits is discarded at end of frame
   DiscardStart1Unused bits is discarded at start of frame
CRWSOF  Adding SoF or not in TX frames
   NoSoF0Start of Frame symbol not added
   SoF1Start of Frame symbol added
DRWCRCMODETX  CRC mode for outgoing frames
   NoCRCTX0CRC is not added to the frame
   CRC16TX116 bit CRC added to the frame based on all the data read from RAM that is used in the frame
 

TXD.AMOUNT

Address offset: 0x51C

Size of outgoing frame

Bit number313029282726252423222120191817161514131211109876543210
Id                    BBBBBBBBBAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWTXDATABITS [0..7]

Number of bits in the last or first byte read from RAM that shall be included in the frame (excluding parity bit).

The DISCARDMODE field in FRAMECONFIG.TX selects if unused bits is discarded at the start or at the end of a frame. A value of 0 data bytes and 0 data bits is invalid.

BRWTXDATABYTES [0..257]Number of complete bytes that shall be included in the frame, excluding CRC, parity and framing
 

RXD.FRAMECONFIG

Address offset: 0x520

Configuration of incoming frames

Bit number313029282726252423222120191817161514131211109876543210
Id                           C B A
Reset 0x0000001500000000000000000000000000010101
IdRWFieldValue IdValueDescription
ARWPARITY  Parity expected or not in RX frame
   NoParity0Parity is not expected in RX frames
   Parity1Parity is expected in RX frames
BRWSOF  SoF expected or not in RX frames
   NoSoF0Start of Frame symbol is not expected in RX frames
   SoF1Start of Frame symbol is expected in RX frames
CRWCRCMODERX  CRC mode for incoming frames
   NoCRCRX0CRC is not expected in RX frames
   CRC16RX1Last 16 bits in RX frame is CRC, CRC is checked and CRCSTATUS updated
 

RXD.AMOUNT

Address offset: 0x524

Size of last incoming frame

Bit number313029282726252423222120191817161514131211109876543210
Id                    BBBBBBBBBAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARRXDATABITS  

Number of bits in the last byte in the frame, if less than 8 (including CRC, but excluding parity and SoF/EoF framing).

Frames with 0 data bytes and less than 7 data bits are invalid and are not received properly.

BRRXDATABYTES  Number of complete bytes received in the frame (including CRC, but excluding parity and SoF/EoF framing)
 

NFCID1_LAST

Address offset: 0x590

Last NFCID1 part (4, 7 or 10 bytes ID)

Bit number313029282726252423222120191817161514131211109876543210
IdDDDDDDDDCCCCCCCCBBBBBBBBAAAAAAAA
Reset 0x0000636300000000000000000110001101100011
IdRWFieldValue IdValueDescription
ARWNFCID1_Z  NFCID1 byte Z (very last byte sent)
BRWNFCID1_Y  NFCID1 byte Y
CRWNFCID1_X  NFCID1 byte X
DRWNFCID1_W  NFCID1 byte W
 

NFCID1_2ND_LAST

Address offset: 0x594

Second last NFCID1 part (7 or 10 bytes ID)

Bit number313029282726252423222120191817161514131211109876543210
Id        CCCCCCCCBBBBBBBBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWNFCID1_V  NFCID1 byte V
BRWNFCID1_U  NFCID1 byte U
CRWNFCID1_T  NFCID1 byte T
 

NFCID1_3RD_LAST

Address offset: 0x598

Third last NFCID1 part (10 bytes ID)

Bit number313029282726252423222120191817161514131211109876543210
Id        CCCCCCCCBBBBBBBBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWNFCID1_S  NFCID1 byte S
BRWNFCID1_R  NFCID1 byte R
CRWNFCID1_Q  NFCID1 byte Q
 

SENSRES

Address offset: 0x5A0

NFC-A SENS_RES auto-response settings

Bit number313029282726252423222120191817161514131211109876543210
Id                EEEEDDDDCCBAAAAA
Reset 0x0000000100000000000000000000000000000001
IdRWFieldValue IdValueDescription
ARWBITFRAMESDD  Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification
   SDD000000SDD pattern 00000
   SDD000011SDD pattern 00001
   SDD000102SDD pattern 00010
   SDD001004SDD pattern 00100
   SDD010008SDD pattern 01000
   SDD1000016SDD pattern 10000
BRWRFU5  Reserved for future use. Shall be 0.
CRWNFCIDSIZE  NFCID1 size. This value is used by the Auto collision resolution engine.
   NFCID1Single0NFCID1 size: single (4 bytes)
   NFCID1Double1NFCID1 size: double (7 bytes)
   NFCID1Triple2NFCID1 size: triple (10 bytes)
DRWPLATFCONFIG  Tag platform configuration as defined by the b4:b1 of byte 2 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification
ERWRFU74  Reserved for future use. Shall be 0.
 

SELRES

Address offset: 0x5A4

NFC-A SEL_RES auto-response settings

Bit number313029282726252423222120191817161514131211109876543210
Id                        EDDCCBAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWRFU10  Reserved for future use. Shall be 0.
BRWCASCADE  Cascade bit (controlled by hardware, write has no effect)
   Complete0NFCID1 complete
   NotComplete1NFCID1 not complete
CRWRFU43  Reserved for future use. Shall be 0.
DRWPROTOCOL  Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification
ERWRFU7  Reserved for future use. Shall be 0.
 

Electrical specification

NFCT Electrical Specification

SymbolDescriptionMin.Typ.Max.Units
fcFrequency of operation13.56MHz
CMICarrier modulation index95%
DRData Rate106kbps
fsModulation sub-carrier frequencyfc/16MHz
VswingPeak differential Input voltage swing on NFC1 and NFC2VDDVp
VsensePeak differential Field detect threshold level on NFC1-NFC211.0Vp
IsenseCurrent in SENSE STATE100nA
IactivatedCurrent in ACTIVATED STATE480µA
Rin_minMinimum input resistance when regulating voltage swing40Ω 
Rin_maxMaximum input resistance when regulating voltage swing1.0kΩ 
Rin_loadmodInput resistance when load modulating822Ω 
ImaxMaximum input current on NFC pins80mA

NFCT Timing Parameters

SymbolDescriptionMin.Typ.Max.Units
tactivateTime from task_ACTIVATE in SENSE or DISABLE state to ACTIVATE_A or IDLE state2500us
tsenseTime from remote field is present in SENSE mode to FIELDDETECTED event is asserted20us
Figure 7. NFCT timing parameters (Shortcuts for FIELDDETECTED and FIELDLOST are disabled)
1 Input is high impedance in sense mode
2 Does not account for voltage supply and oscillator startup times