RFID MODULE. Mifare Read/Write Module. CM030 User Manual. Version 2.1 Apr 2010 chenmingcard

Similar documents
RFID MODULE Mifare Reader / Writer SL030 User Manual Version 2.4 Nov 2011 StrongLink

RFID MODULE Mifare Reader / Writer SL030 User Manual Version 3.1 Jan, 2018 StrongLink

RFID MODULE Mifare Read/Write Module SL025B User Manual Version 1.1 Jun 2010 StrongLink

MF1-RW-TTL-PCB Mhz Mifare ISO14443A reader/writer module with TTL interface CONTENT 1. MAIN FEATURES...,, PINNING INFORMATION...

RFID MODULE Mifare Reader / Writer SL031 User Manual Version 3.0 Jan 2018 StrongLink

RFID MODULE Mifare Reader / Writer SL032 User Manual Version 3.1 July 03, 2017 StrongLink

GM 500A Mifare Read/Write Module V1.0 GM 500A Mifare 13.56MHz Read/Write Protocols Interface (I2C/UART) User s Manual

JMY505G User's Manual

JMY504M User's Manual

JMY501H User's Manual

JMY607H User's Manual

RFID A1 Module User Manual V1.183

Supports ISO14443A Mifare Classic 1K, Mifare Classic 4K, Mifare Ultralight. Fast data transfer - Contactless communication up to 106 KHz

15693-RW-TTL-PCB1 CONTENT 1. MAIN FEATURES PINNING INFORMATION BAUD RATE SETTING COMMUNICATION PROTOCOL...5

DTNFCSS UART YES Internal DTNFCUS USB YES Internal

ACR120 Contactless Reader/Writer

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

I 2 C Application Note in Protocol B

BL24C02/BL24C04/BL24C08/BL24C16

OEM-MICODE (MIFARE ICODE)

ACM120S-SM Contactless Small Module

JMY6804 IC Card Reader

24C08/24C16. Two-Wire Serial EEPROM. Preliminary datasheet 8K (1024 X 8)/16K (2048 X 8) General Description. Pin Configuration

OEM-ORP ORP. Reads mV mV. Range. 1 reading every 420ms. Response time. Any type & brand. Supported probes. Single point.

JMY600 Series IC Card Module

AT24C01A/02/04/08/16. 2-Wire Serial CMOS E 2 PROM. Features. Description. Pin Configurations. 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8)

SRF02 Ultrasonic range finder Technical Specification

A0021. Overview. Features. Ordering Information. HSS Touch Signature IC 6 Input - I 2 C. Part Number Format: A X Y Z

XS S ERIES TM PMB US TM O PTION C ARD

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5096 P-DIP-8-1

Micro RWD MF (Mifare) Low Power Version (with auxiliary data outputs)

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5092 P-DIP-8-1

ACE24C512C Two-wire serial EEPROM

DS1845 Dual NV Potentiometer and Memory

Micro RWD MF-IC (Mifare/ICODE/ISO14443B) Reader (low power version with auxiliary outputs)

1. Features and Benefits

Application Programming Interface

ACR120 Technical Specifications Version 4.00

XRA1201/1201P 16-BIT I2C/SMBUS GPIO EXPANDER

A0061. Overview. Features. Ordering Information. HSS Touch Signature IC 15 Input - I 2 C. Part Number Format: A X Y Z

FM24C02A 2-Wire Serial EEPROM

XRA BIT I2C/SMBUS GPIO EXPANDER WITH INTEGRATED LEVEL SHIFTERS

1 Introduction Revision History... 4

REV6 Multi Sector MIFARE Reader/Writer Data Sheet

Shanghai Belling Corp., Ltd BL55028 zip: Tel: Fax:

ACR120 Contactless Reader/Writer. 1.0 Introduction. 2.0 Features. 3.0 Supported Card Types. 6.4cm. 9.9cm

CW2013. Low-Cost 1s Fuel Gauge IC with Low-SOC Alert. General Description. Features. Applications. Order Information

PIC-I/O Multifunction I/O Controller

RFID SMART RFID MODULE. YHY522 RFID module RFID/NFC Reader/Writer Module. User manual

CV5XX0A-X-XX Access Control Door Reader supports Mifare DESFire EV1 and Mifare Plus The family members are: Security Features for Mifare DESFire

Manual iaq-engine Indoor Air Quality sensor

FM24C02B/04B/08B/16B 2-Wire Serial EEPROM

