IEI Technology IW04-MB14-N User manual

AFL2-MF-RFID-KIT Series
Page i
User Manual
Rev. 1.01 – August 19, 2015
MODEL:
AFL2-MF-RFID-KIT
Mifare RFID reader, 13.56M Hz, w/o LED indicator,
IEI Assembly Only, R11

AFL2-MF-RFID-KIT Series
Page iii
Copyright
COPYRIGHT NOTICE
The information in this document is subject to change without prior notice in order to
improve reliability, design and function and does not represent a commitment on the part
of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special, incidental, or
consequential damages arising out of the use or inability to use the product or
documentation, even if advised of the possibility of such damages.
This document contains proprietary information protected by copyright. All rights are
reserved. No part of this manual may be reproduced by any mechanical, electronic, or
other means in any form without prior written permission of the manufacturer.
TRADEMARKS
All registered trademarks and product names mentioned herein are used for identification
purposes only and may be trademarks and/or registered trademarks of their respective
owners.

AFL2-MF-RFID-KIT Series
Page iv
Table of Contents
1 INTRODUCTION.......................................................................................................... 1
1.1AFL2-MF-RFID-KITSERIES RFID READER OVERVIEW .......................................... 2
1.2 MODEL VARIATIONS ................................................................................................... 2
1.2.1 AFL2-MF-RFID-KIT Series Features................................................................ 2
1.3 TECHNICAL SPECIFICATIONS ...................................................................................... 3
1.4 DIMENSIONS............................................................................................................... 4
2 CONNECTORS ............................................................................................................. 5
2.1AFL2-MF-RFID-KITSERIES RFID READER MODULE ............................................. 6
2.1.1 AFL2-MF-RFID-KIT Series Layout................................................................... 6
2.1.2 Peripheral Interface Connectors ....................................................................... 6
2.2 INTERNAL PERIPHERAL CONNECTORS........................................................................ 6
2.2.1 Antenna Connector ............................................................................................ 7
2.2.2 RS-232 and USB Connector (RFID1)................................................................ 7
2.2.3 CPU JTAG Port (CN1) ...................................................................................... 7
2.2.4 UART Jump (J5)................................................................................................. 8
3 INSTALLATION ........................................................................................................... 9
3.1ANTI-STATIC PRECAUTIONS...................................................................................... 10
3.1.1 Unpacking........................................................................................................ 10
4 GUI PROGRAM.......................................................................................................... 12
4.1 CHAPTER OVERVIEW................................................................................................ 13
4.2 SOFTWARE INSTALLATIONS ..................................................................................... 13
4.2.1 Virtual COM Port Driver Installation............................................................. 13
4.2.2 Hardware Installation...................................................................................... 13
4.2.3 Software GUI Installation................................................................................ 14
4.3 SOFTWARE INTERFACE............................................................................................. 17
4.3.1 Program Control Window (Lower Right-Hand Corner)................................. 18
4.3.2 Protocol Tab Window....................................................................................... 18
4.3.3 Utility Tabs Window......................................................................................... 18

