RFID MODULE Mifare Reader / Writer SL030 User Manual Version 2.6 Nov 2012 StrongLink



Similar documents
RFID MODULE Mifare Reader / Writer SL031 User Manual Version 2.7 Nov 2012 StrongLink

RFID MODULE Mifare Reader / Writer SL032 User Manual Version 1.5 Nov 2012 StrongLink

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

Application Programming Interface

Exercise 1: Set up the Environment

ACR122 NFC Contactless Smart Card Reader

SKYEMODULE GEMINI DATASHEET VERSION

PN532 NFC RFID Module User Guide

ACR120 Technical Specifications version 2.9 November 2005

Web Site: Forums: forums.parallax.com Sales: Technical:

USB Card Reader Configuration Utility. User Manual. Draft!

1. Introduction IIM7010A Features. WIZnet Inc.

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

14443A ISO\IEC 14443B ISO\IEC

SRF08 Ultra sonic range finder Technical Specification

NHD-0420D3Z-FL-GBW-V3

RFID READER 13.56MHz Reader / Writer SL500 User Manual Version 2.6 Nov 2011 StrongLink

DS1621 Digital Thermometer and Thermostat

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification

HP03 BAROMETER MODULE Version: 1.1

EA DOGS104x-A INCL. CONTROLLER SSD1803A FOR SPI AND I²C. available at 1 piece! Switchable font height ACCESSORIES

Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

DS Wire Digital Thermometer and Thermostat

Rayson. Bluetooth Module

UniPi technical documentation REV 1.1

Dolphin In-Circuit programming Updating Firmware in the field

KSH-3000-MI. Swipe Card Reader. ( Magnetic / IC Card two in One Reader ) Revision Reason Date V

Interface Protocol v1.2

DS1307ZN. 64 x 8 Serial Real-Time Clock

MF1 IC S General description. Functional specification. 1.1 Contactless Energy and Data Transfer. 1.2 Anticollision. Energy

Serial Communications

HDMM01 V1.0. Dual-axis Magnetic Sensor Module With I 2 C Interface FEATURES. Signal Path X

DS1621 Digital Thermometer and Thermostat

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

2-wire Serial EEPROM AT24C512

Web Site: Forums: forums.parallax.com Sales: Technical:

Features. DDR3 Unbuffered DIMM Spec Sheet

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1.

ACR122U USB NFC Reader

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

RPDO 1 TPDO 1 TPDO 5 TPDO 6 TPDO 7 TPDO 8

A RF18 Remote control receiver MODULE

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

WEA-Base. User manual for load cell transmitters. UK WEA-Base User manual for load cell transmitters Version 3.2 UK

DS1821 Programmable Digital Thermostat and Thermometer

Ensto Chago Master EVM300 and EVM500 Operational description

E-Blocks Easy RFID Bundle

RTU-EN01 Modbus TCP Remote I/O Communication Module Operation Manual

MMC314xMR. Ultra Small 3-axis Magnetic Sensor, With I 2 C Interface. Signal Path X. Signal Path Y. Signal Path Z FEATURES

Technical Data Sheet UM-005. UM005-doc In reference to UM005-c-01.04

Wireless Temperature

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

Methode Electronics. DM-317-XXXX 40 Gbps QSFP+ Passive Cable RoHS COMPLIANT.

NFCulT. An easy a nice tool that will make you have fun, or... make profit!

AN601 I2C 2.8 Communication Protocol. SM130 SM130 - Mini APPLICATION NOTE

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

USR-TCP232-T Hard Version: V2.0 Doc Version: V

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

Future Technology Devices International Ltd

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

Technical Support Bulletin Nr.18 Modbus Tips

AN mifare Ultralight Features and Hints. Document information. Multiple ticketing, secured data storage, implementation hints

