mfrc500 NXP Semiconductors, mfrc500 Datasheet

no-image

mfrc500

Manufacturer Part Number
mfrc500
Description
Highly Integrated Iso14443a Reader Ic
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MFRC500
Manufacturer:
NXP
Quantity:
18
Part Number:
MFRC500
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
mfrc500 01T
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
mfrc50001T
Manufacturer:
AMD
Quantity:
595
Part Number:
mfrc50001T
Manufacturer:
NXP
Quantity:
5
Part Number:
mfrc50001T
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
mfrc50001T
Manufacturer:
NXP/恩智浦
Quantity:
6 688
Part Number:
mfrc50001T/0FE
Manufacturer:
MAR
Quantity:
280
Part Number:
mfrc50001T/0FE
0
Part Number:
mfrc50001T/0FE,112
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
mfrc50001T/OFE
Manufacturer:
IR
Quantity:
12 000
Part Number:
mfrc50001T/OFE
0
Product Specification
Revision 3.2
PUBLIC
Philips
Semiconductors
MF RC500
Highly Integrated ISO14443A Reader IC
INTEGRATED CIRCUITS
December 2005

Related parts for mfrc500

mfrc500 Summary of contents

Page 1

MF RC500 Highly Integrated ISO14443A Reader IC Product Specification Revision 3.2 PUBLIC Philips Semiconductors INTEGRATED CIRCUITS December 2005 ...

Page 2

Philips Semiconductors Highly Integrated ISO 14443A Reader IC CONTENTS 1 GENERAL INFORMATION ..................................................................................................................7 1.1 Scope ....................................................................................................................................................7 1.2 General Description...............................................................................................................................7 1.3 Features ................................................................................................................................................8 1.4 Ordering Information .............................................................................................................................8 2 BLOCK DIAGRAM ...............................................................................................................................9 3 PINNING INFORMATION ...................................................................................................................11 3.1 Pin Configuration.................................................................................................................................11 3.2 Pin Description ...