AFL2-MF-RFID-KIT Series
Page v
4.3.4 Flags Window................................................................................................... 18
4.3.5 Command (Request) Window........................................................................... 18
4.3.6 Log Window...................................................................................................... 18
4.3.7 Tag Data Window............................................................................................. 19
4.3.8 RSSI Window.................................................................................................... 19
4.3.9 Special Functions Window............................................................................... 20
4.3.10 Other Functions............................................................................................. 21
4.4 SET PROTOCOL......................................................................................................... 21
4.5 ISO/IEC 15693 PROTOCOL...................................................................................... 22
4.5.1 Inventory .......................................................................................................... 22
4.5.2 Read Single Block............................................................................................ 24
4.5.3 Write Single Block............................................................................................ 25
4.5.4 Lock Block........................................................................................................ 27
4.5.5 Read Multiple Blocks....................................................................................... 29
4.5.6 Write Multiple Blocks....................................................................................... 30
4.5.7 Stay Quiet......................................................................................................... 32
4.5.8 Select................................................................................................................ 33
4.5.9 Reset to Ready.................................................................................................. 34
4.5.10 Write AFI (Application Family Identifier)..................................................... 35
4.5.11 Lock AFI (Application Family Identifier) ...................................................... 37
4.5.12 Write DSFID (Data Storage Format ID)....................................................... 38
4.5.13 Lock DSFID (Data Storage Format ID)........................................................ 39
4.5.14 Get System Info.............................................................................................. 41
4.5.15 Get Multiple-Block Security Status (Get Mult_Blk Sel Status)...................... 42
4.6 FIND TAGS................................................................................................................ 44
A MULTIPLE TAGS WRITING INSTRUCTION...................................................... 45
A.1 INVENTORY REQUEST.............................................................................................. 46
A.2 NON -ADDRESSED MODE .................................................................................. 46
A.3ADDRESSED MODE.............................................................................................. 47
A.4 SELECTED MODE................................................................................................. 49
B TESTDII PROGRAM................................................................................................. 54
B.1 INTRODUCTION........................................................................................................ 55
B.2 HOW TO USE ............................................................................................................ 55

AFL2-MF-RFID-KIT Series
Page vi
B.3 TAG INFORMATION STRUCTURE .............................................................................. 56
B.3.1 Tag Flag .......................................................................................................... 56
B.3.2 Tag Data.......................................................................................................... 56
B.3.3 Tag Info ........................................................................................................... 57
B.3.4 RSSI ................................................................................................................. 58
B.3.5 Request Command Type.................................................................................. 58
B.4 SOFTWARE APIS...................................................................................................... 59
BOOL IRFR_FindPort ( void ).............................................................................. 59
BOOL IRFR_FindSinglePort ( char * Port )............................................................ 59
intIRFR_logAddFile ( char * msg ) ...................................................................... 60
Int IRFR_logAddScreen ( char * msg ).................................................................. 60
void IRFR_SetFilePath ( char * path ).................................................................. 60
void IRFR_SetLogger ( CEdit *logger )................................................................ 61
void IRFR_SetLogFile ( bool result )..................................................................... 61
void IRFR_SetLogScreen ( bool result ) ................................................................ 62
int IRFR_SetProtocol ( TagFlag tf ); ..................................................................... 62
int IRFR_RequestExecute ( int cmdno, char *reply, TagFlag tf, TagData *td ).... 63
void IRFR_FindRun ( char *TagIDs, char *TagNum ).......................................... 63
void IRFR_FindStop ( void ).................................................................................. 64
void IRFR_GetUIDs ( char *reply, char *TagIDs[ ], char *TagNum )................. 64
void IRFR_GetRSSI ( char *reply, RSSI RSSIs[ ] ) ............................................... 65
void IRFR_GetBlockData ( char *reply, TagData *td ) ........................................ 65
void IRFR_GetMultiBlockData ( char *reply, TagData *td ); .............................. 66
void IRFR_GetTagInfo ( char *reply, TagInfo *ti, TagFlag tf, TagData td )......... 66
void IRFR_GetMultiBlockSecurity ( char *reply, char *SecurityData )............... 67
B.5 EXAMPLE CODE....................................................................................................... 67
C ISO/IEC 15693 REFERENCE MATERIAL............................................................ 68
C.1 UID FORMAT........................................................................................................... 69
C.2 TAG MEMORY ORGANIZATION................................................................................ 69
C.3 FLAG DEFINITIONS .................................................................................................. 70
C.4 APPLICATION FAMILY IDENTIFIER (AFI) DEFINITIONS............................................ 70
D HAZARDOUS MATERIALS DISCLOSURE......................................................... 72
D.1 HAZARDOUS MATERIALS DISCLOSURE TABLE FOR IPB PRODUCTS CERTIFIED AS

