English
Language : 

MFRC522_10 Datasheet, PDF (95/96 Pages) NXP Semiconductors – Contactless reader IC
NXP Semiconductors
MFRC522
Contactless reader IC
27. Contents
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2
General description . . . . . . . . . . . . . . . . . . . . . . 1
3
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
4
Quick reference data . . . . . . . . . . . . . . . . . . . . . 2
5
Ordering information . . . . . . . . . . . . . . . . . . . . . 3
6
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
7
Pinning information . . . . . . . . . . . . . . . . . . . . . . 5
7.1
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5
8
Functional description . . . . . . . . . . . . . . . . . . . 7
8.1
8.1.1
8.1.2
8.1.2.1
8.1.2.2
8.1.2.3
8.1.3
8.1.3.1
8.1.3.2
8.1.3.3
8.1.4
8.1.4.1
8.1.4.2
8.1.4.3
8.1.4.4
8.1.4.5
8.1.4.6
8.1.4.7
8.1.4.8
8.1.4.9
8.1.4.10
8.1.4.11
8.1.4.12
8.2
8.2.1
8.2.2
8.2.3
8.2.4
8.2.5
8.3
8.3.1
8.3.2
8.3.3
8.4
8.4.1
8.5
8.6
8.6.1
Digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . 8
Automatic microcontroller interface detection. . 8
Serial Peripheral Interface . . . . . . . . . . . . . . . . 9
SPI read data . . . . . . . . . . . . . . . . . . . . . . . . . . 9
SPI write data . . . . . . . . . . . . . . . . . . . . . . . . . 10
SPI address byte . . . . . . . . . . . . . . . . . . . . . . 10
UART interface . . . . . . . . . . . . . . . . . . . . . . . . 10
Connection to a host. . . . . . . . . . . . . . . . . . . . 10
Selectable UART transfer speeds . . . . . . . . . 11
UART framing . . . . . . . . . . . . . . . . . . . . . . . . . 12
I2C-bus interface. . . . . . . . . . . . . . . . . . . . . . . 15
Data validity . . . . . . . . . . . . . . . . . . . . . . . . . . 16
START and STOP conditions . . . . . . . . . . . . . 16
Byte format . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 17
7-Bit addressing . . . . . . . . . . . . . . . . . . . . . . . 18
Register write access . . . . . . . . . . . . . . . . . . . 18
Register read access . . . . . . . . . . . . . . . . . . . 19
High-speed mode . . . . . . . . . . . . . . . . . . . . . . 20
High-speed transfer . . . . . . . . . . . . . . . . . . . . 20
Serial data transfer format in HS mode . . . . . 20
Switching between F/S mode and HS mode . 22
MFRC522 at lower speed modes . . . . . . . . . . 22
Analog interface and contactless UART . . . . . 23
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
TX p-driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Serial data switch . . . . . . . . . . . . . . . . . . . . . . 25
MFIN and MFOUT interface support . . . . . . . 25
CRC coprocessor . . . . . . . . . . . . . . . . . . . . . . 27
FIFO buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Accessing the FIFO buffer . . . . . . . . . . . . . . . 27
Controlling the FIFO buffer . . . . . . . . . . . . . . . 27
FIFO buffer status information . . . . . . . . . . . . 27
Interrupt request system . . . . . . . . . . . . . . . . . 28
Interrupt sources overview . . . . . . . . . . . . . . . 28
Timer unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Power reduction modes . . . . . . . . . . . . . . . . . 31
Hard power-down . . . . . . . . . . . . . . . . . . . . . . 31
8.6.2
8.6.3
8.7
8.8
8.8.1
8.8.2
Soft power-down mode . . . . . . . . . . . . . . . . . 31
Transmitter power-down mode . . . . . . . . . . . 31
Oscillator circuit . . . . . . . . . . . . . . . . . . . . . . . 31
Reset and oscillator start-up time . . . . . . . . . 32
Reset timing requirements . . . . . . . . . . . . . . . 32
Oscillator start-up time . . . . . . . . . . . . . . . . . . 32
9
MFRC522 registers . . . . . . . . . . . . . . . . . . . . . 33
9.1
9.2
9.3
9.3.1
9.3.1.1
9.3.1.2
9.3.1.3
9.3.1.4
9.3.1.5
9.3.1.6
9.3.1.7
9.3.1.8
9.3.1.9
9.3.1.10
9.3.1.11
9.3.1.12
9.3.1.13
9.3.1.14
9.3.1.15
9.3.1.16
9.3.2
9.3.2.1
9.3.2.2
9.3.2.3
9.3.2.4
9.3.2.5
9.3.2.6
9.3.2.7
9.3.2.8
9.3.2.9
9.3.2.10
9.3.2.11
9.3.2.12
9.3.2.13
9.3.2.14
9.3.2.15
9.3.2.16
9.3.3
9.3.3.1
9.3.3.2
9.3.3.3
Register bit behavior . . . . . . . . . . . . . . . . . . . 33
Register overview . . . . . . . . . . . . . . . . . . . . . 34
Register descriptions . . . . . . . . . . . . . . . . . . . 36
Page 0: Command and status . . . . . . . . . . . . 36
Reserved register 00h . . . . . . . . . . . . . . . . . . 36
CommandReg register. . . . . . . . . . . . . . . . . . 36
ComIEnReg register . . . . . . . . . . . . . . . . . . . 36
DivIEnReg register. . . . . . . . . . . . . . . . . . . . . 37
ComIrqReg register . . . . . . . . . . . . . . . . . . . . 37
DivIrqReg register . . . . . . . . . . . . . . . . . . . . . 38
ErrorReg register . . . . . . . . . . . . . . . . . . . . . . 39
Status1Reg register . . . . . . . . . . . . . . . . . . . . 40
Status2Reg register . . . . . . . . . . . . . . . . . . . . 41
FIFODataReg register . . . . . . . . . . . . . . . . . . 42
FIFOLevelReg register. . . . . . . . . . . . . . . . . . 42
WaterLevelReg register . . . . . . . . . . . . . . . . . 42
ControlReg register . . . . . . . . . . . . . . . . . . . . 43
BitFramingReg register . . . . . . . . . . . . . . . . . 44
CollReg register . . . . . . . . . . . . . . . . . . . . . . . 44
Reserved register 0Fh . . . . . . . . . . . . . . . . . . 45
Page 1: Communication. . . . . . . . . . . . . . . . . 45
Reserved register 10h . . . . . . . . . . . . . . . . . . 45
ModeReg register . . . . . . . . . . . . . . . . . . . . . 46
TxModeReg register . . . . . . . . . . . . . . . . . . . 46
RxModeReg register . . . . . . . . . . . . . . . . . . . 47
TxControlReg register . . . . . . . . . . . . . . . . . . 48
TxASKReg register . . . . . . . . . . . . . . . . . . . . 49
TxSelReg register . . . . . . . . . . . . . . . . . . . . . 49
RxSelReg register . . . . . . . . . . . . . . . . . . . . . 50
RxThresholdReg register . . . . . . . . . . . . . . . . 51
DemodReg register . . . . . . . . . . . . . . . . . . . . 51
Reserved register 1Ah . . . . . . . . . . . . . . . . . . 51
Reserved register 1Bh . . . . . . . . . . . . . . . . . . 52
MfTxReg register . . . . . . . . . . . . . . . . . . . . . . 52
MfRxReg register . . . . . . . . . . . . . . . . . . . . . . 53
Reserved register 1Eh . . . . . . . . . . . . . . . . . . 53
SerialSpeedReg register . . . . . . . . . . . . . . . . 53
Page 2: Configuration . . . . . . . . . . . . . . . . . . 54
Reserved register 20h . . . . . . . . . . . . . . . . . . 54
CRCResultReg registers . . . . . . . . . . . . . . . . 54
Reserved register 23h . . . . . . . . . . . . . . . . . . 55
continued >>
MFRC522_34
Product data sheet
PUBLIC
All information provided in this document is subject to legal disclaimers.
Rev. 3.4 — 5 March 2010
112134
© NXP B.V. 2010. All rights reserved.
95 of 96