Highly Integrated ISO14443A Reader IC, MF RC500

Usage of the MFIN and MFOUT
ACTIVE ANTENNA CONCEPT

The MF RC500 analog circuitry may be used via the pins MFIN and MFOUT. To do so, the following register settings have to be made:

Register Value Signal At MF RC500 Pin
ModulatorSource 3 Miller Pulse Coded MFIN
MFOUTSelect 4 Manchester Coded with sub-carrier MFOUT
DecoderSource  X - -

Table 15-4: Register setting to use the MF RC500 analog circuitry only

On the other hand, the MF RC500 digital circuitry may be used via the pins MFIN and MFOUT. To do so, the following register settings have to be made:

Register Value Signal At MF RC500 Pin
ModulatorSource X - -
MFOUTSelect 2 Miller Pulse Coded MFOUT
DecoderSource 2 Manchester Coded with sub-carrier MFIN

Table 15-5: Register setting to use the MF RC500 digital circuitry only
Two MF RC500 devices (configured in the above described way) may be connected to each other via the pins MFOUT and MFIN.

DRIVING TWO RF-PARTS
It is possible, to connect a ‘passive antenna’ to pins TX1, TX2 and RX (via the appropriate filter and matching circuit) and at the same time an Active Antenna to the pins MFOUT and MFIN.
In this configuration, two RF-parts may be driven (one after another) by one μ-Processor.

MF RC500 COMMAND SET
The MF RC500 behaviour is determined by an internal state machine that is capable to perform a certain set of commands. The commands can be started by writing the according command-code to the Command-Register. Arguments and/or data necessary to process a command are mainly exchanged via the FIFO buffer.
 

General Behaviour
–Each command, that needs a data stream (or data byte stream) as input will immediately process the data it finds in the FIFO buffer.
–Each command, that needs a certain number of arguments will start processing only when it has received the correct number of arguments via the FIFO buffer.
–The FIFO buffer is not cleared automatically at command start. Therefore, it is also possible to write the command arguments and/or the data bytes into the FIFO buffer and start the command afterwards.
–Each command (except the StartUp-Command) may be interrupted by the μ-Processor by writing a new command code into the Command-Register e.g.: the Idle-Command.
16.3 MF RC500 Commands Overview

Command Code Action Arguments and Data passed via FIFO Returned Data via FIFO
StartUp 3Fhex Runs the Reset- and Initialisation Phase. Note: This command can not be activated by software, but only by a Power-On or Hard Reset - -  
Idle 00hex No action; cancels current command execution. - -  
Transmit 1Ahex Transmits data from the FIFO buffer to the card. Data Stream -  
Receive 16hex Activates receiver circuitry. Note: Before the receiver actually starts, the state machine waits until the time configured in the register RxWait has passed. Note: This command may be used for test purposes only, since there is no timing relation to the Transmit-Command. - Data Stream 16.4.2

 

Command Code Action Arguments and Data passed via FIFO Returned Data via FIFO
Transceive 1Ehex Transmits data from FIFO buffer to the card and activates automatically the receiver after transmission. Note: Before the receiver actually starts, the MF RC500 waits until the time configured in the register RxWait has passed. Note: This command is the combination of Transmit and Receive Data Stream Data Stream  
WriteE2 01hex Gets data from FIFO buffer and writes it to the internal E²PROM. Start Address LSB Start Address MSB Data Byte Stream -  
ReadE2 03hex Reads data from the internal E²PROM and puts it into the FIFO buffer. Note: Keys cannot be read back Start Address LSB Start Address MSB Number of Data Bytes Data Bytes  
LoadKeyE2 0Bhex Copies a key from the E²PROM into the key buffer. Start Address LSB Start Address MSB -  
LoadKey  19hex Reads a key from the FIFO buffer and puts it into the key buffer. Note: The key has to be prepared in a specific format (refer to 6.4.1, key format) Byte0 (LSB) Byte1 … Byte 10 Byte11 (MSB) -  
Authent1 0Chex Performs the first part of the Crypto1 card authentication. Card’s Auth-Command Card’s Block Address Card’s Serial Number LSB Card’s Serial Number Byte1 Card’s Serial Number Byte2 Card’s Serial Number MSB -  
Authent2 14hex Performs the second part of the card authentication using the Crypto1 algorithm. - -  
LoadConfig 07hex Reads data from E²PROM and initialises the MF RC500 registers. Start Address LSB Start Address MSB -  
CalcCRC 12hex Activates the CRC-Coprocessor. Note: The result of the CRC calculation can be read from the registers CRCResultLSB and CRCResultMSB Data Byte-Stream -  

Table 16-1: MF RC500 Command Overview