EMERGING DISPLAY CUSTOMER ACCEPTANCE SPECIFICATIONS 16290(LED TYPES) EXAMINED BY : FILE NO. CAS ISSUE : JUL.03,2001 TOTAL PAGE : 7

SPECIFICATION NO. : DS D A T E O F I S S U E : July 16, R E V I S I O N : September 1, 2010 (00) : : :

FLYPORT Wi-Fi G

CMC-PD01 PROFIBUS DP Slave Communication Card Operation Manual

New Attacks against RFID-Systems. Lukas Grunwald DN-Systems GmbH Germany

Data sheet Wireless UART firmware version 4.02

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

DS18B20 Programmable Resolution 1-Wire Digital Thermometer

Methode Electronics. DM-338-GG-XXXX Up to 120 Gbps CXP Passive Cable Assembly.

GDM1602A SPECIFICATIONS OF LCD MODULE. Features. Outline dimension

RN-XV-RD2 Evaluation Board

Features. DDR SODIMM Product Datasheet. Rev. 1.0 Oct. 2011

Gemalto Mifare 1K Datasheet

RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available

Condemn the copycat company copied behavior on HM-10!!!!!! If you buy a fake, please apply for a refund guarantee your legitimate rights

ic-mq EVAL MQ1D EVALUATION BOARD DESCRIPTION

Security & Chip Card ICs SLE 44R35S / Mifare

EMERGING DISPLAY CUSTOMER ACCEPTANCE SPECIFICATIONS 16400(LED TYPES) EXAMINED BY : FILE NO. CAS ISSUE : JAN.19,2000 TOTAL PAGE : 7 APPROVED BY:

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

BATRON. Specification for BTHQ 21605V-FSTF-I2C-COG

(USR-TCP232-T, USR-TCP232-2) (USR-TCP232-S, USR-TCP232-D) (USR-TCP232-24, USR-TCP ) (USR-TCP , USR-TCP ) File version: V3.

WIZnet S2E (Serial-to-Ethernet) Device s Configuration Tool Programming Guide

HD44780-Based LCD Modules. Introduction to the LM018L

RN-131-PICTAIL & RN-171-PICTAIL Web-Server Demo Application

Microtronics technologies Mobile:

512 bit Read/Write Multi-purpose Contactless Identification Device

CAM-VGA100 User Manual

The FT6x06 series ICs include FT6206 /FT6306, the difference of their specifications will be listed individually in this datasheet.

8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description

Secure Automatic Ticketing System

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Training MIFARE SDK. Public. MobileKnowledge June 2015

Lecture N -1- PHYS Microcontrollers

DAM Series DAM124 4DIN+8AI+4DO Module Model No.:DAM124 WebSite:

Transcription:

RFID MODULE Mifare Reader / Writer User Manual Version 2.6 Nov 2012 StrongLink

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-7. Write Operations... 7 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... 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 (UltraLight & NTAG203)... 13 4-3-14. Write a data Page (UltraLight & NTAG203)... 13 4-3-15. Power Down... 13 4-3-16. Get firmware version... 13 http://www.stronglink-rfid.com 2

1. MAIN FEATURES Tags supported: Mifare 1k, Mifare 4k, Mifare UltraLight and NFC NTAG203 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 http://www.stronglink-rfid.com 3

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

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 in 8-bit words. The sends a zero to acknowledge that it is not busy, and has received each word. This happens during the ninth clock cycle. http://www.stronglink-rfid.com 5

3-5. Busy State When the has received command, then don t acknowledge IIC bus until ends with the card communication. 3-6. Device Addressing The 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 addressing, is 10100xx depend on JP1 and JP2 status as below table JP1 JP2 Address shorted no no 1010000 ( default ) no yes 1010001 yes no 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. http://www.stronglink-rfid.com 6