M8M644S3V9 M16M648S3V9. 8M, 16M x 64 SODIMM

BL55077(A) LCD Driver

Nuvoton Touch Key Series NT1160 Datasheet

512K bitstwo-wire Serial EEPROM

YHY502CTG++ DATASHEET MHz RFID Mifare Read/Write Module. YHY502CTG++ Datasheet Revision 2.0 Oct, 2009 Page 1 of 21

GIGAVAC Contactors I 2 C Communication

ACE24AC02A1 Two-wire Serial EEPROM

ACE24AC128 Two-wire Serial EEPROM

SILICON MICROSTRUCTURES

Shanghai Belling Corp., Ltd BL55077 zip: Tel: Fax:

HF RFID SMART RFID YHY523R. RFID Reader/Writer Module. Product data sheet VER

Fremont Micro Devices, Inc.

I2C-OC805S, I2C-OC805SA I2C Bus 8-Output Open Collectors

DATA SHEET. Part No. MN63Y1214

ACE24AC64 Two-wire Serial EEPROM

Digital UART Product Specification

RFM-13X SERIES RF CARD READER/WRITER MODULE

Fully Integrated Thermal Accelerometer MXC6225XU

DS1676 Total Elapsed Time Recorder, Erasable

DS1846 NV Tri-Potentiometer, Memory, and MicroMonitor

ED1021 I/O Expander with UART interface & analog inputs

BV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9

MMC212xMG. Dual-axis Magnetic Sensor, With I 2 C Interface FEATURES. Signal Path X

1. Introduction NM7010A Features. WIZnet Inc.

NuSpeech Family N5132 High Sound Quality Voice Synthesizer Technical Reference Manual

A24C08. AiT Semiconductor Inc. ORDERING INFORMATION

Specification E2 Interface

PAW3305DK OPTICAL MOUSE SENSOR

PAT9125EL: Optical Tracking Miniature Chip

A0002. Overview. Features. Ordering Information. HSS Touch Signature IC 1-6 Input Enhanced Low Power with I2C. 14 PIN TSSOP or SOIC Package