AFL2-MF-RFID-KIT Series
Page viii
List of Figures
Figure 1-1: AFL2-MF-RFID-KIT Series RFID Reader....................................................................2
Figure 2-2: AFL2-MF-RFID-KIT Series Dimensions (mm)...........................................................4
Figure 2-6: Connector and Jumper Locations.............................................................................6
Figure 4-1: FTDI Driver Installation Complete ...........................................................................13
Figure 4-2: IRFR-100 Control COM Ports...................................................................................14
Figure 4-3: Properties...................................................................................................................15
Figure 4-4: Device Manager.........................................................................................................15
Figure 4-5: Device Manager - Ports ............................................................................................16
Figure 4-6: Software Interface.....................................................................................................17
Figure 4-7: Log Window...............................................................................................................19
Figure 4-8: RSSI Window.............................................................................................................20
Figure 4-9: Set Protocol...............................................................................................................22
Figure 4-10: Inventory..................................................................................................................23
Figure 4-11: Read Single Block...................................................................................................25
Figure 4-12: Write Single Block...................................................................................................26
Figure 4-13: Lock Block...............................................................................................................28
Figure 4-14: Read Multiple Blocks..............................................................................................30
Figure 4-15: Write Multiple Block................................................................................................31
Figure 4-16: Stay Quiet ................................................................................................................32
Figure 4-17: Select........................................................................................................................34
Figure 4-18: Reset to Ready........................................................................................................35
Figure 4-19: Write AFI...................................................................................................................36
Figure 4-20: Lock AFI...................................................................................................................37
Figure 4-21: Write DSFID .............................................................................................................39
Figure 4-22: Lock DSFID..............................................................................................................40
Figure 4-23: Get System Info.......................................................................................................41
Figure 4-24: Get Multiple-Block Security Status.......................................................................43
Figure 4-25: ...................................................................................................................................44

AFL2-MF-RFID-KIT Series
Page ix
List of Tables
Table 1-1: Model Variations...........................................................................................................2
Table 1-2: Technical Specifications..............................................................................................3
Table 2-1: Peripheral Interface Connectors and Indicators .......................................................6
Table 2-2: RS-232 and USB Connector Pinouts..........................................................................7
Table 2-3: CPU JTAG Port Pinouts...............................................................................................7
Table 2-4: UART Jump Pinouts.....................................................................................................8
Table 3-1: Package List Contents...............................................................................................11


AFL2-MF-RFID-KIT Series
Page 1
Chapter
1
1 Introduction

AFL2-MF-RFID-KIT Series
Page 2
1.1 AFL2-MF-RFID-KIT Series RFID Reader Overview
Figure 1-1: AFL2-MF-RFID-KIT Series RFID Reader
The AFL2-MF-RFID-KIT Series is a RFID reader for both High Frequency (HF) and Ultra
High Frequency (UHF) RFID systems and is compliant with ISO 15693 and ISO 14443
industrial standards. The AFL2-MF-RFID-KIT Series also comes with a utility and a
software development kit (SDK) for configuring reader module and writing/reading tags.
1.2 Model Variations
The model variations of the AFL2-MF-RFID-KIT Series are listed below.
Models Series
AFL2-MF-RFID-KIT01-R11 for AFL2-W07A/08A Series
AFL2-MF-RFID-KIT02-R11 for AFL2-W10A/10A/12A/15A/W15B/17A/W19A Series
AFL2-MF-RFID-KIT03-R11 for AFL2-W21A Series
Table 1-1: Model Variations
1.2.1 AFL2-MF-RFID-KIT Series Features
The AFL2-MF-RFID-KIT Series has the following features
13.56 MHz radio frequency industrial RFID reading module

AFL2-MF-RFID-KIT Series
Page 3
Supports standard protocol ISO 15693 for vicinity card applications reads
multiple tags simultaneously
Tag compatibility: TI , ST , Philips , Tag-it, HF-EPC
Reader to reader anti-collision
Reads and writes tags with up to 2Kb
Single power supply and low power consumption
Various interfaces to main system
o115.2 Kbps maximum serial communication speeds
oUSB
1.3 Technical Specifications
The specifications for the Intel based embedded systems are listed below.
AFL2-MF-RFID-KIT Series
Support Protocol ISO 15693
RF Frequency 13.56 MHz
RF Data Rate 6.62 kbps for ISO 15693
Baud Rate 9600 Kbps ~ 115,200 Kbps
Power Consumption 5V @ 150 mA
Operating Distance 10 cm
Interface RS-232 serial port or USB
Operating Temperature 0ºC ~ 60ºC
Operating Humidity 10% ~ 85% RH
Tag Compatibility RI, ST, Philips, Tag-it, HF-EPC
Driver Support Windows 2000
Windows XP
Windows 7
.
Windows Server 2003
Windows Server 2008
Windows Server 2008 R2
(x86 and x64)
Table 1-2: Technical Specifications

