DOC

asynchronization

By Bernice Greene,2014-08-03 18:13
10 views 0
asynchronization

     DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 1 OF 19 2005.08.30

KRF-4100

    RF ID READER MODULE

    RF (TYPE A,B)

    KDE Inc.

    KDE TOWN, 42-7, Mangwol-Tong,

    Hanam, Kyungki-Do, Korea

    TEL : 82-31-790-9300

    FAX : 82-31-790-9313

    KDE Inc. AD-40 (210mm×297mm)

     DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 2 OF 19 2005.08.30

     APPROVAL

RESP. DEPT. ORIGINATOR KANG BYOUNG-CHAN R & D

     DEPT. Intl Sales QA APPROVED APPROVAL BY &

    CONFIRMATUON

    DEPT. DOC. CONTROL APPROVAL

    APPROVED

    BY

     REVISION HISTORY

    CHECK ISSUED DATE DESCRIPTION TOTAL PAGE ISSUE - KRF-4100 SPECIFICATION ISSUE 17

    KDE Inc. AD-A40 (210mm×297mm)

    DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 3 OF 19 2005.08.30

CONTENTS

    1. GENERALS --------- 4 2. SYSTEM BLOCK DIAGRAM --------- 4 3. SPECIFICATIONS --------- 5 4. INTERFACE REQUIREMENTS --------- 6 5. COMMUNICATION PROTOCOL SEQUENCE --------- 8 6. COMMUNICATION PROTOCOL DESCRIPTIONS --------- 10 7. COMMUNICATION DETAILS --------- 12 8. DIMENSIONS --------- 21 9. PICTURE --------- 22

    KDE, Inc. AD-A41 (210mm×297mm)

    DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 4 OF 19 2005.08.30

     1. Concept :

Support Type A ( mifare card) and Type B compatible card to meet ISO-14443.

     Communication way is to support RS232 Serial interface.

2. System Configuartion

     LOGI MCU MatchinC Antenna MFRC Circuit g 8BIT

     531 u- Controller

     RS-232C

     pic - 1

    2.1 MCU

    Contorl all kinds of functions for KRF-4100 and have basic memory . Communicate with Serieal

    interafce.

    2.2 LOGIC BLOCK

    Communicate with ISO14443A/B and alter & demodulate the data.

    2.3 Connector specification

    2.3.1 RF ANTENNA. Connector (CN2 : Molex 5268-03)

    Pin No. Signal Name Function

    1 GND Signal ground

    2 RF-OUT RF out port

    3 GND Signal ground

     #3 #1

     pic-2

    KDE, Inc. AD-A41 (210mm×297mm)

    DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 5 OF 19 2005.08.30

    2.3.2 Communication and Power connector (CN1 : Molex 53015-05)

Pin No. Signal Name Function

    1 VCC DC 5V

    2 RXD Transfer data

    3 TXD Receive data

    4 DTR Software Reset Signal

    5 GND Signal Ground

    12345

    53015-05 Top View

     pic-3

     * How to reset Software

     DTR 200~300ms

     * User should set the DTR LOW before start operating card reader.

    2.3.3 Mifare Memory (Block Number Define) configuration.

     Block 0 Block 1 Block 2 Block 3

    Sector 0 0x00 0x01 0x02 0x03

    Sector 1 0x04 0x05 0x06 0x07

    Sector 2 0x08 0x09 0x0A 0x0B

    Sector 3 0x0C 0x0D 0x0E 0x0F

    Sector 4 0x10 0x11 0x12 0x13

    Sector 5 0x14 0x15 0x16 0x17

    Sector 6 0x18 0x19 0x1A 0x1B

    Sector 7 0x1C 0x1D 0x1E 0x1F

    Sector 8 0x20 0x21 0x22 0x23

    Sector 9 0x24 0x25 0x26 0x27 Sector 10 0x28 0x29 0x2A 0x2B Sector 11 0x2C 0x2D 0x2E 0x2F Sector 12 0x30 0x31 0x32 0x33 Sector 13 0x34 0x35 0x36 0x37 Sector 14 0x38 0x39 0x3A 0x3B Sector 15 0x3C 0x3D 0x3E 0x3F

    KDE, Inc. AD-A41 (210mm×297mm)

    DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 6 OF 19 2005.08.30

    3. Electrical Specification and Communication Interface

