MFRC522 Standard Performance MIFARE And NTAG Frontend

2y ago
26 Views
2 Downloads
813.67 KB
95 Pages
Last View : 28d ago
Last Download : 3m ago
Upload by : Ronan Garica
Transcription

MFRC522Standard performance MIFARE and NTAG frontendRev. 3.9 — 27 April 2016112139Product data sheetCOMPANY PUBLIC1. IntroductionThis document describes the functionality and electrical specifications of the contactlessreader/writer MFRC522.Remark: The MFRC522 supports all variants of the MIFARE Mini, MIFARE 1K,MIFARE 4K, MIFARE Ultralight, MIFARE DESFire EV1 and MIFARE Plus RFidentification protocols. To aid readability throughout this data sheet, the MIFARE Mini,MIFARE 1K, MIFARE 4K, MIFARE Ultralight, MIFARE DESFire EV1 and MIFARE Plusproducts and protocols have the generic name MIFARE.1.1 Differences between version 1.0 and 2.0The 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 thefollowing 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 1This data sheet version covers both versions of the MFRC522 and describes thedifferences between the versions if applicable.2. General descriptionThe MFRC522 is a highly integrated reader/writer IC for contactless communicationat 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 tocommunicate with ISO/IEC 14443 A/MIFARE cards and transponders without additionalactive circuitry. The receiver module provides a robust and efficient implementation fordemodulating and decoding signals from ISO/IEC 14443 A/MIFARE compatible cards andtransponders. The digital module manages the complete ISO/IEC 14443 A framing anderror detection (parity and CRC) functionality.The MFRC522 supports MF1xxS20, MF1xxS70 and MF1xxS50 products. The MFRC522supports contactless communication and uses MIFARE higher transfer speeds up to848 kBd in both directions.

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontendThe following host interfaces are provided: Serial Peripheral Interface (SPI) Serial UART (similar to RS232 with voltage levels dependant on pin voltage supply) I2C-bus interface3. Features and benefits Highly integrated analog circuitry to demodulate and decode responses Buffered output drivers for connecting an antenna with the minimum number ofexternal components Supports ISO/IEC 14443 A/MIFARE and NTAG Typical operating distance in Read/Write mode up to 50 mm depending on theantenna 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 I2C-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 pinvoltage 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-test4. Quick reference dataTable 1.Quick reference dataSymbolParameterConditionsVDDAanalog supply voltageVDDDdigital supply voltageVDD(PVDD) VDDA VDDD VDD(TVDD);VSSA VSSD VSS(PVSS) VSS(TVSS) 0 V[1][2]VDD(TVDD) TVDD supply voltage[3]VDD(PVDD) PVDD supply voltageVDD(SVDD) SVDD supply voltageMFRC522Product data sheetCOMPANY PUBLICVSSA VSSD VSS(PVSS) VSS(TVSS) 0 VAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April .6V1.61.83.6V1.6-3.6V NXP Semiconductors N.V. 2016. All rights reserved.2 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontendTable 1.Quick reference data continuedSymbolParameterConditionsIpdpower-down currentVDDA VDDD VDD(TVDD) VDD(PVDD) 3 VMinTypMaxUnithard power-down; pin NRSTPD set LOW[4]--5 Asoft power-down; RF level detector on[4]--10 AIDDDdigital supply currentpin DVDD; VDDD 3 V-6.59mAIDDAanalog supply currentpin AVDD; VDDA 3 V, CommandReg register’sRcvOff bit 0-710mApin AVDD; receiver switched off; VDDA 3 V,CommandReg register’s RcvOff bit 1-35mA[5]--40mA[6][7][8]-60100mA 25- 85 CIDD(PVDD)PVDD supply currentpin PVDDIDD(TVDD)TVDD supply currentpin TVDD; continuous waveTambambient temperatureHVQFN32[1]Supply voltages below 3 V reduce the performance in, for example, the achievable operating distance.[2]VDDA, VDDD and VDD(TVDD) must always be the same voltage.[3]VDD(PVDD) must always be the same or lower voltage than VDDD.[4]Ipd is the total current for all supplies.[5]IDD(PVDD) depends on the overall load at the digital pins.[6]IDD(TVDD) depends on VDD(TVDD) 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 informationTable 2.Ordering informationType AYB[1]HVQFN32 plastic thermal enhanced very thin quad flat package; no leads;32 terminal; body 5 5 0.85 mmSOT617-1MFRC52201HN1/TRAYBM[2]HVQFN32 plastic thermal enhanced very thin quad flat package; no leads;32 terminal; body 5 5 0.85 mmSOT617-1MFRC52202HN1/TRAYB[1]HVQFN32 plastic thermal enhanced very thin quad flat package; no leads;32 terminal; body 5 5 0.85 mmSOT617-1MFRC52202HN1/TRAYBM[2]HVQFN32 plastic thermal enhanced very thin quad flat package; no leads;32 terminal; body 5 5 0.85 mmSOT617-1[1]Delivered in one tray.[2]Delivered in five trays.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.3 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend6. Block diagramThe analog interface handles the modulation and demodulation of the analog signals.The contactless UART manages the protocol requirements for the communicationprotocols in cooperation with the host. The FIFO buffer ensures fast and convenient datatransfer to and from the host and the contactless UART and vice versa.Various host interfaces are implemented to meet different customer requirements.REGISTER RSERIAL UARTSPII2C-BUSHOST001aaj627Fig 1.MFRC522Product data sheetCOMPANY PUBLICSimplified block diagram of the MFRC522All information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.4 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontendD6/ADR 0/D4/ADR 2MOSI/MXD5/ADR 1/D7/SCL/D3/ADR 3SCK/DTRQMISO/TXD2/ADR 4SDA/NSS/RXEA24I2C32D1/ADR 51252726302928PVDD PVSS23153VOLTAGEMONITORANDPOWER ONDETECTSPI, UART, I2C-BUS INTERFACE CONTROL41518FIFO CONTROLDVDDDVSSAVDDAVSSSTATE MACHINE64-BYTE FIFOBUFFERCOMMAND REGISTERRESETCONTROLPROGRAMABLE TIMERPOWER-DOWNCONTROLCONTROL REGISTERBANK623INTERRUPT CONTROLMIFARE CLASSIC UNITCRC16GENERATION AND CHECKRANDOM T COUNTERPARITY GENERATION AND CHECKFRAME GENERATION AND CHECKBIT DECODINGBIT ENCODING78SERIAL DATA SWITCH9AMPLITUDERATINGANALOG TO DIGITALCONVERTERREFERENCEVOLTAGEANALOG TESTMULTIPLEXORANDDIGITAL TOANALOGCONVERTER161920VMID AUX1 AUX2Fig ERING URESENSOR22MFINMFOUTSVDDOSCINOSCOUTTRANSMITTER CONTROL1710, 14RXTVSS11TX113TX212TVDD001aak602Detailed block diagram of the MFRC522MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.5 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend25 D1/ADR 526 D2/ADR 427 D3/ADR 328 D4/ADR 229 D5/ADR 1/SCK/DTRQ30 D6/ADR 0/MOSI/MX31 D7/SCL/MISO/TX32 EA7. Pinning informationI2C124 SDA/NSS/RXPVDD223 IRQDVDD322 OSCOUTDVSS4PVSS5NRSTPD619 AUX1MFIN718 AVSSMFOUT817 RX21 OSCINVMID 1620 AUX2AVDD 15TVSS 14TX2 13TVDD 12TX1 119SVDDTVSS 10MFRC522001aaj819Transparent top viewFig 3.Pinning configuration HVQFN32 (SOT617-1)7.1 Pin descriptionTable 3.Pin descriptionPinSymbolType[1] Description1I2CII2C-bus enable input[2]2PVDDPpin power supply3DVDDPdigital power supply4DVSSGdigital ground[3]5PVSSGpin power supply ground6NRSTPDIreset and power-down input:power-down: enabled when LOW; internal current sinks are switched off, the oscillatoris inhibited and the input pins are disconnected from the outside worldreset: enabled by a positive edge7MFINIMIFARE signal input8MFOUTOMIFARE signal output9SVDDPMFIN and MFOUT pin power supply10TVSSGtransmitter output stage 1 ground11TX1Otransmitter 1 modulated 13.56 MHz energy carrier output12TVDDPtransmitter power supply: supplies the output stage of transmitters 1 and 213TX2Otransmitter 2 modulated 13.56 MHz energy carrier output14TVSSGtransmitter output stage 2 ground15AVDDPanalog power supplyMFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.6 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontendTable 3.Pin description continuedPinSymbolType[1] Description16VMIDPinternal reference voltage17RXIRF signal input18AVSSGanalog ground19AUX1Oauxiliary outputs for test purposes20AUX2Oauxiliary outputs for test purposes21OSCINIcrystal oscillator inverting amplifier input; also the input for an externally generated clock(fclk 27.12 MHz)22OSCOUTOcrystal oscillator inverting amplifier output23IRQOinterrupt request output: indicates an interrupt event24SDAI/OI2C-bus serial data line input/output[2]NSSISPI signal input[2]RXIUART address input[2]D1I/Otest port[2]ADR 5I/OI2C-bus address 5 input[2]D2I/Otest portADR 4II2C-bus address 4 input[2]D3I/Otest portADR 3II2C-bus address 3 input[2]D4I/Otest portADR 2II2C-bus address 2 input[2]D5I/Otest portADR 1II2C-bus address 1 input[2]SCKISPI serial clock input[2]DTRQOUART request to send output to microcontroller[2]D6I/Otest portADR 0II2C-bus address 0 input[2]MOSII/OSPI master out, slave in[2]MXOUART output to microcontroller[2]D7I/Otest portSCLI/OI2C-bus clock input/output[2]MISOI/OSPI master in, slave out[2]TXOUART data output to microcontroller[2]EAIexternal address input for coding I2C-bus address[2]2526272829303132[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.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.7 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8. Functional descriptionThe MFRC522 transmission module supports the Read/Write mode forISO/IEC 14443 A/MIFARE using various transfer speeds and modulation protocols.BATTERYMFRC522ISO/IEC 14443 A CARDMICROCONTROLLERcontactless cardreader/writerFig 4.001aak583MFRC522 Read/Write modeThe physical level communication is shown in Figure 5.(1)ISO/IEC 14443 AREADERISO/IEC 14443 A CARD(2)MFRC522001aak584(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 kBdto 848 kBd.Fig 5.ISO/IEC 14443 A/MIFARE Read/Write mode communication diagramThe physical parameters are described in Table 4.Table 4.Communication overview for ISO/IEC 14443 A/MIFARE reader/writerCommunicationdirectionSignal typeReader to card (senddata from theMFRC522 to a card)Card to reader(MFRC522 receivesdata from a card)Transfer speed106 kBd212 kBd424 kBd848 kBdreader sidemodulation100 % ASK100 % ASK100 % ASK100 % ASKbit encodingmodified Millerencodingmodified Millerencodingmodified Millerencodingmodified Millerencodingbit length128 (13.56 s)64 (13.56 s)32 (13.56 s)16 (13.56 s)card sidemodulationsubcarrier loadmodulationsubcarrier loadmodulationsubcarrier loadmodulationsubcarrier loadmodulationsubcarrierfrequency13.56 MHz / 1613.56 MHz / 1613.56 MHz / 1613.56 MHz / 16bit encodingManchesterencodingBPSKBPSKBPSKThe MFRC522’s contactless UART and dedicated external host must manage thecomplete ISO/IEC 14443 A/MIFARE protocol. Figure 6 shows the data coding andframing according to ISO/IEC 14443 A/MIFARE.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.8 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontendISO/IEC 14443 A framing at 106 kBdstart8-bit data8-bit dataoddparitystart bit is 18-bit dataoddparityoddparityISO/IEC 14443 A framing at 212 kBd, 424 kBd and 848 kBdstart8-bit dataevenparity8-bit dataoddparitystart bit is 08-bit dataoddparityburst of 32subcarrier clockseven parity at theend of the frame001aak585Fig 6.Data coding and framing according to ISO/IEC 14443 AThe internal CRC coprocessor calculates the CRC value based on ISO/IEC 14443 Apart 3 and handles parity generation internally according to the transfer speed. Automaticparity generation can be switched off using the MfRxReg register’s ParityDisable bit.8.1 Digital interfaces8.1.1 Automatic microcontroller interface detectionThe MFRC522 supports direct interfacing of hosts using SPI, I2C-bus or serial UARTinterfaces. The MFRC522 resets its interface and checks the current host interface typeautomatically after performing a power-on or hard reset. The MFRC522 identifies the hostinterface by sensing the logic levels on the control pins after the reset phase. This is doneusing a combination of fixed pin connections. Table 5 shows the different connectionconfigurations.Table 5.PinMFRC522Product data sheetCOMPANY PUBLICConnection protocol for detecting different interface typesInterface typeUART (input)SPI (output)I2C-bus (I/O)SDARXNSSSDAI2C001EA01EAD7TXMISOSCLD6MXMOSIADR 0D5DTRQSCKADR 1D4--ADR 2D3--ADR 3D2--ADR 4D1--ADR 5All information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.9 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8.1.2 Serial Peripheral InterfaceA serial peripheral interface (SPI compatible) is supported to enable high-speedcommunication to the host. The interface can handle data speeds up to 10 Mbit/s. Whencommunicating with a host, the MFRC522 acts as a slave, receiving data from theexternal host for register settings, sending and receiving data relevant for RF interfacecommunication.An interface compatible with SPI enables high-speed serial communication between theMFRC522 and a microcontroller. The implemented interface is in accordance with the SPIstandard.The timing specification is given in Section 14.1 on page 78.MFRC522SCKSCKMOSIMOSIMISOMISONSSNSS001aak586Fig 7.SPI connection to hostThe MFRC522 acts as a slave during SPI communication. The SPI clock signal SCK mustbe generated by the master. Data communication from the master to the slave uses theMOSI 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 MOSIand MISO lines must be stable on the rising edge of the clock and can be changed on thefalling edge. Data is provided by the MFRC522 on the falling clock edge and is stableduring the rising clock edge.8.1.2.1SPI read dataReading data using SPI requires the byte order shown in Table 6 to be used. It is possibleto read out up to n-data bytes.The first byte sent defines both the mode and the address.Table 6.MOSI and MISO byte orderLineByte 0Byte 1Byte 2ToByte nByte n 1MOSIaddress 0address 1address 2.address n00MISOX[1]data 0data 1.data n 1data n[1]X Do not care.Remark: The MSB must be sent first.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.10 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8.1.2.2SPI write dataTo write data to the MFRC522 using SPI requires the byte order shown in Table 7. It ispossible 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 orderLineByte 0Byte 1Byte 2MOSIaddress 0data 0MISOX[1]X[1][1]ToByte nByte n 1data 1.data n 1data nX[1].X[1]X[1]X Do not care.Remark: The MSB must be sent first.8.1.2.3SPI address byteThe address byte must meet the following format.The MSB of the first byte defines the mode used. To read data from the MFRC522 theMSB is set to logic 1. To write data to the MFRC522 the MSB must be set to logic 0. Bits 6to 1 define the address and the LSB is set to logic 0.Table 8.Address byte 0 register; address MOSI7 (MSB)651 read0 writeaddress43210 (LSB)08.1.3 UART interface8.1.3.1Connection to a hostMFRC522RXTXDTRQMXRXTXDTRQMX001aak587Fig 8.UART connection to microcontrollersRemark: Signals DTRQ and MX can be disabled by clearing TestPinEnReg register’sRS232LineEn bit.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.11 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8.1.3.2Selectable UART transfer speedsThe 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 controllermust write a value for the new transfer speed to the SerialSpeedReg register. BitsBR T0[2:0] and BR T1[4:0] define the factors for setting the transfer speed in theSerialSpeedReg register.The BR T0[2:0] and BR T1[4:0] settings are described in Table 9. Examples of differenttransfer speeds and the relevant register settings are given in Table 10.Table 9.BR T0 and BR T1 settingsBR TnBit 0Bit 1Bit 2Bit 3Bit 4Bit 5Bit 6Bit 7BR T0 factor11248163264BR T1 range1 to 32 33 to 64 33 to 64 33 to 64 33 to 64 33 to 64 33 to 64 33 to 64Table 10.Selectable UART transfer speedsTransfer speed (kBd)DecimalHexadecimalTransfer speed accuracy(%)[1]7.2250FAh 0.259.6235EBh0.3214.4218DAh 0.2519.2203CBh0.3238.4171ABh0.3257.61549Ah 0.25115.21227Ah 0.2512811674h 0.06230.4905Ah 0.25460.8583Ah 0.25921.6281Ch1.451228.82115h0.32[1]SerialSpeedReg valueThe 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 thefollowing equations:If BR T0[2:0] 0:627.12 10transfer speed ------------------------------- BR T0 1 (1)If BR T0[2:0] 0: 27.12 10 6 transfer speed ----------------------------------- BR T1 33 --------------------------------- 2 BR T0 – 1 (2)Remark: Transfer speeds above 1228.8 kBd are not supported.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.12 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8.1.3.3UART framingTable 11.UART framingBitLengthValueStart1-bit0Data8 bitsdataStop1-bit1Remark: The LSB for data and address bytes must be sent first. No parity bit is usedduring transmission.Read data: To read data using the UART interface, the flow shown in Table 12 must beused. The first byte sent defines both the mode and the address.Table 12.Read data byte orderPinByte 0Byte 1RX (pin 24)address-TX (pin 31)-data D5D6D7SOMXDTRQ001aak588(1) Reserved.Fig 9.UART read data timing diagramWrite data: To write data to the MFRC522 using the UART interface, the structure shownin Table 13 must be used.The first byte sent defines both the mode and the address.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.13 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontendTable 13.MFRC522Product data sheetCOMPANY PUBLICWrite data byte orderPinByte 0Byte 1RX (pin 24)address 0data 0TX (pin 31)-address 0All information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.14 of 95

xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxNXP SemiconductorsMFRC522Product data sheetCOMPANY PUBLICDATAADDRESSRXSAA0A1A2A3A4A5(1)R/W W SODTRQ001aak589(1) Reserved.Fig 10. UART write data timing diagramRemark: The data byte can be sent directly after the address byte on pin RX.Address byte: The address byte has to meet the following format:The MSB of the first byte sets the mode used. To read data from the MFRC522, the MSB is set to logic 1. To write data to theMFRC522 the MSB is set to logic 0. Bit 6 is reserved for future use, and bits 5 to 0 define the address; see Table 14.MFRC522 NXP Semiconductors N.V. 2016. All rights reserved.15 of 95Standard performance MIFARE and NTAG frontendAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139MX

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontendTable 14.Address byte 0 register; address MOSI7 (MSB)651 read0 writereservedaddress43210 (LSB)8.1.4 I2C-bus interfaceAn I2C-bus (Inter-IC) interface is supported to enable a low-cost, low pin count serial businterface to the host. The I2C-bus interface is implemented according toNXP Semiconductors’ I2C-bus interface specification, rev. 2.1, January 2000. Theinterface can only act in Slave mode. Therefore the MFRC522 does not implement clockgeneration or access SCLMICROCONTROLLERI2CCONFIGURATIONWIRINGEAADR [5:0]001aak590Fig 11. I2C-bus interfaceThe 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 ora pull-up resistor. Both SDA and SCL lines are set HIGH when data is not transmitted. TheMFRC522 has a 3-state output stage to perform the wired-AND function. Data on theI2C-bus can be transferred at data rates of up to 100 kBd in Standard mode, up to400 kBd in Fast mode or up to 3.4 Mbit/s in High-speed mode.If the I2C-bus interface is selected, spike suppression is activated on lines SCL and SDAas defined in the I2C-bus interface specification.See Table 155 on page 79 for timing requirements.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.16 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8.1.4.1Data validityData on the SDA line must be stable during the HIGH clock period. The HIGH or LOWstate of the data line must only change when the clock signal on SCL is LOW.SDASCLdata linestable;data validchangeof dataallowedmbc621Fig 12. Bit transfer on the I2C-bus8.1.4.2START and STOP conditionsTo manage the data transfer on the I2C-bus, unique START (S) and STOP (P) conditionsare defined. A START condition is defined with a HIGH-to-LOW transition on the SDA line whileSCL is HIGH. A STOP condition is defined with a LOW-to-HIGH transition on the SDA line whileSCL is HIGH.The I2C-bus master always generates the START and STOP conditions. The bus is busyafter 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.SDASDASCLSCLSPSTART conditionSTOP conditionmbc622Fig 13. START and STOP conditions8.1.4.3Byte formatEach 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 unrestrictedbut must meet the read/write cycle format.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.17 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8.1.4.4AcknowledgeAn acknowledge must be sent at the end of one data byte. The acknowledge-related clockpulse is generated by the master. The transmitter of data, either master or slave, releasesthe SDA line (HIGH) during the acknowledge clock pulse. The receiver pulls down theSDA line during the acknowledge clock pulse so that it remains stable LOW during theHIGH period of this clock pulse.The master can then generate either a STOP (P) condition to stop the transfer or arepeated START (Sr) condition to start a new transfer.A master-receiver indicates the end of data to the slave-transmitter by not generating anacknowledge on the last byte that was clocked out by the slave. The slave-transmitterreleases the data line to allow the master to generate a STOP (P) or repeated START (Sr)condition.data outputby transmitternot acknowledgedata outputby receiveracknowledgeSCL frommaster1289Sclock pulse foracknowledgementSTARTconditionmbc602Fig 14. Acknowledge on the I2C-busPSDAacknowledgementsignal from slaveMSBacknowledgementsignal from receiverSrbyte complete,interrupt within slaveclock line held LOW whileinterrupts are servicedSCLSorSr1278912ACK3-89ACKSrorPSTOP orrepeated STARTconditionSTART orrepeated STARTconditionmsc608Fig 15. Data transfer on the I2C-busMFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.18 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8.1.4.57-Bit addressingDuring the I2C-bus address procedure, the first byte after the START condition is used todetermine which slave will be selected by the master.Several address numbers are reserved. During device configuration, the designer mustensure that collisions with these reserved addresses cannot occur. Check the I2C-busspecification for a complete list of reserved addresses.The I2C-bus address specification is dependent on the definition of pin EA. Immediatelyafter releasing pin NRSTPD or after a power-on reset, the device defines the I2C-busaddress according to pin EA.If pin EA is set LOW, the upper 4 bits of the device bus address are reserved byNXP 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 customerto prevent collisions with other I2C-bus devices.If pin EA is set HIGH, ADR 0 to ADR 5 can be completely specified at the external pinsaccording 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 thereset condition. Further changes at the used pins are not taken into consideration.Depending on the external wiring, the I2C-bus address pins can be used for test signaloutputs.MSBLSBbit 6bit 5bit 4bit 3bit 2slave addressbit 1bit 0R/W001aak591Fig 16. First byte following the START procedure8.1.4.6Register write accessTo write data from the host controller using the I2C-bus to a specific register in theMFRC522 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 fastFIFO buffer access. The Read/Write (R/W) bit is set to logic 0.MFRC522Product data sheetCOMPANY PUBLICAll information provided in this document is subject to legal disclaimers.Rev. 3.9 — 27 April 2016112139 NXP Semiconductors N.V. 2016. All rights reserved.19 of 95

MFRC522NXP SemiconductorsStandard performance MIFARE and NTAG frontend8.1.4.7Register read accessTo read out data from a specific register address in the MFRC522, the host controller mustuse the following procedure: Firstly, a write access to the specific register address must be performed as indicatedin 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

Product data sheet COMPANY PUBLIC Rev. 3.9 — 27 April 2016 112139 3 of 95 NXP Semiconductors MFRC522 Standard performance MIFARE and NTAG frontend [1] Supply voltages below 3 V reduce the performance in, for example, the achievable operating distance. [2]

Related Documents:

the 3DES key, the MIFARE Ultralight C design shows some differences compared to MIFARE Ultralight design. In order to minimize the impact of chip differences for the customer designs and ease the transition from existing MIFARE Ultralight systems to MIFARE Ultralight C systems, this document highlights the differences between the two products.

MIFARE SAM AV3 - Quick start up guide Rev. 1.4 — 15 June 2020 Application note 521014 COMPANY PUBLIC Document information Information Content Keywords MIFARE SAM AV3, Secure Key Storage, DES, TDEA, AES, RSA. Key Usage Counters. Abstract This application note introduces MIFARE SAM AV3 with some start up guidance.

Mifare Encoding using Card Studio 10. Select where you wish to encode your data (sector and block) by double-clicking on one line. Mifare Encoding using Card Studio 11. Select Data to Encode and enter your data. You can specify a Variable Source. Click on Data Placement and select a different location if you wish. Click on OK.

2. Card Coil Design notes for MIFARE Plus There are different classes of antenna widely used in contactless application for MIFARE Plus PICC. For different antenna classes the design of PICC coils are different. Even different application requirements also lead to different antenna design. Basically, threeFile Size: 212KB

Card Coil Design Guide for MIFARE DESFire Light Rev. 1.0 — 31 January 2019 Application note 522610 COMPANY PUBLIC Document information Information Content Keywords Contactless, MIFARE DESFire Light, ISO/IEC 14443, Resonance, Coil, Inlay, Antenna Abstract This documen

MIFARE Ultralight EV1 - Contactless ticket IC Rev. 3.3 — 9 April 2019 Product data sheet 234533 COMPANY PUBLIC 1 General description NXP Semiconductors developed the MIFARE Ultralight EV1 MF0ULx1 for use in a contactless smart ticket, smart card or token in combination with a Proximity Coupling Device (PCD).

ARO5427CK Card Reader, OMNIKEY, Model 5427 CK Gen 2, PC-linked reader, CCID and Keyboard Wedge, reads 125 KHz HID Prox and Indala, 13.56 MHz iCLASS, iCLASS SE, SEOS, Mifare Classic, and Mifare DESFire EV1. #R54270101 ARO5427CK_MK Mounting Kit, Omnikey 5427 and 502x readers, Includes Mounting Jacket and Adhesive Strip, Package for 10 pieces. # .

The abrasive water jet machining process is characterized by large number of process parameters that determine efficiency, economy and quality of the whole process. Figure 2 demonstrates the factors influencing AWJ machining process. Shanmugam and Masood (2009) have made an investigation on the kerf taper angle, generated by Abrasive Water Jet (AWJ) machining of two kinds of composite .