Page 3

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 6.3 Register Initialisation Files (Read/Write) .............................................................................................66 6.3.1 Start Up Register Initialisation File (Read/Write).................................................................................66 6.3.2 Shipment Content of Start Up Register Initialisation File ....................................................................67 6.3.3 Register Initialisation File (Read/Write)...............................................................................................68 6.4 Crypto1 Keys (Write ...

Page 4

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 10.4 Receiver Power Down.........................................................................................................................82 11 START UP PHASE .............................................................................................................................83 11.1 Hard Power Down Phase ....................................................................................................................83 11.2 Reset Phase........................................................................................................................................83 11.3 Initialising Phase .................................................................................................................................83 11.4 Initialising.............................................................................................................................................84 12 OSCILLATOR CIRCUITRY ................................................................................................................85 13 TRANSMITTER PINS TX1 ...

Page 5

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.4.5 State Diagram for the Card Communication .....................................................................................106 16.5 Commands to Access the E²PROM..................................................................................................107 16.5.1 WriteE2 Command 01 16.5.2 ReadE2 Command 03 16.6 Diverse Commands...........................................................................................................................109 16.6.1 LoadConfig Command 07 16.6.2 CalcCRC Command ...

Page 6

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20.4.2 Digital Output Pin Characteristics .....................................................................................................127 20.4.3 Antenna Driver Output Pin Characteristics .......................................................................................127 20.5 AC Electrical Characteristics .............................................................................................................128 20.5.1 AC Symbols.......................................................................................................................................128 20.5.2 AC Operating Specification ...............................................................................................................129 20.5.3 Clock Frequency ...............................................................................................................................132 21 E²PROM ...

Page 7

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 1 GENERAL INFORMATION 1.1 Scope This document describes the functionality of the MF RC500. It includes the functional and electrical specifications and gives details on how to design-in this device from system ...

Page 8

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 1.3 Features • Highly integrated analogue circuitry to demodulate and decode card response • Buffered output drivers to connect an antenna with minimum number of external components • Proximity operating distance (up ...

Page 9

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 2 BLOCK DIAGRAM Product Specification Rev. 3.2;December 2005 9 MF RC500 PUBLIC ...

Page 10

Philips Semiconductors Highly Integrated ISO 14443A Reader IC N_WR, N_RD, N_CS FIFO Control 64 Byte FIFO Control Register Bank EEPROM Byte EEPROM Access Control Master Key Buffer Cyrpto1 Unit 32 Bit Pseudo Random Generator Amplitude Rating Reference ...

Page 11

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 3 PINNING INFORMATION 3.1 Pin Configuration Pins denoted by bold letters are supplied by AVDD and AVSS. Pins drawn with bold lines are supplied by TVSS and TVDD. All other pins are ...

Page 12

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 3.2 Pin Description Pin Types: I...Input; O...Output; PIN SYMBOL TYPE Crystal Oscillator Input: input to the inverting amplifier of the oscillator. 1 OSCIN I This pin is also the input for an ...

Page 13

Philips Semiconductors Highly Integrated ISO 14443A Reader IC PIN Description (continued) PIN SYMBOL TYPE Auxiliary Output: This pin delivers analog test signals. The signal delivered on this 27 AUX O output may be selected by means of the TestAnaOutSel Register. ...

Page 14

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 4 PARALLEL INTERFACE 4.1 Overview of Supported µ-Processor Interfaces The MF RC500 supports direct interfacing of various µ-Processor. Alternatively the Enhanced Parallel Port (EPP) of personal computers can be connected directly. The ...

Page 15

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 4.3 Connection to Different µ-Processor Types The connection to different µ-Processor types is shown in the following table: Separated Read/Write Strobe MF RC500 Dedicated Address Bus ALE HIGH ...

Page 16

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 4.3.2 COMMON READ/WRITE STROBE Address Address Bus (A3...An) Decoder Address Bus (A0...A2) Data Bus (D0...D7) HIGH Data Strobe (NDS) Read/Write (R/NW) Figure 4-2: Connection to µ-Processors with Common Read/Write Strobes For timing ...

Page 17

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 4.3.3 COMMON READ/WRITE STROBE AND HAND-SHAKE MECHANISM: EPP Multiplexed Address/Data (AD1...AD8) Address Strobe (nAStrb) Data Strobe (nDStrb) Read/Write (nWrite) Figure 4-3: Connection to µ-Processors with Common Read/Write Strobes and Hand-Shake For timing ...

Page 18

Philips Semiconductors Highly Integrated ISO 14443A Reader RC500 REGISTER SET 5.1 MF RC500 Registers Overview Page Address Register Name hex 0 Page 1 Command 2 FIFOData 3 PrimaryStatus 4 FIFOLength 5 SecondaryStatus 6 InterruptEn 7 InterruptRq 8 ...

Page 19

Philips Semiconductors Highly Integrated ISO 14443A Reader IC MF RC500 Register Set (continued) Page Address Register Name hex 20 Page 21 RxWait 22 ChannelRedundancy 23 CRCPresetLSB 24 CRCPresetMSB 25 PreSet25 26 MFOUTSelect 27 PreSet27 28 Page 29 FIFOLevel 2A TimerClock ...

Page 20

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.1.1 REGISTER BIT BEHAVIOUR Bits and flags for different registers behave differently, depending on their functions. In principle bits with same behaviour are grouped in common registers. Abbreviation Behaviour Description These bits ...

Page 21

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2 Register Description 5.2.1 PAGE 0: COMMAND AND STATUS 5.2.1.1 Page Register Selects the register page. Name: Page 7 6 UsePage 0 Select Access r/w r/w Rights Description of the bits Bit ...

Page 22

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.1.2 Command Register Starts and stops the command execution. Name: Command 7 6 IFDetect 0 Busy Access r r Rights Description of the bits Bit Symbol 7 IFDetectBusy Shows the status of ...

Page 23

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.1.3 FIFOData Register In- and output of the 64 byte FIFO buffer. Name: FIFOData 7 6 Access dy dy Rights Description of the bits Bit Symbol 7-0 FIFOData Data input and output ...

Page 24

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.1.4 PrimaryStatus Register Status flags of the receiver, transmitter and the FIFO buffer. Name: PrimaryStatus Access r r Rights Description of the bits Bit Symbol 7 0 Reserved for ...

Page 25

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.1.5 FIFOLength Register Number of bytes buffered in the FIFO. Name: FIFOLength Access r r Rights Description of the bits Bit Symbol 7 0 Reserved for future use. 6-0 ...

Page 26

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.1.6 SecondaryStatus Register Diverse Status flags. Name: SecondaryStatus 7 6 TRunning E2Ready Access r r Rights Description of the bits Bit Symbol 7 TRunning If set to 1, the MF RC 500’s ...

Page 27

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.1.7 InterruptEn Register Control bits to enable and disable passing of interrupt requests. Name: InterruptEn 7 6 SetIEn 0 Access w r/w Rights Description of the bits Bit Symbol 7 SetIEn Set ...

Page 28

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.1.8 InterruptRq Register Interrupt request flags. Name: InterruptRq 7 6 SetIRq 0 Access w r/w Rights Description of the bits Bit Symbol 7 SetIRq Set to 1, SetIRq defines that the marked ...

Page 29

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.2 PAGE 1: CONTROL AND STATUS 5.2.2.1 Page Register Selects the register page. See 5.2.1.1 Page Register. 5.2.2.2 Control Register Diverse control flags, e.g.: timer, power saving. Name: Control ...

Page 30

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.2.3 ErrorFlag Register Error flags showing the error status of the last executed command. Name: ErrorFlag KeyErr Access r r Rights Description of the bits Bit Symbol 7 0 ...

Page 31

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.2.4 CollPos Register Bit position of the first bit collision detected on the RF- interface. Name: CollPos 7 6 Access r r Rights Description of the bits Bit Symbol 7-0 CollPos This ...

Page 32

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.2.5 TimerValue Register actual value of the timer. Name: TimerValue 7 6 Access r r Rights Description of the bits Bit Symbol 7-0 TimerValue This register shows the actual value of the ...

Page 33

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.2.6 CRCResultLSB Register LSB of the CRC-Coprocessor register. Name: CRCResultLSB 7 6 Access r r Rights Description of the bits Bit Symbol 7-0 CRCResultLSB This register shows the actual value of the ...

Page 34

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.2.7 CRCResultMSB Register MSB of the CRC-Coprocessor register. Name: CRCResultMSB 7 6 Access r r Rights Description of the bits Bit Symbol 7-0 CRCResultMSB This register shows the actual value of the ...

Page 35

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.2.8 BitFraming Register Adjustments for bit oriented frames. Name: BitFraming Access r/w dy Rights Description of the bits Bit Symbol 7 0 Reserved for future use 6-4 RxAlign Used ...

Page 36

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.3 PAGE 2: TRANSMITTER AND CONTROL 5.2.3.1 Page Register Selects the register page. See 5.2.1.1 Page Register. 5.2.3.2 TxControl Register Controls the logical behaviour of the antenna pin TX1 and TX2. Name: ...

Page 37

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.3.3 CwConductance Register Selects the conductance of the antenna driver pins TX1 and TX2. Name: CwConductance Access r/w r/w Rights Description of the bits Bit Symbol 7-6 00 ...

Page 38

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.3.6 ModWidth Register selects the width of the modulation pulse. Name: ModWidth 7 6 Access r/w r/w Rights Description of the bits Bit Symbol 7-0 ModWidth This register defines the width of ...

Page 39

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.4 PAGE 3: RECEIVER AND DECODER CONTROL 5.2.4.1 Page Register Selects the register page. See 5.2.1.1 Page Register. 5.2.4.2 RxControl1 Register controls receiver behaviour. Name: RxControl1 Access r/w ...

Page 40

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.4.3 DecoderControl Register controls decoder behaviour. Name: DecoderControl RxMultiple Access r/w r/w Rights Description of the bits Bit Symbol 7 0 This value shall not be changed 6 RxMultiple ...

Page 41

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.4.4 BitPhase Register selects the bit-phase between transmitter and receiver clock. Name: BitPhase 7 6 Access r/w r/w Rights Description of the bits Bit Symbol 7-0 BitPase Defines the phase relation between ...

Page 42

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.4.5 RxThreshold Register selects thresholds for the bit decoder. Name: RxThreshold 7 6 Access r/w r/w Rights Description of the bits Bit Symbol 7-4 MinLevel Defines the minimum signal strength at the ...

Page 43

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.4.7 RxControl2 Register controls decoder behaviour and defines the input source for the receiver. Name:RxControl2 7 RcvClkSelI RxAutoPD Access r/w Rights Description of the bits Bit Symbol 7 RcvClkSelI If set to ...

Page 44

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.4.8 ClockQControl Register controls clock generation for the 90° phase shifted Q-channel clock. Name: ClockQControl 7 ClkQ180Deg ClkQCalib Access r Rights Description of the bits Bit Symbol 7 ClkQ180Deg If the Q-clock ...

Page 45

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.5 PAGE 4: RF-TIMING AND CHANNEL REDUNDANCY 5.2.5.1 Page Register Selects the register page. See 5.2.1.1 Page Register. 5.2.5.2 RxWait Register Selects the time interval after transmission, before receiver starts. Name: RxWait ...

Page 46

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.5.3 ChannelRedundancy Register Selects kind and mode of checking the data integrity on the RF-channel. Name: ChannelRedundancy Access r/w r/w Rights Description of the bits Bit Symbol 7-6 ...

Page 47

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.5.4 CRCPresetLSB Register LSB of the preset value for the CRC register. Name: CRCPresetLSB 7 6 Access r/w r/w Rights Description of the bits Bit Symbol 7-0 CRCPresetLSB CRCPresetLSB defines the starting ...

Page 48

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.5.5 CRCPresetMSB Register MSB of the preset value for the CRC register. Name: CRCPresetMSB 7 6 Access r/w r/w Rights Description of the bits Bit Symbol 7-0 CRCPresetMSB CRCPresetMSB defines the starting ...

Page 49

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.5.7 MFOUTSelect Register Selects internal signal applied to pin MFOUT. Name: MFOUTSelect Access r/w r/w Rights Description of the bits Bit Symbol 7 7-3 These values shall not ...

Page 50

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.6 PAGE 5: FIFO, TIMER AND IRQ- PIN CONFIGURATION 5.2.6.1 Page Register Selects the register page. See 5.2.1.1 Page Register. 5.2.6.2 FIFOLevel Register Defines the level for FIFO under- and overflow warning. ...

Page 51

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.6.3 TimerClock Register Selects the divider for the timer clock. Name: TimerClock Access r/w r/w Rights Description of the bits Bit Symbol 7-6 00 These values shall not ...

Page 52

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.6.4 TimerControl Register Selects start and stop conditions for the timer. Name: TimerControl Access r/w r/w r/w Rights Description of the bits Bit Symbol 7-4 0000 ...

Page 53

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.6.5 TimerReload Register Defines the preset value for the timer. Name: TimerReload 7 6 Access r/w r/w Rights Description of the bits Bit Symbol 7-0 TReloadValue With a start event the timer ...

Page 54

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.6.6 IRQPinConfig Register Configures the output stage for pin IRQ. Name: IRQPinConfig Access r/w r/w Rights Description of the bits Bit Symbol 7-2 000000 These values shall not ...

Page 55

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.7 PAGE 6: RFU 5.2.7.1 Page Register Selects the register page. See 5.2.1.1 Page Register. 5.2.7.2 RFU Registers Name: RFU Access w w Rights Note: These registers are ...

Page 56

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.8 PAGE 7: TEST CONTROL 5.2.8.1 Page Register Selects the register page. See 5.2.1.1 Page Register. 5.2.8.2 RFU Register Name: RFU Access w w Rights Note: This register ...

Page 57

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.8.3 TestAnaSelect Register Selects analog test signals. Name: TestAnaSelect Access w w Rights Description of the bits Bit Symbol 7-4 0000 These values shall not be changed 3-0 ...

Page 58

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.8.4 RFU Registers Name: RFU Access w w Rights Note: This register is reserved for future use. Product Specification Rev. 3.2;December 2005 Address: 0x3B ...

Page 59

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.2.8.5 TestDigiSelect Register Selects digital test mode. Name: TestDigiSelect 7 6 SignalTo MFOUT Access w w Rights Description of the bits Bit Symbol 7 SignalToMFOUT Set to 1, overrules the setting in ...

Page 60

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.3 MF RC500 Register Flags Overview Flag(s) AccessErr ErrorFlag BitPhase BitPhase ClkQ180Deg ClockQControl ClkQCalib ClockQControl ClkQDelay ClockQControl CollErr ErrorFlag CollLevel RxThreshold CollPos CollPos Command Command CRC3309 ChannelRedundancy CRC8 ChannelRedundancy CRCErr ErrorFlag CRCPresetLSB ...

Page 61

Philips Semiconductors Highly Integrated ISO 14443A Reader IC Flag(s) IdleIRq InterruptRq IFDetectBusy Command IRq PrimaryStatus IRQInv IRQPinConfig IRQPushPull IRQPinConfig KeyErr ErrorFlag LoAlert PrimaryStatus LoAlertIEn InterruptEn LoAlertIRq InterruptRq MFOUTSelect MFOUTSelect MinLevel RxThreshold ModemState PrimaryStatus ModulatorSource TxControl ModWidth ModWidth Page PageSelect ParityEn ...

Page 62

Philips Semiconductors Highly Integrated ISO 14443A Reader IC Flag(s) TestAnaOutSel TestAnaSelect TestDigiSignalSel TestDigiSelect TimerIEn InterruptEn TimerIRq InterruptRq TimerValue TimerValue TPreScaler TimerClock TReloadValue TimerReload TRunning SecondaryStatus TStartTxBegin TimerControl TStartTxEnd TimerControl TStartNow Control TStopRxBegin TimerControl TStopRxEnd TimerControl TStopNow Control TX1RFEn TxControl TX2Cw ...

Page 63

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 5.4 Modes of Register Addressing There are three mechanisms to operate the MF RC500: • Initiating functions and controlling data manipulation by executing commands • Configuring electrical and functional behaviour via a ...

Page 64

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 6 MEMORY ORGANISATION OF THE E²PROM 6.1 Diagram of the E²PROM Memory Organisation Block Block Address Number ...

Page 65

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 6.2 Product Information Field (Read Only) Byte Meaning Product Type Identification PRODUCT TYPE IDENTIFICATION: The MF RC500 is the first product of a product family. Each member of ...

Page 66

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 6.3 Register Initialisation Files (Read/Write) Register initialisation in the register address range from 10 Initialising Phase (see 11.3), using the Start Up Register Initialisation File. Furthermore, the user may initialise the MF ...

Page 67

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 6.3.2 SHIPMENT CONTENT OF START UP REGISTER INITIALISATION FILE During production test, the Start Up Register Initialisation File is initialised with the values shown in the table below. With each power up ...

Page 68

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 6.3.3 REGISTER INITIALISATION FILE (READ/WRITE) The content of the E²PROM memory from block address may be used to initialise the MF RC500 registers execution of ...

Page 69

Philips Semiconductors Highly Integrated ISO 14443A Reader IC Note: Although it is possible to load data of any other format into the key storage location of the E²PROM not possible to obtain a valid card authentication with such ...

Page 70

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 7 FIFO BUFFER 7.1 Overview An 8x64 bit FIFO buffer is implemented in the MF RC500 acting as a parallel-to-parallel converter. It buffers the input and output data stream between the µ-Processor ...

Page 71

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 7.3 Controlling the FIFO-Buffer Besides writing to and reading from the FIFO-buffer, the FIFO-buffer pointers may be reset by setting the bit FlushFIFO. Consequently, FIFOLength becomes zero, FIFOOvfl is cleared, the actually ...

Page 72

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 7.5 Register Overview FIFO Buffer The following table shows the related flags of the FIFO buffer in alphabetic order. Flags FIFOLength FIFOOvfl FlushFIFO HiAlert HiAlertIEn HiAlertIRq LoAlert LoAlertIEn LoAlertIRq WaterLevel Table 7-2. ...

Page 73

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 8 INTERRUPT REQUEST SYSTEM 8.1 Overview The MF RC500 indicates certain events by setting bit IRq in the PrimaryStatus-Register and, in addition, by activating pin IRQ. The signal on pin IRQ may ...

Page 74

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 8.2 Implementation of Interrupt Request Handling 8.2.1 CONTROLLING INTERRUPTS AND THEIR STATUS The MF RC500 informs the µ-Processor about the interrupt request source by setting the according bit in the InterruptRq Register. ...

Page 75

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 8.4 Register Overview Interrupt Request System The following table shows the related flags of the Interrupt Request System in alphabetic order. Flags HiAlertIEn HiAlertIRq IdleIEn IdleIRq IRq IRQInv IRQPushPull LoAlertIEn LoAlertIRq RxIEn ...

Page 76

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 9 TIMER UNIT 9.1 Overview A timer is implemented in the MF RC500. It derives its clock from the 13.56 MHz chip-clock. The µ-Processor may use this timer to manage timing relevant ...

Page 77

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 9.2 Implementation of the Timer Unit 9.2.1 BLOCK DIAGRAM The following block diagram shows the timer module. TStartTxBegin TxBegin Event TStartTxEnd TxEnd Event TAutoRestart TRunning RxEnd Event TStopRxEnd RxBegin Event TStopRxBegin 13.56 ...

Page 78

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 9.2.2 CONTROLLING THE TIMER UNIT The main part of the timer unit is a down-counter. As long as the down-counter value is unequal zero, it decrements its value with each timer clock. ...

Page 79

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 9.2.4 STATUS OF THE TIMER UNIT The TRunning bit in the SecondaryStatus Register shows the timer’s current status. Any configured start event starts the timer at the TReloadValue and changes the status ...

Page 80

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 9.4 Register Overview Timer Unit The following table shows the related flags of the Timer Unit in alphabetic order. TAutoRestart TimerValue TimerReloadValue TPreScaler TRunning TStartNow TStartTxBegin TStartTxEnd TStopNow TStopRxBegin TStopRxEnd Table 9-1 ...

Page 81

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 10 POWER REDUCTION MODES 10.1 Hard Power Down A Hard Power Down is enabled with HIGH on pin RSTPD. This turns off all internal current sinks including the oscillator. All digital input ...

Page 82

Philips Semiconductors Highly Integrated ISO 14443A Reader IC Note: If the internal oscillator is used, you have to take into account that it is supplied by AVDD and it will take a certain time t until the oscillator is stable ...

Page 83

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 11 START UP PHASE The phases executed during the start up are shown in the following figure Hard Power States Down Phase 11.1 Hard Power Down Phase The Hard Power ...

Page 84

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 11.4 Initialising A certain initialising sequence shall be applied to enable proper µ-Processor interface type detection and to synchronise the µ-Processor’s and the MF RC500’s Start Up. During the Start Up Phase ...

Page 85

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 12 OSCILLATOR CIRCUITRY The clock applied to the MF RC500 acts as time basis for the coder and decoder of the synchronous system. Therefore stability of the clock frequency is an important ...

Page 86

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 13 TRANSMITTER PINS TX1 AND TX2 The signal delivered on TX1 and TX2 is the 13.56 MHz energy carrier modulated by an envelope signal. It can be used to drive an antenna ...

Page 87

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 13.3 Pulse Width The envelope carries the information of the data signal that shall be transmitted to the card done by coding the data signal according to the Miller code. Furthermore, each ...

Page 88

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 14 RECEIVER CIRCUITRY 14.1 General The MF RC500 employs an integrated quadrature-demodulation circuit which extracts the ISO14443-A sub- carrier signal from the 13.56 MHz ASK-modulated signal applied to pin RX. The quadrature-demodulator ...

Page 89

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 14.3 Putting the Receiver into Operation In general, the default settings programmed in the Start Up Initialisation File are suitable to use the MF RC500 for data communication with MIFARE settings may ...

Page 90

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 14.3.2 AMPLIFIER The demodulated signal has to be amplified with the variable amplifier to achieve the best performance. The gain of the amplifiers can be adjusted by means of the register bits ...

Page 91

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 14.3.3 CORRELATION CIRCUITRY The correlation circuitry calculates the degree of matching between the received and an expected signal. The output is a measure for the amplitude of the expected signal in the ...

Page 92

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 15 SERIAL SIGNAL SWITCH 15.1 General Two main blocks are implemented in the MF RC500. A digital circuitry, comprising state machines, coder and decoder logic and so on and an analog circuitry ...

Page 93

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 15.3 Registers Relevant for the Serial Signal Switch The flags DecoderSource define the input signal for the internal Manchester decoder in the following way: DecoderSource ModulatorSource defines the ...

Page 94

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 15.4 Usage of the MFIN and MFOUT 15.4.1 ACTIVE ANTENNA CONCEPT The MF RC500 analog circuitry may be used via the pins MFIN and MFOUT so, the following register settings ...

Page 95

Philips Semiconductors Highly Integrated ISO 14443A Reader RC500 COMMAND SET 16.1 General Description The MF RC500 behaviour is determined by an internal state machine that is capable to perform a certain set of commands. The commands can ...

Page 96

Philips Semiconductors Highly Integrated ISO 14443A Reader IC MF RC500 Commands Overview Continued Command Code Transmits data from FIFO buffer to the card and activates automatically the receiver after transmission. Note: Before the receiver actually Transceive 1E starts, the MF ...

Page 97

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.3.1 BASIC STATES 16.3.2 STARTUP COMMAND 3F Command Code hex Runs the Reset- and Initialisation Phase Note: This command can not be activated by StartUp 3F software, but only by a Power-On ...

Page 98

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.4 Commands for Card Communication The MF RC500 is a fully ISO 14443-A compliant reader IC. Therefore, the command set of this IC allows more flexibility and more generalised commands compared to ...

Page 99

Philips Semiconductors Highly Integrated ISO 14443A Reader IC Depending on the setting of bit TxCRCEn in the ChannelRedundancy-Register a CRC is calculated and appended to the data stream. The CRC is calculated according the settings in the ChannelRedundancy Register. Parity ...

Page 100

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.4.1.4 Transmission of Frames with more than 64 Bytes To generate frames with more than 64 bytes, the µ-Processor has to write data into the FIFO buffer while the Transmit Command is ...

Page 101

Philips Semiconductors Highly Integrated ISO 14443A Reader IC If TxLastBits is unequal zero the last byte is not transmitted completely, but only the number of bits set in TxLastBits are transmitted (starting with the least significant bit). Thus, the internal ...

Page 102

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.4.2 RECEIVE COMMAND 16 Command Code hex Receive 16 Activates Receiver Circuitry The Receive-Command activates the receiver circuitry. All data received from the RF interface is returned via the FIFO buffer. The ...

Page 103

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.4.2.3 Collision Detection If more than one card is within the RF-field during the card selection phase, they will respond simultaneously. The MF RC500 supports the algorithm defined in ISO14443-A to resolve ...

Page 104

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.4.2.4 Receiving Bit Oriented Frames The receiver can handle byte streams with incomplete bytes, resulting in bit oriented frames. To support this, the following values may be used: • RxAlign selects a ...

Page 105

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.4.3 TRANSCEIVE COMMAND 1E Command Code hex Transceive 1E Transmits data from FIFO buffer to the card and then activates automatically the receiver The Transceive-Command first executes the Transmit-Command (see 16.4.1) and ...

Page 106

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.4.5 STATE DIAGRAM FOR THE CARD COMMUNICATION TxSOF TxData Data transmitted CommandRegister = Figure 16-4: State Diagram: Card Communication Command = (Transmit OR Receive OR Transceive) Idle (000) GoToRx1 (100) (001) next ...

Page 107

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.5 Commands to Access the E²PROM 16.5.1 WRITEE2 COMMAND 01 16.5.1.1 Overview Command Code hex WriteE2 01 Get data from FIFO buffer and write it to the E²PROM The WriteE2-Command interprets the ...

Page 108

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.5.1.3 Timing Diagram The following diagram shows programming of 5 bytes into the E²PROM: t prg,del NWrite Write Adr Adr Data Byte0 Byte1 E2 LSB MSB WriteE2 command active E²PROM Programming E2Ready ...

Page 109

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.5.2 READE2 COMMAND 03 16.5.2.1 Overview Command Code hex Reads data from E²PROM and puts it to the ReadE2 03 FIFO buffer The ReadE2-Command interprets the first two bytes found in the ...

Page 110

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.6.1.2 Register Assignment The 32 bytes of E²PROM content, beginning with the E²PROM starting byte-address, is written to the MF RC500 register register 2F hex Note: The procedure for ...

Page 111

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.6.2.2 CRC-Coprocessor Settings For the CRC-Coprocessor the following parameters may be configured: Parameter CRC Register Length Algorithm according ISO14443-A or according CRC Algorithm CRC Preset Value The CRC polynomial for the 8-bit ...

Page 112

Philips Semiconductors Highly Integrated ISO 14443A Reader IC ® 16.8 MIFARE Classic Security Commands 16.8.1 LOADKEYE2 COMMAND 0B 16.8.1.1 Overview Command Code hex Reads a key from the E²PROM and puts it LoadKeyE2 0B into the internal key buffer The ...

Page 113

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 16.8.3 AUTHENT1 COMMAND 0C 16.8.3.1 Overview Command Code hex Performs the first part of the Crypto1 Authent1 0C (MIFARE The Authent1-Command is a special Transceive-Command: it takes six argument bytes which are ...

Page 114

Philips Semiconductors Highly Integrated ISO 14443A Reader IC ® 17 MIFARE CLASSIC AUTHENTICATION AND CRYPTO1 17.1 General The security algorithm implemented in MIFARE proprietary stream cipher with a key length of 48 bits. To access data of a MIFARE knowledge ...

Page 115

Philips Semiconductors Highly Integrated ISO 14443A Reader IC ® 17.3 Performing MIFARE Classic Authentication To enable authentication of MIFARE valid authentication, the correct key has to be available in the key buffer of the MF RC500. Step 1: Load the ...

Page 116

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 18 TYPICAL APPLICATION 18.1 Circuit Diagram The figure below shows a typical application, where the antenna is directly connected to the MF RC500: Control Lines µProcessor Data Bus IRQ Figure 18-1: Circuit ...

Page 117

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 18.2 Circuit Description The matching circuit consists of an EMC low pass filter (L0 and C0), a matching circuitry (C1 and C2), and a receiving circuit (R1, R2, C3 and C4), and ...

Page 118

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 18.2.3 RECEIVING CIRCUIT The internal receiving concept of the MF RC500 makes use of both side-bands of the sub-carrier load modulation of the card response. No external filtering is required ...

Page 119

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 19 TEST SIGNALS 19.1 General The MF RC500 allows different kind of signal measurements. These measurements can be used to check the internally generated and received signals using the possibilities of the ...

Page 120

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 19.2.1 TX-CONTROL The following plot shows the signal measured at MFOUT using the serial signal switch to control the data sent to the card .Setting the flag MFOUTSelect to 3 data sent ...

Page 121

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 19.2.2 RX-CONTROL The following plot shows the beginning of a cards answer to a request signal. The signal RF shows the RF voltage measured directly on the antenna so that the cards ...

Page 122

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 19.3 Analog Test-Signals The analog test signals may be routed to pin AUX by selecting them with the register bits TestAnaOutSel. Value Signal Name 0 V mid 1 V bandgap 2 V ...

Page 123

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 19.4 Digital Test-Signals Digital test signals may be routed to pin MFOUT by setting bit SignalToMFOUT digital test signal may be selected via the register bits TestDigiSignalSel in Register ...

Page 124

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 19.5 Examples of Analog- and Digital Test Signals ® Fig. 22 shows a MIFARE Classic Card’s answer to a request command using the Qclock receiving path. RX –Reference is given to show ...

Page 125

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20 ELECTRICAL CHARACTERISTICS 20.1 Absolute Maximum Ratings SYMBOL T Ambient or Storage Temperature Range amb,abs DVDD AVDD DC Supply Voltages TVDD V Absolute voltage on any digital pin to DVSS in,abs V ...

Page 126

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20.4 Pin Characteristics 20.4.1 INPUT PIN CHARACTERISTICS Pins D0 to D7, A0, and A1 have TTL input characteristics and behave as defined in the following table. SYMBOL PARAMETER I Input Leakage Current ...

Page 127

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20.4.2 DIGITAL OUTPUT PIN CHARACTERISTICS Pins D0 to D7, MFOUT and IRQ have CMOS output characteristics and behave as defined in the following table. SYMBOL PARAMETER V Output Voltage HIGH OH V ...

Page 128

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20.5 AC Electrical Characteristics 20.5.1 AC SYMBOLS Each timing symbol has five characters. The first character is always 't' for time. The other characters indicate the name of a signal or the ...

Page 129

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20.5.2 AC OPERATING SPECIFICATION 20.5.2.1 Bus Timing for Separated Read/Write Strobe SYMBOL t LHLL t Multiplexed Address Bus valid to ALE low (Address Set Up Time) AVLL t Multiplexed Address Bus valid ...

Page 130

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20.5.2.2 Bus Timing for Common Read/Write Strobe SYMBOL t LHLL t Multiplexed Address Bus valid to AS low (Address Set Up Time) AVLL t Multiplexed Address Bus valid after AS low (Address ...

Page 131

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20.5.2.3 Bus Timing for EPP SYMBOL t LLLH t Multiplexed Address Bus valid to nAStrb high (Set Up Time) AVLH t Multiplexed Address Bus valid after nAStrb high (Hold Time) LHAX t ...

Page 132

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 20.5.3 CLOCK FREQUENCY The clock input is pin 1, OSCIN. PARAMETER Clock Frequency (checked by the clock filter) Duty Cycle of Clock Frequency Jitter of Clock Edges The clock applied to the ...

Page 133

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 21 E²PROM CHARACTERISTICS The E²PROM has a size of 32x16x8 = 4.096 bit. SYMBOL PARAMETER t Data Endurance EEEndurance t Data Retention EERetention t Erase Time EEErase t Write Time EEWrite Product ...

Page 134

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 22 ESD SPECIFICATION To ensure the usage of the MF RC 500 during production the ICs is specified as described in the following table. TEST ESDH ESD Susceptibility (Human body model) ESDM ...

Page 135

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 23 PACKAGE OUTLINES 23.1 SO32 SO32: plastic small outline package; 32 leads; body width 7 pin 1 index 1 e DIMENSIONS (inch dimensions are derived from the original ...

Page 136

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 24 TERMS AND ABBREVIATIONS Designation: Description: µ-Processor Micro Processor Crypto1 Crypto1 is the security algorithm of the MIFARE E²PROM Electrically Erasable Programmable Read Only Memory EOF End of Frame FWT Frame Waiting ...

Page 137

Philips Semiconductors Highly Integrated ISO 14443A Reader IC Definitions Data sheet status Objective specification This data sheet contains target or goal specifications for product development. Preliminary specification This data sheet contains preliminary data; supplementary data may be published later. Product ...

Page 138

Philips Semiconductors Highly Integrated ISO 14443A Reader IC 26 REVISION HISTORY REVISION DATE PAGE 83 3.2 Dec 2005 84 3.1 May 2004 125 3.0 Mar2003 2.0 Jan2001 1.0 Product Specification Rev. 3.2;December 2005 DESCRIPTION Update Chapter 11.1 – include Note ...

Page 139

Philips Semiconductors - a worldwide company Contact Information For additional information please visit http://www.semiconductors.philips.com.Fax: + 24825 For sales offices addresses send e-mail to: sales.addresses@www.semiconductors.philips.com. © Koninklijke Philips Electronics N.V. 2002 All rights are reserved. Reproduction in whole or ...

Related keywords