## 1. Introduction

This document describes the functionality and electrical specifications of the contactless reader/writer MFRC522.

Remark: The MFRC522 supports all variants of the MIFARE Mini, MIFARE 1K, MIFARE 4K, MIFARE Ultralight, MIFARE DESFire EV1 and MIFARE Plus RF identification protocols. To aid readability throughout this data sheet, the MIFARE Mini, MIFARE 1K, MIFARE 4K, MIFARE Ultralight, MIFARE DESFire EV1 and MIFARE Plus products and protocols have the generic name MIFARE.

## 1.1 Differences between version 1.0 and 2.0

The MFRC522 is available in two versions:

• MFRC52201HN1, hereafter referred to version 1.0 and

• MFRC52202HN1, hereafter referred to version 2.0.

The MFRC522 version 2.0 is fully compatible to version 1.0 and offers in addition the following features and improvements:

• Increased stability of the reader IC in rough conditions

• An additional timer prescaler, see Section 8.5.

• A corrected CRC handling when RX Multiple is set to 1

This data sheet version covers both versions of the MFRC522 and describes the differences between the versions if applicable.

## 2. General description

The MFRC522 is a highly integrated reader/writer IC for contactless communication at 13.56 MHz. The MFRC522 reader supports ISO/IEC 14443 A/MIFARE and NTAG.

The MFRC522’s internal transmitter is able to drive a reader/writer antenna designed to communicate with ISO/IEC 14443 A/MIFARE cards and transponders without additional active circuitry. The receiver module provides a robust and efficient implementation for demodulating and decoding signals from ISO/IEC 14443 A/MIFARE compatible cards and transponders. The digital module manages the complete ISO/IEC 14443 A framing and error detection (parity and CRC) functionality.

The MFRC522 supports MF1xxS20, MF1xxS70 and MF1xxS50 products. The MFRC522 supports contactless communication and uses MIFARE higher transfer speeds up to 848 kBd in both directions.

## Standard performance MIFARE and NTAG frontend

The following host interfaces are provided:

• Serial Peripheral Interface (SPI)

• Serial UART (similar to RS232 with voltage levels dependant on pin voltage supply)

• I2C-bus interface

## 3. Features and benefits

 Highly integrated analog circuitry to demodulate and decode responses

 Buffered output drivers for connecting an antenna with the minimum number of external components

 Supports ISO/IEC 14443 A/MIFARE and NTAG

 Typical operating distance in Read/Write mode up to 50 mm depending on the antenna size and tuning

 Supports MF1xxS20, MF1xxS70 and MF1xxS50 encryption in Read/Write mode

 Supports ISO/IEC 14443 A higher transfer speed communication up to 848 kBd

 Supports MFIN/MFOUT

 Additional internal power supply to the smart card IC connected via MFIN/MFOUT

 Supported host interfaces

 SPI up to 10 Mbit/s

 I<sup>2</sup>C-bus interface up to 400 kBd in Fast mode, up to 3400 kBd in High-speed mode

 RS232 Serial UART up to 1228.8 kBd, with voltage levels dependant on pin voltage supply

 FIFO buffer handles 64 byte send and receive

 Flexible interrupt modes

 Hard reset with low power function

 Power-down by software mode

 Programmable timer

 Internal oscillator for connection to 27.12 MHz quartz crystal

 2.5 V to 3.3 V power supply

 CRC coprocessor

 Programmable I/O pins

 Internal self-test

## 4. Quick reference data

Table 1. Quick reference data

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td> $V_{DDA}$ </td><td>analog supply voltage</td><td rowspan="4"> $V_{DD(PVDD)} \leq V_{DDA} = V_{DDD} = V_{DD(TVDD)};$  $V_{SSA} = V_{SSD} = V_{SS(PVSS)} = V_{SS(TVSS)} = 0 \text{ V}$ </td><td rowspan="3">[1][2]</td><td>2.5</td><td>3.3</td><td>3.6</td><td>V</td></tr><tr><td> $V_{DDD}$ </td><td>digital supply voltage</td><td>2.5</td><td>3.3</td><td>3.6</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}$ </td><td>TVDD supply voltage</td><td>2.5</td><td>3.3</td><td>3.6</td><td>V</td></tr><tr><td> $V_{DD(PVDD)}$ </td><td>PVDD supply voltage</td><td>[3]</td><td>1.6</td><td>1.8</td><td>3.6</td><td>V</td></tr><tr><td> $V_{DD(SVDD)}$ </td><td>SVDD supply voltage</td><td> $V_{SSA} = V_{SSD} = V_{SS(PVSS)} = V_{SS(TVSS)} = 0 \text{ V}$ </td><td></td><td>1.6</td><td>-</td><td>3.6</td><td>V</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 1. Quick reference data …continued

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td rowspan="3"> $I_{pd}$ </td><td rowspan="3">power-down current</td><td> $V_{DDA}=V_{DDD}=V_{DD(TVDD)}=V_{DD(PVDD)}=3 V$ </td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>hard power-down; pin NRSTPD set LOW</td><td>[4]</td><td>-</td><td>-</td><td>5</td><td>μA</td></tr><tr><td>soft power-down; RF level detector on</td><td>[4]</td><td>-</td><td>-</td><td>10</td><td>μA</td></tr><tr><td> $I_{DDD}$ </td><td>digital supply current</td><td>pin DVDD;  $V_{DDD}=3 V$ </td><td></td><td>-</td><td>6.5</td><td>9</td><td>mA</td></tr><tr><td rowspan="2"> $I_{DDA}$ </td><td rowspan="2">analog supply current</td><td>pin AVDD;  $V_{DDA}=3 V$ , CommandReg register&#x27;s RcvOff bit = 0</td><td></td><td>-</td><td>7</td><td>10</td><td>mA</td></tr><tr><td>pin AVDD; receiver switched off;  $V_{DDA}=3 V$ , CommandReg register&#x27;s RcvOff bit = 1</td><td></td><td>-</td><td>3</td><td>5</td><td>mA</td></tr><tr><td> $I_{DD(PVDD)}$ </td><td>PVDD supply current</td><td>pin PVDD</td><td>[5]</td><td>-</td><td>-</td><td>40</td><td>mA</td></tr><tr><td> $I_{DD(TVDD)}$ </td><td>TVDD supply current</td><td>pin TVDD; continuous wave</td><td>[6][7][8]</td><td>-</td><td>60</td><td>100</td><td>mA</td></tr><tr><td> $T_{amb}$ </td><td>ambient temperature</td><td>HVQFN32</td><td></td><td>-25</td><td>-</td><td>+85</td><td>°C</td></tr></table>

[1] Supply voltages below 3 V reduce the performance in, for example, the achievable operating distance.  
[2] $\mathsf { V } _ { \mathsf { D D A } } , \mathsf { V } _ { \mathsf { D D D } }$ and $\mathsf { V } _ { \mathsf { D D ( T W D D ) } }$ must always be the same voltage.  
[3] V<sub>DD(PVDD)</sub> must always be the same or lower voltage than $V _ { \mathsf { D D D } }$  
[4] I<sub>pd</sub> is the total current for all supplies.  
[5] I<sub>DD(PVDD)</sub> depends on the overall load at the digital pins.  
[6] I<sub>DD(TVDD)</sub> depends on $\mathsf { V } _ { \mathsf { D D ( T V D D ) } }$ and the external circuit connected to pins TX1 and TX2.  
[7] During typical circuit operation, the overall current is below 100 mA.  
[8] Typical value using a complementary driver configuration and an antenna matched to 40  between pins TX1 and TX2 at 13.56 MHz.

## 5. Ordering information

Table 2. Ordering information

<table><tr><td rowspan="2">Type number</td><td colspan="3">Package</td></tr><tr><td>Name</td><td>Description</td><td>Version</td></tr><tr><td>MFRC52201HN1/TRAYB[1]</td><td>HVQFN32</td><td>plastic thermal enhanced very thin quad flat package; no leads; 32 terminal; body  $5 \times 5 \times 0.85$  mm</td><td>SOT617-1</td></tr><tr><td>MFRC52201HN1/TRAYBM[2]</td><td>HVQFN32</td><td>plastic thermal enhanced very thin quad flat package; no leads; 32 terminal; body  $5 \times 5 \times 0.85$  mm</td><td>SOT617-1</td></tr><tr><td>MFRC52202HN1/TRAYB[1]</td><td>HVQFN32</td><td>plastic thermal enhanced very thin quad flat package; no leads; 32 terminal; body  $5 \times 5 \times 0.85$  mm</td><td>SOT617-1</td></tr><tr><td>MFRC52202HN1/TRAYBM[2]</td><td>HVQFN32</td><td>plastic thermal enhanced very thin quad flat package; no leads; 32 terminal; body  $5 \times 5 \times 0.85$  mm</td><td>SOT617-1</td></tr></table>

[1] Delivered in one tray.  
[2] Delivered in five trays.

## Standard performance MIFARE and NTAG frontend

## 6. Block diagram

The analog interface handles the modulation and demodulation of the analog signals.

The contactless UART manages the protocol requirements for the communication protocols in cooperation with the host. The FIFO buffer ensures fast and convenient data transfer to and from the host and the contactless UART and vice versa.

Various host interfaces are implemented to meet different customer requirements.

