INTEGRATED CIRCUITS MF RC500 Highly Integrated ISO 14443A Reader IC Short Form Specification Revision 2.0 Philips Semiconductors January 2002 Philips Semiconductors Short Form Specification Rev. 2.0 January2002 Highly Integrated ISO 14443A Reader IC MF RC500 CONTENTS 1 INTRODUCTION ................................... 3 1.1 Scope ................................................... 3 1.2 Features ............................................... 3 1.3 Applications........................................... 3 2 BLOCK DIAGRAM................................. 4 3 MF RC500 PINNING.............................. 5 3.1 Pinning Diagram.................................... 5 3.2 Pin Description...................................... 6 3.2.1 Antenna Interface .................................. 6 3.2.2 Analog Supply ....................................... 6 3.2.3 Digital Supply ........................................ 6 3.2.4 Auxillary Pin .......................................... 6 3.2.5 Reset Pin .............................................. 7 3.2.6 Oscillator............................................... 7 3.2.7 MIFARE Interface ................................ 7 3.2.8 Parallel Interface.................................... 7 3.3 Applications........................................... 8 3.3.1 Connecting Different µController's........... 8 3.3.2 Application Example .............................. 8 4 MIFARE CLASSIC RELATED ITEMS.... 9 4.1 CRYPTO I: Card Authentication.............. 9 4.1.1 Initiating Card Authentication.................. 9 4.1.2 Second Part of Card Authentication ........ 9 5 ELECTRICAL SPECIFICATION.............10 5.1 DC Characteristics ...............................10 5.2 Start up Characteristics.........................10 ® MIFARE is a registered trademark of Philips Electronics N.V. 2 PUBLIC Philips Semiconductors Short Form Specification Rev. 2.0 January 2002 Highly Integrated ISO 14443A Reader IC MF RC500 • Parallel µController interface with internal address latch and IRQ line • Automatic detection of parallel µC interface type • Comfortable send and receive FIFO buffer • Anti-collision procedure support • Bit- and byte-oriented framing • Unique serial number • Onboard timer circuit • Supports MIFARE PRO and ISO 14443A (transparent mode and T=”CL” ) The receiver part provides a robust and efficient implementation of a demodulation and decoding circuitry for signals of ISO14443A compatible transponders. • Supports MIFARE Classic • Crypto1 and secure non-volatile internal key memory The digital part handles ISO 14443A framing and error detection (Parity & CRC). Additionally it supports the fast CRYPTO 1 stream cipher to ® authenticate MIFARE Classic (MIFARE ® Standard, MIFARE Light) products. • Supports MIFARE active antenna concept. • Suitable for high security terminals with SAM’s based on e.g. triple DES, RSA, elliptic curves A comfortable parallel interface which can be directly connected to any 8-bit µController gives high flexibility for Reader / Terminal design. 1.3 Applications 1 INTRODUCTION 1.1 Scope The MF RC500 is member of a new family of highly integrated reader ICs for contactless communication on 13,56MHz. This new reader IC family utilises an outstanding modulation and demodulation concept completely integrated for all major kinds of passive contactless communication methods and protocols on 13,56MHz. The MF RC500 supports all layers of ISO14443A. The internal transmitter part is able to drive a proximity antenna (up to 100mm) directly without additional active circuitry. Highly integrated analog circuitry to decode card response • Buffered output drivers to connect an antenna with minimum number of external components • Proximity operating distance (up to 100 mm) • Fast internal oscillator buffer to connect 13.56 MHz quartz • ® The MF RC500 is tailored to fit the requirements of various applications using contactless communication based on ISO/IEC 14443A standard where cost-effectiveness, small size, high performance with a single voltage supply are important. 1.2 Features • ® • Public transport terminals • Handheld terminals • On board units • Contactless PC terminals Clock frequency monitoring • Metering • Hard reset with low power functions • Contactless public phones • Power down mode per software 3 PUBLIC Philips Semiconductors Short Form Specification Rev. 2.0 January 2002 Highly Integrated ISO 14443A Reader IC MF RC500 2 BLOCK DIAGRAM The block diagram shows the main internal parts of the MF RC500. The status and control part allows configuration of the device to adapt to environmental influences and to adjust to operate with best performance. The parallel µController interface automatically detects the kind of 8 bit parallel interface connected to it. It includes a comfortable bidirectional FIFO buffer and a configurable interrupt output. This gives the flexibility to connect a variety of µC, even low cost devices, still meeting the requirements of high-speed contactless transactions. ® For communication with MIFARE Classic ® ® products like MIFARE Standard or MIFARE Light a high speed CRYPTO 1 stream cipher unit and a secure non-volatile key memory is implemented. The analog circuit includes a transmitting part with a very low impedance bridge driver output. This allows an operating distance up to 100mm. The receiver is able to detect and decode even very weak responses. Due to a highly sophisticated implementation the receiver is no longer a limiting factor for the operating distance. The Data processing part performs parallel serial conversion of the data. It supports framing including CRC and parity generation / checking. It operates in full transparent mode thus supporting all layers of ISO 14443A. MF RC500 Crypto1 Security & Key Memory Data Bus ® Status and Control Addr. Bus Parallel µController Interface with FIFO Buffer Data Processing Control Lines Analog Circuitry E MIFAR Classic Integrated Demodulator, Bit-Decoder, Output Drivers Parallel/Serial Conversion CRC/Parity Generation & Check Framing Generation & Check Bit Coding and Decoding E MIFAR Pro ® ISO14443A Figure 2-1: MF RC500 Block Diagram 4 PUBLIC Philips Semiconductors Short Form Specification Rev. 2.0 January 2002 Highly Integrated ISO 14443A Reader IC MF RC500 3 MF RC500 PINNING 3.1 Pinning Diagram The device is packaged in a 32 pin SO-package. MF RC500 DVDD TVDD DVSS TVSS TX1 A0-A3 TX2 D0-D7 NRD AVDD NWR AVSS NCS RX ALE VMID IRQ AUX RST MFOUT XOUT MFIN XIN Figure 3-1: MF RC500 The device operates with 3 individual power supplies for best performance in terms of EMC behaviour and signal de-coupling. This gives outstanding RF performance and also maximum flexibility to adapt to different operating voltages of digital and analog part. 5 PUBLIC Philips Semiconductors Short Form Specification Rev. 2.0 January 2002 Highly Integrated ISO 14443A Reader IC MF RC500 3.2 Pin Description 3.2.1 ANTENNA INTERFACE The contactless antenna interface basically uses four pins: Name Type Function TX1, TX2 O Buffered Antenna Drivers VMID Analog Reference Voltage RX I Analog Antenna Input Signal To drive the antenna the MF RC500 provides the energy carrier of 13.56 MHz through TX1 and TX2. This signal is modulated by the transmitting data according the register settings. The card responds with load modulation of the RF field. The resulting signal picked up by the antenna is coupled out from the antenna matching circuit and forwarded to the RX-pin. Inside the MF RC500 the receiver senses and demodulates the signal and processes it according to the register settings. Data is passed further on to the parallel interface where it is accessible by the µ-Controller. The MF RC500 uses a separate power supply for the driver stage. Name Type Function TVDD Power Transmitter Supply Voltage TGND Power Transmitter Supply Ground 3.2.2 ANALOG SUPPLY For best performance the MF RC500 analog part has a separate supply. It powers the oscillator, the analog demodulator and decoder circuitry. Name Type Function AVDD Power Analog Positive Supply Voltage AGND Power Analog Supply Ground 3.2.3 DIGITAL SUPPLY The MF RC500 uses a separate digital supply. Name Type Function DVDD Power Digital Positive Supply Voltage DGND Power Digital Supply Ground 3.2.4 AUXILLARY PIN Internal signals may be selected to drive this pin. It is used for design-in support and test purpose. 6 PUBLIC Philips Semiconductors Short Form Specification Rev. 2.0 January 2002 Highly Integrated ISO 14443A Reader IC MF RC500 3.2.5 RESET PIN The reset pin disables internal current sources and clocks and detaches the MF RC500 virtually from the µC bus. If RST is released, the MF RC500 executes the power up sequence. 3.2.6 OSCILLATOR Name Type Function XIN I Oscillator Buffer Input XOUT O Oscillator Buffer Output The very fast on-chip oscillator buffer operates with a 13.56 MHz crystal connected to XIN and XOUT. If the device shall operate with an external clock it may be applied to pin XIN. 3.2.7 MIFARE INTERFACE ® The MF RC500 supports the active antenna concept of MIFARE . It may handles the base-band signals ® NPAUSE and KOMP of MIFARE Core Modules (MF CMxxx) at the pins MFIN and MFOUT. Name Type Function MFIN I with Schmitt Trigger MIFARE Interface Input MFOUT O MIFARE Interface Output ® ® ® The MIFARE interface may be used to communicate with either the analog or the digital part of the MF RC500 separately in the following ways: ® • The analog circuit may be used stand-alone via the MIFARE interface. In that case MFIN will be connected to the externally generated NPAUSE signal. The MFOUT pin provides the KOMP signal. • The digital circuit may be used to drive an external analog circuit via the MIFARE interface. In that case the MFOUT pin provides the internally generated NPAUSE signal and MFIN will be connected to the KOMP signal from the outside. ® 3.2.8 PARALLEL INTERFACE 16 pins control the parallel interface: Name Type Function D0 … D7 I/O with Schmitt Trigger Bi-directional Data Bus A0 … A2 I/O with Schmitt Trigger Address Lines NWR / RNW I/O with Schmitt Trigger Not Write / Read Not Write NRD / NDS I/O with Schmitt Trigger Not Read / Not Data Strobe NCS I/O with Schmitt Trigger Not Chip Select ALE I/O with Schmitt Trigger Address Latch Enable IRQ O Interrupt Request 7 PUBLIC Philips Semiconductors Short Form Specification Rev. 2.0 January 2002 Highly Integrated ISO 14443A Reader IC MF RC500 3.3 Applications 3.3.1 CONNECTING DIFFERENT µCONTROLLER'S The MF RC500 supports different parallel µC interfaces. An intelligent auto-detection logic automatically adapts the parallel interface to the respective bus system. Selection of the device is performed with signal NCS. To connect µ-Controllers using separated address and data bus pin ALE has to be connected to DVDD. To connect µ-Controllers using multiplexed address and data bus pin ALE has to be connected to the signal ALE of the µ-Controller To connect µ-Controllers using RNW and NDS (instead of NWR and NRD) the µ-Controller’s RNW has to be connected to pin NWR and NDS to pin NRD. 3.3.2 APPLICATION EXAMPLE TVDD AVDD DVDD RST TX1 NCS, NRD, NWR ALE Antenna µController DA0 ... DA7 MF RC500 IRQ SO 32 TX2 RX VMID XOUT XIN TGND AGND DGND Figure 3-2: MF RC500; principle circuit for short distance 8 PUBLIC Philips Semiconductors Short Form Specification Rev. 2.0 January 2002 Highly Integrated ISO 14443A Reader IC MF RC500 ® 4 MIFARE CLASSIC RELATED ITEMS communication status flags. If communication so far has been successful the second part of the authentication procedure can be started. 4.1 CRYPTO I: Card Authentication For correct authentication of MIFARE Classic products the fast CRYPTO 1 stream cipher is available. The corresponding keys have to be programmed into the secure non-volatile key memory of the MF RC500. 4.1.2 SECOND PART OF CARD AUTHENTICATION Data to be transmitted to the card in this phase are generated automatically by the internal CRYPTO 1 unit inside the MF RC500. To request this action the according command has to be triggered. Only two commands need to be sent by application software to turn on CRYPTO 1 secured communication. 4.1.1 INITIATING CARD AUTHENTICATION The card will respond with the second message token. Then the communication status flags have to be checked by the µ-Controller. If authentication has been successful further communication with a MIFARE Classic card continues CRYPTO 1 enciphered. The correct key for the authentication has to be selected from the secure internal non-volatile key memory and loaded into the internal CRYPTO1 register. Next the authentication command is transmitted to the card. After receiving the first message token from the card, the µ-Controller has to check the 9 PUBLIC Philips Semiconductors Short Form Specification Rev. 2.0 January 2002 Highly Integrated ISO 14443A Reader IC MF RC500 5 ELECTRICAL SPECIFICATION 5.1 DC Characteristics SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT Voltage Supply DVDD Digital Supply Voltage 4.5 5.0 5.5 V AVDD Analog Supply Voltage 4.5 5.0 5.5 V TVDD Transmitter Supply Voltage 3.3 5.0 5.5 V Current Consumption IDVDD Operating Digital Supply Current 6 mA IAVDD Operating Analog Supply Current 25 mA ITVDD Operating Buffered Antenna Driver Supply Current continuous wave 150 mA 5.2 Start up Characteristics Mode CONDITIONS Current UNIT Time UNIT < 1000 µs Startup times and current consumption Power on - Hard Reset via Reset Pin 1 µA < 1000 µs Soft Reset via Register Setting 1 µA < 1000 µs 10 - PUBLIC 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 specification This data sheet contains final product specifications. Limiting values Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics section of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability. Application information Where application information is given, it is advisory and does not form part of the specification. Life support applications These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips customers using or selling these products for use in such applications do so on their own risk and agree to fully indemnify Philips for any damages resulting from such improper use or sale. Philips Semiconductors - a worldwide company Argentina: see South America Australia: 34 Waterloo Road, NORTHRYDE, NSW 2113, Tel. +612 9805 4455, Fax. +612 9805 4466 Austria: Computerstraße 6, A-1101 WIEN, P.O.Box 213, Tel. +431 60 101, Fax. +431 30 101 1210 Belarus: Hotel Minsk Business Centre, Bld. 3, r.1211, Volodarski Str. 6, 220050 MINSK, Tel. +375172 200 733, Fax. +375172 200 773 Belgium: see The Netherlands Brazil : see South America Bulgaria: Philips Bulgaria Ltd., Energoproject, 15th floor, 51 James Bourchier Blvd., 1407 SOFIA Tel. +3592 689 211, Fax. +3592 689 102 Canada: Philips Semiconductors/Components, Tel. +1800 234 7381 China/Hong Kong: 501 Hong Kong Industrial Technology Centre, 72 Tat Chee Avenue, Kowloon Tong, HONG KONG, Tel. +85223 19 7888, Fax. +85223 19 7700 Colombia: see South America Czech Republic: see Austria Denmark: Prags Boulevard 80, PB 1919, DK-2300 COPENHAGEN S, Tel. +4532 88 2636, Fax. +4531 57 1949 Finland: Sinikalliontie 3, FIN-02630 ESPOO, Tel. +3589 61 5800, Fax. +3589 61 580/xxx France: 4 Rue du Port-aux-Vins, BP 317, 92156 SURESNES Cedex, Tel. +331 40 99 6161, Fax. +331 40 99 6427 Germany: Hammerbrookstraße 69, D-20097 HAMBURG, Tel. +4940 23 53 60, Fax. +4940 23 536 300 Greece: No. 15, 25th March Street, GR 17778 TAVROS/ATHENS, Tel. +301 4894 339/239, Fax. +301 4814 240 Hungary: see Austria India: Philips INDIA Ltd., Shivsagar Estate, A Block, Dr. Annie Besant Rd. Worli, MUMBAI 400018, Tel. +9122 4938 541, Fax. +9122 4938 722 Indonesia: see Singapore Ireland: Newstead, Clonskeagh, DUBLIN 14, Tel. +3531 7640 000, Fax. +3531 7640 200 Israel : RAPAC Electronics, 7 Kehilat Saloniki St., TEL AVIV 61180, Tel. +9723 645 0444, Fax. +9723 649 1007 Italy: Philips Semiconductors, Piazza IV Novembre 3, 20124 MILANO, Tel. +392 6752 2531, Fax. +392 6752 2557 Japan : Philips Bldg. 13-37, Kohnan 2-chome, Minato-ku, TOKYO 108, Tel. +813 3740 5130,Fax. +813 3740 5077 Korea: Philips House, 260-199, Itaewon-dong, Yonsan-ku, SEOUL, Tel. +822 709 1412, Fax. +822 709 1415 Malaysia: No. 76 Jalan Universiti, 46200 PETALING JAYA, Selangor, Tel. +60 3750 5214, Fax. +603 757 4880 Mexico : 5900 Gateway East, Suite 200, EL PASO, Texas 79905, Tel. +9 5800 234 7381 Middle East: see Italy Netherlands: Postbus 90050, 5600 PB EINDHOVEN, Bldg. VB, Tel. +3140 27 82785, Fax +3140 27 88399 New Zealand: 2 Wagener Place, C.P.O. Box 1041, AUCKLAND, Tel. +649 849 4160, Fax. +649 849 7811 Norway: Box 1, Manglerud 0612, OSLO, Tel. +4722 74 8000, Fax. +4722 74 8341 Philippines: Philips Semiconductors Philippines Inc., 106 Valero St. Salcedo Village, P.O.Box 2108 MCC, MAKATI, Metro MANILA, Tel. +632 816 6380, Fax. +632 817 3474 Poland: Ul. Lukiska 10, PL 04-123 WARSZWA, Tel. +4822 612 2831, Fax. +4822 612 2327 Portugal: see Spain Romania: see Italy Russia: Philips Russia, Ul. Usatcheva 35A, 119048 MOSCOW, Tel. +7095 247 9145, Fax. +7095 247 9144 Singapore: Lorong 1, Toa Payoh, SINGAPORE 1231, Tel. +65350 2538, Fax. +65251 6500 Slovakia: see Austria Slovenia: see Italy South Africa: S.A. Philips Pty Ltd., 195-215 Main Road Martindale, 2092 JOHANNESBURG, P.O.Box 7430 Johannesburg 2000, Tel. +2711 470 5911, Fax. +2711 470 5494 South America: Rua do Rocio 220, 5th floor, Suite 51, 04552-903 Sao Paulo, SAO PAULO - SP, Brazil, Tel. +5511 821 2333, Fax. +5511 829 1849 Spain: Balmes 22, 08007 BARCELONA, Tel. +343 301 6312, Fax. +343 301 4107 Sweden : Kottbygatan 7, Akalla, S-16485 STOCKHOLM, Tel. +468 632 2000, Fax. +468 632 2745 Switzerland: Allmendstraße 140, CH-8027 ZÜRICH, Tel. +411 488 2686, Fax. +411 481 7730 Taiwan : Philips Taiwan Ltd., 2330F, 66, Chung Hsiao West Road, Sec. 1, P.O.Box 22978, TAIPEI 100, Tel. +8862 382 4443, Fax. +8862 382 4444 Thailand: Philips Electronics (Thailand) Ltd., 209/2 Sanpavuth-Bangna Road Prakanong, BANGKOK 10260, Tel. +662 745 4090, Fax. +662 398 0793 Turkey: Talapasa Cad. No. 5, 80640 GÜLTEPE/ISTANBUL, Tel. +90212 279 2770, Fax. +90212 282 6707 Ukraine: Philips Ukraine, 4 Patrice Lumumba Str., Building B, Floor 7, 252042 KIEV, Tel. +38044 264 2776, Fax. +38044 268 0461 United Kingdom: Philips Semiconductors Ltd., 276 Bath Road, Hayes, MIDDLESEX UM3 5BX, Tel. +44181 730 5000, Fax. +44181 754 8421 United States: 811 Argues Avenue, SUNNYVALE, CA94088-3409, Tel. +1800 234 7381 Uruguay: see South America Vietnam: see Singapore Yugoslavia: Philips, Trg N. Pasica 5/v, 11000 BEOGRAD, Tel. +38111 625 344, Fax. +38111 635 777 Published by: Philips Semiconductors Gratkorn GmbH, Mikron-Weg 1, A-8101 Gratkorn, Austria Fax: +43 3124 299 - 270 For all other countries apply to: Philips Semiconductors, Marketing & Sales Communications, Internet: http://www.semiconductors.philips.com Building BE-p, P.O.Box 218, 5600 MD EINDHOVEN, The Netherlands, Fax: +3140 27 24825 © Philips Electronics N.V. 1997 SCB52 All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without any notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. Philips Semiconductors