3-7. Write Operations The host device send a command(refer chapter 4) to via write operation, then 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 : Address Len Command Data Address: 1 byte, 0xA0 Len: 1 byte indicating the number of bytes from Command to the end of Data Command: 1 byte Command code, see Table 3 Data: Variable length depends on the command type Host Read The Result: Address Len Command Status Data Address: 1 byte, 0xA1 Len: 1 byte indicating the number of bytes from Command to the end of Data Command: 1 byte Command code, see Table 3 Status: 1 byte Command status, see Table 4 Data: Variable length depends on the command type. http://www.stronglink-rfid.com 7

4-2. Command Overview Table 3 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 & NATG203) 0x11 Write a data page (Ultralight & NTAG203) 0x12 Download Key 0x13 Login sector via stored Key 0x50 Go to Power Down mode 0xF0 Get firmware version STATUS OVERVIEW Table 4 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 http://www.stronglink-rfid.com 8

4-3. COMMAND LIST 4-3-1. Select Mifare card Len 0x01 Len 0x01 Status UID Type Status: 0x00: Operation succeed UID: The uniquely serial number of Mifare card Type: 0x01: Mifare 1k, 4 byte UID 0x02: Mifare 1k, 7 byte UID [1] 0x03: Mifare UltraLight or NATG203 [2], 7 byte UID 0x04: Mifare 4k, 4 byte UID 0x05: Mifare 4k, 7 byte UID [1] 0x06: Mifare DesFire, 7 byte UID 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 Len 0x12 Sector Type Key Sector: 0x00 0x27 Type: Key type (0xAA: KeyA, 0xBB: KeyB) Key: 6 bytes, stored into Len 0x12 Status Status: 0x00: Operation succeed 0x08: Address overflow 0x09: Download fail http://www.stronglink-rfid.com 9

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 Status: 0x00: Operation succeed 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 Status: 0x00: Data: Operation succeed 0x05: Write fail 0x06: Unable to read after write 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 http://www.stronglink-rfid.com 10

Status: 0x00: Operation succeed 0x04: Read fail 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 Status: 0x00: Operation succeed 0x05: Write fail 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 Status: 0x00: Operation succeed 0x05: Write fail 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. http://www.stronglink-rfid.com 11

Len 0x08 Status Value Status: 0x00: Operation succeed 0x05: Write fail 0x06: Unable to read after write 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 Status: 0x00: Operation succeed 0x05: Write fail 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 Status: 0x00: Operation succeed 0x05: Write fail 0x06: Unable to read after write 0x0E: Not a value block (Source) Value: The value after copy if the operation succeeds, 4 bytes http://www.stronglink-rfid.com 12

4-3-13. Read a data page (UltraLight & NTAG203) Len 0x10 Page Page: The page number to be read, 1 byte Len 0x10 Status Data Status: 0x00: Data: Operation succeed 0x04: Read fail 0x08: Address overflow Block data returned if operation succeeds, 4 bytes. 4-3-14. Write a data Page (UltraLight & NTAG203) Len 0x11 Page Data Page: The page number to be written, 1 byte. Data: The data to write, 4 bytes. Len 0x11 Status Data Status: 0x00: Operation succeed 0x05: Write fail 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 4-3-16. Get firmware version Len 0xF0 [3] Len 0xF0 Status Data Status: 0x00: Operation succeed Data: firmware version. http://www.stronglink-rfid.com 13

Remark [1] In order to support 7 byte UID Mifare class, the firmware of has been updated to Ver3.2 in Mar 2011. And older firmware version (such as Ver1.0, 2.0, 2.2, etc) only supports 4 byte UID. Please refer to NXP Customer Letter UID for detailed information of 4 byte & 7 byte UID of Mifare products. [2] To support NATG203, the firmware of has been updated to Ver3.9 in May 2012. The older firmware version only supports reading/writing data page address less than 16. [3] One sample of response Len Command Status Data (Firmware version) HEX 0B F0 00 53 4C 30 33 30 2D 33 2E 32 ASCII -3.2 http://www.stronglink-rfid.com 14