![](https://www.embedr.app/api/datasheets/ds_e00efefa44dbaf427a30/asset?path=images%2F247073d60f54c024d2de5aaf46c9f2db239eaf1aad98b9b6fe2d0154f19c78a8.jpg)  
Fig 1. Simplified block diagram of the MFRC522

## Standard performance MIFARE and NTAG frontend

![](./images/47d46d6bf175a888241b0a2e83d5e7e34517afe89712e5509c51062ec4015733.jpg)  
Fig 2. Detailed block diagram of the MFRC522

## 7. Pinning information

![](./images/e7febb0b005b4f89df182c3e3044487ebfd4fe32efbdcb40899d70bbef29b7df.jpg)  
Fig 3. Pinning configuration HVQFN32 (SOT617-1)

## 7.1 Pin description

Table 3. Pin description

<table><tr><td>Pin</td><td>Symbol</td><td>Type[1]</td><td>Description</td></tr><tr><td>1</td><td>I2C</td><td>I</td><td> $I^2C$ -bus enable input[2]</td></tr><tr><td>2</td><td>PVDD</td><td>P</td><td>pin power supply</td></tr><tr><td>3</td><td>DVDD</td><td>P</td><td>digital power supply</td></tr><tr><td>4</td><td>DVSS</td><td>G</td><td>digital ground[3]</td></tr><tr><td>5</td><td>PVSS</td><td>G</td><td>pin power supply ground</td></tr><tr><td>6</td><td>NRSTPD</td><td>I</td><td>reset and power-down input:power-down: enabled when LOW; internal current sinks are switched off, the oscillator is inhibited and the input pins are disconnected from the outside worldreset: enabled by a positive edge</td></tr><tr><td>7</td><td>MFIN</td><td>I</td><td>MIFARE signal input</td></tr><tr><td>8</td><td>MFOUT</td><td>O</td><td>MIFARE signal output</td></tr><tr><td>9</td><td>SVDD</td><td>P</td><td>MFIN and MFOUT pin power supply</td></tr><tr><td>10</td><td>TVSS</td><td>G</td><td>transmitter output stage 1 ground</td></tr><tr><td>11</td><td>TX1</td><td>O</td><td>transmitter 1 modulated 13.56 MHz energy carrier output</td></tr><tr><td>12</td><td>TVDD</td><td>P</td><td>transmitter power supply: supplies the output stage of transmitters 1 and 2</td></tr><tr><td>13</td><td>TX2</td><td>O</td><td>transmitter 2 modulated 13.56 MHz energy carrier output</td></tr><tr><td>14</td><td>TVSS</td><td>G</td><td>transmitter output stage 2 ground</td></tr><tr><td>15</td><td>AVDD</td><td>P</td><td>analog power supply</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 3. Pin description …continued

<table><tr><td>Pin</td><td>Symbol</td><td>Type[1]</td><td>Description</td></tr><tr><td>16</td><td>VMID</td><td>P</td><td>internal reference voltage</td></tr><tr><td>17</td><td>RX</td><td>I</td><td>RF signal input</td></tr><tr><td>18</td><td>AVSS</td><td>G</td><td>analog ground</td></tr><tr><td>19</td><td>AUX1</td><td>O</td><td>auxiliary outputs for test purposes</td></tr><tr><td>20</td><td>AUX2</td><td>O</td><td>auxiliary outputs for test purposes</td></tr><tr><td>21</td><td>OSCIN</td><td>I</td><td>crystal oscillator inverting amplifier input; also the input for an externally generated clock (fclk=27.12 MHz)</td></tr><tr><td>22</td><td>OSCOUT</td><td>O</td><td>crystal oscillator inverting amplifier output</td></tr><tr><td>23</td><td>IRQ</td><td>O</td><td>interrupt request output: indicates an interrupt event</td></tr><tr><td rowspan="3">24</td><td>SDA</td><td>I/O</td><td> $I^{2}C$ -bus serial data line input/output[2]</td></tr><tr><td>NSS</td><td>I</td><td>SPI signal input[2]</td></tr><tr><td>RX</td><td>I</td><td>UART address input[2]</td></tr><tr><td rowspan="2">25</td><td>D1</td><td>I/O</td><td>test port[2]</td></tr><tr><td>ADR_5</td><td>I/O</td><td> $I^{2}C$ -bus address 5 input[2]</td></tr><tr><td rowspan="2">26</td><td>D2</td><td>I/O</td><td>test port</td></tr><tr><td>ADR_4</td><td>I</td><td> $I^{2}C$ -bus address 4 input[2]</td></tr><tr><td rowspan="2">27</td><td>D3</td><td>I/O</td><td>test port</td></tr><tr><td>ADR_3</td><td>I</td><td> $I^{2}C$ -bus address 3 input[2]</td></tr><tr><td rowspan="2">28</td><td>D4</td><td>I/O</td><td>test port</td></tr><tr><td>ADR_2</td><td>I</td><td> $I^{2}C$ -bus address 2 input[2]</td></tr><tr><td rowspan="4">29</td><td>D5</td><td>I/O</td><td>test port</td></tr><tr><td>ADR_1</td><td>I</td><td> $I^{2}C$ -bus address 1 input[2]</td></tr><tr><td>SCK</td><td>I</td><td>SPI serial clock input[2]</td></tr><tr><td>DTRQ</td><td>O</td><td>UART request to send output to microcontroller[2]</td></tr><tr><td rowspan="4">30</td><td>D6</td><td>I/O</td><td>test port</td></tr><tr><td>ADR_0</td><td>I</td><td> $I^{2}C$ -bus address 0 input[2]</td></tr><tr><td>MOSI</td><td>I/O</td><td>SPI master out, slave in[2]</td></tr><tr><td>MX</td><td>O</td><td>UART output to microcontroller[2]</td></tr><tr><td rowspan="4">31</td><td>D7</td><td>I/O</td><td>test port</td></tr><tr><td>SCL</td><td>I/O</td><td> $I^{2}C$ -bus clock input/output[2]</td></tr><tr><td>MISO</td><td>I/O</td><td>SPI master in, slave out[2]</td></tr><tr><td>TX</td><td>O</td><td>UART data output to microcontroller[2]</td></tr><tr><td>32</td><td>EA</td><td>I</td><td>external address input for coding  $I^{2}C$ -bus address[2]</td></tr></table>

[1] Pin types: I = Input, O = Output, I/O = Input/Output, P = Power and G = Ground.  
[2] The pin functionality of these pins is explained in Section 8.1 “Digital interfaces”.  
[3] Connection of heatsink pad on package bottom side is not necessary. Optional connection to pin DVSS is possible.

## 8. Functional description

The MFRC522 transmission module supports the Read/Write mode for ISO/IEC 14443 A/MIFARE using various transfer speeds and modulation protocols.

![](./images/0f5d2e0486fc0e6a21e045bf1e510d998ce4f57641327ce4a884579f85d7ebc3.jpg)  
Fig 4. MFRC522 Read/Write mode  
The physical level communication is shown in Figure 5.

![](./images/41c11adc251eeb64f971ad51f14cc8bff3e0001ce59fc5edfd6a2eb9d26ce69a.jpg)

(1) Reader to card 100 % ASK, Miller encoded, transfer speed 106 kBd to 848 kBd.

(2) Card to reader subcarrier load modulation, Manchester encoded or BPSK, transfer speed 106 kBd to 848 kBd.

Fig 5. ISO/IEC 14443 A/MIFARE Read/Write mode communication diagram

The physical parameters are described in Table 4.

Table 4. Communication overview for ISO/IEC 14443 A/MIFARE reader/writer

<table><tr><td rowspan="2">Communication direction</td><td rowspan="2">Signal type</td><td colspan="4">Transfer speed</td></tr><tr><td>106 kBd</td><td>212 kBd</td><td>424 kBd</td><td>848 kBd</td></tr><tr><td rowspan="3">Reader to card (send data from the MFRC522 to a card)</td><td>reader side modulation</td><td>100 % ASK</td><td>100 % ASK</td><td>100 % ASK</td><td>100 % ASK</td></tr><tr><td>bit encoding</td><td>modified Miller encoding</td><td>modified Miller encoding</td><td>modified Miller encoding</td><td>modified Miller encoding</td></tr><tr><td>bit length</td><td>128 (13.56 μs)</td><td>64 (13.56 μs)</td><td>32 (13.56 μs)</td><td>16 (13.56 μs)</td></tr><tr><td rowspan="3">Card to reader (MFRC522 receives data from a card)</td><td>card side modulation</td><td>subcarrier load modulation</td><td>subcarrier load modulation</td><td>subcarrier load modulation</td><td>subcarrier load modulation</td></tr><tr><td>subcarrier frequency</td><td>13.56 MHz / 16</td><td>13.56 MHz / 16</td><td>13.56 MHz / 16</td><td>13.56 MHz / 16</td></tr><tr><td>bit encoding</td><td>Manchester encoding</td><td>BPSK</td><td>BPSK</td><td>BPSK</td></tr></table>

The MFRC522’s contactless UART and dedicated external host must manage the complete ISO/IEC 14443 A/MIFARE protocol. Figure 6 shows the data coding and framing according to ISO/IEC 14443 A/MIFARE.

## Standard performance MIFARE and NTAG frontend

![](./images/f49dd1be3df8275e722d8370cc06ee5e44c339fc051af5846f533788a099dd1a.jpg)  
Fig 6. Data coding and framing according to ISO/IEC 14443 A

The internal CRC coprocessor calculates the CRC value based on ISO/IEC 14443 A part 3 and handles parity generation internally according to the transfer speed. Automatic parity generation can be switched off using the MfRxReg register’s ParityDisable bit.

## 8.1 Digital interfaces

## 8.1.1 Automatic microcontroller interface detection

The MFRC522 supports direct interfacing of hosts using SPI, I<sup>2</sup>C-bus or serial UART interfaces. The MFRC522 resets its interface and checks the current host interface type automatically after performing a power-on or hard reset. The MFRC522 identifies the host interface by sensing the logic levels on the control pins after the reset phase. This is done using a combination of fixed pin connections. Table 5 shows the different connection configurations.

Table 5. Connection protocol for detecting different interface types

<table><tr><td rowspan="2">Pin</td><td colspan="3">Interface type</td></tr><tr><td>UART (input)</td><td>SPI (output)</td><td>I2C-bus (I/O)</td></tr><tr><td>SDA</td><td>RX</td><td>NSS</td><td>SDA</td></tr><tr><td>I2C</td><td>0</td><td>0</td><td>1</td></tr><tr><td>EA</td><td>0</td><td>1</td><td>EA</td></tr><tr><td>D7</td><td>TX</td><td>MISO</td><td>SCL</td></tr><tr><td>D6</td><td>MX</td><td>MOSI</td><td>ADR_0</td></tr><tr><td>D5</td><td>DTRQ</td><td>SCK</td><td>ADR_1</td></tr><tr><td>D4</td><td>-</td><td>-</td><td>ADR_2</td></tr><tr><td>D3</td><td>-</td><td>-</td><td>ADR_3</td></tr><tr><td>D2</td><td>-</td><td>-</td><td>ADR_4</td></tr><tr><td>D1</td><td>-</td><td>-</td><td>ADR_5</td></tr></table>

Standard performance MIFARE and NTAG frontend

## 8.1.2 Serial Peripheral Interface

A serial peripheral interface (SPI compatible) is supported to enable high-speed communication to the host. The interface can handle data speeds up to 10 Mbit/s. When communicating with a host, the MFRC522 acts as a slave, receiving data from the external host for register settings, sending and receiving data relevant for RF interface communication.

An interface compatible with SPI enables high-speed serial communication between the MFRC522 and a microcontroller. The implemented interface is in accordance with the SPI standard.

The timing specification is given in Section 14.1 on page 78.

![](./images/ec057ac90961cd913b0ebea2a0db39dd79eedbe718c783865800c215312177a9.jpg)  
Fig 7. SPI connection to host

The MFRC522 acts as a slave during SPI communication. The SPI clock signal SCK must be generated by the master. Data communication from the master to the slave uses the MOSI line. The MISO line is used to send data from the MFRC522 to the master.

Data bytes on both MOSI and MISO lines are sent with the MSB first. Data on both MOSI and MISO lines must be stable on the rising edge of the clock and can be changed on the falling edge. Data is provided by the MFRC522 on the falling clock edge and is stable during the rising clock edge.

## 8.1.2.1 SPI read data

Reading data using SPI requires the byte order shown in Table 6 to be used. It is possible to read out up to n-data bytes.

The first byte sent defines both the mode and the address.

Table 6. MOSI and MISO byte order

<table><tr><td>Line</td><td>Byte 0</td><td>Byte 1</td><td>Byte 2</td><td>To</td><td>Byte n</td><td>Byte n + 1</td></tr><tr><td>MOSI</td><td>address 0</td><td>address 1</td><td>address 2</td><td>...</td><td>address n</td><td>00</td></tr><tr><td>MISO</td><td>X[1]</td><td>data 0</td><td>data 1</td><td>...</td><td>data n - 1</td><td>data n</td></tr></table>

[1] X = Do not care.  
Remark: The MSB must be sent first.

## Standard performance MIFARE and NTAG frontend

## 8.1.2.2 SPI write data

To write data to the MFRC522 using SPI requires the byte order shown in Table 7. It is possible to write up to n data bytes by only sending one address byte.

The first send byte defines both the mode and the address byte.

Table 7. MOSI and MISO byte order

<table><tr><td>Line</td><td>Byte 0</td><td>Byte 1</td><td>Byte 2</td><td>To</td><td>Byte n</td><td>Byte n + 1</td></tr><tr><td>MOSI</td><td>address 0</td><td>data 0</td><td>data 1</td><td>...</td><td>data n - 1</td><td>data n</td></tr><tr><td>MISO</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>...</td><td>X[1]</td><td>X[1]</td></tr></table>

[1] X = Do not care.  
Remark: The MSB must be sent first.

## 8.1.2.3 SPI address byte

The address byte must meet the following format.

The MSB of the first byte defines the mode used. To read data from the MFRC522 the MSB is set to logic 1. To write data to the MFRC522 the MSB must be set to logic 0. Bits 6 to 1 define the address and the LSB is set to logic 0.

Table 8. Address byte 0 register; address MOSI

<table><tr><td>7 (MSB)</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0 (LSB)</td></tr><tr><td>1 = read0 = write</td><td colspan="6">address</td><td>0</td></tr></table>

## 8.1.3 UART interface

## 8.1.3.1 Connection to a host

![](./images/f13f41305f3429b9d6d4bd2ebe1e904acf6b4feecd909cba136fff55e240a947.jpg)  
Fig 8. UART connection to microcontrollers

Remark: Signals DTRQ and MX can be disabled by clearing TestPinEnReg register’s RS232LineEn bit.

## Standard performance MIFARE and NTAG frontend

## 8.1.3.2 Selectable UART transfer speeds

The internal UART interface is compatible with an RS232 serial interface.

The default transfer speed is 9.6 kBd. To change the transfer speed, the host controller must write a value for the new transfer speed to the SerialSpeedReg register. Bits BR\_T0[2:0] and BR\_T1[4:0] define the factors for setting the transfer speed in the SerialSpeedReg register.

The BR\_T0[2:0] and BR\_T1[4:0] settings are described in Table 9. Examples of different transfer speeds and the relevant register settings are given in Table 10.

Table 9. BR\_T0 and BR\_T1 settings

<table><tr><td>BR_Tn</td><td>Bit 0</td><td>Bit 1</td><td>Bit 2</td><td>Bit 3</td><td>Bit 4</td><td>Bit 5</td><td>Bit 6</td><td>Bit 7</td></tr><tr><td>BR_T0 factor</td><td>1</td><td>1</td><td>2</td><td>4</td><td>8</td><td>16</td><td>32</td><td>64</td></tr><tr><td>BR_T1 range</td><td>1 to 32</td><td>33 to 64</td><td>33 to 64</td><td>33 to 64</td><td>33 to 64</td><td>33 to 64</td><td>33 to 64</td><td>33 to 64</td></tr></table>

Table 10. Selectable UART transfer speeds

<table><tr><td rowspan="2">Transfer speed (kBd)</td><td colspan="2">SerialSpeedReg value</td><td rowspan="2">Transfer speed accuracy (%) [1]</td></tr><tr><td>Decimal</td><td>Hexadecimal</td></tr><tr><td>7.2</td><td>250</td><td>FAh</td><td>-0.25</td></tr><tr><td>9.6</td><td>235</td><td>EBh</td><td>0.32</td></tr><tr><td>14.4</td><td>218</td><td>DAh</td><td>-0.25</td></tr><tr><td>19.2</td><td>203</td><td>CBh</td><td>0.32</td></tr><tr><td>38.4</td><td>171</td><td>ABh</td><td>0.32</td></tr><tr><td>57.6</td><td>154</td><td>9Ah</td><td>-0.25</td></tr><tr><td>115.2</td><td>122</td><td>7Ah</td><td>-0.25</td></tr><tr><td>128</td><td>116</td><td>74h</td><td>-0.06</td></tr><tr><td>230.4</td><td>90</td><td>5Ah</td><td>-0.25</td></tr><tr><td>460.8</td><td>58</td><td>3Ah</td><td>-0.25</td></tr><tr><td>921.6</td><td>28</td><td>1Ch</td><td>1.45</td></tr><tr><td>1228.8</td><td>21</td><td>15h</td><td>0.32</td></tr></table>

[1] The resulting transfer speed error is less than 1.5 % for all described transfer speeds.

The selectable transfer speeds shown in Table 10 are calculated according to the following equations:

If BR\_T0[2:0] = 0:

$$
\text { transfer   speed } = \frac {2 7 . 1 2 \times 1 0 ^ {6}}{(B R \_ T 0 + 1)}\tag{1}
$$

If BR\_T0[2:0] > 0:

$$
\text { transfer   speed } = \binom{\frac {2 7 . 1 2 \times 1 0 ^ {6}}{(B R _ {-} T 1 + 3 3)}}{2 ^ {(B R _ {-} T 0 - 1)}}\tag{2}
$$

Remark: Transfer speeds above 1228.8 kBd are not supported.

## Standard performance MIFARE and NTAG frontend

## 8.1.3.3 UART framing

Table 11. UART framing

<table><tr><td>Bit</td><td>Length</td><td>Value</td></tr><tr><td>Start</td><td>1-bit</td><td>0</td></tr><tr><td>Data</td><td>8 bits</td><td>data</td></tr><tr><td>Stop</td><td>1-bit</td><td>1</td></tr></table>

Remark: The LSB for data and address bytes must be sent first. No parity bit is used during transmission.

Read data: To read data using the UART interface, the flow shown in Table 12 must be used. The first byte sent defines both the mode and the address.

Table 12. Read data byte order

<table><tr><td>Pin</td><td>Byte 0</td><td>Byte 1</td></tr><tr><td>RX (pin 24)</td><td>address</td><td>-</td></tr><tr><td>TX (pin 31)</td><td>-</td><td>data 0</td></tr></table>

![](./images/17bc7a00616c995738b517868737524d80fcf6c14a91fb1557dfe76fc12abf90.jpg)

Write data: To write data to the MFRC522 using the UART interface, the structure shown in Table 13 must be used.

The first byte sent defines both the mode and the address.

Standard performance MIFARE and NTAG frontend

Table 13. Write data byte order

<table><tr><td>Pin</td><td>Byte 0</td><td>Byte 1</td></tr><tr><td>RX (pin 24)</td><td>address 0</td><td>data 0</td></tr><tr><td>TX (pin 31)</td><td>-</td><td>address 0</td></tr></table>

![](./images/9a232471c179354dad6feb32d9c18b6e2d6b4a75757556c7be4641c7a6badb47.jpg)

Remark: The data b<sub>y</sub>te can be sent d i rectl<sub>y</sub> afte r the add ress b<sub>y</sub>te on <sub>p</sub>i n RX

Add ress b<sub>y</sub>te : The add ress b<sub>y</sub>te has to meet the fol lowi n<sub>g</sub> format:

The M S B of the fi rst b<sub>y</sub>te sets the mode used To read data from the M F RC522 the M S B is set to lo<sub>g</sub> ic 1 To write data to the M FRC522 the M S B is set to lo<sub>g</sub> ic 0 Bit 6 is rese rved for futu re use and bits 5 to 0 defi ne the add ress <sub>;</sub> see Table 1 4

## Standard performance MIFARE and NTAG frontend

Table 14. Address byte 0 register; address MOS

<table><tr><td>7 (MSB)</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0 (LSB)</td></tr><tr><td>1 = read0 = write</td><td>reserved</td><td colspan="6">address</td></tr></table>

## 8.1.4 I<sup>2</sup>C-bus interface

An I<sup>2</sup>C-bus (Inter-IC) interface is supported to enable a low-cost, low pin count serial bus interface to the host. The I<sup>2</sup>C-bus interface is implemented according to NXP Semiconductors’ I<sup>2</sup>C-bus interface specification, rev. 2.1, January 2000. The interface can only act in Slave mode. Therefore the MFRC522 does not implement clock generation or access arbitration.

![](https://www.embedr.app/api/datasheets/ds_e00efefa44dbaf427a30/asset?path=images%2Fc9c44771eca72664ea1253992135b3477d0949a2af81b3acf4fb789a5b6f8db3.jpg)  
Fig 11. I<sup>2</sup>C-bus interface

The MFRC522 can act either as a slave receiver or slave transmitter in Standard mode, Fast mode and High-speed mode.

SDA is a bidirectional line connected to a positive supply voltage using a current source or a pull-up resistor. Both SDA and SCL lines are set HIGH when data is not transmitted. The MFRC522 has a 3-state output stage to perform the wired-AND function. Data on the I<sup>2</sup>C-bus can be transferred at data rates of up to 100 kBd in Standard mode, up to 400 kBd in Fast mode or up to 3.4 Mbit/s in High-speed mode.

If the I<sup>2</sup>C-bus interface is selected, spike suppression is activated on lines SCL and SDA as defined in the I<sup>2</sup>C-bus interface specification.

See Table 155 on page 79 for timing requirements.

## Standard performance MIFARE and NTAG frontend

## 8.1.4.1 Data validity

Data on the SDA line must be stable during the HIGH clock period. The HIGH or LOW state of the data line must only change when the clock signal on SCL is LOW.

![](https://www.embedr.app/api/datasheets/ds_e00efefa44dbaf427a30/asset?path=images%2F1b93053287dfcf41d4d4088f6f8b22c276604111e8f0814bacf93d9cfb1ddb52.jpg)  
Fig 12. Bit transfer on the I<sup>2</sup>C-bus

## 8.1.4.2 START and STOP conditions

To manage the data transfer on the I<sup>2</sup>C-bus, unique START (S) and STOP (P) conditions are defined.

• A START condition is defined with a HIGH-to-LOW transition on the SDA line while SCL is HIGH.

• A STOP condition is defined with a LOW-to-HIGH transition on the SDA line while SCL is HIGH.

The I<sup>2</sup>C-bus master always generates the START and STOP conditions. The bus is busy after the START condition. The bus is free again a certain time after the STOP condition.

The bus stays busy if a repeated START (Sr) is generated instead of a STOP condition. The START (S) and repeated START (Sr) conditions are functionally identical. Therefore, S is used as a generic term to represent both the START (S) and repeated START (Sr) conditions.

![](./images/8553ee26dd8f7c4f28c7554cf49af4d7d61133207db6ebe76c9b93fde74499b4.jpg)  
Fig 13. START and STOP conditions

## 8.1.4.3 Byte format

Each byte must be followed by an acknowledge bit. Data is transferred with the MSB first; see Figure 16. The number of transmitted bytes during one data transfer is unrestricted but must meet the read/write cycle format.

## Standard performance MIFARE and NTAG frontend

## 8.1.4.4 Acknowledge

An acknowledge must be sent at the end of one data byte. The acknowledge-related clock pulse is generated by the master. The transmitter of data, either master or slave, releases the SDA line (HIGH) during the acknowledge clock pulse. The receiver pulls down the SDA line during the acknowledge clock pulse so that it remains stable LOW during the HIGH period of this clock pulse.

The master can then generate either a STOP (P) condition to stop the transfer or a repeated START (Sr) condition to start a new transfer.

A master-receiver indicates the end of data to the slave-transmitter by not generating an acknowledge on the last byte that was clocked out by the slave. The slave-transmitter releases the data line to allow the master to generate a STOP (P) or repeated START (Sr) condition.

![](./images/b69811a7b8fcf475192b3ce64e07047465b6e0414147f6ae5e3394fddd8fd324.jpg)  
Fig 14. Acknowledge on the I<sup>2</sup>C-bus

![](https://www.embedr.app/api/datasheets/ds_e00efefa44dbaf427a30/asset?path=images%2F22bfb5838f518da9291aef898b312263248b7c9deaf962e50cc1bd65a7d3a4bf.jpg)  
Fig 15. Data transfer on the I<sup>2</sup>C-bus

## Standard performance MIFARE and NTAG frontend

## 8.1.4.5 7-Bit addressing

During the I<sup>2</sup>C-bus address procedure, the first byte after the START condition is used to determine which slave will be selected by the master.

Several address numbers are reserved. During device configuration, the designer must ensure that collisions with these reserved addresses cannot occur. Check the I<sup>2</sup>C-bus specification for a complete list of reserved addresses.

The I<sup>2</sup>C-bus address specification is dependent on the definition of pin EA. Immediately after releasing pin NRSTPD or after a power-on reset, the device defines the I<sup>2</sup>C-bus address according to pin EA.

If pin EA is set LOW, the upper 4 bits of the device bus address are reserved by NXP Semiconductors and set to 0101b for all MFRC522 devices. The remaining 3 bits (ADR\_0, ADR\_1, ADR\_2) of the slave address can be freely configured by the customer to prevent collisions with other I<sup>2</sup>C-bus devices.

If pin EA is set HIGH, ADR\_0 to ADR\_5 can be completely specified at the external pins according to Table 5 on page 9. ADR\_6 is always set to logic 0.

In both modes, the external address coding is latched immediately after releasing the reset condition. Further changes at the used pins are not taken into consideration. Depending on the external wiring, the I<sup>2</sup>C-bus address pins can be used for test signal outputs.

![](./images/a8de549a0c7638f2671990e7b2a29c895b6e231442bd660af51b01ab604b1838.jpg)  
Fig 16. First byte following the START procedure

## 8.1.4.6 Register write access

To write data from the host controller using the I<sup>2</sup>C-bus to a specific register in the MFRC522 the following frame format must be used.

• The first byte of a frame indicates the device address according to the I2C-bus rules.

• The second byte indicates the register address followed by up to n-data bytes.

In one frame all data bytes are written to the same register address. This enables fast FIFO buffer access. The Read/Write (R/W) bit is set to logic 0.

## 8.1.4.7 Register read access

To read out data from a specific register address in the MFRC522, the host controller must use the following procedure:

• Firstly, a write access to the specific register address must be performed as indicated in the frame that follows

• The first byte of a frame indicates the device address according to the I2C-bus rules

• The second byte indicates the register address. No data bytes are added

• The Read/Write bit is 0

After the write access, read access can start. The host sends the device address of the MFRC522. In response, the MFRC522 sends the content of the read access register. In one frame all data bytes can be read from the same register address. This enables fast FIFO buffer access or register polling.

The Read/Write (R/W) bit is set to logic 1.

![](./images/9e919a5397b0543838ef8aa3ac1aae25d3a413844cf0f31cb5ae1ebb4dd7d254.jpg)  
Fig 17. Register read and write access

# Standard performance MIFARE and NTAG frontend

## 8.1.4.8 High-speed mode

In High-speed mode (HS mode), the device can transfer information at data rates of up to 3.4 Mbit/s, while remaining fully downward-compatible with Fast or Standard mode (F/S mode) for bidirectional communication in a mixed-speed bus system.

## 8.1.4.9 High-speed transfer

To achieve data rates of up to 3.4 Mbit/s the following improvements have been made to I<sup>2</sup>C-bus operation.

• The inputs of the device in HS mode incorporate spike suppression, a Schmitt trigger on the SDA and SCL inputs and different timing constants when compared to F/S mode

• The output buffers of the device in HS mode incorporate slope control of the falling edges of the SDA and SCL signals with different fall times compared to F/S mode

## 8.1.4.10 Serial data transfer format in HS mode

The HS mode serial data transfer format meets the Standard mode I<sup>2</sup>C-bus specification. HS mode can only start after all of the following conditions (all of which are in F/S mode):

1. START condition (S)

2. 8-bit master code (00001XXXb)

3. Not-acknowledge bit (A)

When HS mode starts, the active master sends a repeated START condition (Sr) followed by a 7-bit slave address with a R/W bit address and receives an acknowledge bit (A) from the selected MFRC522.

Data transfer continues in HS mode after the next repeated START (Sr), only switching back to F/S mode after a STOP condition (P). To reduce the overhead of the master code, a master links a number of HS mode transfers, separated by repeated START conditions (Sr).

![](./images/893ec620fb4e14e1dd4c6a4fe0d507db15aac436f4db0da243a2ac12cab53dc3.jpg)  
Fig 18. I<sup>2</sup>C-bus HS mode protocol switch

![](https://www.embedr.app/api/datasheets/ds_e00efefa44dbaf427a30/asset?path=images%2F4a3767d7d8d504fa4e44ee76146f58cfd4e1631ad2f3ffded96e9b600100487c.jpg)  
Fig 19. I<sup>2</sup>C-bus HS mode protocol frame

## Standard performance MIFARE and NTAG frontend

## 8.1.4.11 Switching between F/S mode and HS mode

After reset and initialization, the MFRC522 is in Fast mode (which is in effect F/S mode as Fast mode is downward-compatible with Standard mode). The connected MFRC522 recognizes the “S 00001XXX A” sequence and switches its internal circuitry from the Fast mode setting to the HS mode setting.

The following actions are taken:

1. Adapt the SDA and SCL input filters according to the spike suppression requirement in HS mode.

2. Adapt the slope control of the SDA output stages.

It is possible for system configurations that do not have other I<sup>2</sup>C-bus devices involved in the communication to switch to HS mode permanently. This is implemented by setting Status2Reg register’s I<sup>2</sup>CForceHS bit to logic 1. In permanent HS mode, the master code is not required to be sent. This is not defined in the specification and must only be used when no other devices are connected on the bus. In addition, spikes on the I<sup>2</sup>C-bus lines must be avoided because of the reduced spike suppression.

## 8.1.4.12 MFRC522 at lower speed modes

MFRC522 is fully downward-compatible and can be connected to an F/S mode I<sup>2</sup>C-bus system. The device stays in F/S mode and communicates at F/S mode speeds because a master code is not transmitted in this configuration.

## Standard performance MIFARE and NTAG frontend

## 8.2 Analog interface and contactless UART

## 8.2.1 General

The integrated contactless UART supports the external host online with framing and error checking of the protocol requirements up to 848 kBd. An external circuit can be connected to the communication interface pins MFIN and MFOUT to modulate and demodulate the data.

The contactless UART handles the protocol requirements for the communication protocols in cooperation with the host. Protocol handling generates bit and byte-oriented framing. In addition, it handles error detection such as parity and CRC, based on the various supported contactless communication protocols.

Remark: The size and tuning of the antenna and the power supply voltage have an important impact on the achievable operating distance.

## 8.2.2 TX p-driver

The signal on pins TX1 and TX2 is the 13.56 MHz energy carrier modulated by an envelope signal. It can be used to drive an antenna directly using a few passive components for matching and filtering; see Section 15 on page 81. The signal on pins TX1 and TX2 can be configured using the TxControlReg register; see Section 9.3.2.5 on page 50.

The modulation index can be set by adjusting the impedance of the drivers. The impedance of the p-driver can be configured using registers CWGsPReg and ModGsPReg. The impedance of the n-driver can be configured using the GsNReg register. The modulation index also depends on the antenna design and tuning.

The TxModeReg and TxSelReg registers control the data rate and framing during transmission and the antenna driver setting to support the different requirements at the different modes and transfer speeds.

Table 15. Register and bit settings controlling the signal on pin TX1

<table><tr><td>Bit Tx1RFEn</td><td>Bit Force 100ASK</td><td>Bit InvTx1RFOn</td><td>Bit InvTx1RFOff</td><td>Envelope</td><td>Pin TX1</td><td>GSPMos</td><td>GSNMos</td><td>Remarks</td></tr><tr><td>0</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>not specified if RF is switched off</td></tr><tr><td rowspan="6">1</td><td rowspan="2">0</td><td rowspan="2">0</td><td rowspan="2">X[1]</td><td>0</td><td>RF</td><td>pMod</td><td>nMod</td><td rowspan="6">100 % ASK: pin TX1 pulled to logic 0, independent of the InvTx1RFOff bit</td></tr><tr><td>1</td><td>RF</td><td>pCW</td><td>nCW</td></tr><tr><td rowspan="2">0</td><td rowspan="2">1</td><td rowspan="2">X[1]</td><td>0</td><td>RF</td><td>pMod</td><td>nMod</td></tr><tr><td>1</td><td>RF</td><td>pCW</td><td>nCW</td></tr><tr><td rowspan="2">1</td><td rowspan="2">1</td><td rowspan="2">X[1]</td><td>0</td><td>0</td><td>pMod</td><td>nMod</td></tr><tr><td>1</td><td>RF_n</td><td>pCW</td><td>nCW</td></tr></table>

[1] X = Do not care.

## Standard performance MIFARE and NTAG frontend

Table 16. Register and bit settings controlling the signal on pin TX2

<table><tr><td>Bit Tx1RFEn</td><td>Bit Force 100ASK</td><td>Bit Tx2CW</td><td>Bit InvTx2RFOn</td><td>Bit InvTx2RFOff</td><td>Envelope</td><td>Pin TX2</td><td>GSPMos</td><td>GSNMos</td><td>Remarks</td></tr><tr><td>0</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>X[1]</td><td>not specified if RF is switched off</td></tr><tr><td rowspan="12">1</td><td rowspan="6">0</td><td rowspan="4">0</td><td rowspan="2">0</td><td rowspan="2">X[1]</td><td>0</td><td>RF</td><td>pMod</td><td>nMod</td><td rowspan="4">-</td></tr><tr><td>1</td><td>RF</td><td>pCW</td><td>nCW</td></tr><tr><td rowspan="2">1</td><td rowspan="2">X[1]</td><td>0</td><td>RF_n</td><td>pMod</td><td>nMod</td></tr><tr><td>1</td><td>RF_n</td><td>pCW</td><td>nCW</td></tr><tr><td rowspan="2">1</td><td>0</td><td>X[1]</td><td>X[1]</td><td>RF</td><td>pCW</td><td>nCW</td><td rowspan="2">conductance always CW for the Tx2CW bit</td></tr><tr><td>1</td><td>X[1]</td><td>X[1]</td><td>RF_n</td><td>pCW</td><td>nCW</td></tr><tr><td rowspan="6">1</td><td rowspan="4">0</td><td rowspan="2">0</td><td rowspan="2">X[1]</td><td>0</td><td>0</td><td>pMod</td><td>nMod</td><td rowspan="6">100 % ASK: pin TX2 pulled to logic 0 (independent of the InvTx2RFOn/Inv Tx2RFOff bits)</td></tr><tr><td>1</td><td>RF</td><td>pCW</td><td>nCW</td></tr><tr><td rowspan="2">1</td><td rowspan="2">X[1]</td><td>0</td><td>0</td><td>pMod</td><td>nMod</td></tr><tr><td>1</td><td>RF_n</td><td>pCW</td><td>nCW</td></tr><tr><td rowspan="2">1</td><td>0</td><td>X[1]</td><td>X[1]</td><td>RF</td><td>pCW</td><td>nCW</td></tr><tr><td>1</td><td>X[1]</td><td>X[1]</td><td>RF_n</td><td>pCW</td><td>nCW</td></tr></table>

[1] X = Do not care.

The following abbreviations have been used in Table 15 and Table 16:

• RF: 13.56 MHz clock derived from 27.12 MHz quartz crystal oscillator divided by 2

• RF\_n: inverted 13.56 MHz clock

• GSPMos: conductance, configuration of the PMOS array

• GSNMos: conductance, configuration of the NMOS array

• pCW: PMOS conductance value for continuous wave defined by the CWGsPReg register

• pMod: PMOS conductance value for modulation defined by the ModGsPReg register

• nCW: NMOS conductance value for continuous wave defined by the GsNReg register’s CWGsN[3:0] bits

• nMod: NMOS conductance value for modulation defined by the GsNReg register’s ModGsN[3:0] bits

• X = do not care.

Remark: If only one driver is switched on, the values for CWGsPReg, ModGsPReg and GsNReg registers are used for both drivers.

## Standard performance MIFARE and NTAG frontend

## 8.2.3 Serial data switch

Two main blocks are implemented in the MFRC522. The digital block comprises the state machines, encoder/decoder logic. The analog block comprises the modulator and antenna drivers, the receiver and amplifiers. It is possible for the interface between these two blocks to be configured so that the interfacing signals are routed to pins MFIN and MFOUT.

This topology allows the analog block of the MFRC522 to be connected to the digital block of another device.

The serial signal switch is controlled by the TxSelReg and RxSelReg registers.

Figure 20 shows the serial data switch for p-driver TX1 and TX2.

![](./images/d53c1c73afd34063e17c9fba747a6a5021300a2e1e5ca5ea31ac3f0ee8dc5f1c.jpg)  
Fig 20. Serial data switch for p-driver TX1 and TX2

## 8.2.4 MFIN and MFOUT interface support

The MFRC522 is divided into a digital circuit block and an analog circuit block. The digital block contains state machines, encoder and decoder logic and so on. The analog block contains the modulator and antenna drivers, receiver and amplifiers. The interface between these two blocks can be configured so that the interfacing signals can be routed to pins MFIN and MFOUT; see Figure 21 on page 28. This configuration is implemented using TxSelReg register’s MFOutSel[3:0] and DriverSel[1:0] bits and RxSelReg register’s UARTSel[1:0] bits.

This topology allows some parts of the analog block to be connected to the digital block of another device.

Switch MFOutSel in the TxSelReg register can be used to measure MIFARE and ISO/IEC14443 A related signals. This is especially important during the design-in phase or for test purposes as it enables checking of the transmitted and received data.

The most important use of pins MFIN and MFOUT is found in the active antenna concept. An external active antenna circuit can be connected to the MFRC522’s digital block. Switch MFOutSel must be configured so that the internal Miller encoded signal is sent to pin MFOUT (MFOutSel = 100b). UARTSel[1:0] must be configured to receive a Manchester signal with subcarrier from pin MFIN (UARTSel[1:0] = 01).

It is possible to connect a passive antenna to pins TX1, TX2 and RX (using the appropriate filter and matching circuit) and an active antenna to pins MFOUT and MFIN at the same time. In this configuration, two RF circuits can be driven (one after another) by a single host processor.

Standard performance MIFARE and NTAG frontend

Remark: Pins MFIN and MFOUT have a dedicated supply on pin SVDD with the ground on pin PVSS. If pin MFIN is not used it must be connected to either pin SVDD or pin PVSS. If pin SVDD is not used it must be connected to either pin DVDD, pin PVDD or any other voltage supply pin.

![](./images/4513830f5785c0766c28aaeef177627b77bc2d670a4f8542eab02e67992f82e2.jpg)

Fi<sub>g</sub> 21 Overview of M FI N and M FOUT si<sub>g</sub>nal routi n<sub>g</sub>

## Standard performance MIFARE and NTAG frontend

## 8.2.5 CRC coprocessor

The following CRC coprocessor parameters can be configured:

• The CRC preset value can be either 0000h, 6363h, A671h or FFFFh depending on the ModeReg register’s CRCPreset[1:0] bits setting

• The CRC polynomial for the 16-bit CRC is fixed to $\mathsf { x } ^ { 1 6 } + \mathsf { x } ^ { 1 2 } + \mathsf { x } ^ { 5 } + 1$

• The CRCResultReg register indicates the result of the CRC calculation. This register is split into two 8-bit registers representing the higher and lower bytes.

• The ModeReg register’s MSBFirst bit indicates that data will be loaded with the MSB first.

Table 17. CRC coprocessor parameters

<table><tr><td>Parameter</td><td>Value</td></tr><tr><td>CRC register length</td><td>16-bit CRC</td></tr><tr><td>CRC algorithm</td><td>algorithm according to ISO/IEC 14443 A and ITU-T</td></tr><tr><td>CRC preset value</td><td>0000h, 6363h, A671h or FFFFh depending on the setting of the ModeReg register&#x27;s CRCPreset[1:0] bits</td></tr></table>

## 8.3 FIFO buffer

An 8  64 bit FIFO buffer is used in the MFRC522. It buffers the input and output data stream between the host and the MFRC522’s internal state machine. This makes it possible to manage data streams up to 64 bytes long without the need to take timing constraints into account.

## 8.3.1 Accessing the FIFO buffer

The FIFO buffer input and output data bus is connected to the FIFODataReg register. Writing to this register stores one byte in the FIFO buffer and increments the internal FIFO buffer write pointer. Reading from this register shows the FIFO buffer contents stored in the FIFO buffer read pointer and decrements the FIFO buffer read pointer. The distance between the write and read pointer can be obtained by reading the FIFOLevelReg register.

When the microcontroller starts a command, the MFRC522 can, while the command is in progress, access the FIFO buffer according to that command. Only one FIFO buffer has been implemented which can be used for input and output. The microcontroller must ensure that there are not any unintentional FIFO buffer accesses.

## 8.3.2 Controlling the FIFO buffer

The FIFO buffer pointers can be reset by setting FIFOLevelReg register’s FlushBuffer bit to logic 1. Consequently, the FIFOLevel[6:0] bits are all set to logic 0 and the ErrorReg register’s BufferOvfl bit is cleared. The bytes stored in the FIFO buffer are no longer accessible allowing the FIFO buffer to be filled with another 64 bytes.

## 8.3.3 FIFO buffer status information

The host can get the following FIFO buffer status information:

• Number of bytes stored in the FIFO buffer: FIFOLevelReg register’s FIFOLevel[6:0]

• FIFO buffer almost full warning: Status1Reg register’s HiAlert bit

## Standard performance MIFARE and NTAG frontend

• FIFO buffer almost empty warning: Status1Reg register’s LoAlert bit

• FIFO buffer overflow warning: ErrorReg register’s BufferOvfl bit. The BufferOvfl bit can only be cleared by setting the FIFOLevelReg register’s FlushBuffer bit.

The MFRC522 can generate an interrupt signal when:

• ComIEnReg register’s LoAlertIEn bit is set to logic 1. It activates pin IRQ when Status1Reg register’s LoAlert bit changes to logic 1.

• ComIEnReg register’s HiAlertIEn bit is set to logic 1. It activates pin IRQ when Status1Reg register’s HiAlert bit changes to logic 1.

If the maximum number of WaterLevel bytes (as set in the WaterLevelReg register) or less are stored in the FIFO buffer, the HiAlert bit is set to logic 1. It is generated according to Equation 3:

$$
H i A l e r t = (6 4 - F I F O L e n g t h) \leq W a t e r L e v e l\tag{3}
$$

If the number of WaterLevel bytes (as set in the WaterLevelReg register) or less are stored in the FIFO buffer, the LoAlert bit is set to logic 1. It is generated according to Equation 4:

$$
L o A l e r t = F I F O L e n g t h \leq W a t e r L e v e l\tag{4}
$$

## 8.4 Interrupt request system

The MFRC522 indicates certain events by setting the Status1Reg register’s IRq bit and, if activated, by pin IRQ. The signal on pin IRQ can be used to interrupt the host using its interrupt handling capabilities. This allows the implementation of efficient host software.

## 8.4.1 Interrupt sources overview

Table 18 shows the available interrupt bits, the corresponding source and the condition for its activation. The ComIrqReg register’s TimerIRq interrupt bit indicates an interrupt set by the timer unit which is set when the timer decrements from 1 to 0.

The ComIrqReg register’s TxIRq bit indicates that the transmitter has finished. If the state changes from sending data to transmitting the end of the frame pattern, the transmitter unit automatically sets the interrupt bit. The CRC coprocessor sets the DivIrqReg register’s CRCIRq bit after processing all the FIFO buffer data which is indicated by CRCReady bit = 1.

The ComIrqReg register’s RxIRq bit indicates an interrupt when the end of the received data is detected. The ComIrqReg register’s IdleIRq bit is set if a command finishes and the Command[3:0] value in the CommandReg register changes to idle (see Table 149 on page 70).

The ComIrqReg register’s HiAlertIRq bit is set to logic 1 when the Status1Reg register’s HiAlert bit is set to logic 1 which means that the FIFO buffer has reached the level indicated by the WaterLevel[5:0] bits.

The ComIrqReg register’s LoAlertIRq bit is set to logic 1 when the Status1Reg register’s LoAlert bit is set to logic 1 which means that the FIFO buffer has reached the level indicated by the WaterLevel[5:0] bits.

## Standard performance MIFARE and NTAG frontend

The ComIrqReg register’s ErrIRq bit indicates an error detected by the contactless UART during send or receive. This is indicated when any bit is set to logic 1 in register ErrorReg.

Table 18. Interrupt sources

<table><tr><td>Interrupt flag</td><td>Interrupt source</td><td>Trigger action</td></tr><tr><td>IRq</td><td>timer unit</td><td>the timer counts from 1 to 0</td></tr><tr><td>TxIRq</td><td>transmitter</td><td>a transmitted data stream ends</td></tr><tr><td>CRCIRq</td><td>CRC coprocessor</td><td>all data from the FIFO buffer has been processed</td></tr><tr><td>RxIRq</td><td>receiver</td><td>a received data stream ends</td></tr><tr><td>IdleIRq</td><td>ComlrqReg register</td><td>command execution finishes</td></tr><tr><td>HiAlertIRq</td><td>FIFO buffer</td><td>the FIFO buffer is almost full</td></tr><tr><td>LoAlertIRq</td><td>FIFO buffer</td><td>the FIFO buffer is almost empty</td></tr><tr><td>ErrIRq</td><td>contactless UART</td><td>an error is detected</td></tr></table>

## 8.5 Timer unit

The MFRC522A has a timer unit which the external host can use to manage timing tasks. The timer unit can be used in one of the following timer/counter configurations:

• Timeout counter

• Watchdog counter

• Stop watch

• Programmable one shot

• Periodical trigger

The timer unit can be used to measure the time interval between two events or to indicate that a specific event occurred after a specific time. The timer can be triggered by events explained in the paragraphs below. The timer does not influence any internal events, for example, a time-out during data reception does not automatically influence the reception process. Furthermore, several timer-related bits can be used to generate an interrupt.

The timer has an input clock of 13.56 MHz derived from the 27.12 MHz quartz crystal oscillator. The timer consists of two stages: prescaler and counter.

The prescaler (TPrescaler) is a 12-bit counter. The reload values (TReloadVal\_Hi[7:0] and TReloadVal\_Lo[7:0]) for TPrescaler can be set between 0 and 4095 in the TModeReg register’s TPrescaler\_Hi[3:0] bits and TPrescalerReg register’s TPrescaler\_Lo[7:0] bits.

The reload value for the counter is defined by 16 bits between 0 and 65535 in the TReloadReg register.

The current value of the timer is indicated in the TCounterValReg register.

When the counter reaches 0, an interrupt is automatically generated, indicated by the ComIrqReg register’s TimerIRq bit setting. If enabled, this event can be indicated on pin IRQ. The TimerIRq bit can be set and reset by the host. Depending on the configuration, the timer will stop at 0 or restart with the value set in the TReloadReg register.

The timer status is indicated by the Status1Reg register’s TRunning bit.

The timer can be started manually using the ControlReg register’s TStartNow bit and stopped using the ControlReg register’s TStopNow bit.

The timer can also be activated automatically to meet any dedicated protocol requirements by setting the TModeReg register’s TAuto bit to logic 1.

The delay time of a timer stage is set by the reload value + 1. The total delay time $\left( \mathfrak { t } _ { \mathtt { d } 1 } \right)$ is calculated using Equation 5:

$$
t _ {d 1} = \frac {(T P r e s c a l e r \times 2 + 1) \times (T R e l o a d V a l + 1)}{1 3 . 5 6 M H z}\tag{5}
$$

An example of calculating total delay time (t<sub>d</sub>) is shown in Equation 6, where the TPrescaler value = 4095 and TReloadVal = 65535:

$$
3 9. 5 9 s = \frac {(4 0 9 5 \times 2 + 1) \times (6 5 5 3 5 + 1)}{1 3 . 5 6 M H z}\tag{6}
$$

Example: To give a delay time of 25 s requires 339 clock cycles to be counted and a TPrescaler value of 169. This configures the timer to count up to 65535 time-slots for every 25 s period.

The MFRC522 version 2.0 offers in addition a second prescaler timer. Due to the fact that the prescaler counts down to 0 the prescaler period always count an odd number of clocks (1, 3, 5, ..). This may lead to inaccuracy. The second available prescaler timer implements the possibility to change the prescaler reload value to odd numbers, which results in an even prescaler period. This new prescaler can be enabled only in version 2.0 using the register bit DemodeReg, see Table 72. Within this option, the total delay time (t ) is calculated using Equation 5:

$$
t _ {d 2} = \frac {(T P r e s c a l e r \times 2 + 2) \times (T R e l o a d V a l + 1)}{1 3 . 5 6 M H z}\tag{7}
$$

## Standard performance MIFARE and NTAG frontend

## 8.6 Power reduction modes

## 8.6.1 Hard power-down

Hard power-down is enabled when pin NRSTPD is LOW. This turns off all internal current sinks including the oscillator. All digital input buffers are separated from the input pins and clamped internally (except pin NRSTPD). The output pins are frozen at either a HIGH or LOW level.

## 8.6.2 Soft power-down mode

Soft Power-down mode is entered immediately after the CommandReg register’s PowerDown bit is set to logic 1. All internal current sinks are switched off, including the oscillator buffer. However, the digital input buffers are not separated from the input pins and keep their functionality. The digital output pins do not change their state.

During soft power-down, all register values, the FIFO buffer content and the configuration keep their current contents.

After setting the PowerDown bit to logic 0, it takes 1024 clocks until the Soft power-down mode is exited indicated by the PowerDown bit. Setting it to logic 0 does not immediately clear it. It is cleared automatically by the MFRC522 when Soft power-down mode is exited.

Remark: If the internal oscillator is used, you must take into account that it is supplied by pin AVDD and it will take a certain time $\left( \mathfrak { t } _ { \mathtt { o s c } } \right)$ until the oscillator is stable and the clock cycles can be detected by the internal logic. It is recommended for the serial UART, to first send the value 55h to the MFRC522. The oscillator must be stable for further access to the registers. To ensure this, perform a read access to address 0 until the MFRC522 answers to the last read command with the register content of address 0. This indicates that the MFRC522 is ready.

## 8.6.3 Transmitter power-down mode

The Transmitter Power-down mode switches off the internal antenna drivers thereby, turning off the RF field. Transmitter power-down mode is entered by setting either the TxControlReg register’s Tx1RFEn bit or Tx2RFEn bit to logic 0.

## 8.7 Oscillator circuit

![](./images/d071f3d89c1f3669397deca81f9365b497fca84906bfee99d126d92a3c3badd3.jpg)  
Fig 22. Quartz crystal connection

The clock applied to the MFRC522 provides a time basis for the synchronous system’s encoder and decoder. The stability of the clock frequency, therefore, is an important factor for correct operation. To obtain optimum performance, clock jitter must be reduced as much as possible. This is best achieved using the internal oscillator buffer with the recommended circuitry.

If an external clock source is used, the clock signal must be applied to pin OSCIN. In this case, special care must be taken with the clock duty cycle and clock jitter and the clock quality must be verified.

## 8.8 Reset and oscillator start-up time

## 8.8.1 Reset timing requirements

The reset signal is filtered by a hysteresis circuit and a spike filter before it enters the digital circuit. The spike filter rejects signals shorter than 10 ns. In order to perform a reset, the signal must be LOW for at least 100 ns.

## 8.8.2 Oscillator start-up time

If the MFRC522 has been set to a Power-down mode or is powered by a $\mathsf { V } _ { \mathsf { D D X } }$ supply, the start-up time for the MFRC522 depends on the oscillator used and is shown in Figure 23.

The time $( \mathrm { { t } _ { s t a r t u p } ) }$ is the start-up time of the crystal oscillator circuit. The crystal oscillator start-up time is defined by the crystal.

The time $\mathrm { ( ^ { t _ { d } ) } }$ is the internal delay time of the MFRC522 when the clock signal is stable before the MFRC522 can be addressed.

The delay time is calculated by:

$$
t _ {d} = \frac {1 0 2 4}{2 7 \mu \mathrm{s}} = 3 7. 7 4 \mu \mathrm{s}\tag{8}
$$

The time $\left( \mathfrak { t } _ { \mathtt { o s c } } \right)$ is the sum of t<sub>d</sub> and t<sub>startup</sub>. $\mathfrak { t } _ { \mathtt { d } }$

![](./images/24d4bd28dad62327b93d9fd353dcfe64c21cba43f5ca3b007f698beca30c82d3.jpg)  
Fig 23. Oscillator start-up time

## 9. MFRC522 registers

## 9.1 Register bit behavior

Depending on the functionality of a register, the access conditions to the register can vary. In principle, bits with same behavior are grouped in common registers. The access conditions are described in Table 19.

Table 19. Behavior of register bits and their designation

<table><tr><td>Abbreviation</td><td>Behavior</td><td>Description</td></tr><tr><td>R/W</td><td>read and write</td><td>These bits can be written and read by the microcontroller. Since they are used only for control purposes, their content is not influenced by internal state machines, for example the ComIEnReg register can be written and read by the microcontroller. It will also be read by internal state machines but never changed by them.</td></tr><tr><td>D</td><td>dynamic</td><td>These bits can be written and read by the microcontroller. Nevertheless, they can also be written automatically by internal state machines, for example the CommandReg register changes its value automatically after the execution of the command.</td></tr><tr><td>R</td><td>read only</td><td>These register bits hold values which are determined by internal states only, for example the CRCReady bit cannot be written externally but shows internal states.</td></tr><tr><td>W</td><td>write only</td><td>Reading these register bits always returns zero.</td></tr><tr><td>reserved</td><td>-</td><td>These registers are reserved for future use and must not be changed. In case of a write access, it is recommended to always write the value “0”.</td></tr><tr><td>RFT</td><td>-</td><td>These register bits are reserved for future use or are for production tests and must not be changed.</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.2 Register overview

Table 20. MFRC522 register overview

<table><tr><td>Address (hex)</td><td>Register name</td><td>Function</td><td>Refer to</td></tr><tr><td colspan="4">Page 0: Command and status</td></tr><tr><td>00h</td><td>Reserved</td><td>reserved for future use</td><td>Table 21 on page 38</td></tr><tr><td>01h</td><td>CommandReg</td><td>starts and stops command execution</td><td>Table 23 on page 38</td></tr><tr><td>02h</td><td>ComlEnReg</td><td>enable and disable interrupt request control bits</td><td>Table 25 on page 38</td></tr><tr><td>03h</td><td>DivlEnReg</td><td>enable and disable interrupt request control bits</td><td>Table 27 on page 39</td></tr><tr><td>04h</td><td>ComIrqReg</td><td>interrupt request bits</td><td>Table 29 on page 39</td></tr><tr><td>05h</td><td>DivlrqReg</td><td>interrupt request bits</td><td>Table 31 on page 40</td></tr><tr><td>06h</td><td>ErrorReg</td><td>error bits showing the error status of the last command executed</td><td>Table 33 on page 41</td></tr><tr><td>07h</td><td>Status1Reg</td><td>communication status bits</td><td>Table 35 on page 42</td></tr><tr><td>08h</td><td>Status2Reg</td><td>receiver and transmitter status bits</td><td>Table 37 on page 43</td></tr><tr><td>09h</td><td>FIFODataReg</td><td>input and output of 64 byte FIFO buffer</td><td>Table 39 on page 44</td></tr><tr><td>0Ah</td><td>FIFOLevelReg</td><td>number of bytes stored in the FIFO buffer</td><td>Table 41 on page 44</td></tr><tr><td>0Bh</td><td>WaterLevelReg</td><td>level for FIFO underflow and overflow warning</td><td>Table 43 on page 44</td></tr><tr><td>0Ch</td><td>ControlReg</td><td>miscellaneous control registers</td><td>Table 45 on page 45</td></tr><tr><td>0Dh</td><td>BitFramingReg</td><td>adjustments for bit-oriented frames</td><td>Table 47 on page 46</td></tr><tr><td>0Eh</td><td>CollReg</td><td>bit position of the first bit-collision detected on the RF interface</td><td>Table 49 on page 46</td></tr><tr><td>0Fh</td><td>Reserved</td><td>reserved for future use</td><td>Table 51 on page 47</td></tr><tr><td colspan="4">Page 1: Command</td></tr><tr><td>10h</td><td>Reserved</td><td>reserved for future use</td><td>Table 53 on page 47</td></tr><tr><td>11h</td><td>ModeReg</td><td>defines general modes for transmitting and receiving</td><td>Table 55 on page 48</td></tr><tr><td>12h</td><td>TxModeReg</td><td>defines transmission data rate and framing</td><td>Table 57 on page 48</td></tr><tr><td>13h</td><td>RxModeReg</td><td>defines reception data rate and framing</td><td>Table 59 on page 49</td></tr><tr><td>14h</td><td>TxControlReg</td><td>controls the logical behavior of the antenna driver pins TX1 and TX2</td><td>Table 61 on page 50</td></tr><tr><td>15h</td><td>TxASKReg</td><td>controls the setting of the transmission modulation</td><td>Table 63 on page 51</td></tr><tr><td>16h</td><td>TxSelReg</td><td>selects the internal sources for the antenna driver</td><td>Table 65 on page 51</td></tr><tr><td>17h</td><td>RxSelReg</td><td>selects internal receiver settings</td><td>Table 67 on page 52</td></tr><tr><td>18h</td><td>RxThresholdReg</td><td>selects thresholds for the bit decoder</td><td>Table 69 on page 53</td></tr><tr><td>19h</td><td>DemodReg</td><td>defines demodulator settings</td><td>Table 71 on page 53</td></tr><tr><td>1Ah</td><td>Reserved</td><td>reserved for future use</td><td>Table 73 on page 54</td></tr><tr><td>1Bh</td><td>Reserved</td><td>reserved for future use</td><td>Table 75 on page 54</td></tr><tr><td>1Ch</td><td>MfTxReg</td><td>controls some MIFARE communication transmit parameters</td><td>Table 77 on page 55</td></tr><tr><td>1Dh</td><td>MfRxReg</td><td>controls some MIFARE communication receive parameters</td><td>Table 79 on page 55</td></tr><tr><td>1Eh</td><td>Reserved</td><td>reserved for future use</td><td>Table 81 on page 55</td></tr><tr><td>1Fh</td><td>SerialSpeedReg</td><td>selects the speed of the serial UART interface</td><td>Table 83 on page 55</td></tr><tr><td colspan="4">Page 2: Configuration</td></tr><tr><td>20h</td><td>Reserved</td><td>reserved for future use</td><td>Table 85 on page 57</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 20. MFRC522 register overview …continued

<table><tr><td>Address (hex)</td><td>Register name</td><td>Function</td><td>Refer to</td></tr><tr><td>21h</td><td rowspan="2">CRCResultReg</td><td rowspan="2">shows the MSB and LSB values of the CRC calculation</td><td>Table 87 on page 57</td></tr><tr><td>22h</td><td>Table 89 on page 57</td></tr><tr><td>23h</td><td>Reserved</td><td>reserved for future use</td><td>Table 91 on page 58</td></tr><tr><td>24h</td><td>ModWidthReg</td><td>controls the ModWidth setting</td><td>Table 93 on page 58</td></tr><tr><td>25h</td><td>Reserved</td><td>reserved for future use</td><td>Table 95 on page 58</td></tr><tr><td>26h</td><td>RFCfgReg</td><td>configures the receiver gain</td><td>Table 97 on page 59</td></tr><tr><td>27h</td><td>GsNReg</td><td>selects the conductance of the antenna driver pins TX1 and TX2 for modulation</td><td>Table 99 on page 59</td></tr><tr><td>28h</td><td>CWGsPReg</td><td>defines the conductance of the p-driver output during periods of no modulation</td><td>Table 101 on page 60</td></tr><tr><td>29h</td><td>ModGsPReg</td><td>defines the conductance of the p-driver output during periods of modulation</td><td>Table 103 on page 60</td></tr><tr><td>2Ah</td><td>TModeReg</td><td rowspan="2">defines settings for the internal timer</td><td>Table 105 on page 60</td></tr><tr><td>2Bh</td><td>TPrescalerReg</td><td>Table 107 on page 61</td></tr><tr><td>2Ch</td><td rowspan="2">TReloadReg</td><td rowspan="2">defines the 16-bit timer reload value</td><td>Table 109 on page 62</td></tr><tr><td>2Dh</td><td>Table 111 on page 62</td></tr><tr><td>2Eh</td><td rowspan="2">TCounterValReg</td><td rowspan="2">shows the 16-bit timer value</td><td>Table 113 on page 63</td></tr><tr><td>2Fh</td><td>Table 115 on page 63</td></tr><tr><td colspan="4">Page 3: Test register</td></tr><tr><td>30h</td><td>Reserved</td><td>reserved for future use</td><td>Table 117 on page 63</td></tr><tr><td>31h</td><td>TestSel1Reg</td><td>general test signal configuration</td><td>Table 119 on page 63</td></tr><tr><td>32h</td><td>TestSel2Reg</td><td>general test signal configuration and PRBS control</td><td>Table 121 on page 64</td></tr><tr><td>33h</td><td>TestPinEnReg</td><td>enables pin output driver on pins D1 to D7</td><td>Table 123 on page 64</td></tr><tr><td>34h</td><td>TestPinValueReg</td><td>defines the values for D1 to D7 when it is used as an I/O bus</td><td>Table 125 on page 65</td></tr><tr><td>35h</td><td>TestBusReg</td><td>shows the status of the internal test bus</td><td>Table 127 on page 65</td></tr><tr><td>36h</td><td>AutoTestReg</td><td>controls the digital self test</td><td>Table 129 on page 66</td></tr><tr><td>37h</td><td>VersionReg</td><td>shows the software version</td><td>Table 131 on page 66</td></tr><tr><td>38h</td><td>AnalogTestReg</td><td>controls the pins AUX1 and AUX2</td><td>Table 133 on page 67</td></tr><tr><td>39h</td><td>TestDAC1Reg</td><td>defines the test value for TestDAC1</td><td>Table 135 on page 68</td></tr><tr><td>3Ah</td><td>TestDAC2Reg</td><td>defines the test value for TestDAC2</td><td>Table 137 on page 68</td></tr><tr><td>3Bh</td><td>TestADCReg</td><td>shows the value of ADC I and Q channels</td><td>Table 139 on page 68</td></tr><tr><td>3Ch to 3Fh</td><td>Reserved</td><td>reserved for production tests</td><td>Table 141 to Table 147 on page 69</td></tr></table>

Standard performance MIFARE and NTAG frontend

## 9.3 Register descriptions

## 9.3.1 Page 0: Command and status

## 9.3.1.1 Reserved register 00h

Functionality is reserved for future use.

Table 21. Reserved register (address 00h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 22. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>-</td><td>reserved</td></tr></table>

## 9.3.1.2 CommandReg register

Starts and stops command execution.

Table 23. CommandReg register (address 01h); reset value: 20h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol:</td><td colspan="2">reserved</td><td>RcvOff</td><td>PowerDown</td><td colspan="4">Command[3:0]</td></tr><tr><td>Access:</td><td colspan="2">-</td><td>R/W</td><td>D</td><td colspan="4">D</td></tr></table>

Table 24. CommandReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7 to 6</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>5</td><td>RcvOff</td><td>1</td><td>analog part of the receiver is switched off</td></tr><tr><td>4</td><td>PowerDown</td><td>1</td><td>Soft power-down mode entered</td></tr><tr><td></td><td></td><td>0</td><td>MFRC522 starts the wake up procedure during which this bit is read as a logic 1; it is read as a logic 0 when the MFRC522 is ready; see Section 8.6.2 on page 33Remark:The PowerDown bit cannot be set when the SoftReset command is activated</td></tr><tr><td>3 to 0</td><td>Command[3:0]</td><td>-</td><td>activates a command based on the Command value; reading this register shows which command is executed; see Section 10.3 on page 70</td></tr></table>

## 9.3.1.3 ComIEnReg register

Control bits to enable and disable the passing of interrupt requests.

Table 25. ComIEnReg register (address 02h); reset value: 80h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>IRqInv</td><td>TxIEn</td><td>RxIEn</td><td>IdleIEn</td><td>HiAlertIEn</td><td>LoAlertIEn</td><td>ErrIEn</td><td>TimerIEn</td></tr><tr><td>Access</td><td>R/W</td><td>R/W</td><td>R/W</td><td>R/W</td><td>R/W</td><td>R/W</td><td>R/W</td><td>R/W</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 26. ComIEnReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="2">7</td><td rowspan="2">IRqInv</td><td>1</td><td>signal on pin IRQ is inverted with respect to the Status1Reg register&#x27;s IRq bit</td></tr><tr><td>0</td><td>signal on pin IRQ is equal to the IRq bit; in combination with the DivlEnReg register&#x27;s IRqPushPull bit, the default value of logic 1 ensures that the output level on pin IRQ is 3-state</td></tr><tr><td>6</td><td>TxlEn</td><td>-</td><td>allows the transmitter interrupt request (TxlRq bit) to be propagated to pin IRQ</td></tr><tr><td>5</td><td>RxlEn</td><td>-</td><td>allows the receiver interrupt request (RxlRq bit) to be propagated to pin IRQ</td></tr><tr><td>4</td><td>IdlelEn</td><td>-</td><td>allows the idle interrupt request (IdlelRq bit) to be propagated to pin IRQ</td></tr><tr><td>3</td><td>HiAlertlEn</td><td>-</td><td>allows the high alert interrupt request (HiAlertlRq bit) to be propagated to pin IRQ</td></tr><tr><td>2</td><td>LoAlertlEn</td><td>-</td><td>allows the low alert interrupt request (LoAlertlRq bit) to be propagated to pin IRQ</td></tr><tr><td>1</td><td>ErrlEn</td><td>-</td><td>allows the error interrupt request (ErrlRq bit) to be propagated to pin IRQ</td></tr><tr><td>0</td><td>TimerlEn</td><td>-</td><td>allows the timer interrupt request (TimerlRq bit) to be propagated to pin IRQ</td></tr></table>

## 9.3.1.4 DivIEnReg register

Control bits to enable and disable the passing of interrupt requests.

Table 27. DivIEnReg register (address 03h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>IRQPushPull</td><td colspan="2">reserved</td><td>MfinActIEn</td><td>reserved</td><td>CRCIEn</td><td colspan="2">reserved</td></tr><tr><td>Access</td><td>R/W</td><td colspan="2">-</td><td>R/W</td><td>-</td><td>R/W</td><td colspan="2">-</td></tr></table>

Table 28. DivIEnReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="2">7</td><td rowspan="2">IRQPushPull</td><td>1</td><td>pin IRQ is a standard CMOS output pin</td></tr><tr><td>0</td><td>pin IRQ is an open-drain output pin</td></tr><tr><td>6 to 5</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>4</td><td>MfinActlEn</td><td>-</td><td>allows the MFIN active interrupt request to be propagated to pin IRQ</td></tr><tr><td>3</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>2</td><td>CRCIEn</td><td>-</td><td>allows the CRC interrupt request, indicated by the DivIrqReg register&#x27;s CRCIRq bit, to be propagated to pin IRQ</td></tr><tr><td>1 to 0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## 9.3.1.5 ComIrqReg register

Interrupt request bits.

Table 29. ComIrqReg register (address 04h); reset value: 14h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>Set1</td><td>TxIRq</td><td>RxIRq</td><td>IdleIRq</td><td>HiAlertIRq</td><td>LoAlertIRq</td><td>ErrIRq</td><td>TimerIRq</td></tr><tr><td>Access</td><td>W</td><td>D</td><td>D</td><td>D</td><td>D</td><td>D</td><td>D</td><td>D</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 30. ComIrqReg register bit descriptions  
All bits in the ComIrqReg register are cleared by software.

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="2">7</td><td rowspan="2">Set1</td><td>1</td><td>indicates that the marked bits in the ComIrqReg register are set</td></tr><tr><td>0</td><td>indicates that the marked bits in the ComIrqReg register are cleared</td></tr><tr><td>6</td><td>TxIRq</td><td>1</td><td>set immediately after the last bit of the transmitted data was sent out</td></tr><tr><td>5</td><td>RxIRq</td><td>1</td><td>receiver has detected the end of a valid data streamif the RxModeReg register&#x27;s RxNoErr bit is set to logic 1, the RxIRq bit is only set to logic 1 when data bytes are available in the FIFO</td></tr><tr><td>4</td><td>IdleIRq</td><td>1</td><td>If a command terminates, for example, when the CommandReg changes its value from any command to the Idle command (see Table 149 on page 70)if an unknown command is started, the CommandReg register Command[3:0] value changes to the idle state and the IdleIRq bit is setThe microcontroller starting the Idle command does not set the IdleIRq bit</td></tr><tr><td>3</td><td>HiAlertIRq</td><td>1</td><td>the Status1Reg register&#x27;s HiAlert bit is setin opposition to the HiAlert bit, the HiAlertIRq bit stores this event and can only be reset as indicated by the Set1 bit in this register</td></tr><tr><td>2</td><td>LoAlertIRq</td><td>1</td><td>Status1Reg register&#x27;s LoAlert bit is setin opposition to the LoAlert bit, the LoAlertIRq bit stores this event and can only be reset as indicated by the Set1 bit in this register</td></tr><tr><td>1</td><td>ErrIRq</td><td>1</td><td>any error bit in the ErrorReg register is set</td></tr><tr><td>0</td><td>TimerIRq</td><td>1</td><td>the timer decrements the timer value in register TCounterValReg to zero</td></tr></table>

## 9.3.1.6 DivIrqReg register

Interrupt request bits.

Table 31. DivIrqReg register (address 05h); reset value: x0h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>Set2</td><td colspan="2">reserved</td><td>MfinActIRq</td><td>reserved</td><td>CRCIRq</td><td colspan="2">reserved</td></tr><tr><td>Access</td><td>W</td><td colspan="2">-</td><td>D</td><td>-</td><td>D</td><td colspan="2">-</td></tr></table>

Table 32. DivIrqReg register bit descriptions All bits in the DivIrqReg register are cleared by software.

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="2">7</td><td rowspan="2">Set2</td><td>1</td><td>indicates that the marked bits in the DivlrqReg register are set</td></tr><tr><td>0</td><td>indicates that the marked bits in the DivlrqReg register are cleared</td></tr><tr><td>6 to 5</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>4</td><td>MfinActIRq</td><td>1</td><td>MFIN is activethis interrupt is set when either a rising or falling signal edge is detected</td></tr><tr><td>3</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>2</td><td>CRCIRq</td><td>1</td><td>the CalcCRC command is active and all data is processed</td></tr><tr><td>1 to 0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.1.7 ErrorReg register

Error bit register showing the error status of the last command executed.

Table 33. ErrorReg register (address 06h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>WrErr</td><td>TempErr</td><td>reserved</td><td>BufferOvfl</td><td>CollErr</td><td>CRCErr</td><td>ParityErr</td><td>ProtocolErr</td></tr><tr><td>Access</td><td>R</td><td>R</td><td>-</td><td>R</td><td>R</td><td>R</td><td>R</td><td>R</td></tr></table>

Table 34. ErrorReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>WrErr</td><td>1</td><td>data is written into the FIFO buffer by the host during the MFAuthent command or if data is written into the FIFO buffer by the host during the time between sending the last bit on the RF interface and receiving the last bit on the RF interface</td></tr><tr><td>6</td><td>TempErr[1]</td><td>1</td><td>internal temperature sensor detects overheating, in which case the antenna drivers are automatically switched off</td></tr><tr><td>5</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>4</td><td>BufferOvfl</td><td>1</td><td>the host or a MFRC522&#x27;s internal state machine (e.g. receiver) tries to write data to the FIFO buffer even though it is already full</td></tr><tr><td>3</td><td>CollErr</td><td>1</td><td>a bit-collision is detectedcleared automatically at receiver start-up phaseonly valid during the bitwise anticollision at 106 kBdalways set to logic 0 during communication protocols at 212 kBd, 424 kBd and 848 kBd</td></tr><tr><td>2</td><td>CRCErr</td><td>1</td><td>the RxModeReg register&#x27;s RxCRCEn bit is set and the CRC calculation failsautomatically cleared to logic 0 during receiver start-up phase</td></tr><tr><td>1</td><td>ParityErr</td><td>1</td><td>parity check failedautomatically cleared during receiver start-up phaseonly valid for ISO/IEC 14443 A/MIFARE communication at 106 kBd</td></tr><tr><td>0</td><td>ProtocolErr</td><td>1</td><td>set to logic 1 if the SOF is incorrectautomatically cleared during receiver start-up phasebit is only valid for 106 kBdduring the MFAuthent command, the ProtocolErr bit is set to logic 1 if the number of bytes received in one data stream is incorrect</td></tr></table>

[1] Command execution clears all error bits except the TempErr bit. Cannot be set by software.

Standard performance MIFARE and NTAG frontend

## 9.3.1.8 Status1Reg register

Contains status bits of the CRC, interrupt and FIFO buffer.

Table 35. Status1Reg register (address 07h); reset value: 21h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>reserved</td><td>CRCOk</td><td>CRCReady</td><td>IRq</td><td>TRunning</td><td>reserved</td><td>HiAlert</td><td>LoAlert</td></tr><tr><td>Access</td><td>-</td><td>R</td><td>R</td><td>R</td><td>R</td><td>-</td><td>R</td><td>R</td></tr></table>

Table 36. Status1Reg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>6</td><td>CRCOk</td><td>1</td><td>the CRC result is zerofor data transmission and reception, the CRCOk bit is undefined: use the ErrorReg register&#x27;s CRCErr bitindicates the status of the CRC coprocessor, during calculation the value changes to logic 0, when the calculation is done correctly the value changes to logic 1</td></tr><tr><td>5</td><td>CRCReady</td><td>1</td><td>the CRC calculation has finishedonly valid for the CRC coprocessor calculation using the CalcCRC command</td></tr><tr><td>4</td><td>IRq</td><td>-</td><td>indicates if any interrupt source requests attention with respect to the setting of the interrupt enable bits: see the ComlEnReg and DivlEnReg registers</td></tr><tr><td>3</td><td>TRunning</td><td>1</td><td>MFRC522&#x27;s timer unit is running, i.e. the timer will decrement the TCounterValReg register with the next timer clockRemark: in gated mode, the TRunning bit is set to logic 1 when the timer is enabled by TModeReg register&#x27;s TGated[1:0] bits; this bit is not influenced by the gated signal</td></tr><tr><td>2</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>1</td><td>HiAlert</td><td>1</td><td>the number of bytes stored in the FIFO buffer corresponds to equation: $HiAlert = (64 - FIFOLength) \leq WaterLevel$ example:FIFO length = 60, WaterLevel = 4 → HiAlert = 1FIFO length = 59, WaterLevel = 4 → HiAlert = 0</td></tr><tr><td>0</td><td>LoAlert</td><td>1</td><td>the number of bytes stored in the FIFO buffer corresponds to equation: $LoAlert = FIFOLength \leq WaterLevel$ example:FIFO length = 4, WaterLevel = 4 → LoAlert = 1FIFO length = 5, WaterLevel = 4 → LoAlert = 0</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.1.9 Status2Reg register

Contains status bits of the receiver, transmitter and data mode detector.

Table 37. Status2Reg register (address 08h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>TempSensClear</td><td> $I^{2}CForceHS$ </td><td colspan="2">reserved</td><td>MFCrypto1On</td><td colspan="3">ModemState[2:0]</td></tr><tr><td>Access</td><td>R/W</td><td>R/W</td><td colspan="2">-</td><td>D</td><td colspan="3">R</td></tr></table>

Table 38. Status2Reg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>TempSensClear</td><td>1</td><td>clears the temperature error if the temperature is below the alarm limit of 125 °C</td></tr><tr><td rowspan="3">6</td><td rowspan="3"> $I^{2}C$ ForceHS</td><td></td><td> $I^{2}C$ -bus input filter settings:</td></tr><tr><td>1</td><td>the  $I^{2}C$ -bus input filter is set to the High-speed mode independent of the  $I^{2}C$ -bus protocol</td></tr><tr><td>0</td><td>the  $I^{2}C$ -bus input filter is set to the  $I^{2}C$ -bus protocol used</td></tr><tr><td>5 to 4</td><td>reserved</td><td>-</td><td>reserved</td></tr><tr><td>3</td><td>MFCrypto1On</td><td>-</td><td>indicates that the MIFARE Crypto1 unit is switched on and therefore all data communication with the card is encrypted can only be set to logic 1 by a successful execution of the MFAuthent commandonly valid in Read/Write mode for MIFARE standard cards this bit is cleared by software</td></tr><tr><td rowspan="8">2 to 0</td><td rowspan="8">ModemState[2:0]</td><td>-</td><td>shows the state of the transmitter and receiver state machines:</td></tr><tr><td>000</td><td>idle</td></tr><tr><td>001</td><td>wait for the BitFramingReg register&#x27;s StartSend bit</td></tr><tr><td>010</td><td>TxWait: wait until RF field is present if the TModeReg register&#x27;s TxWaitRF bit is set to logic 1the minimum time for TxWait is defined by the TxWaitReg register</td></tr><tr><td>011</td><td>transmitting</td></tr><tr><td>100</td><td>RxWait: wait until RF field is present if the TModeReg register&#x27;s TxWaitRF bit is set to logic 1the minimum time for RxWait is defined by the RxWaitReg register</td></tr><tr><td>101</td><td>wait for data</td></tr><tr><td>110</td><td>receiving</td></tr></table>

## 9.3.1.10 FIFODataReg register

Input and output of 64 byte FIFO buffer.

Table 39. FIFODataReg register (address 09h); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">FIFOData[7:0]</td></tr><tr><td>Access</td><td colspan="8">D</td></tr></table>

Table 40. FIFODataReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>FIFOData[7:0]</td><td>data input and output port for the internal 64-byte FIFO bufferFIFO buffer acts as parallel in/parallel out converter for all serial data stream inputs and outputs</td></tr></table>

## 9.3.1.11 FIFOLevelReg register

Indicates the number of bytes stored in the FIFO.

Table 41. FIFOLevelReg register (address 0Ah); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>FlushBuffer</td><td colspan="7">FIFOLevel[6:0]</td></tr><tr><td>Access</td><td>W</td><td colspan="7">R</td></tr></table>

Table 42. FIFOLevelReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>FlushBuffer</td><td>1</td><td>immediately clears the internal FIFO buffer&#x27;s read and write pointer and ErrorReg register&#x27;s BufferOvfl bitreading this bit always returns 0</td></tr><tr><td>6 to 0</td><td>FIFOLevel [6:0]</td><td>-</td><td>indicates the number of bytes stored in the FIFO buffer writing to the FIFODataReg register increments and reading decrements the FIFOLevel value</td></tr></table>

## 9.3.1.12 WaterLevelReg register

Defines the level for FIFO under- and overflow warning.

Table 43. WaterLevelReg register (address 0Bh); reset value: 08h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="2">reserved</td><td colspan="6">WaterLevel[5:0]</td></tr><tr><td>Access</td><td colspan="2">-</td><td colspan="6">R/W</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 44. WaterLevelReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 6</td><td>reserved</td><td>reserved for future use</td></tr><tr><td>5 to 0</td><td>WaterLevel [5:0]</td><td>defines a warning level to indicate a FIFO buffer overflow or underflow:Status1Reg register&#x27;s HiAlert bit is set to logic 1 if the remaining number of bytes in the FIFO buffer space is equal to, or less than the defined number of WaterLevel bytesStatus1Reg register&#x27;s LoAlert bit is set to logic 1 if equal to, or less than the WaterLevel bytes in the FIFO bufferRemark:to calculate values for HiAlert and LoAlert see Section 9.3.1.8 on page 42.</td></tr></table>

## 9.3.1.13 ControlReg register

Miscellaneous control bits.

Table 45. ControlReg register (address 0Ch); reset value: 10h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>TStopNow</td><td>TStartNow</td><td colspan="3">reserved</td><td colspan="3">RxLastBits[2:0]</td></tr><tr><td>Access</td><td>W</td><td>W</td><td colspan="3">-</td><td colspan="3">R</td></tr></table>

Table 46. ControlReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>TStopNow</td><td>1</td><td>timer stops immediatelyreading this bit always returns it to logic0</td></tr><tr><td>6</td><td>TStartNow</td><td>1</td><td>timer starts immediatelyreading this bit always returns it to logic 0</td></tr><tr><td>5 to 3</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>2 to 0</td><td>RxLastBits[2:0]</td><td>-</td><td>indicates the number of valid bits in the last received byte if this value is 000b, the whole byte is valid</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.1.14 BitFramingReg register

Adjustments for bit-oriented frames.

Table 47. BitFramingReg register (address 0Dh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>StartSend</td><td colspan="3">RxAlign[2:0]</td><td>reserved</td><td colspan="3">TxLastBits[2:0]</td></tr><tr><td>Access</td><td>W</td><td colspan="3">R/W</td><td>-</td><td colspan="3">R/W</td></tr></table>

Table 48. BitFramingReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>StartSend</td><td>1</td><td>starts the transmission of data only valid in combination with the Transceive command</td></tr><tr><td rowspan="4">6 to 4</td><td rowspan="4">RxAlign[2:0]</td><td></td><td>used for reception of bit-oriented frames: defines the bit position for the first bit received to be stored in the FIFO buffer example:</td></tr><tr><td>0</td><td>LSB of the received bit is stored at bit position 0, the second received bit is stored at bit position 1</td></tr><tr><td>1</td><td>LSB of the received bit is stored at bit position 1, the second received bit is stored at bit position 2</td></tr><tr><td>7</td><td>LSB of the received bit is stored at bit position 7, the second received bit is stored in the next byte that follows at bit position 0These bits are only to be used for bitwise anticollision at 106 kBd, for all other modes they are set to 0</td></tr><tr><td>3</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>2 to 0</td><td>TxLastBits[2:0]</td><td>-</td><td>used for transmission of bit oriented frames: defines the number of bits of the last byte that will be transmitted000b indicates that all bits of the last byte will be transmitted</td></tr></table>

## 9.3.1.15 CollReg register

Defines the first bit-collision detected on the RF interface.

Table 49. CollReg register (address 0Eh); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>ValuesAfterColl</td><td>reserved</td><td>CollPosNotValid</td><td colspan="5">CollPos[4:0]</td></tr><tr><td>Access</td><td>R/W</td><td>-</td><td>R</td><td colspan="5">R</td></tr></table>

Table 50. CollReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>ValuesAfterColl</td><td>0</td><td>all received bits will be cleared after a collision only used during bitwise anticollision at 106 kBd, otherwise it is set to logic 1</td></tr><tr><td>6</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>5</td><td>CollPosNotValid</td><td>1</td><td>no collision detected or the position of the collision is out of the range of CollPos[4:0]</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 50. CollReg register bit descriptions …continued

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="4">4 to 0</td><td rowspan="4">CollPos[4:0]</td><td>-</td><td>shows the bit position of the first detected collision in a received frameonly data bits are interpretedexample:</td></tr><tr><td>00h</td><td>indicates a bit-collision in the  $32^{nd}$  bit</td></tr><tr><td>01h</td><td>indicates a bit-collision in the  $1^{st}$  bit</td></tr><tr><td>08h</td><td>indicates a bit-collision in the  $8^{th}$  bitThese bits will only be interpreted if the CollPosNotValid bit is set to logic 0</td></tr></table>

## 9.3.1.16 Reserved register 0Fh

Functionality is reserved for future use.

Table 51. Reserved register (address 0Fh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 52. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## 9.3.2 Page 1: Communication

## 9.3.2.1 Reserved register 10h

Functionality is reserved for future use.

Table 53. Reserved register (address 10h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 54. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.2.2 ModeReg register

Defines general mode settings for transmitting and receiving.

Table 55. ModeReg register (address 11h); reset value: 3Fh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>MSBFirst</td><td>reserved</td><td>TxWaitRF</td><td>reserved</td><td>PolMFin</td><td>reserved</td><td colspan="2">CRCPreset[1:0]</td></tr><tr><td>Access</td><td>R/W</td><td>-</td><td>R/W</td><td>-</td><td>R/W</td><td>-</td><td colspan="2">R/W</td></tr></table>

Table 56. ModeReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>MSBFirst</td><td>1</td><td>CRC coprocessor calculates the CRC with MSB first in the CRCResultReg register the values for the CRCResultMSB[7:0] bits and the CRCResultLSB[7:0] bits are bit reversedRemark: during RF communication this bit is ignored</td></tr><tr><td>6</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>5</td><td>TxWaitRF</td><td>1</td><td>transmitter can only be started if an RF field is generated</td></tr><tr><td>4</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td rowspan="3">3</td><td rowspan="3">PolMFin</td><td></td><td>defines the polarity of pin MFINRemark: the internal envelope signal is encoded active LOW, changing this bit generates a MFinActIRq event</td></tr><tr><td>1</td><td>polarity of pin MFIN is active HIGH</td></tr><tr><td>0</td><td>polarity of pin MFIN is active LOW</td></tr><tr><td>2</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td rowspan="5">1 to 0</td><td rowspan="5">CRCPreset [1:0]</td><td></td><td>defines the preset value for the CRC coprocessor for the CalcCRC commandRemark: during any communication, the preset values are selected automatically according to the definition of bits in the RxModeReg and TxModeReg registers</td></tr><tr><td>00</td><td>0000h</td></tr><tr><td>01</td><td>6363h</td></tr><tr><td>10</td><td>A671h</td></tr><tr><td>11</td><td>FFFFh</td></tr></table>

## 9.3.2.3 TxModeReg register

Defines the data rate during transmission.

Table 57. TxModeReg register (address 12h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>TxCRCEn</td><td colspan="3">TxSpeed[2:0]</td><td>InvMod</td><td colspan="3">reserved</td></tr><tr><td>Access</td><td>R/W</td><td colspan="3">D</td><td>R/W</td><td colspan="3">-</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 58. TxModeReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>TxCRCEn</td><td>1</td><td>enables CRC generation during data transmissionRemark: can only be set to logic 0 at 106 kBd</td></tr><tr><td rowspan="9">6 to 4</td><td rowspan="9">TxSpeed[2:0]</td><td></td><td>defines the bit rate during data transmissionthe MFRC522 handles transfer speeds up to848 kBd</td></tr><tr><td>000</td><td>106 kBd</td></tr><tr><td>001</td><td>212 kBd</td></tr><tr><td>010</td><td>424 kBd</td></tr><tr><td>011</td><td>848 kBd</td></tr><tr><td>100</td><td>reserved</td></tr><tr><td>101</td><td>reserved</td></tr><tr><td>110</td><td>reserved</td></tr><tr><td>111</td><td>reserved</td></tr><tr><td>3</td><td>InvMod</td><td>1</td><td>modulation of transmitted data is inverted</td></tr><tr><td>2 to 0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## 9.3.2.4 RxModeReg register

Defines the data rate during reception.

Table 59. RxModeReg register (address 13h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>RxCRCEn</td><td colspan="3">RxSpeed[2:0]</td><td>RxNoErr</td><td>RxMultiple</td><td colspan="2">reserved</td></tr><tr><td>Access</td><td>R/W</td><td colspan="3">D</td><td>R/W</td><td>R/W</td><td colspan="2">-</td></tr></table>

Table 60. RxModeReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>RxCRCEn</td><td>1</td><td>enables the CRC calculation during receptionRemark: can only be set to logic 0 at 106 kBd</td></tr><tr><td rowspan="9">6 to 4</td><td rowspan="9">RxSpeed[2:0]</td><td></td><td>defines the bit rate while receiving datathe MFRC522 handles transfer speeds up to 848 kBd</td></tr><tr><td>000</td><td>106 kBd</td></tr><tr><td>001</td><td>212 kBd</td></tr><tr><td>010</td><td>424 kBd</td></tr><tr><td>011</td><td>848 kBd</td></tr><tr><td>100</td><td>reserved</td></tr><tr><td>101</td><td>reserved</td></tr><tr><td>110</td><td>reserved</td></tr><tr><td>111</td><td>reserved</td></tr><tr><td>3</td><td>RxNoErr</td><td>1</td><td>an invalid received data stream (less than 4 bits received) will be ignored and the receiver remains active</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 60. RxModeReg register bit descriptions …continued

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="2">2</td><td rowspan="2">RxMultiple</td><td>0</td><td>receiver is deactivated after receiving a data frame</td></tr><tr><td>1</td><td>able to receive more than one data frameonly valid for data rates above 106 kBd in order to handle the polling commandafter setting this bit the Receive and Transceive commands will not terminate automatically. Multiple reception can only be deactivated by writing any command (except the Receive command) to the CommandReg register, or by the host clearing the bitif set to logic 1, an error byte is added to the FIFO buffer at the end of a received data stream which is a copy of the ErrorReg register value. For the MFRC522 version 2.0 the CRC status is reflected in the signal CRCOk, which indicates the actual status of the CRC coprocessor. For the MFRC522 version 1.0 the CRC status is reflected in the signal CRCErr.</td></tr><tr><td>1 to 0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## 9.3.2.5 TxControlReg register

Controls the logical behavior of the antenna driver pins TX1 and TX2.

Table 61. TxControlReg register (address 14h); reset value: 80h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>InvTx2RF On</td><td>InvTx1RF On</td><td>InvTx2RF Off</td><td>InvTx1RF Off</td><td>Tx2CW</td><td>reserved</td><td>Tx2RFEn</td><td>Tx1RFEn</td></tr><tr><td>Access</td><td>R/W</td><td>R/W</td><td>R/W</td><td>R/W</td><td>R/W</td><td>-</td><td>R/W</td><td>R/W</td></tr></table>

Table 62. TxControlReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>InvTx2RFOn</td><td>1</td><td>output signal on pin TX2 inverted when driver TX2 is enabled</td></tr><tr><td>6</td><td>InvTx1RFOn</td><td>1</td><td>output signal on pin TX1 inverted when driver TX1 is enabled</td></tr><tr><td>5</td><td>InvTx2RFOff</td><td>1</td><td>output signal on pin TX2 inverted when driver TX2 is disabled</td></tr><tr><td>4</td><td>InvTx1RFOff</td><td>1</td><td>output signal on pin TX1 inverted when driver TX1 is disabled</td></tr><tr><td rowspan="2">3</td><td rowspan="2">Tx2CW</td><td>1</td><td>output signal on pin TX2 continuously delivers the unmodulated 13.56 MHz energy carrier</td></tr><tr><td>0</td><td>Tx2CW bit is enabled to modulate the 13.56 MHz energy carrier</td></tr><tr><td>2</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>1</td><td>Tx2RFEn</td><td>1</td><td>output signal on pin TX2 delivers the 13.56 MHz energy carrier modulated by the transmission data</td></tr><tr><td>0</td><td>Tx1RFEn</td><td>1</td><td>output signal on pin TX1 delivers the 13.56 MHz energy carrier modulated by the transmission data</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.2.6 TxASKReg register

Controls transmit modulation settings.

Table 63. TxASKReg register (address 15h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>reserved</td><td>Force100ASK</td><td colspan="6">reserved</td></tr><tr><td>Access</td><td>-</td><td>R/W</td><td colspan="6">-</td></tr></table>

Table 64. TxASKReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>6</td><td>Force100ASK</td><td>1</td><td>forces a 100 % ASK modulation independent of the ModGsPReg register setting</td></tr><tr><td>5 to 0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## 9.3.2.7 TxSelReg register

Selects the internal sources for the analog module.

Table 65. TxSelReg register (address 16h); reset value: 10h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol:</td><td colspan="2">reserved</td><td colspan="2">DriverSel[1:0]</td><td colspan="4">MFOutSel[3:0]</td></tr><tr><td>Access:</td><td colspan="2">-</td><td colspan="2">R/W</td><td colspan="4">R/W</td></tr></table>

Table 66. TxSelReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7 to 6</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td rowspan="5">5 to 4</td><td rowspan="5">DriverSel[1:0]</td><td>-</td><td>selects the input of drivers TX1 and TX2</td></tr><tr><td>00</td><td>3-state; in soft power-down the drivers are only in 3-state mode if the DriverSel[1:0] value is set to 3-state mode</td></tr><tr><td>01</td><td>modulation signal (envelope) from the internal encoder, Miller pulse encoded</td></tr><tr><td>10</td><td>modulation signal (envelope) from pin MFIN</td></tr><tr><td>11</td><td>HIGH; the HIGH level depends on the setting of bits InvTx1RFOn/InvTx1RFOff and InvTx2RFOn/InvTx2RFOff</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 66. TxSelReg register bit descriptions …continued

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="10">3 to 0</td><td rowspan="10">MFOutSel[3:0]</td><td></td><td>selects the input for pin MFOUT</td></tr><tr><td>0000</td><td>3-state</td></tr><tr><td>0001</td><td>LOW</td></tr><tr><td>0010</td><td>HIGH</td></tr><tr><td>0011</td><td>test bus signal as defined by the TestSel1Reg register&#x27;s TstBusBitSel[2:0] value</td></tr><tr><td>0100</td><td>modulation signal (envelope) from the internal encoder, Miller pulse encoded</td></tr><tr><td>0101</td><td>serial data stream to be transmitted, data stream before Miller encoder</td></tr><tr><td>0110</td><td>reserved</td></tr><tr><td>0111</td><td>serial data stream received, data stream after Manchester decoder</td></tr><tr><td>1000 to 1111</td><td>reserved</td></tr></table>

## 9.3.2.8 RxSelReg register

Selects internal receiver settings.

Table 67. RxSelReg register (address 17h); reset value: 84h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="2">UARTSel[1:0]</td><td colspan="6">RxWait[5:0]</td></tr><tr><td>Access</td><td colspan="2">R/W</td><td colspan="6">R/W</td></tr></table>

Table 68. RxSelReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="4">7 to 6</td><td rowspan="4">UARTSel[1:0]</td><td>00</td><td>selects the input of the contactless UARTconstant LOW</td></tr><tr><td>01</td><td>Manchester with subcarrier from pin MFIN</td></tr><tr><td>10</td><td>modulated signal from the internal analog module, default</td></tr><tr><td>11</td><td>NRZ coding without subcarrier from pin MFIN which is only valid for transfer speeds above 106 kBd</td></tr><tr><td>5 to 0</td><td>RxWait[5:0]</td><td>-</td><td>after data transmission the activation of the receiver is delayed for RxWait bit-clocks, during this ‘frame guard time’ any signal on pin RX is ignoredthis parameter is ignored by the Receive commandall other commands, such as Transceive, MFAuthent use this parameterthe counter starts immediately after the external RF field is switched on</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.2.9 RxThresholdReg register

Selects thresholds for the bit decoder.

Table 69. RxThresholdReg register (address 18h); reset value: 84h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="4">MinLevel[3:0]</td><td>reserved</td><td colspan="3">CollLevel[2:0]</td></tr><tr><td>Access</td><td colspan="4">R/W</td><td>-</td><td colspan="3">R/W</td></tr></table>

Table 70. RxThresholdReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 4</td><td>MinLevel [3:0]</td><td>defines the minimum signal strength at the decoder input that will be acceptedif the signal strength is below this level it is not evaluated</td></tr><tr><td>3</td><td>reserved</td><td>reserved for future use</td></tr><tr><td>2 to 0</td><td>CollLevel [2:0]</td><td>defines the minimum signal strength at the decoder input that must be reached by the weaker half-bit of the Manchester encoded signal to generate a bit-collision relative to the amplitude of the stronger half-bit</td></tr></table>

## 9.3.2.10 DemodReg register

Defines demodulator settings.

Table 71. DemodReg register (address 19h); reset value: 4Dh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="2">AddIQ[1:0]</td><td>FixIQ</td><td>TPrescal Even</td><td colspan="2">TauRcv[1:0]</td><td colspan="2">TauSync[1:0]</td></tr><tr><td>Access</td><td colspan="2">R/W</td><td>R/W</td><td>R/W</td><td colspan="2">R/W</td><td colspan="2">R/W</td></tr></table>

Table 72. DemodReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="5">7 to 6</td><td rowspan="5">AddIQ[1:0]</td><td>-</td><td>defines the use of I and Q channel during receptionRemark: the FixIQ bit must be set to logic 0 to enable the following settings:</td></tr><tr><td>00</td><td>selects the stronger channel</td></tr><tr><td>01</td><td>selects the stronger channel and freezes the selected channel during communication</td></tr><tr><td>10</td><td>reserved</td></tr><tr><td>11</td><td>reserved</td></tr><tr><td>5</td><td>FixIQ</td><td>1</td><td>if AddIQ[1:0] are set to X0b, the reception is fixed to I channel if AddIQ[1:0] are set to X1b, the reception is fixed to Q channel</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 72. DemodReg register bit descriptions …continued

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>4</td><td>TPrescalEven</td><td>R/W</td><td>Available on RC522 version 1.0 and version 2.0:If set to logic 0 the following formula is used to calculate the timer frequency of the prescaler: $f_{timer} = 13.56 \text{ MHz / (2*TPreScaler+1)}$ .Only available on version 2.0:If set to logic 1 the following formula is used to calculate the timer frequency of the prescaler: $f_{timer} = 13.56 \text{ MHz / (2*TPreScaler+2)}$ .Default TPrescalEven bit is logic 0, find more information on the prescaler in Section 8.5.</td></tr><tr><td>3 to 2</td><td>TauRcv[1:0]</td><td>-</td><td>changes the time-constant of the internal PLL during data receptionRemark: if set to 00b the PLL is frozen during data reception</td></tr><tr><td>1 to 0</td><td>TauSync[1:0]</td><td>-</td><td>changes the time-constant of the internal PLL during burst</td></tr></table>

## 9.3.2.11 Reserved register 1Ah

Functionality is reserved for future use.

Table 73. Reserved register (address 1Ah); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 74. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## 9.3.2.12 Reserved register 1Bh

Functionality is reserved for future use.

Table 75. Reserved register (address 1Bh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 76. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## 9.3.2.13 MfTxReg register

Controls some MIFARE communication transmit parameters.

## Standard performance MIFARE and NTAG frontend

Table 77. MfTxReg register (address 1Ch); reset value: 62h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="6">reserved</td><td colspan="2">TxWait[1:0]</td></tr><tr><td>Access</td><td colspan="6">-</td><td colspan="2">R/W</td></tr></table>

Table 78. MfTxReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 2</td><td>reserved</td><td>reserved for future use</td></tr><tr><td>1 to 0</td><td>TxWait</td><td>defines the additional response time7 bits are added to the value of the register bit by default</td></tr></table>

## 9.3.2.14 MfRxReg register

Table 79. MfRxReg register (address 1Dh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="3">reserved</td><td>ParityDisable</td><td colspan="4">reserved</td></tr><tr><td>Access</td><td colspan="3">-</td><td>R/W</td><td colspan="4">-</td></tr></table>

Table 80. MfRxReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7 to 5</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td>4</td><td>ParityDisable</td><td>1</td><td>generation of the parity bit for transmission and the parity check for receiving is switched offthe received parity bit is handled like a data bit</td></tr><tr><td>3 to 0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## 9.3.2.15 Reserved register 1Eh

Functionality is reserved for future use.

Table 81. Reserved register (address 1Eh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 82. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## 9.3.2.16 SerialSpeedReg register

Selects the speed of the serial UART interface.

Table 83. SerialSpeedReg register (address 1Fh); reset value: EBh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="3">BR_T0[2:0]</td><td colspan="5">BR_T1[4:0]</td></tr><tr><td>Access</td><td colspan="3">R/W</td><td colspan="5">R/W</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 84. SerialSpeedReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 5</td><td>BR_T0[2:0]</td><td>factor BR_T0 adjusts the transfer speed: for description, see Section 8.1.3.2 on page 12</td></tr><tr><td>4 to 0</td><td>BR_T1[4:0]</td><td>factor BR_T1 adjusts the transfer speed: for description, see Section 8.1.3.2 on page 12</td></tr></table>

Standard performance MIFARE and NTAG frontend

## 9.3.3 Page 2: Configuration

## 9.3.3.1 Reserved register 20h

Functionality is reserved for future use.

Table 85. Reserved register (address 20h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">-</td></tr><tr><td>Access</td><td colspan="8">reserved</td></tr></table>

Table 86. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## 9.3.3.2 CRCResultReg registers

Shows the MSB and LSB values of the CRC calculation.

Remark: The CRC is split into two 8-bit registers.

Table 87. CRCResultReg (higher bits) register (address 21h); reset value: FFh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">CRCResultMSB[7:0]</td></tr><tr><td>Access</td><td colspan="8">R</td></tr></table>

Table 88. CRCResultReg register higher bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>CRCResultMSB [7:0]</td><td>shows the value of the CRCResultReg register&#x27;s most significant byteonly valid if Status1Reg register&#x27;s CRCReady bit is set to logic 1</td></tr></table>

Table 89. CRCResultReg (lower bits) register (address 22h); reset value: FFh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">CRCResultLSB[7:0]</td></tr><tr><td>Access</td><td colspan="8">R</td></tr></table>

Table 90. CRCResultReg register lower bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>CRCResultLSB [7:0]</td><td>shows the value of the least significant byte of the CRCResultReg registeronly valid if Status1Reg register&#x27;s CRCReady bit is set to logic 1</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.3.3 Reserved register 23h

Functionality is reserved for future use.

Table 91. Reserved register (address 23h); reset value: 88h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 92. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## 9.3.3.4 ModWidthReg register

Sets the modulation width.

Table 93. ModWidthReg register (address 24h); reset value: 26h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">ModWidth[7:0]</td></tr><tr><td>Access</td><td colspan="8">R/W</td></tr></table>

Table 94. ModWidthReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>ModWidth[7:0]</td><td>defines the width of the Miller modulation as multiples of the carrier frequency (ModWidth + 1 /  $f_{clk}$ )the maximum value is half the bit period</td></tr></table>

## 9.3.3.5 Reserved register 25h

Functionality is reserved for future use.

Table 95. Reserved register (address 25h); reset value: 87h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 96. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.3.6 RFCfgReg register

Configures the receiver gain.

Table 97. RFCfgReg register (address 26h); reset value: 48h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>reserved</td><td colspan="3">RxGain[2:0]</td><td colspan="4">reserved</td></tr><tr><td>Access</td><td>-</td><td colspan="3">R/W</td><td colspan="4">-</td></tr></table>

Table 98. RFCfgReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr><tr><td rowspan="9">6 to 4</td><td rowspan="9">RxGain [2:0]</td><td></td><td>defines the receiver&#x27;s signal voltage gain factor:</td></tr><tr><td>000</td><td>18 dB</td></tr><tr><td>001</td><td>23 dB</td></tr><tr><td>010</td><td>18 dB</td></tr><tr><td>011</td><td>23 dB</td></tr><tr><td>100</td><td>33 dB</td></tr><tr><td>101</td><td>38 dB</td></tr><tr><td>110</td><td>43 dB</td></tr><tr><td>111</td><td>48 dB</td></tr><tr><td>3 to 0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## 9.3.3.7 GsNReg register

Defines the conductance of the antenna driver pins TX1 and TX2 for the n-driver when the driver is switched on.

Table 99. GsNReg register (address 27h); reset value: 88h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="4">CWGsN[3:0]</td><td colspan="4">ModGsN[3:0]</td></tr><tr><td>Access</td><td colspan="4">R/W</td><td colspan="4">R/W</td></tr></table>

Table 100. GsNReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 4</td><td>CWGsN[3:0]</td><td>defines the conductance of the output n-driver during periods without modulation which can be used to regulate the output power and subsequently current consumption and operating distanceRemark: the conductance value is binary-weighted during soft Power-down mode the highest bit is forced to logic 1 value is only used if driver TX1 or TX2 is switched on</td></tr><tr><td>3 to 0</td><td>ModGsN[3:0]</td><td>defines the conductance of the output n-driver during periods without modulation which can be used to regulate the modulation indexRemark: the conductance value is binary weighted during soft Power-down mode the highest bit is forced to logic 1 value is only used if driver TX1 or TX2 is switched on</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 9.3.3.8 CWGsPReg register

Defines the conductance of the p-driver output during periods of no modulation.

Table 101. CWGsPReg register (address 28h); reset value: 20h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="2">reserved</td><td colspan="6">CWGsP[5:0]</td></tr><tr><td>Access</td><td colspan="2">-</td><td colspan="6">R/W</td></tr></table>

Table 102. CWGsPReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 6</td><td>reserved</td><td>reserved for future use</td></tr><tr><td>5 to 0</td><td>CWGsP[5:0]</td><td>defines the conductance of the p-driver output which can be used to regulate the output power and subsequently current consumption and operating distanceRemark:the conductance value is binary weightedduring soft Power-down mode the highest bit is forced to logic 1</td></tr></table>

## 9.3.3.9 ModGsPReg register

Defines the conductance of the p-driver output during modulation.

Table 103. ModGsPReg register (address 29h); reset value: 20h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="2">reserved</td><td colspan="6">ModGsP[5:0]</td></tr><tr><td>Access</td><td colspan="2">-</td><td colspan="6">R/W</td></tr></table>

Table 104. ModGsPReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 6</td><td>reserved</td><td>reserved for future use</td></tr><tr><td>5 to 0</td><td>ModGsP[5:0]</td><td>defines the conductance of the p-driver output during modulation which can be used to regulate the modulation indexRemark: the conductance value is binary weighted during soft Power-down mode the highest bit is forced to logic 1 if the TxASKReg register&#x27;s Force100ASK bit is set to logic 1 the value of ModGsP has no effect</td></tr></table>

## 9.3.3.10 TModeReg and TPrescalerReg registers

These registers define the timer settings.

Remark: The TPrescaler setting higher 4 bits are in the TModeReg register and the lower 8 bits are in the TPrescalerReg register.

Table 105. TModeReg register (address 2Ah); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>TAuto</td><td colspan="2">TGated[1:0]</td><td>TAutoRestart</td><td colspan="4">TPrescaler_Hi[3:0]</td></tr><tr><td>Access</td><td>R/W</td><td colspan="2">R/W</td><td>R/W</td><td colspan="4">R/W</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 106. TModeReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="2">7</td><td rowspan="2">TAuto</td><td>1</td><td>timer starts automatically at the end of the transmission in all communication modes at all speedsif the RxModeReg register&#x27;s RxMultiple bit is not set, the timer stops immediately after receiving the 5th bit (1 start_bit, 4 data bits)if the RxMultiple bit is set to logic 1 the timer never stops, in which case the timer can be stopped by setting the ControlReg register&#x27;s TStopNow bit to logic 1</td></tr><tr><td>0</td><td>indicates that the timer is not influenced by the protocol</td></tr><tr><td rowspan="5">6 to 5</td><td rowspan="5">TGated[1:0]</td><td></td><td>internal timer is running in gated modeRemark: in gated mode, the Status1Reg register&#x27;s TRunning bit is logic 1 when the timer is enabled by the TModeReg register&#x27;s TGated[1:0] bitsthis bit does not influence the gating signal</td></tr><tr><td>00</td><td>non-gated mode</td></tr><tr><td>01</td><td>gated by pin MFIN</td></tr><tr><td>10</td><td>gated by pin AUX1</td></tr><tr><td>11</td><td>-</td></tr><tr><td rowspan="2">4</td><td rowspan="2">TAutoRestart</td><td>1</td><td>timer automatically restarts its count-down from the 16-bit timer reload value instead of counting down to zero</td></tr><tr><td>0</td><td>timer decrements to 0 and the ComIrqReg register&#x27;s TimerIRq bit is set to logic 1</td></tr><tr><td>3 to 0</td><td>TPrescaler_Hi[3:0]</td><td>-</td><td>defines the higher 4 bits of the TPrescaler valueThe following formula is used to calculate the timer frequency if the DemodReg register&#x27;s TPrescalEven bit in Demot Regis set to logic 0: $f_{\text{timer}} = 13.56 \text{MHz} / (2*\text{TPreScaler}+1)$ .Where TPreScaler = [TPrescaler_Hi:TPrescaler_Lo](TPrescaler value on 12 bits) (Default TPrescalEven bit is logic 0)The following formula is used to calculate the timer frequency if the DemodReg register&#x27;s TPrescalEven bit is set to logic 1: $f_{\text{timer}} = 13.56 \text{MHz} / (2*\text{TPreScaler}+2)$ .See Section 8.5 “Timer unit”.</td></tr></table>

Table 107. TPrescalerReg register (address 2Bh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">TPrescaler_Lo[7:0]</td></tr><tr><td>Access</td><td colspan="8">R/W</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 108. TPrescalerReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>TPrescaler_Lo[7:0]</td><td>defines the lower 8 bits of the TPrescaler valueThe following formula is used to calculate the timer frequency if the DemodReg register&#x27;s TPrescalEven bit is set to logic 0: $f_{timer} = 13.56 \text{ MHz / (2*TPreScaler+1)}$ .Where TPreScaler = [TPrescaler_Hi:TPrescaler_Lo] (TPrescaler value on 12 bits) (Default TPrescalEven bit is logic 0)The following formula is used to calculate the timer frequency if the DemodReg register&#x27;s TPrescalEven bit inDemoReg is set to logic 1: $f_{timer} = 13.56 \text{ MHz / (2*TPreScaler+2)}$ .See Section 8.5 “Timer unit”.</td></tr></table>

## 9.3.3.11 TReloadReg register

Defines the 16-bit timer reload value.

Remark: The reload value bits are contained in two 8-bit registers.

Table 109. TReloadReg (higher bits) register (address 2Ch); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">TReloadVal_Hi[7:0]</td></tr><tr><td>Access</td><td colspan="8">R/W</td></tr></table>

Table 110. TReloadReg register higher bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>TReloadVal_Hi[7:0]</td><td>defines the higher 8 bits of the 16-bit timer reload value on a start event, the timer loads the timer reload value changing this register affects the timer only at the next start event</td></tr></table>

Table 111. TReloadReg (lower bits) register (address 2Dh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">TReloadVal_Lo[7:0]</td></tr><tr><td>Access</td><td colspan="8">R/W</td></tr></table>

Table 112. TReloadReg register lower bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>TReloadVal_Lo[7:0]</td><td>defines the lower 8 bits of the 16-bit timer reload value on a start event, the timer loads the timer reload value changing this register affects the timer only at the next start event</td></tr></table>

## 9.3.3.12 TCounterValReg register

Contains the timer value.

Remark: The timer value bits are contained in two 8-bit registers.

## Standard performance MIFARE and NTAG frontend

Table 113. TCounterValReg (higher bits) register (address 2Eh); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">TCounterVal_Hi[7:0]</td></tr><tr><td>Access</td><td colspan="8">R</td></tr></table>

Table 114. TCounterValReg register higher bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>TCounterVal_Hi [7:0]</td><td>timer value higher 8 bits</td></tr></table>

Table 115. TCounterValReg (lower bits) register (address 2Fh); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">TCounterVal_Lo[7:0]</td></tr><tr><td>Access</td><td colspan="8">R</td></tr></table>

Table 116. TCounterValReg register lower bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>TCounterVal_Lo[7:0]</td><td>timer value lower 8 bits</td></tr></table>

## 9.3.4 Page 3: Test

## 9.3.4.1 Reserved register 30h

Functionality is reserved for future use.

Table 117. Reserved register (address 30h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 118. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for future use</td></tr></table>

## 9.3.4.2 TestSel1Reg register

General test signal configuration.

Table 119. TestSel1Reg register (address 31h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="5">reserved</td><td colspan="3">TstBusBitSel[2:0]</td></tr><tr><td>Access</td><td colspan="5">-</td><td colspan="3">R/W</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 120. TestSel1Reg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 3</td><td>reserved</td><td>reserved for future use</td></tr><tr><td>2 to 0</td><td>TstBusBitSel[2:0]</td><td>selects a test bus signal which is output at pin MFOUTif AnalogSelAux2[3:0] = FFh in AnalogTestReg register, test bus signal is also output at pins AUX1 or AUX2</td></tr></table>

## 9.3.4.3 TestSel2Reg register

General test signal configuration and PRBS control.

Table 121. TestSel2Reg register (address 32h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>TstBusFlip</td><td>PRBS9</td><td>PRBS15</td><td colspan="5">TestBusSel[4:0]</td></tr><tr><td>Access</td><td>R/W</td><td>R/W</td><td>R/W</td><td colspan="5">R/W</td></tr></table>

Table 122. TestSel2Reg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>TstBusFlip</td><td>1</td><td>test bus is mapped to the parallel port in the following order:TstBusBit4,TstBusBit3, TstBusBit2, TstBusBit6, TstBusBit5,TstBusBit0; seeSection 16.1 on page 82</td></tr><tr><td>6</td><td>PRBS9</td><td>-</td><td>starts and enables the PRBS9 sequence according to ITU-TO150Remark: all relevant registers to transmit data must be configured before entering PRBS9 modethe data transmission of the defined sequence is started by the Transmit command</td></tr><tr><td>5</td><td>PRBS15</td><td>-</td><td>starts and enables the PRBS15 sequence according to ITU-TO150Remark: all relevant registers to transmit data must be configured before entering PRBS15 modethe data transmission of the defined sequence is started by the Transmit command</td></tr><tr><td>4 to 0</td><td>TestBusSel[4:0]</td><td>-</td><td>selects the test bus; seeSection 16.1 “Test signals”</td></tr></table>

## 9.3.4.4 TestPinEnReg register

Enables the test bus pin output driver.

Table 123. TestPinEnReg register (address 33h); reset value: 80h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>RS232LineEn</td><td colspan="6">TestPinEn[5:0]</td><td>reserved</td></tr><tr><td>Access</td><td>R/W</td><td colspan="6">R/W</td><td>-</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 124. TestPinEnReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>RS232LineEn</td><td>0</td><td>serial UART lines MX and DTRQ are disabled</td></tr><tr><td>6 to 1</td><td>TestPinEn [5:0]</td><td>-</td><td>enables the output driver on one of the data pins D1 to D7 which outputs a test signalExample:setting bit 1 to logic 1 enables pin D1 outputsetting bit 5 to logic 1 enables pin D5 outputRemark:If the SPI is used, only pins D1 to D4 can be used. If the serial UART interface is used and the RS232LineEn bit is set to logic 1 only pins D1 to D4 can be used.</td></tr><tr><td>0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## 9.3.4.5 TestPinValueReg register

Defines the HIGH and LOW values for the test port D1 to D7 when it is used as I/O.

Table 125. TestPinValueReg register (address 34h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>UseIO</td><td colspan="6">TestPinValue[5:0]</td><td>reserved</td></tr><tr><td>Access</td><td>R/W</td><td colspan="6">R/W</td><td>-</td></tr></table>

Table 126. TestPinValueReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>UseIO</td><td>1</td><td>enables the I/O functionality for the test port when one of the serial interfaces is usedthe input/output behavior is defined by value TestPinEn[5:0] in the TestPinEnReg registerthe value for the output behavior is defined by TestPinValue[5:0]</td></tr><tr><td>6 to 1</td><td>TestPinValue[5:0]</td><td>-</td><td>defines the value of the test port when it is used as I/O and each output must be enabled by TestPinEn[5:0] in the TestPinEnReg registerRemark:Reading the register indicates the status of pins D6 to D1 if the UseIO bit is set to logic 1. If the UseIO bit is set to logic 0, the value of the TestPinValueReg register is read back.</td></tr><tr><td>0</td><td>reserved</td><td>-</td><td>reserved for future use</td></tr></table>

## 9.3.4.6 TestBusReg register

Shows the status of the internal test bus.

Table 127. TestBusReg register (address 35h); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">TestBus[7:0]</td></tr><tr><td>Access</td><td colspan="8">R</td></tr></table>

Table 128. TestBusReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>TestBus[7:0]</td><td>shows the status of the internal test busthe test bus is selected using the TestSel2Reg register; seeSection 16.1 on page 82</td></tr></table>

## 9.3.4.7 AutoTestReg register

Controls the digital self-test.

Table 129. AutoTestReg register (address 36h); reset value: 40h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td>reserved</td><td>AmpRcv</td><td colspan="2">RFT</td><td colspan="4">SelfTest[3:0]</td></tr><tr><td>Access</td><td>-</td><td>R/W</td><td colspan="2">-</td><td colspan="4">R/W</td></tr></table>

Table 130. AutoTestReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td>7</td><td>reserved</td><td>-</td><td>reserved for production tests</td></tr><tr><td>6</td><td>AmpRcv</td><td>1</td><td>internal signal processing in the receiver chain is performed non-linearly which increases the operating distance in communication modes at 106 kBdRemark: due to non-linearity, the effect of the RxThresholdReg register&#x27;s MinLevel[3:0] and the CollLevel[2:0] values is also non-linear</td></tr><tr><td>5 to 4</td><td>RFT</td><td>-</td><td>reserved for production tests</td></tr><tr><td>3 to 0</td><td>SelfTest[3:0]</td><td>-</td><td>enables the digital self testthe self test can also be started by the CalcCRC command; see Section 10.3.1.4 on page 71the self test is enabled by value 1001bRemark: for default operation the self test must be disabled by value 0000b</td></tr></table>

## 9.3.4.8 VersionReg register

Shows the MFRC522 software version.

Table 131. VersionReg register (address 37h); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">Version[7:0]</td></tr><tr><td>Access</td><td colspan="8">R</td></tr></table>

Table 132. VersionReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 4</td><td>Chiptype</td><td>‘9’ stands for MFRC522</td></tr><tr><td>3 to 0</td><td>Version</td><td>‘1’ stands for MFRC522 version 1.0 and ‘2’ stands for MFRC522 version 2.0.</td></tr></table>

MFRC522 version 1.0 software version is: 91h.

MFRC522 version 2.0 software version is: 92h.

## Standard performance MIFARE and NTAG frontend

## 9.3.4.9 AnalogTestReg register

Determines the analog output test signal at, and status of, pins AUX1 and AUX2.

Table 133. AnalogTestReg register (address 38h); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="4">AnalogSelAux1[3:0]</td><td colspan="4">AnalogSelAux2[3:0]</td></tr><tr><td>Access</td><td colspan="4">R/W</td><td colspan="4">R/W</td></tr></table>

Table 134. AnalogTestReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Value</td><td>Description</td></tr><tr><td rowspan="17">7 to 4</td><td rowspan="17">AnalogSelAux1[3:0]</td><td></td><td>controls pin AUX1</td></tr><tr><td>0000</td><td>3-state</td></tr><tr><td>0001</td><td>output of TestDAC1 (AUX1), output of TestDAC2 (AUX2)[1]</td></tr><tr><td>0010</td><td>test signal Corr1[1]</td></tr><tr><td>0011</td><td>reserved</td></tr><tr><td>0100</td><td>DAC: test signal MinLevel[1]</td></tr><tr><td>0101</td><td>DAC: test signal ADC_I[1]</td></tr><tr><td>0110</td><td>DAC: test signal ADC_Q[1]</td></tr><tr><td>0111</td><td>reserved</td></tr><tr><td>1000</td><td>reserved, test signal for production test[1]</td></tr><tr><td>1001</td><td>reserved</td></tr><tr><td>1010</td><td>HIGH</td></tr><tr><td>1011</td><td>LOW</td></tr><tr><td>1100</td><td>TxActive:at 106 kBd: HIGH during Start bit, Data bit, Parity and CRCat 212 kBd: 424 kBd and 848 kBd: HIGH during data and CRC</td></tr><tr><td>1101</td><td>RxActive:at 106 kBd: HIGH during Data bit, Parity and CRCat 212 kBd: 424 kBd and 848 kBd: HIGH during data and CRC</td></tr><tr><td>1110</td><td>subcarrier detected:106 kBd: not applicable212 kBd: 424 kBd and 848 kBd: HIGH during last part of data and CRC</td></tr><tr><td>1111</td><td>test bus bit as defined by the TestSel1Reg register&#x27;s TstBusBitSel[2:0] bitsRemark: all test signals are described in Section 16.1 on page 82</td></tr><tr><td>3 to 0</td><td>AnalogSelAux2[3:0]</td><td>-</td><td>controls pin AUX2 (see bit descriptions for AUX1)</td></tr></table>

[1] Remark: Current source output; the use of 1 k pull-down resistor on AUXn is recommended.

## Standard performance MIFARE and NTAG frontend

## 9.3.4.10 TestDAC1Reg register

Defines the test value for TestDAC1.

Table 135. TestDAC1Reg register (address 39h); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="2">reserved</td><td colspan="6">TestDAC1[5:0]</td></tr><tr><td>Access</td><td colspan="2">-</td><td colspan="6">R/W</td></tr></table>

Table 136. TestDAC1Reg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7</td><td>reserved</td><td>reserved for production tests</td></tr><tr><td>6</td><td>reserved</td><td>reserved for future use</td></tr><tr><td>5 to 0</td><td>TestDAC1[5:0]</td><td>defines the test value for TestDAC1output of DAC1 can be routed to AUX1 by setting valueAnalogSelAux1[3:0] to 0001b in the AnalogTestReg register</td></tr></table>

## 9.3.4.11 TestDAC2Reg register

Defines the test value for TestDAC2.

Table 137. TestDAC2Reg register (address 3Ah); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="2">reserved</td><td colspan="6">TestDAC2[5:0]</td></tr><tr><td>Access</td><td colspan="2">-</td><td colspan="6">R/W</td></tr></table>

Table 138. TestDAC2Reg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 6</td><td>reserved</td><td>reserved for future use</td></tr><tr><td>5 to 0</td><td>TestDAC2[5:0]</td><td>defines the test value for TestDAC2output of DAC2 can be routed to AUX2 by setting valueAnalogSelAux2[3:0] to 0001b in the AnalogTestReg register</td></tr></table>

## 9.3.4.12 TestADCReg register

Shows the values of ADC I and Q channels.

Table 139. TestADCReg register (address 3Bh); reset value: xxh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="4">ADC_I[3:0]</td><td colspan="4">ADC_Q[3:0]</td></tr><tr><td>Access</td><td colspan="4">R</td><td colspan="4">R</td></tr></table>

Table 140. TestADCReg register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 4</td><td>ADC_I[3:0]</td><td>ADC I channel value</td></tr><tr><td>3 to 0</td><td>ADC_Q[3:0]</td><td>ADC Q channel value</td></tr></table>

## 9.3.4.13 Reserved register 3Ch

Functionality reserved for production test.

## Standard performance MIFARE and NTAG frontend

Table 141. Reserved register (address 3Ch); reset value: FFh bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">RFT</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 142. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for production tests</td></tr></table>

Table 143. Reserved register (address 3Dh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">RFT</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 144. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for production tests</td></tr></table>

Table 145. Reserved register (address 3Eh); reset value: 03h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">RFT</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 146. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for production tests</td></tr></table>

Table 147. Reserved register (address 3Fh); reset value: 00h bit allocation

<table><tr><td>Bit</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr><tr><td>Symbol</td><td colspan="8">reserved</td></tr><tr><td>Access</td><td colspan="8">-</td></tr></table>

Table 148. Reserved register bit descriptions

<table><tr><td>Bit</td><td>Symbol</td><td>Description</td></tr><tr><td>7 to 0</td><td>reserved</td><td>reserved for production tests</td></tr></table>

## 10. MFRC522 command set

## 10.1 General description

The MFRC522 operation is determined by a state machine capable of performing a set of commands. A command is executed by writing a command code (see Table 149) to the CommandReg register.

Arguments and/or data necessary to process a command are exchanged via the FIFO buffer.

## 10.2 General behavior

• Each command that needs a data bit stream (or data byte stream) as an input immediately processes any data in the FIFO buffer. An exception to this rule is the Transceive command. Using this command, transmission is started with the BitFramingReg register’s StartSend bit.

• Each command that needs a certain number of arguments, starts processing only when it has received the correct number of arguments from the FIFO buffer.

• The FIFO buffer is not automatically cleared when commands start. This makes it possible to write command arguments and/or the data bytes to the FIFO buffer and then start the command.

• Each command can be interrupted by the host writing a new command code to the CommandReg register, for example, the Idle command.

## 10.3 MFRC522 command overview

Table 149. Command overview

<table><tr><td>Command</td><td>Command code</td><td>Action</td></tr><tr><td>Idle</td><td>0000</td><td>no action, cancels current command execution</td></tr><tr><td>Mem</td><td>0001</td><td>stores 25 bytes into the internal buffer</td></tr><tr><td>Generate RandomID</td><td>0010</td><td>generates a 10-byte random ID number</td></tr><tr><td>CalcCRC</td><td>0011</td><td>activates the CRC coprocessor or performs a self test</td></tr><tr><td>Transmit</td><td>0100</td><td>transmits data from the FIFO buffer</td></tr><tr><td>NoCmdChange</td><td>0111</td><td>no command change, can be used to modify the CommandReg register bits without affecting the command, for example, the PowerDown bit</td></tr><tr><td>Receive</td><td>1000</td><td>activates the receiver circuits</td></tr><tr><td>Transceive</td><td>1100</td><td>transmits data from FIFO buffer to antenna and automatically activates the receiver after transmission</td></tr><tr><td>-</td><td>1101</td><td>reserved for future use</td></tr><tr><td>MFAuthent</td><td>1110</td><td>performs the MIFARE standard authentication as a reader</td></tr><tr><td>SoftReset</td><td>1111</td><td>resets the MFRC522</td></tr></table>

## Standard performance MIFARE and NTAG frontend

## 10.3.1 MFRC522 command descriptions

## 10.3.1.1 Idle

Places the MFRC522 in Idle mode. The Idle command also terminates itself.

## 10.3.1.2 Mem

Transfers 25 bytes from the FIFO buffer to the internal buffer.

To read out the 25 bytes from the internal buffer the Mem command must be started with an empty FIFO buffer. In this case, the 25 bytes are transferred from the internal buffer to the FIFO.

During a hard power-down (using pin NRSTPD), the 25 bytes in the internal buffer remain unchanged and are only lost if the power supply is removed from the MFRC522.

This command automatically terminates when finished and the Idle command becomes active.

## 10.3.1.3 Generate RandomID

This command generates a 10-byte random number which is initially stored in the internal buffer. This then overwrites the 10 bytes in the internal 25-byte buffer. This command automatically terminates when finished and the MFRC522 returns to Idle mode.

## 10.3.1.4 CalcCRC

The FIFO buffer content is transferred to the CRC coprocessor and the CRC calculation is started. The calculation result is stored in the CRCResultReg register. The CRC calculation is not limited to a dedicated number of bytes. The calculation is not stopped when the FIFO buffer is empty during the data stream. The next byte written to the FIFO buffer is added to the calculation.

The CRC preset value is controlled by the ModeReg register’s CRCPreset[1:0] bits. The value is loaded in to the CRC coprocessor when the command starts.

This command must be terminated by writing a command to the CommandReg register, such as, the Idle command.

If the AutoTestReg register’s SelfTest[3:0] bits are set correctly, the MFRC522 enters Self Test mode. Starting the CalcCRC command initiates a digital self test. The result of the self test is written to the FIFO buffer.

## 10.3.1.5 Transmit

The FIFO buffer content is immediately transmitted after starting this command. Before transmitting the FIFO buffer content, all relevant registers must be set for data transmission.

This command automatically terminates when the FIFO buffer is empty. It can be terminated by another command written to the CommandReg register.

## 10.3.1.6 NoCmdChange

This command does not influence any running command in the CommandReg register. It can be used to manipulate any bit except the CommandReg register Command[3:0] bits, for example, the RcvOff bit or the PowerDown bit.

## Standard performance MIFARE and NTAG frontend

## 10.3.1.7 Receive

The MFRC522 activates the receiver path and waits for a data stream to be received. The correct settings must be chosen before starting this command.

This command automatically terminates when the data stream ends. This is indicated either by the end of frame pattern or by the length byte depending on the selected frame type and speed.

Remark: If the RxModeReg register’s RxMultiple bit is set to logic 1, the Receive command will not automatically terminate. It must be terminated by starting another command in the CommandReg register.

## 10.3.1.8 Transceive

This command continuously repeats the transmission of data from the FIFO buffer and the reception of data from the RF field. The first action is transmit and after transmission the command is changed to receive a data stream.

Each transmit process must be started by setting the BitFramingReg register’s StartSend bit to logic 1. This command must be cleared by writing any command to the CommandReg register.

Remark: If the RxModeReg register’s RxMultiple bit is set to logic 1, the Transceive command never leaves the receive state because this state cannot be cancelled automatically.

## 10.3.1.9 MFAuthent

This command manages MIFARE authentication to enable a secure communication to any MIFARE Mini, MIFARE 1K and MIFARE 4K card. The following data is written to the FIFO buffer before the command can be activated:

• Authentication command code (60h, 61h)

• Block address

• Sector key byte 0

• Sector key byte 1

• Sector key byte 2

• Sector key byte 3

• Sector key byte 4

• Sector key byte 5

• Card serial number byte 0

• Card serial number byte 1

• Card serial number byte 2

• Card serial number byte 3

In total 12 bytes are written to the FIFO.

Remark: When the MFAuthent command is active all access to the FIFO buffer is blocked. However, if there is access to the FIFO buffer, the ErrorReg register’s WrErr bit is set.

## Standard performance MIFARE and NTAG frontend

This command automatically terminates when the MIFARE card is authenticated and the Status2Reg register’s MFCrypto1On bit is set to logic 1.

This command does not terminate automatically if the card does not answer, so the timer must be initialized to automatic mode. In this case, in addition to the IdleIRq bit, the TimerIRq bit can be used as the termination criteria. During authentication processing, the RxIRq bit and TxIRq bit are blocked. The Crypto1On bit is only valid after termination of the MFAuthent command, either after processing the protocol or writing Idle to the CommandReg register.

If an error occurs during authentication, the ErrorReg register’s ProtocolErr bit is set to logic 1 and the Status2Reg register’s Crypto1On bit is set to logic 0.

## 10.3.1.10 SoftReset

This command performs a reset of the device. The configuration data of the internal buffer remains unchanged. All registers are set to the reset values. This command automatically terminates when finished.

Remark: The SerialSpeedReg register is reset and therefore the serial data rate is set to 9.6 kBd.

## Standard performance MIFARE and NTAG frontend

## 11. Limiting values

Table 150. Limiting values  
In accordance with the Absolute Maximum Rating System (IEC 60134).

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td>Min</td><td>Max</td><td>Unit</td></tr><tr><td> $V_{DDA}$ </td><td>analog supply voltage</td><td></td><td>-0.5</td><td>+4.0</td><td>V</td></tr><tr><td> $V_{DDD}$ </td><td>digital supply voltage</td><td></td><td>-0.5</td><td>+4.0</td><td>V</td></tr><tr><td> $V_{DD(PVDD)}$ </td><td>PVDD supply voltage</td><td></td><td>-0.5</td><td>+4.0</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}$ </td><td>TVDD supply voltage</td><td></td><td>-0.5</td><td>+4.0</td><td>V</td></tr><tr><td> $V_{DD(SVDD)}$ </td><td>SVDD supply voltage</td><td></td><td>-0.5</td><td>+4.0</td><td>V</td></tr><tr><td rowspan="2"> $V_I$ </td><td rowspan="2">input voltage</td><td>all input pins except pins MFIN and RX</td><td> $V_{SS(PVSS)} - 0.5$ </td><td> $V_{DD(PVDD)} + 0.5$ </td><td>V</td></tr><tr><td>pin MFIN</td><td> $V_{SS(PVSS)} - 0.5$ </td><td> $V_{DD(SVDD)} + 0.5$ </td><td>V</td></tr><tr><td> $P_{tot}$ </td><td>total power dissipation</td><td>per package; and  $V_{DDD}$  in shortcut mode</td><td>-</td><td>200</td><td>mW</td></tr><tr><td> $T_j$ </td><td>junction temperature</td><td></td><td>-</td><td>100</td><td>°C</td></tr><tr><td rowspan="5"> $V_{ESD}$ </td><td rowspan="5">electrostatic discharge voltage</td><td>HBM; 1500 Ω, 100 pF; JESD22-A114-B</td><td>-</td><td>2000</td><td>V</td></tr><tr><td>MM; 0.75 μH, 200 pF; JESD22-A114-A</td><td>-</td><td>200</td><td>V</td></tr><tr><td>Charged device model; JESD22-C101-A</td><td></td><td></td><td></td></tr><tr><td>on all pins</td><td>-</td><td>200</td><td>V</td></tr><tr><td>on all pins except SVDD in TFBGA64 package</td><td>-</td><td>500</td><td>V</td></tr></table>

## 12. Recommended operating conditions

Table 151. Operating conditions

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td> $V_{DDA}$ </td><td>analog supply voltage</td><td> $V_{DD(PVDD)} \leq V_{DDA} = V_{DDD} = V_{DD(TVDD)};$  $V_{SSA} = V_{SSD} = V_{SS(PVSS)} = V_{SS(TVSS)} = 0 \, V$ </td><td>[1][2]</td><td>2.5</td><td>3.3</td><td>3.6</td><td>V</td></tr><tr><td> $V_{DDD}$ </td><td>digital supply voltage</td><td> $V_{DD(PVDD)} \leq V_{DDA} = V_{DDD} = V_{DD(TVDD)};$  $V_{SSA} = V_{SSD} = V_{SS(PVSS)} = V_{SS(TVSS)} = 0 \, V$ </td><td>[1][2]</td><td>2.5</td><td>3.3</td><td>3.6</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}$ </td><td>TVDD supply voltage</td><td> $V_{DD(PVDD)} \leq V_{DDA} = V_{DDD} = V_{DD(TVDD)};$  $V_{SSA} = V_{SSD} = V_{SS(PVSS)} = V_{SS(TVSS)} = 0 \, V$ </td><td>[1][2]</td><td>2.5</td><td>3.3</td><td>3.6</td><td>V</td></tr><tr><td> $V_{DD(PVDD)}$ </td><td>PVDD supply voltage</td><td> $V_{DD(PVDD)} \leq V_{DDA} = V_{DDD} = V_{DD(TVDD)};$  $V_{SSA} = V_{SSD} = V_{SS(PVSS)} = V_{SS(TVSS)} = 0 \, V$ </td><td>[3]</td><td>1.6</td><td>1.8</td><td>3.6</td><td>V</td></tr><tr><td> $V_{DD(SVDD)}$ </td><td>SVDD supply voltage</td><td> $V_{SSA} = V_{SSD} = V_{SS(PVSS)} = V_{SS(TVSS)} = 0 \, V$ </td><td></td><td>1.6</td><td>-</td><td>3.6</td><td>V</td></tr><tr><td> $T_{amb}$ </td><td>ambient temperature</td><td>HVQFN32</td><td></td><td>-25</td><td>-</td><td>+85</td><td>°C</td></tr></table>

[1] Supply voltages below 3 V reduce the performance (the achievable operating distance).  
[2] V<sub>DDA</sub>, V<sub>DDD</sub> and V<sub>DD(TVDD)</sub> must always be the same voltage.  
[3] V<sub>DD(PVDD)</sub> must always be the same or lower voltage than V<sub>DDD</sub>.

## Standard performance MIFARE and NTAG frontend

## 13. Thermal characteristics

Table 152. Thermal characteristics

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Package</td><td>Typ</td><td>Unit</td></tr><tr><td> $R_{th(j-a)}$ </td><td>thermal resistance from junction to ambient</td><td>in still air with exposed pin soldered on a 4 layer JEDEC PCB</td><td></td><td>HVQFN32</td><td>40</td><td>K/W</td></tr></table>

## 14. Characteristics

Table 153. Characteristics

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td colspan="8">Input characteristics</td></tr><tr><td colspan="8">Pins EA, I2C and NRSTPD</td></tr><tr><td> $I_{LI}$ </td><td>input leakage current</td><td></td><td></td><td>-1</td><td>-</td><td>+1</td><td>μA</td></tr><tr><td> $V_{IH}$ </td><td>HIGH-level input voltage</td><td></td><td></td><td> $0.7V_{DD(PVDD)}$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $V_{IL}$ </td><td>LOW-level input voltage</td><td></td><td></td><td>-</td><td>-</td><td> $0.3V_{DD(PVDD)}$ </td><td>V</td></tr><tr><td colspan="8">Pin MFIN</td></tr><tr><td> $I_{LI}$ </td><td>input leakage current</td><td></td><td></td><td>-1</td><td>-</td><td>+1</td><td>μA</td></tr><tr><td> $V_{IH}$ </td><td>HIGH-level input voltage</td><td></td><td></td><td> $0.7V_{DD(SVDD)}$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $V_{IL}$ </td><td>LOW-level input voltage</td><td></td><td></td><td>-</td><td>-</td><td> $0.3V_{DD(SVDD)}$ </td><td>V</td></tr><tr><td colspan="8">Pin SDA</td></tr><tr><td> $I_{LI}$ </td><td>input leakage current</td><td></td><td></td><td>-1</td><td>-</td><td>+1</td><td>μA</td></tr><tr><td> $V_{IH}$ </td><td>HIGH-level input voltage</td><td></td><td></td><td> $0.7V_{DD(PVDD)}$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $V_{IL}$ </td><td>LOW-level input voltage</td><td></td><td></td><td>-</td><td>-</td><td> $0.3V_{DD(PVDD)}}$ </td><td>V</td></tr><tr><td colspan="8">Pin RX[1]</td></tr><tr><td> $V_i$ </td><td>input voltage</td><td></td><td></td><td>-1</td><td>-</td><td> $V_{DDA} + 1$ </td><td>V</td></tr><tr><td> $C_i$ </td><td>input capacitance</td><td> $V_{DDA}=3 V$ ; receiver active; $V_{RX(p-p)}=1 V$ ; 1.5 V (DC) offset</td><td></td><td>-</td><td>10</td><td>-</td><td>pF</td></tr><tr><td> $R_i$ </td><td>input resistance</td><td> $V_{DDA}=3 V$ ; receiver active; $V_{RX(p-p)}=1 V$ ; 1.5 V (DC) offset</td><td></td><td>-</td><td>350</td><td>-</td><td>Ω</td></tr><tr><td colspan="8">Input voltage range; see Figure 24</td></tr><tr><td> $V_{i(p-p)(min)}$ </td><td>minimum peak-to-peak input voltage</td><td>Manchester encoded; $V_{DDA}=3 V$ </td><td></td><td>-</td><td>100</td><td>-</td><td>mV</td></tr><tr><td> $V_{i(p-p)(max)}$ </td><td>maximum peak-to-peak input voltage</td><td>Manchester encoded; $V_{DDA}=3 V$ </td><td></td><td>-</td><td>4</td><td>-</td><td>V</td></tr><tr><td colspan="8">Input sensitivity; see Figure 24</td></tr><tr><td> $V_{mod}$ </td><td>modulation voltage</td><td>minimum Manchester encoded;  $V_{DDA}=3 V$ ; RxGain[2:0] = 111b (48 dB)</td><td></td><td>-</td><td>5</td><td>-</td><td>mV</td></tr><tr><td colspan="8">Pin OSCIN</td></tr><tr><td> $I_{LI}$ </td><td>input leakage current</td><td></td><td></td><td>-1</td><td>-</td><td>+1</td><td>μA</td></tr><tr><td> $V_{IH}$ </td><td>HIGH-level input voltage</td><td></td><td></td><td> $0.7V_{DDA}$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $V_{IL}$ </td><td>LOW-level input voltage</td><td></td><td></td><td>-</td><td>-</td><td> $0.3V_{DDA}$ </td><td>V</td></tr></table>

© NXP Semiconductors N.V. 2016. All rights reserved.

## Standard performance MIFARE and NTAG frontend

Table 153. Characteristics …continued

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td> $C_i$ </td><td>input capacitance</td><td> $V_{DDA}=2.8 V; DC=0.65 V; AC=1 V (p-p)$ </td><td></td><td>-</td><td>2</td><td>-</td><td>pF</td></tr><tr><td colspan="8">Input/output characteristics</td></tr><tr><td colspan="8">pins D1, D2, D3, D4, D5, D6 and D7</td></tr><tr><td> $I_{LI}$ </td><td>input leakage current</td><td></td><td></td><td>-1</td><td>-</td><td>+1</td><td>μA</td></tr><tr><td> $V_{IH}$ </td><td>HIGH-level input voltage</td><td></td><td></td><td> $0.7V_{DD(PVDD)}$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $V_{IL}$ </td><td>LOW-level input voltage</td><td></td><td></td><td>-</td><td>-</td><td> $0.3V_{DD(PVDD)}$ </td><td>V</td></tr><tr><td> $V_{OH}$ </td><td>HIGH-level output voltage</td><td> $V_{DD(PVDD)}=3 V; I_O=4 mA$ </td><td></td><td> $V_{DD(PVDD)}-0.4$ </td><td>-</td><td> $V_{DD(PVDD)}$ </td><td>V</td></tr><tr><td> $V_{OL}$ </td><td>LOW-level output voltage</td><td> $V_{DD(PVDD)}=3 V; I_O=4 mA$ </td><td></td><td> $V_{SS(PVSS)}$ </td><td>-</td><td> $V_{SS(PVSS)}+0.4$ </td><td>V</td></tr><tr><td> $I_{OH}$ </td><td>HIGH-level output current</td><td> $V_{DD(PVDD)}=3 V$ </td><td></td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td> $I_{OL}$ </td><td>LOW-level output current</td><td> $V_{DD(PVDD)}=3 V$ </td><td></td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td colspan="8">Output characteristics</td></tr><tr><td colspan="8">Pin MFOUT</td></tr><tr><td> $V_{OH}$ </td><td>HIGH-level output voltage</td><td> $V_{DD(SVDD)}=3 V; I_O=4 mA$ </td><td></td><td> $V_{DD(SVDD)}-0.4$ </td><td>-</td><td> $V_{DD(SVDD)}$ </td><td>V</td></tr><tr><td> $V_{OL}$ </td><td>LOW-level output voltage</td><td> $V_{DD(SVDD)}=3 V; I_O=4 mA$ </td><td></td><td> $V_{SS(PVSS)}$ </td><td>-</td><td> $V_{SS(PVSS)}+0.4$ </td><td>V</td></tr><tr><td> $I_{OL}$ </td><td>LOW-level output current</td><td> $V_{DD(SVDD)}=3 V$ </td><td></td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td> $I_{OH}$ </td><td>HIGH-level output current</td><td> $V_{DD(SVDD)}=3 V$ </td><td></td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td colspan="8">Pin IRQ</td></tr><tr><td> $V_{OH}$ </td><td>HIGH-level output voltage</td><td> $V_{DD(PVDD)}=3 V; I_O=4 mA$ </td><td></td><td> $V_{DD(PVDD)}-0.4$ </td><td>-</td><td> $V_{DD(PVDD)}$ </td><td>V</td></tr><tr><td> $V_{OL}$ </td><td>LOW-level output voltage</td><td> $V_{DD(PVDD)}=3 V; I_O=4 mA$ </td><td></td><td> $V_S(S(PVSS)}$ </td><td>-</td><td> $V_{SS(PVSS)}+0.4$ </td><td>V</td></tr><tr><td> $I_{OL}$ </td><td>LOW-level output current</td><td> $V_{DD(PVDD)}=3 V$ </td><td></td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td> $I_{OH}$ </td><td>HIGH-level output current</td><td> $V_{DD(PVDD)}=3 V$ </td><td></td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td colspan="8">Pins AUX1 and AUX2</td></tr><tr><td> $V_{OH}$ </td><td>HIGH-level output voltage</td><td> $V_{DDD}=3 V; I_O=4 mA$ </td><td></td><td> $V_{DDD}-0.4$ </td><td>-</td><td> $V_{DDD}$ </td><td>V</td></tr><tr><td> $V_{OL}$ </td><td>LOW-level output voltage</td><td> $V_{DDD}=3 V; I_O=4 mA$ </td><td></td><td> $V_{SS(PVSS)}$ </td><td>-</td><td> $V_{SS(PVSS)}+0.4$ </td><td>V</td></tr><tr><td> $I_{OL}$ </td><td>LOW-level output current</td><td> $V_{DDD}=3 V$ </td><td></td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td> $I_{OH}$ </td><td>HIGH-level output current</td><td> $V_{DDD}=3 V$ </td><td></td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td colspan="8">Pins TX1 and TX2</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 153. Characteristics …continued

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td rowspan="4"> $V_{OH}$ </td><td rowspan="4">HIGH-level output voltage</td><td> $V_{DD(TVDD)}=3 V; I_{DD(TVDD)}=32 mA; CWGsP[5:0]=3Fh$ </td><td></td><td> $V_{DD(TVDD)}-0.15$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}=3 V; I_{DD(TVDD)}=80 mA; CWGsP[5:0]=3Fh$ </td><td></td><td> $V_{DD(TVDD)}-0.4$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}=2.5 V; I_{DD(TVDD)}=32 mA; CWGsP[5:0]=3Fh$ </td><td></td><td> $V_{DD(TVDD)}-0.24$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}=2.5 V; I_{DD(TVDD)}=80 mA; CWGsP[5:0]=3Fh$ </td><td></td><td> $V_{DD(TVDD)}-0.64$ </td><td>-</td><td>-</td><td>V</td></tr><tr><td rowspan="4"> $V_{OL}$ </td><td rowspan="4">LOW-level output voltage</td><td> $V_{DD(TVDD)}=3 V; I_{DD(TVDD)}=32 mA; CWGsP[5:0]=0Fh$ </td><td></td><td>-</td><td>-</td><td>0.15</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}=3 V; I_{DD(TVDD)}=80 mA; CWGsP[5:0]=0Fh$ </td><td></td><td>-</td><td>-</td><td>0.4</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}=2.5 V; I_{DD(TVDD)}=32 mA; CWGsP[5:0]=0Fh$ </td><td></td><td>-</td><td>-</td><td>0.24</td><td>V</td></tr><tr><td> $V_{DD(TVDD)}=2.5 V; I_{DD(TVDD)}=80 mA; CWGsP[5:0]=0Fh$ </td><td></td><td>-</td><td>-</td><td>0.64</td><td>V</td></tr><tr><td colspan="8">Current consumption</td></tr><tr><td rowspan="3"> $I_{pd}$ </td><td rowspan="3">power-down current</td><td> $V_{DDA}=V_{DDD}=V_{DD(TVDD)}=V_{DD(PVDD)}=3 V$ </td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>hard power-down; pin NRSTPD set LOW</td><td>[2]</td><td>-</td><td>-</td><td>5</td><td>μA</td></tr><tr><td>soft power-down; RF level detector on</td><td>[2]</td><td>-</td><td>-</td><td>10</td><td>μA</td></tr><tr><td> $I_{DDD}$ </td><td>digital supply current</td><td>pin DVDD;  $V_{DDD}=3 V$ </td><td></td><td>-</td><td>6.5</td><td>9</td><td>mA</td></tr><tr><td rowspan="2"> $I_{DDA}$ </td><td rowspan="2">analog supply current</td><td>pin AVDD;  $V_{DDA}=3 V$ ; CommandReg register&#x27;s bit RcvOff = 0</td><td></td><td>-</td><td>7</td><td>10</td><td>mA</td></tr><tr><td>pin AVDD; receiver switched off;  $V_{DDA}=3 V$ ; CommandReg register&#x27;s bit RcvOff = 1</td><td></td><td>-</td><td>3</td><td>5</td><td>mA</td></tr><tr><td> $I_{DD(PVDD)}$ </td><td>PVDD supply current</td><td>pin PVDD</td><td>[3]</td><td>-</td><td>-</td><td>40</td><td>mA</td></tr><tr><td> $I_{DD(TVDD)}$ </td><td>TVDD supply current</td><td>pin TVDD; continuous wave</td><td>[4][5][6]</td><td>-</td><td>60</td><td>100</td><td>mA</td></tr><tr><td> $I_{DD(SVDD)}$ </td><td>SVDD supply current</td><td>pin SVDD</td><td>[7]</td><td>-</td><td>-</td><td>4</td><td>mA</td></tr><tr><td colspan="8">Clock frequency</td></tr><tr><td> $f_{clk}$ </td><td>clock frequency</td><td></td><td></td><td>-</td><td>27.12</td><td>-</td><td>MHz</td></tr><tr><td> $\delta_{clk}$ </td><td>clock duty cycle</td><td></td><td></td><td>40</td><td>50</td><td>60</td><td>%</td></tr><tr><td> $t_{jit}$ </td><td>jitter time</td><td>RMS</td><td></td><td>-</td><td>-</td><td>10</td><td>ps</td></tr></table>

Crystal oscillator

## Standard performance MIFARE and NTAG frontend

Table 153. Characteristics …continued

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td> $V_{OH}$ </td><td>HIGH-level output voltage</td><td>pin OSCOUT</td><td></td><td>-</td><td>1.1</td><td>-</td><td>V</td></tr><tr><td> $V_{OL}$ </td><td>LOW-level output voltage</td><td>pin OSCOUT</td><td></td><td>-</td><td>0.2</td><td>-</td><td>V</td></tr><tr><td rowspan="2"> $C_i$ </td><td rowspan="2">input capacitance</td><td>pin OSCOUT</td><td></td><td>-</td><td>2</td><td>-</td><td>pF</td></tr><tr><td>pin OSCIN</td><td></td><td>-</td><td>2</td><td>-</td><td>pF</td></tr><tr><td colspan="8">Typical input requirements</td></tr><tr><td> $f_{xtal}$ </td><td>crystal frequency</td><td></td><td></td><td>-</td><td>27.12</td><td>-</td><td>MHz</td></tr><tr><td>ESR</td><td>equivalent series resistance</td><td></td><td></td><td>-</td><td>-</td><td>100</td><td>Ω</td></tr><tr><td> $C_L$ </td><td>load capacitance</td><td></td><td></td><td>-</td><td>10</td><td>-</td><td>pF</td></tr><tr><td> $P_{xtal}$ </td><td>crystal power dissipation</td><td></td><td></td><td>-</td><td>50</td><td>100</td><td>mW</td></tr></table>

[1] The voltage on pin RX is clamped by internal diodes to pins AVSS and AVDD.  
[2] $\mathsf { I } _ { \mathsf { p d } }$ is the total current for all supplies.  
[3] I<sub>DD(PVDD)</sub> depends on the overall load at the digital pins.  
[4] I<sub>DD(TVDD)</sub> depends on V<sub>DD(TVDD)</sub> and the external circuit connected to pins TX1 and TX2.  
[5] During typical circuit operation, the overall current is below 100 mA.  
[6] Typical value using a complementary driver configuration and an antenna matched to 40  between pins TX1 and TX2 at 13.56 MHz.  
[7] I<sub>DD(SVDD)</sub> depends on the load at pin MFOUT.

![](./images/645fec4df30cc8a9ccdccbf5262fafbfc1984fa8559e8ffa4a49e0df5eabf870.jpg)  
Fig 24. Pin RX input voltage range

## 14.1 Timing characteristics

Table 154. SPI timing characteristics

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td> $t_{WL}$ </td><td>pulse width LOW</td><td>line SCK</td><td></td><td>50</td><td>-</td><td>-</td><td>ns</td></tr><tr><td> $t_{WH}$ </td><td>pulse width HIGH</td><td>line SCK</td><td></td><td>50</td><td>-</td><td>-</td><td>ns</td></tr><tr><td> $t_{h(SCKH-D)}$ </td><td>SCK HIGH to data input hold time</td><td>SCK to changing MOSI</td><td></td><td>25</td><td>-</td><td>-</td><td>ns</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 154. SPI timing characteristics …continued

<table><tr><td>Symbol</td><td>Parameter</td><td>Conditions</td><td></td><td>Min</td><td>Typ</td><td>Max</td><td>Unit</td></tr><tr><td> $t_{su(D-SCKH)}$ </td><td>data input to SCK HIGH set-up time</td><td>changing MOSI to SCK</td><td></td><td>25</td><td>-</td><td>-</td><td>ns</td></tr><tr><td> $t_{h(SCKL-Q)}$ </td><td>SCK LOW to data output hold time</td><td>SCK to changing MISO</td><td></td><td>-</td><td>-</td><td>25</td><td>ns</td></tr><tr><td> $t_{(SCKL-NSSH)}$ </td><td>SCK LOW to NSS HIGH time</td><td></td><td></td><td>0</td><td>-</td><td>-</td><td>ns</td></tr><tr><td> $t_{NHNL}$ </td><td>NSS high before communication</td><td></td><td></td><td>50</td><td>-</td><td>-</td><td>ns</td></tr></table>

Table 155. I<sup>2</sup>C-bus timing in Fast mode

<table><tr><td rowspan="2">Symbol</td><td rowspan="2">Parameter</td><td rowspan="2">Conditions</td><td colspan="2">Fast mode</td><td colspan="2">High-speed mode</td><td rowspan="2">Unit</td></tr><tr><td>Min</td><td>Max</td><td>Min</td><td>Max</td></tr><tr><td> $f_{SCL}$ </td><td>SCL clock frequency</td><td></td><td>0</td><td>400</td><td>0</td><td>3400</td><td>kHz</td></tr><tr><td> $t_{HD;STA}$ </td><td>hold time (repeated) START condition</td><td>after this period, the first clock pulse is generated</td><td>600</td><td>-</td><td>160</td><td>-</td><td>ns</td></tr><tr><td> $t_{SU;STA}$ </td><td>set-up time for a repeated START condition</td><td></td><td>600</td><td>-</td><td>160</td><td>-</td><td>ns</td></tr><tr><td> $t_{SU;STO}$ </td><td>set-up time for STOP condition</td><td></td><td>600</td><td>-</td><td>160</td><td>-</td><td>ns</td></tr><tr><td> $t_{LOW}$ </td><td>LOW period of the SCL clock</td><td></td><td>1300</td><td>-</td><td>160</td><td>-</td><td>ns</td></tr><tr><td> $t_{HIGH}$ </td><td>HIGH period of the SCL clock</td><td></td><td>600</td><td>-</td><td>60</td><td>-</td><td>ns</td></tr><tr><td> $t_{HD;DAT}$ </td><td>data hold time</td><td></td><td>0</td><td>900</td><td>0</td><td>70</td><td>ns</td></tr><tr><td> $t_{SU;DAT}$ </td><td>data set-up time</td><td></td><td>100</td><td>-</td><td>10</td><td>-</td><td>ns</td></tr><tr><td> $t_r$ </td><td>rise time</td><td>SCL signal</td><td>20</td><td>300</td><td>10</td><td>40</td><td>ns</td></tr><tr><td> $t_f$ </td><td>fall time</td><td>SCL signal</td><td>20</td><td>300</td><td>10</td><td>40</td><td>ns</td></tr><tr><td> $t_r$ </td><td>rise time</td><td>SDA and SCL signals</td><td>20</td><td>300</td><td>10</td><td>80</td><td>ns</td></tr><tr><td> $t_f$ </td><td>fall time</td><td>SDA and SCL signals</td><td>20</td><td>300</td><td>10</td><td>80</td><td>ns</td></tr><tr><td> $t_{BUF}$ </td><td>bus free time between a STOP and START condition</td><td></td><td>1.3</td><td>-</td><td>1.3</td><td>-</td><td>μs</td></tr></table>

![](./images/aae8f26b1592655d4f889be9794165b158eb956da3691fec9f5592bdf9533736.jpg)  
Remark: The signal NSS must be LOW to be able to send several bytes in one data stream. To send more than one data stream NSS must be set HIGH between the data streams.

Fig 25. Timing diagram for SPI  
![](./images/6a8f02b87cff8d1492b6f85abe5e1c2924919c1e14679db9591cf68c3cd102e9.jpg)  
Fig 26. Timing for Fast and Standard mode devices on the I<sup>2</sup>C-bus

## 15. Application information

A typical application diagram using a complementary antenna connection to the MFRC522 is shown in Figure 27.

The antenna tuning and RF part matching is described in the application note Ref. 1 and Ref. 2.

![](./images/be6bff7e5a2646a1f12fe9a3c91219ca5754e2b94a581e470ad884c1c399a386.jpg)  
Fig 27. Typical application diagram

Standard performance MIFARE and NTAG frontend

## 16. Test information

## 16.1 Test signals

## 16.1.1 Self test

The MFRC522 has the capability to perform a digital self test. The self test is started by using the following procedure:

1. Perform a soft reset.

2. Clear the internal buffer by writing 25 bytes of 00h and implement the Config command.

3. Enable the self test by writing 09h to the AutoTestReg register.

4. Write 00h to the FIFO buffer.

5. Start the self test with the CalcCRC command.

6. The self test is initiated.

7. When the self test has completed, the FIFO buffer contains the following 64 bytes:

FIFO buffer byte values for MFRC522 version 1.0:

00h, C6h, 37h, D5h, 32h, B7h, 57h, 5Ch,

C2h, D8h, 7Ch, 4Dh, D9h, 70h, C7h, 73h,

10h, E6h, D2h, AAh, 5Eh, A1h, 3Eh, 5Ah,

14h, AFh, 30h, 61h, C9h, 70h, DBh, 2Eh,

64h, 22h, 72h, B5h, BDh, 65h, F4h, ECh,

22h, BCh, D3h, 72h, 35h, CDh, AAh, 41h,

1Fh, A7h, F3h, 53h, 14h, DEh, 7Eh, 02h,

D9h, 0Fh, B5h, 5Eh, 25h, 1Dh, 29h, 79h

FIFO buffer byte values for MFRC522 version 2.0:

00h, EBh, 66h, BAh, 57h, BFh, 23h, 95h,

D0h, E3h, 0Dh, 3Dh, 27h, 89h, 5Ch, DEh,

9Dh, 3Bh, A7h, 00h, 21h, 5Bh, 89h, 82h,

51h, 3Ah, EBh, 02h, 0Ch, A5h, 00h, 49h,

7Ch, 84h, 4Dh, B3h, CCh, D2h, 1Bh, 81h,

5Dh, 48h, 76h, D5h, 71h, 061h, 21h, A9h,

86h, 96h, 83h, 38h, CFh, 9Dh, 5Bh, 6Dh,

DCh, 15h, BAh, 3Eh, 7Dh, 95h, 03Bh, 2Fh

## 16.1.2 Test bus

The test bus is used for production tests. The following configuration can be used to improve the design of a system using the MFRC522. The test bus allows internal signals to be routed to the digital interface. The test bus comprises two sets of test signals which are selected using their subaddress specified in the TestSel2Reg register’s TestBusSel[4:0] bits. The test signals and their related digital output pins are described in Table 156 and Table 157.

## Standard performance MIFARE and NTAG frontend

Table 156. Test bus signals: TestBusSel[4:0] = 07h

<table><tr><td>Pins</td><td>Internal signal name</td><td>Description</td></tr><tr><td>D6</td><td>s_data</td><td>received data stream</td></tr><tr><td>D5</td><td>s_coll</td><td>bit-collision detected (106 kBd only)</td></tr><tr><td>D4</td><td>s_valid</td><td>s_data and s_coll signals are valid</td></tr><tr><td>D3</td><td>s_over</td><td>receiver has detected a stop condition</td></tr><tr><td>D2</td><td>RCV_reset</td><td>receiver is reset</td></tr><tr><td>D1</td><td>-</td><td>reserved</td></tr></table>

Table 157. Test bus signals: TestBusSel[4:0] = 0Dh

<table><tr><td>Pins</td><td>Internal test signal name</td><td>Description</td></tr><tr><td>D6</td><td>clkstable</td><td>oscillator output signal</td></tr><tr><td>D5</td><td>clk27/8</td><td>oscillator output signal divided by 8</td></tr><tr><td>D4 to D3</td><td>-</td><td>reserved</td></tr><tr><td>D2</td><td>clk27</td><td>oscillator output signal</td></tr><tr><td>D1</td><td>-</td><td>reserved</td></tr></table>

## 16.1.3 Test signals on pins AUX1 or AUX2

The MFRC522 allows the user to select internal signals for measurement on pins AUX1 or AUX2. These measurements can be helpful during the design-in phase to optimize the design or used for test purposes.

Table 158 shows the signals that can be switched to pin AUX1 or AUX2 by setting AnalogSelAux1[3:0] or AnalogSelAux2[3:0] in the AnalogTestReg register.

Remark: The DAC has a current output, therefore it is recommended that a 1 k pull-down resistor is connected to pin AUX1 or AUX2.

Table 158. Test signal descriptions

<table><tr><td>AnalogSelAux1[3:0] or AnalogSelAux2[3:0] value</td><td>Signal on pin AUX1 or pin AUX2</td></tr><tr><td>0000</td><td>3-state</td></tr><tr><td>0001</td><td>DAC: register TestDAC1 or TestDAC2</td></tr><tr><td>0010</td><td>DAC: test signal Corr1</td></tr><tr><td>0011</td><td>reserved</td></tr><tr><td>0100</td><td>DAC: test signal MinLevel</td></tr><tr><td>0101</td><td>DAC: test signal ADC_I</td></tr><tr><td>0110</td><td>DAC: test signal ADC_Q</td></tr><tr><td>0111 to 1001</td><td>reserved</td></tr><tr><td>1010</td><td>HIGH</td></tr><tr><td>1011</td><td>LOW</td></tr><tr><td>1100</td><td>TxActive</td></tr></table>

## Standard performance MIFARE and NTAG frontend

Table 158. Test signal descriptions …continued

<table><tr><td>AnalogSelAux1[3:0] or AnalogSelAux2[3:0] value</td><td>Signal on pin AUX1 or pin AUX2</td></tr><tr><td>1101</td><td>RxActive</td></tr><tr><td>1110</td><td>subcarrier detected</td></tr><tr><td>1111</td><td>TstBusBit</td></tr></table>

## 16.1.3.1 Example: Output test signals TestDAC1 and TestDAC2

The AnalogTestReg register is set to 11h. The output on pin AUX1 has the test signal TestDAC1 and the output on pin AUX2 has the test signal TestDAC2. The signal values of TestDAC1 and TestDAC2 are controlled by the TestDAC1Reg and TestDAC2Reg registers.

Figure 28 shows test signal TestDAC1 on pin AUX1 and TestDAC2 on pin AUX2 when the TestDAC1Reg register is programmed with a slope defined by values 00h to 3Fh and the TestDAC2Reg register is programmed with a rectangular signal defined by values 00h and 3Fh.

![](https://www.embedr.app/api/datasheets/ds_e00efefa44dbaf427a30/asset?path=images%2F3f1a16b1a2acf6bf3073284a13866217c41e2cda44cf18cc32de3b2f916ac1f7.jpg)

(1) TestDAC1 (500 mV/div) on pin AUX1.

(2) TestDAC2 (500 mV/div) on pin AUX2.

Fig 28. Output test signals TestDAC1 on pin AUX1 and TestDAC2 on pin AUX2

## 16.1.3.2 Example: Output test signals Corr1 and MinLevel

Figure 29 shows test signals Corr1 and MinLevel on pins AUX1 and AUX2, respectively. The AnalogTestReg register is set to 24h.

![](./images/0d315a1908e5d4b87f753d1cadd3cf46491280a52dffb10d2fc784fef78100ca.jpg)  
10 μs/div

(1) MinLevel (1 V/div) on pin AUX2.

(2) Corr1 (1 V/div) on pin AUX1.

(3) RF field.

Fig 29. Output test signals Corr1 on pin AUX1 and MinLevel on pin AUX2

## 16.1.3.3 Example: Output test signals ADC channel I and ADC channel Q

Figure 30 shows the channel behavior test signals ADC\_I and ADC\_Q on pins AUX1 and AUX2, respectively. The AnalogTestReg register is set to 56h.

![](./images/a398469b92422ef4d4fa5a817fb9b472dfb96a5c11bba2200d79fee07737a549.jpg)  
5 μs/div

(1) ADC\_I (1 V/div) on pin AUX1.

(2) ADC\_Q (500 mV/div) on pin AUX2.

(3) RF field.

Fig 30. Output ADC channel I on pin AUX1 and ADC channel Q on pin AUX2

## Standard performance MIFARE and NTAG frontend

## 16.1.3.4 Example: Output test signals RxActive and TxActive

Figure 31 shows the RxActive and TxActive test signals relating to RF communication. The AnalogTestReg register is set to CDh.

• At 106 kBd, RxActive is HIGH during data bits, parity and CRC reception. Start bits are not included

• At 106 kBd, TxActive is HIGH during start bits, data bits, parity and CRC transmission

• At 212 kBd, 424 kBd and 848 kBd, RxActive is HIGH during data bits and CRC reception. Start bits are not included

• At 212 kBd, 424 kBd and 848 kBd, TxActive is HIGH during data bits and CRC transmission

![](./images/393d1bb65c375403aa0b187ccbc1bfcbc6492a6dde3a5614b82b54249c7ff7a9.jpg)  
10 μs/div

(1) RxActive (2 V/div) on pin AUX1.

(2) TxActive (2 V/div) on pin AUX2.

Fig 31. Output RxActive on pin AUX1 and TxActive on pin AUX2

(3) RF field.

## Standard performance MIFARE and NTAG frontend

## 16.1.3.5 Example: Output test signal RX data stream

Figure 32 shows the data stream that is currently being received. The TestSel2Reg register’s TestBusSel[4:0] bits are set to 07h to enable test bus signals on pins D1 to D6; see Section 16.1.2 on page 82. The TestSel1Reg register’s TstBusBitSel[2:0] bits are set to 06h (pin D6 = s\_data) and AnalogTestReg register is set to FFh (TstBusBit) which outputs the received data stream on pins AUX1 and AUX2.

![](./images/f3ea78e47fc7761ab33231fb32414e9439aae6de9d2157179d607929dd0f29e4.jpg)  
20 μs/div  
(1) s\_data (received data stream) (2 V/div).  
(2) RF field.

Fig 32. Received data stream on pins AUX1 and AUX2

## 16.1.3.6 PRBS

The pseudo-random binary sequences PRBS9 and PRBS15 are based on ITU-TO150 and are defined with the TestSel2Reg register. Transmission of either data stream is started by the Transmit command. The preamble/sync byte/start bit/parity bit are automatically generated depending on the mode selected.

Remark: All relevant registers for transmitting data must be configured in accordance with ITU-TO150 before selecting PRBS transmission.

![](./images/e0ea68a3bb7f8c117eee0e7fcd35452e1da0c465b17368d2f409acab492a6f97.jpg)

## 17. Package outline

HVQFN32: plastic thermal enhanced very thin quad flat package; no leads; 32 terminals; body 5 x 5 x 0.85 mm

SOT617-1  
![](./images/24646006676d911b8629884fbc76b4d028061a34a89b8ec3d13dc5c944af77bd.jpg)

![](https://www.embedr.app/api/datasheets/ds_e00efefa44dbaf427a30/asset?path=images%2F554fb0086bfc6e04fea2301852f1e1a622a62cd90a1b90fc735d73ed6e83d317.jpg)

<table><tr><td>UNIT</td><td> $A^{(1)}$ max.</td><td> $A_1$ </td><td>b</td><td>c</td><td> $D^{(1)}$ </td><td> $D_h$ </td><td> $E^{(1)}$ </td><td> $E_h$ </td><td>e</td><td> $e_1$ </td><td> $e_2$ </td><td>L</td><td>v</td><td>w</td><td>y</td><td> $y_1$ </td></tr><tr><td>mm</td><td>1</td><td>0.050.00</td><td>0.300.18</td><td>0.2</td><td>5.14.9</td><td>3.252.95</td><td>5.14.9</td><td>3.252.95</td><td>0.5</td><td>3.5</td><td>3.5</td><td>0.50.3</td><td>0.1</td><td>0.05</td><td>0.05</td><td>0.1</td></tr></table>

Note  
1. Plastic or metal protrusions of 0.075 mm maximum per side are not included.

<table><tr><td rowspan="2">OUTLINE VERSION</td><td colspan="4">REFERENCES</td><td rowspan="2">EUROPEAN PROJECTION</td><td rowspan="2">ISSUE DATE</td></tr><tr><td>IEC</td><td>JEDEC</td><td>JEITA</td><td></td></tr><tr><td>SOT617-1</td><td>---</td><td>MO-220</td><td>---</td><td></td><td></td><td>-01-08-0802-10-18</td></tr></table>

Fig 33. Package outline SOT617-1 (HVQFN32)

## Standard performance MIFARE and NTAG frontend

Detailed package information can be found at: http://www.nxp.com/package/SOT617-1.html.

## 18. Handling information

Moisture Sensitivity Level (MSL) evaluation has been performed according to SNW-FQ-225B rev.04/07/07 (JEDEC J-STD-020C). MSL for this package is level 1 which means 260 C convection reflow temperature.

Dry pack is not required.

Unlimited out-of-pack floor life at maximum ambient 30 C/85 % RH.

## 19. Packing information

![](./images/4ede762ef17097bd4595c7ca8614ca05b70f5b117e8f4a128e4ff18ceec0505b.jpg)  
Fig 34. Packing information 1 tray

## Standard performance MIFARE and NTAG frontend

## 20. Abbreviations

Table 159. Abbreviations

<table><tr><td>Acronym</td><td>Description</td></tr><tr><td>ADC</td><td>Analog-to-Digital Converter</td></tr><tr><td>BPSK</td><td>Binary Phase Shift Keying</td></tr><tr><td>CRC</td><td>Cyclic Redundancy Check</td></tr><tr><td>CW</td><td>Continuous Wave</td></tr><tr><td>DAC</td><td>Digital-to-Analog Converter</td></tr><tr><td>HBM</td><td>Human Body Model</td></tr><tr><td>I2C</td><td>Inter-integrated Circuit</td></tr><tr><td>LSB</td><td>Least Significant Bit</td></tr><tr><td>MISO</td><td>Master In Slave Out</td></tr><tr><td>MM</td><td>Machine Model</td></tr><tr><td>MOSI</td><td>Master Out Slave In</td></tr><tr><td>MSB</td><td>Most Significant Bit</td></tr><tr><td>NRZ</td><td>Not Return to Zero</td></tr><tr><td>NSS</td><td>Not Slave Select</td></tr><tr><td>PLL</td><td>Phase-Locked Loop</td></tr><tr><td>PRBS</td><td>Pseudo-Random Bit Sequence</td></tr><tr><td>RX</td><td>Receiver</td></tr><tr><td>SOF</td><td>Start Of Frame</td></tr><tr><td>SPI</td><td>Serial Peripheral Interface</td></tr><tr><td>TX</td><td>Transmitter</td></tr><tr><td>UART</td><td>Universal Asynchronous Receiver Transmitter</td></tr></table>

## 21. References

[1] Application note — MFRC52x Reader IC Family Directly Matched Antenna Design

[2] Application note — MIFARE (ISO/IEC 14443 A) 13.56 MHz RFID Proximity Antennas

## Standard performance MIFARE and NTAG frontend

## 22. Revision history

Table 160. Revision history

<table><tr><td>Document ID</td><td>Release date</td><td>Data sheet status</td><td>Change notice</td><td>Supersedes</td></tr><tr><td>MFRC522 v.3.9</td><td>20160427</td><td>Product data sheet</td><td>-</td><td>MFRC522 v.3.8</td></tr><tr><td>Modifications:</td><td colspan="4">Section 1 “Introduction” and Section 2 “General description”: updated and NTAG functionality addedDescriptive title updated</td></tr><tr><td>MFRC522 v.3.8</td><td>20140917</td><td>Product data sheet</td><td>-</td><td>MFRC522 v.3.7</td></tr><tr><td>Modifications:</td><td colspan="4">Table 150 “Limiting values”: updated</td></tr><tr><td>MFRC522 v.3.7</td><td>20140326</td><td>Product data sheet</td><td>-</td><td>MFRC522 v.3.6</td></tr><tr><td>Modifications:</td><td colspan="4">Change of descriptive titleSection 23.4 “Licenses” removed</td></tr><tr><td>MFRC522 v.3.6</td><td>20111214</td><td>Product data sheet</td><td>-</td><td>MFRC522_35</td></tr><tr><td>Modifications:</td><td colspan="4">Section 1.1 “Differences between version 1.0 and 2.0” on page 1: addedTable 2 “Ordering information” on page 3: updatedSection 9.3.2.10 “DemodReg register” on page 53: register updated and add reference to Timer unitSection 8.5 “Timer unit” on page 31: Pre Scaler Information for version 2.0 addedSection 9.3.4.8 “VersionReg register” on page 66: version information structured in chip information and version information updated, including version 1.0 and 2.0Section 16.1 “Test signals” on page 82: selftest result including values for version 1.0 and 2.0</td></tr><tr><td>MFRC522_35</td><td>20100621</td><td>Product data sheet</td><td></td><td>MFRC522_34</td></tr><tr><td>Modifications:</td><td colspan="4">Section 9.3.2.10 “DemodReg register” on page 53: register updatedSection 9.3.3.10 “TModeReg and TPrescalerReg registers” on page 60: register updatedSection 8.5 “Timer unit” on page 31: timer calculation updatedSection 9.3.4.8 “VersionReg register” on page 66: version B2h updatedSection 16.1 “Test signals” on page 82: selftest result updated</td></tr><tr><td>MFRC522_34</td><td>20100305</td><td>Product data sheet</td><td></td><td>MFRC522_33</td></tr><tr><td>Modifications:</td><td colspan="4">Section 8.5 “Timer unit”: information addedTable 106 “TModeReg register bit descriptions”: bit 7 updatedTable 154 “SPI timing characteristics”: row added</td></tr><tr><td>MFRC522_33</td><td>20091026</td><td>Product data sheet</td><td>-</td><td>112132</td></tr></table>

# Standard performance MIFARE and NTAG frontend

## 23. Legal information

## 23.1 Data sheet status

<table><tr><td>Document status[1][2]</td><td>Product status[3]</td><td>Definition</td></tr><tr><td>Objective [short] data sheet</td><td>Development</td><td>This document contains data from the objective specification for product development.</td></tr><tr><td>Preliminary [short] data sheet</td><td>Qualification</td><td>This document contains data from the preliminary specification.</td></tr><tr><td>Product [short] data sheet</td><td>Production</td><td>This document contains the product specification.</td></tr></table>

[1] Please consult the most recently issued document before initiating or completing a design.  
[2] The term ‘short data sheet’ is explained in section “Definitions”.

[3] The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product statu information is available on the Internet at URL http://www.nxp.com

## 23.2 Definitions

Draft — The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information.

Short data sheet — A short data sheet is an extract from a full data sheet with the same product type number(s) and title. A short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. For detailed and full information see the relevant full data sheet, which is available on request via the local NXP Semiconductors sales office. In case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail.

Product specification — The information and data provided in a Product data sheet shall define the specification of the product as agreed between NXP Semiconductors and its customer, unless NXP Semiconductors and customer have explicitly agreed otherwise in writing. In no event however, shall an agreement be valid in which the NXP Semiconductors product is deemed to offer functions and qualities beyond those described in the Product data sheet.

## 23.3 Disclaimers

Limited warranty and liability — Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. NXP Semiconductors takes no responsibility for the content in this document if provided by an information source outside of NXP Semiconductors.

In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - los profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory.

Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors.

Right to make changes — NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof.

Suitability for use — NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors and its suppliers accept no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer’s own risk.

Applications — Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification.

Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product design. It is customer’s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer’s applications and products planned, as well as for the planned application and use of customer’s third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products.

NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer’s applications or products, or the application or use by customer’s third party customer(s). Customer is responsible for doing all necessary testing for the customer’s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer’s third party customer(s). NXP does not accept any liability in this respect.

Limiting values — Stress above one or more limiting values (as defined in the Absolute Maximum Ratings System of IEC 60134) will cause permanent damage to the device. Limiting values are stress ratings only and (proper) operation of the device at these or any other conditions above those given in the Recommended operating conditions section (if present) or the Characteristics sections of this document is not warranted. Constant or repeated exposure to limiting values will permanently and irreversibly affect the quality and reliability of the device.

Terms and conditions of commercial sale — NXP Semiconductors products are sold subject to the general terms and conditions of commercia sale, as published at http://www.nxp.com/profile/terms, unless otherwise agreed in a valid written individual agreement. In case an individual agreement is concluded only the terms and conditions of the respective agreement shall apply. NXP Semiconductors hereby expressly objects to applying the customer’s general terms and conditions with regard to the purchase of NXP Semiconductors products by customer.

No offer to sell or license — Nothing in this document may be interpreted or construed as an offer to sell products that is open for acceptance or the grant, conveyance or implication of any license under any copyrights, patents or other industrial or intellectual property rights.

## Standard performance MIFARE and NTAG frontend

Export control — This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities.

Quick reference data — The Quick reference data is an extract of the product data given in the Limiting values and Characteristics sections of this document, and as such is not complete, exhaustive or legally binding.

Non-automotive qualified products — Unless this data sheet expressly states that this specific NXP Semiconductors product is automotive qualified, the product is not suitable for automotive use. It is neither qualified nor tested in accordance with automotive testing or application requirements. NXP Semiconductors accepts no liability for inclusion and/or use of non-automotive qualified products in automotive equipment or applications.

In the event that customer uses the product for design-in and use in automotive applications to automotive specifications and standards, customer (a) shall use the product without NXP Semiconductors’ warranty of the product for such automotive applications, use and specifications, and (b) whenever customer uses the product for automotive applications beyond

NXP Semiconductors’ specifications such use shall be solely at customer’s own risk, and (c) customer fully indemnifies NXP Semiconductors for any liability, damages or failed product claims resulting from customer design and use of the product for automotive applications beyond NXP Semiconductors’ standard warranty and NXP Semiconductors’ product specifications.

Translations — A non-English (translated) version of a document is for reference only. The English version shall prevail in case of any discrepancy between the translated and English versions.

## 24. Contact information

## 23.4 Trademarks

Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners.

I<sup>2</sup>C-bus — logo is a trademark of NXP B.V.

For more information, please visit: http://www.nxp.com

MIFARE — is a trademark of NXP B.V.

For sales office addresses, please send an email to: salesaddresses@nxp.com

## Standard performance MIFARE and NTAG frontend

## 25. Contents

1 Introduction 1 8.6 Power reduction modes 32
2 General description 1 8.6.1 Hard power-down 32
2.1 Differences between version 1.0 and 2.0 1 8.6.2 Soft power-down mode 32
3 Features and benefits 2 8.6.3 Transmitter power-down mode 32
4 Quick reference data 2 8.7 Oscillator circuit 32
5 Ordering information 3 8.8 Reset and oscillator start-up time 33
6 Block diagram 4 8.8.1 Reset timing requirements 33
7 Pinning information 6 9 MFRC522 registers 34
7.1 Pin description 6 9.1 Register bit behavior 34
8 Functional description 8 9.2 Register overview 35
8.1 Digital interfaces 9 9.3 Register descriptions 37
8.1.1 Automatic microcontroller interface detection 9 9.3.1 Page 0: Command and status 37
8.1.2 Serial Peripheral Interface 10 9.3.1.1 Reserved register 00h 37
8.1.2.1 SPI read data 10 9.3.1.2 CommandReg register 37
8.1.2.2 SPI write data 11 9.3.1.3 ComIEnReg register 37
8.1.2.3 SPI address byte 11 9.3.1.4 DivIEnReg register 38
8.1.3 UART interface 11 9.3.1.5 ComIrqReg register 38
8.1.3.1 Connection to a host 11 9.3.1.6 DivIrqReg register 39
8.1.3.2 Selectable UART transfer speeds 12 9.3.1.7 ErrorReg register 40
8.1.3.3 UART framing 13 9.3.1.8 Status1Reg register 41
8.1.4 I²C-bus interface 16 9.3.1.9 Status2Reg register 42
8.1.4.1 Data validity 17 9.3.1.10 FIFODataReg register 43
8.1.4.2 START and STOP conditions 17 9.3.1.11 FIFOLevelReg register 43
8.1.4.3 Byte format 17 9.3.1.12 WaterLevelReg register 43
8.1.4.4 Acknowledge 18 9.3.1.13 ControlReg register 44
8.1.4.5 7-Bit addressing 19 9.3.1.14 BitFramingReg register 45
8.1.4.6 Register write access 19 9.3.1.15 CollReg register 45
8.1.4.7 Register read access 20 9.3.1.16 Reserved register 0Fh 46
8.1.4.8 High-speed mode 21 9.3.2 Page 1: Communication 46
8.1.4.9 High-speed transfer 21 9.3.2.1 Reserved register 10h 46
8.1.4.10 Serial data transfer format in HS mode 21 9.3.2.2 ModeReg register 47
8.1.4.11 Switching between F/S mode and HS mode 23 9.3.2.3 TxModeReg register 47
8.1.4.12 MFRC522 at lower speed modes 23 9.3.2.4 RxModeReg register 48
8.2 Analog interface and contactless UART 24 9.3.2.5 TxControlReg register 49
8.2.1 General 24 9.3.2.6 TxASKReg register 50
8.2.2 TX p-driver 24 9.3.2.7 TxSelReg register 50
8.2.3 Serial data switch 26 9.3.2.8 RxSelReg register 51
8.2.4 MFIN and MFOUT interface support 26 9.3.2.9 RxThresholdReg register 52
8.2.5 CRC coprocessor 28 9.3.2.10 DemodReg register 52
8.3 FIFO buffer 28 9.3.2.11 Reserved register 1Ah 53
8.3.1 Accessing the FIFO buffer 28 9.3.2.12 Reserved register 1Bh 53
8.3.2 Controlling the FIFO buffer 28 9.3.2.13 MfTxReg register 53
8.3.3 FIFO buffer status information 28 9.3.2.14 MfRxReg register 54
8.4 Interrupt request system 29 9.3.2.15 Reserved register 1Eh 54
8.4.1 Interrupt sources overview 29 9.3.2.16 SerialSpeedReg register 54
8.5 Timer unit 30 9.3.3 Page 2: Configuration 56
9:3:3:1 Reserved register 20h

continued >>

9.3.3.2 CRCResultReg registers 56  
9.3.3.3 Reserved register 23h 57  
9.3.3.4 ModWidthReg register 57  
9.3.3.5 Reserved register 25h 57  
9.3.3.6 RFCfgReg register 58  
9.3.3.7 GsNReg register 58  
9.3.3.8 CWGsPReg register 59  
9.3.3.9 ModGsPReg register 59  
9.3.3.10 TModeReg and TPrescalerReg registers 59  
9.3.3.11 TReloadReg register 61  
9.3.3.12 TCounterValReg register 61  
9.3.4 Page 3: Test 62  
9.3.4.1 Reserved register 30h 62  
9.3.4.2 TestSel1Reg register 62  
9.3.4.3 TestSel2Reg register 63  
9.3.4.4 TestPinEnReg register 63  
9.3.4.5 TestPinValueReg register 64  
9.3.4.6 TestBusReg register 64  
9.3.4.7 AutoTestReg register 65  
9.3.4.8 VersionReg register 65  
9.3.4.9 AnalogTestReg register 66  
9.3.4.10 TestDAC1Reg register 67  
9.3.4.11 TestDAC2Reg register 67  
9.3.4.12 TestADCReg register 67  
9.3.4.13 Reserved register 3Ch 67  
10 MFRC522 command set 69  
10.1 General description 69  
10.2 General behavior 69  
10.3 MFRC522 command overview 69  
10.3.1 MFRC522 command descriptions 70  
10.3.1.1 Idle 70  
10.3.1.2 Mem 70  
10.3.1.3 Generate RandomID 70  
10.3.1.4 CalcCRC 70  
10.3.1.5 Transmit 70  
10.3.1.6 NoCmdChange 70  
10.3.1.7 Receive 71  
10.3.1.8 Transceive 71  
10.3.1.9 MFAuthent 71  
10.3.1.10 SoftReset 72  
11 Limiting values 73  
12 Recommended operating conditions 73  
13 Thermal characteristics 73  
14 Characteristics 74  
14.1 Timing characteristics 77  
15 Application information 80  
16 Test information 81  
16.1 Test signals 81  
16.1.1 Self test 81

## Standard performance MIFARE and NTAG frontend

16.1.2 Test bus 81  
16.1.3 Test signals on pins AUX1 or AUX2. 82  
16.1.3.1 Example: Output test signals TestDAC1 and TestDAC2. 83  
16.1.3.2 Example: Output test signals Corr1 and MinLevel. 83  
16.1.3.3 Example: Output test signals ADC channel I and ADC channel Q. 84  
16.1.3.4 Example: Output test signals RxActive and TxActive. 85  
16.1.3.5 Example: Output test signal RX data stream. 86  
16.1.3.6 PRBS. 86  
17 Package outline. 87  
18 Handling information. 88  
19 Packing information. 88  
20 Abbreviations. 89  
21 References. 89  
22 Revision history. 90  
23 Legal information. 91  
23.1 Data sheet status. 91  
23.2 Definitions. 91  
23.3 Disclaimers. 91  
23.4 Trademarks. 92  
24 Contact information. 92  
25 Contents. 93

Please be aware that important notices concerning this document and the product(s) described herein, have been included in section ‘Legal information’.