RFID Read/Write Module, Serial (#28440) RFID Read/Write Module, USB (#28540)

I2C-AO112DIx I2C-Bus 4-20mA Analog Output Boards Din-Rail supports

KNJN I2C bus development boards

FM24C Kb FRAM Serial Memory Features

SKYEMODULE NOVA DATASHEET PRELIMINARY VERSION

MIFARE Secure OEM Reader Module Data Sheet

ACE24AC16B Two-wire Serial EEPROM

Compass Module 3-Axis HMC5883L (#29133)

2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

HT24LC02A CMOS 2K 2-Wire Serial EEPROM

FM24C1024A. Apr Data Sheet. Data Sheet FM24C1024A 2-wrie Serial EEPROM Ver 1.1 1

NeoLoch. Inquisitor 4116 DRAM Blade Manual. Overview. Preliminary Release

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

The Cubesat Internal bus: The I2C

2-Wire, 5-Bit DAC with Three Digital Outputs

TSYS01-FAMILY Digital Temperature Sensors

DS1855 Dual Nonvolatile Digital Potentiometer and Secure Memory

Transcription:

RFID MODULE Mifare Read/Write Module CM030 User Manual Version 2.1 Apr 2010 chenmingcard www.chenmingcard.com 1 1

CONTENT 1. MAIN FEATURES... 3 2. PINNING INFORMATION... 4 3. DEVICE OPERATION... 5 3-1. CLOCK and DATA TRANSITIONS:...5 3-2. START CONDITION...5 3-3. STOP CONDITION...5 3-4. ACKNOWLEDGE...5 3-5. BUSY STATE...6 3-6. Device Addressing...6 3-8. Read Operations...7 4. Command Description... 7 4-1. Format...7 4-2. Command Overview...8 4-3. Command List...9 4-3-1. Select Mifare card...9 4-3-2. Login to a sector...9 4-3-3. Download Key into CM030...9 4-3-4. Login sector via stored key...10 4-3-5. Read a data block...10 4-3-6. Write a data block...10 4-3-7. Read a value block...10 4-3-8. Initialize a value block...11 4-3-9. Write master key (KeyA)...11 4-3-10. Increment value...11 4-3-11. Decrement value...12 4-3-12. Copy value...12 4-3-13. Read a data page (Mifare_UltraLight)...12 4-3-14. Write a data Page (Mifare_UltraLight)...13 4-3-15. Power Down...13 www.chenmingcard.com 2 1

1. MAIN FEATURES Tags supported: Mifare 1k, Mifare 4k, Mifare UltraLight Auto-detecting tag Built-in antenna 0 to 400 KHz bit-wide I 2 C-bus communication 2.5 ~ 3.6V VDC operating, I/O pins are 5V tolerant Work current less than 40mA @3.3V Power down current less than 10uA Operating distance: Up to 50mm, depending on tag Storage temperature: -40 ºC ~ +85 ºC Operating temperature: -25 ºC ~ +70 ºC Dimension: 38 38 3 mm The OUT pin at low level indicates tag in detective range, and high level indicating tag out www.chenmingcard.com 3 1

2. PINNING INFORMATION PIN SYMBOL TYPE DESCRIPTION 1 VDD PWR Power supply, 2.5V to 3.6VDC 2 IN Input Falling edge wake up CM030 from power down mode 3 SDA Input/Output Serial Data Line 4 SLC Input Serial Clock Line 5 Out Output 6 GND PWR Ground 7 NC 8 NC 9 NC 10 NC Tag detect signal low level indicating tag in high level indicating tag out www.chenmingcard.com 4 1

3. DEVICE OPERATION 3-1. CLOCK AND DATA TRANSITIONS: The SDA pin is normally pulled high with an external device. Data on the SDA pin may change only during SCL low time periods. Data changes during SCL high periods will indicate a start or stop condition as defined below. 3-2. START CONDITION A high-to-low transition of SDA with SCL high is a start condition which must precede any other command 3-3. STOP CONDITION A low-to-high transition of SDA with SCL high is a stop condition. 3-4. ACKNOWLEDGE All addresses and data words are serially transmitted to and from the CM030 in 8-bit words. The CM030 sends a zero to acknowledge that it is not busy,and has received each word. This happens during the ninth clock cycle. www.chenmingcard.com 5 1

3-5. BUSY STATE When the CM030 has received command, then don t acknowledge IIC bus until ends with the card communication. 3-6. Device Addressing The CM030 devices require an 8-bit device address word following a start condition to enable the chip for a read or write operation. The device address word consists of 7 bits addressing and 1 bit operation select bit. The first 7 bits are the CM030 addressing, is 10100xx depend on JP1 and JP2 status as below table JP1 JP2 Address no no 1010000 ( default ) shorted yes no 1010001 no yes 1010010 yes yes 1010011 The eighth bit of the device address is the read/write operation select bit. A read operation is initiated if this bit is high and a write operation is initiated if this bit is low. www.chenmingcard.com 6 1

3-7. Write Operations The host device send a command(refer chapter 4)to CM030 via write operation, then CM030 will carry out the order that receive. Finished time according to different order 3-8. Read Operations The host device passes to read the operation gets the order carries out the result 4. COMMAND DESCRIPTION 4-1. FORMAT Host Write Command to CM030: Address Len Command Data Address: Len: 1 byte, 0xA0 Byte length counting from Command Code to the last byte of the data, 1 byte. Command: Co mmand Code, 1 byte. Data: Data, variable length depends on the command type. Host Read The Result: Address Len Command Status Data Address: 1 byte, 0xA1 Len: Byte length counting from Command Code to the last byte of the data, 1 byte. Command: Co mmand Code, 1 byte Status: Command status, 1 byte Data: Data, variable length depends on the command type. www.chenmingcard.com 7 1

4-2. COMMAND OVERVIEW Command Description 0x01 Select Mifare card 0x02 Login to a sector 0x03 Read a data block 0x04 Write a data block 0x05 Read a value block 0x06 Initialize a value block 0x07 Write master key (key A) 0x08 Increment value 0x09 Decrement value 0x0A Copy value 0x10 Read a data page (Ultralight) 0x11 Write a data page (Ultralight) 0x12 Download Key 0x13 Login sector via stored Key 0x50 Go to Power Down mode STATUS OVERVIEW Status Description 0x00 Operation succeed 0x01 No tag 0x02 Login succeed 0x03 Login fail 0x04 Read fail 0x05 Write fail 0x06 Unable to read after write 0x08 Address overflow 0x09 Download Key fail 0x0A Collision occur 0x0C Load key fail 0x0D Not authenticate 0x0E Not a value block www.chenmingcard.com 8 1

4-3. COMMAND LIST 4-3-1. Select Mifare card Len 0x01 Len 0x01 Status UID Type UID: The uniquely serial number of Mifare card, 4 bytes for Mifare 1k & Mifare 4k, 7 bytes for UltraLight & DesFire Type: 0x01: Mifare 1k 0x03: Mifare UltraLight 0x04: Mifare 4k 0x06: Mifare DesFire 0x0A: Other 4-3-2. Login to a sector Len 0x02 Sector Type Key Sector: Sector need to login, 0x00 0x27 Type: Key type (0xAA: authenticate with KeyA, 0xBB: authenticate with KeyB) Key: Authenticate key, 6 bytes Len 0x02 Status Status: 0x02: Login succeed 0x03: Login fail 0x08: Address overflow 4-3-3. Download Key into CM030 Len 0x12 Sector Type Key Sector: 0x00 0x27 Type: Key type (0xAA: KeyA, 0xBB: KeyB) Key: 6 bytes, stored into CM030 Len 0x12 Status 0x08: Address overflow 0x09: Download fail www.chenmingcard.com 9 1

4-3-4. Login sector via stored key Len 0x13 Sector Type Sector: Sector need to login, 0x00 0x27 Type: Key type (0xAA: KeyA, 0xBB: KeyB) Len 0x13 Status Status: 0x02: Login succeed 0x03: Login fail 0x08: Address overflow 4-3-5. Read a data block Len 0x03 Block Block: The absolute address of block to be read, 1 byte Len 0x03 Status Data 0x04: Read fail Data: Block data returned if operation succeeds, 16 bytes. 4-3-6. Write a data block Len 0x04 Block Data Block: The absolute address of block to be written, 1 byte. Data: The data to write, 16 bytes. Len 0x04 Status Data 0x06: Unable to read after write Data: Block data written if operation succeeds, 16 bytes. 4-3-7. Read a value block Len 0x05 Block Block: The absolute address of block to be read, 1 byte. Len 0x05 Status Value 0x04: Read fail www.chenmingcard.com 10 1

0x0E: Not a value block Value: Value returned if the operation succeeds, 4 bytes. 4-3-8. Initialize a value block Len 0x06 Block Value Block: The absolute address of block to be initialized, 1 byte. Value: The value to be written, 4 bytes. Len 0x06 Status Value 0x06: Unable to read after write Value: Value written if the operation succeeds, 4 bytes. 4-3-9. Write master key (KeyA) Len 0x07 Sector Key Sector: The sector number to be written, 0x00 0x27. Key: Authentication key, 6 bytes Len 0x07 Status Key 0x08: Address overflow Key: Authentication key written if the operation succeeds, 6 bytes. Attention: Be sure KeyB is readable, otherwise KeyB will be change to 000000000000 after this command. 4-3-10. Increment value Len 0x08 Block Value Block: The absolute address of block to be increased, 1 byte. Value: The value to be increased by, 4 bytes. Len 0x08 Status Value 0x06: Unable to read after write www.chenmingcard.com 11 1

0x0E: Not a value block Value: The value after increment if the operation succeeds, 4 bytes 4-3-11. Decrement value Len 0x09 Block Value Block: The absolute address of block to be decreased, 1 byte Value: The value to be decreased by, 4 bytes Len 0x09 Status Value 0x06: Unable to read after write 0x0E: Not a value block Value: The value after decrement if the operation succeeds, 4 bytes 4-3-12. Copy value Len 0x0A Source Destination Source: The source block copy from, 1 byte Destination: The destination copy to, 1 byte The source and destination must in the same sector Len 0x0A Status Value 0x06: Unable to read after write 0x0E: Not a value block (Source) Value: The value after copy if the operation succeeds, 4 bytes 4-3-13. Read a data page (Mifare_UltraLight) Len 0x10 Page Page: The page number to be read, 1 byte Len 0x10 Status Data 0x04: Read fail 0x08: Address overflow Data: Block data returned if operation succeeds, 4 bytes. www.chenmingcard.com 12 1

4-3-14. Write a data Page (Mifare_UltraLight) Len 0x11 Page Data Page: The page number to be written, 1 byte. Data: The data to write, 4 bytes. Len 0x11 Status Data 0x06: Unable to read after write 0x08: Address overflow 0xF0: Checksum error Data: page data written if operation succeeds, 4 bytes. 4-3-15. Power Down Len 0x50 No response until falling edge at PIN2 or repower www.chenmingcard.com 13 1