3.1. Input Voltage : DC 5V ?10%

    3.2. Current Consumption : Less than 500 mA

    : asynchronization RS-232C, Half direction Communication 3.3 Communication type

     3.3.1 Data length : 8 Bit

     3.3.2 Start Bit : 1Bit

     3.3.3 Stop Bit : 1Bit

     3.3.4 Parity Bit : None Parity

     3.3.5 Character Code : Hexa Code

    3.4. Communication speed : 115200 bps

    3.5. Carrier Frequency : 13.56MHz ? 7 KHz

    3.6. RF card Communication : ISO14443A / B

    3.7 Card Detection Length : Within100mm ( PCB antenna : VSWR = 1.1 )

    (Detection Length is up to length of antenna and environment and card.)

    3.8. Environment Requirement

     3.8.1 Operation Temperature : -10 ~ 50 ? (20 ~ 90 % : humidity )

     3.8.2 Storage Temperature : -20 ~ 90 ? (20 ~ 90 % : humidity ) 3.9. RF card Communication Type : bi- Directions

     3.9.1 Module --> RF Card : 100% ASK, Miller Code

    : Sub-Carrier used for Modulation Frequency : 847.5 kHz 3.9.2 RF Card --> Module

    * RWD: Read/Write Device : Manchester Code

    KDE, Inc. AD-A41 (210mm×297mm)

    DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 7 OF 19 2005.08.30

     4. Protocol Configuration

     4.1 Command configuration

    STX Command Length T-Data ETX BCC

    1 byte 1 byte 1 byte 0 ~ 255 bytes 1 byte 1 byte

     Length Range

    BCC Range

     * STX : Command start byte (0x02)

     * Command : Command from Host to RF device

     * Length : Number of T-Datas Byte

     * T-Data : Transferred data with command

     * ETX : Command end byte(0x03)

     * BCC : Command error detection byte (Exclusive OR value except STX & LEN.)

     4.2 Response configuration

     STX Command Length Status R-Data ETX BCC 1 byte 1 byte 1 byte 1 byte 0 ~ 255 bytes 1 byte 1 byte Length Range BCC Range

     * STX : Response start byte(0x02)

     * Command : Confirm by sending the command from Host.

     * Length : Number of R-Datas Byte

     * Status : Status display Byte after Command

     - Status : S(0x53) Command runs successfully

     - Status : F(0x46) Command runs fail

     * R-Data : Response value and error code according to command.

     * ETX : Response end byte(0x03)

     * BCC : Response error detection byte (Exclusive OR value by STX ~ ETX )

    KDE, Inc. AD-A41 (210mm×297mm)

    DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 8 OF 19 2005.08.30

    5. Command list and details

     5.1 Command list

    Command item Command Parameter Description

    Get Card A 0xA0 - : Direct Command 0xA1 - : Mifare Load Key 0xA2 Secter Number :

    Key Set : Mifare Read 0xA3 Block Number :

    Block Key Type (A or B) :

     Block Number : Mifare Write 0xA4 Key Type (A or B) :

    Block Data (16 Bytes) :

     Block Number :

    Mifare 0xA5 Trans_Block No. : Decrement Key Type (A or B) :

    Value Value (4 Bytes) :

     Block Number :

    Mifare 0xA6 Trans_Block No. : Increment Key Type (A or B) :

    Value Value (4 Bytes) :

     Block Number : Mifare Restore 0xA7 Trans_Block No. :

    Key Type (A or B) : Get Card B 0xB0 - : RF Power Off 0xC1 - : Get Version 0xC0 - :

    KDE, Inc. AD-A41 (210mm×297mm)

    DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 9 OF 19 2005.08.30

     7.2 Command details

     7.2.1 Get Card A (Command : 0xA0)

    Issuing Command, Device communicates with Type A(Mifare) card which meets ISO 14443-

    3(request,anticollision ,select) and this card can be set to transfer and received the

    data to meet 14443-4(MIFARE protocol)

    Correct result shows the Response to transfer serial number(4 Byte) of the card and

    error result show error Code.

    Command

    STX 0xA0 0x00 ETX BCC

     Response

    STX 0xA0 0x05 Status *R-Data ETX BCC

     # Notes :

     - Status Byte : S (0x53) Command result: Success

     : F (0x46) Command result: Fail

     - *R-Data : In case of Success : Card Type (1 byte) + Card Serial (4 bytes)

     : In case of Fail: Error Code (1 byte)

     - Card Type : M (0x4D) Mifare Card

     : A (0x41) Type A Card

     # Example :

     - Command : 02 A0 00 03 A1

     - Response : 02 A0 05 53 4D C2 EF 1C EB 03 60 (Incase of Mifare)

     - Response : 02 A0 05 53 41 08 EB 4F 22 03 38 (Incase of Type A )

     7.2.2 Direct Command (Command : 0xA1)

    After transact command Get Card A or Get Card B, if it sets on the status to be able to transfer

    and receive Type A, B card, transfer and receive directly by RF card according to 14443-

    4(Type A, B protocol).

    Transfer the Command from Host to Type A, B RF Card

    Command

    STX 0xA1 Length **T-Data ETX BCC

     Response

    STX 0xA1 Length Status *R-Data ETX BCC

     # Notes :

    KDE, Inc. AD-A41 (210mm×297mm)

    DOC. NO. KRF-4100 REV. PAGE DATE

    SPECIFICATION - X1 10 OF 19 2005.08.30

     - **T-Data : Host Command that will be tranfered directly to Type A, B RF Card

     : ISO 7816 command data type

     - Length : Data Length (1 byte)

     - Status Byte : S (0x53) Command Result: Success

     : F (0x46) Command Result: Fail

     - *R-Data : ISO 7816 command response data type

     : Notice) Using data length byte or not, is depends on the Card

     Specification

     # Example :

     (In case of Select DF)

     - Command : 02 A1 0E 0A 00 00 A4 04 00 07 D4 10 00 00 03 00 01 03 C5

    - Response : 02 A1 37 53 0A 00 6F 31 B0 2F 00 10 01 01 11 11 22 22 33 33 55 55 00

    00 00 00 01 20 04 10 22 20 05 03 13 01 00 00 07 A1 20 00 01 00 00 00

    00 07 07 19 72 03 24 00 00 00 00 90 00 03 67

     (Incase of Init_Load_Card)

     - Command : 02 A1 0B 0A 00 90 40 00 00 04 00 00 00 64 03 11

    - Response : 02 A1 22 53 0B 00 10 00 04 53 D3 01 11 11 22 22 33 33 55 55 00 00 06

    7C F7 EA 82 20 99 31 D0 6A 3C 63 31 C9 90 00 03 AF

     7.2.3 Mifare Load Key (Command : 0xA2)

    Load the A, B Key Data to verify.

    Command

    STX 0xA2 0x0D **T-Data ETX BCC

     Response

    STX 0xA2 0x01 Status *R-Data ETX BCC

     # Notes :

     - **T-Data : Sector No (1 byte) + KeyA Bytes (6 bytes) + KeyB Bytes (6 bytes)

     - Length : Data Length (1 byte)

     - Status Byte : S (0x53) Command Result: Success

     : F (0x46) Command Result: Fail

     - *R-Data : Status Byte (1 byte) + Return Code (1 Byte)

     # Example :

     (Incase of Sector No : 0x00 + KeyA : FFFFFFFFFFFF + KeyB : FFFFFFFFFFFF)

     - Command : 02 A2 0D 00 FF FF FF FF FF FF FF FF FF FF FF FF 03 AE

     - Response : 02 A2 01 53 30 03 C1

     (Incase of Sector No : 0x00 + KeyA : A0A1A2A3A4A5 + KeyB : B0B1B2B3B4B5 )

     - Command : 02 A2 0D 00 A0 A1 A2 A3 A4 A5 B0 B1 B2 B3 B4 B5 03 AE

     - Response : 02 A2 01 53 30 03 C1

    KDE, Inc. AD-A41 (210mm×297mm)

Report this document

For any questions or suggestions please email
cust-service@docsford.com