AFL2-MF-RFID-KIT Series
Page 5
2 Connectors
Chapter
2

AFL2-MF-RFID-KIT Series
Page 6
2.1 AFL2-MF-RFID-KIT Series RFID Reader Module
The following sections describe the relevant components and jumpers on the RFID reader
module.
2.1.1 AFL2-MF-RFID-KIT Series Layout
Figure 2-1 shows the on-board peripheral connectors.
Figure 2-1: Connector and Jumper Locations
2.1.2 Peripheral Interface Connectors
Table 2-1 shows a list of the peripheral interface connectors on the AFL2-MF-RFID-KIT
Series. Detailed descriptions of these connectors can be found below.
Connector Type Label
Antenna connector IPEX type connector ANT-TYPE1
RS-232 and USB connector 6-pin header RFID1
CPU JTAG Port 8-pin CN1
UART Jump 2-pin J5
Table 2-1: Peripheral Interface Connectors and Indicators
2.2 Internal Peripheral Connectors
This section has complete descriptions of all the internal peripheral connectors on the
AFL2-MF-RFID-KIT Series.

AFL2-MF-RFID-KIT Series
Page 7
2.2.1 Antenna Connector
CN Label: ANT-TYPE1
CN Type: IPEX
CN Location: See Figure 2-1
The Antenna Connector connects to the 13.56 MHz antenna module.
2.2.2 RS-232 and USB Connector (RFID1)
Pin No. Description
1 USB5V
2 D+_1
3 D-_1
4 GND
5 RFID_BUZ#
6 EN
Table 2-2: RS-232 and USB Connector Pinouts
2.2.3 CPU JTAG Port (CN1)
Pin No. Description
1 C_TCK
2 nRST
3 C_TMS
4 +3V3
5 C_TDI
6 GND
7 C_TDO
8 GND
Table 2-3: CPU JTAG Port Pinouts

AFL2-MF-RFID-KIT Series
Page 8
2.2.4 UART Jump (J5)
Pin No. Description
1 TXD
2 RXD
3 GND
Table 2-4: UART Jump Pinouts

AFL2-MF-RFID-KIT Series
Page 9
3 Installation
Chapter
3

AFL2-MF-RFID-KIT Series
Page 10
3.1 Anti-static Precautions
WARNING:
If the following anti-static precautions are not followed, a user may be
injured and the system irreparably damaged.
Electrostatic discharge (ESD) can cause serious damage to electronic components,
including the AFL2-MF-RFID-KIT Series module. (Dry climates are especially susceptible
to ESD.) It is therefore critical that whenever the AFL2-MF-RFID-KIT Series is opened and
any electrical component handled, the following anti-static precautions are strictly adhered
to.
Wear an anti-static wristband: Wearing a simple anti-static wristband can
help to prevent ESD from damaging the board.
Self-grounding: Before handling the board, touch any grounded conducting
material. During the time the board is handled, frequently touch any
conducting materials that are connected to the ground.
Use an anti-static pad: When configuring the AFL2-MF-RFID-KIT Series,
place it on an anti-static pad. This reduces the possibility of ESD damaging
the AFL2-MF-RFID-KIT Series.
3.1.1 Unpacking
After the AFL2-MF-RFID-KIT Series is received make sure the following components are
included in the package. If any of these components are missing, please contact the
AFL2-MF-RFID-KIT Series reseller or vendor where it was purchased or contact an IEI
sales representative immediately.
Quantity Item Image
1 IRFD-100/IRFR-100
Table of contents