background image

 

 

AFL2-MF-RFID-KIT Series

Page 64 

             

char

 *TagNum :    assign user defined buffer to save Tag number. 

 

  [ Return ] 

       None. 

 

 Example : 

   

 

  IRFR_FindRun ( m_TagIDs, m_TagNum ); 

 

 

void  IRFR_FindStop ( void )

 

 

This function can be used to stop finding Tags. 

 

 [ Parameter ] 

       None. 

 

  [ Return ] 

       None. 

 

 Example : 

       IRFR_FindStop (); 

 

 

void    IRFR_GetUIDs ( char *reply, char *TagIDs[ ], char *TagNum ) 

 

This function can be used to parse the given reply buffer to retrieve Tag UIDs and Tag number. 

 

 [ Parameter ] 

             

char

 *reply :     

assign reply buffer which contains responded data from IRFR-100 

device. 

             

char

 *TagIDs[ ] :     assign user defined buffer to save all Tags UIDs. 

             

char

 *TagNum :      assign user defined buffer to save Tag number. 

 

  [ Return ] 

       None. 

 

 Example : 

Summary of Contents for IW04-MB14-N

Page 1: ...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...

Page 2: ...AFL2 MF RFID KIT Series Page ii Revision Date Version Changes August 19 2015 1 01 Updated supported OS Table 1 2 April 25 2014 1 00 Initial release...

Page 3: ...s 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 r...

Page 4: ...ace 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 1 ANTI STATIC P...

Page 5: ...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 Wr...

Page 6: ...har 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 RSS...

Page 7: ...AFL2 MF RFID KIT Series Page vii ROHS COMPLIANT UNDER 2002 95 EC WITHOUT MERCURY 73...

Page 8: ...gure 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...

Page 9: ...odel 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...

Page 10: ......

Page 11: ...AFL2 MF RFID KIT Series Page 1 Chapter 1 1 Introduction...

Page 12: ...ith 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...

Page 13: ...hnical 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...

Page 14: ...AFL2 MF RFID KIT Series Page 4 1 4 Dimensions The dimensions of the AFL2 MF RFID KIT Series are listed below and shown in Figure 1 2 Figure 1 2 AFL2 MF RFID KIT Series Dimensions mm...

Page 15: ...AFL2 MF RFID KIT Series Page 5 2 Connectors Chapter 2...

Page 16: ...ce 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 con...

Page 17: ...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...

Page 18: ...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...

Page 19: ...AFL2 MF RFID KIT Series Page 9 3 Installation Chapter 3...

Page 20: ...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 t...

Page 21: ...AFL2 MF RFID KIT Series Page 11 1 Utility and manual CD Table 3 1 Package List Contents...

Page 22: ...AFL2 MF RFID KIT Series Page 12 4 GUI Program Chapter 4...

Page 23: ...e installation of the IRFR 100 GUI program 4 2 1 Virtual COM Port Driver Installation To install the virtual driver unzip the VCP_driver rar and run the program CDM_setup exe When the driver installat...

Page 24: ...ated and placed on the desktop of the host computer In most cases the program automatically detects the COM port In case the program could not detect the COM port enter the COM port number e g COM3 in...

Page 25: ...F RFID KIT Series Page 15 Figure 4 3 Properties On the properties window select the Hardware tab Figure 4 4 Device Manager Next click on Device Manager then click the sign next to Ports to expand the...

Page 26: ...al Port should appear in the list of ports followed by a port number in this example COM4 The actual port number may be different Make note of the COM port number and enter it in the Select Port windo...

Page 27: ...ies Page 17 4 3 Software Interface The GUI window is shown following Each section of the window has a different function The figure shows the arrangement for the Protocol 15693 and Find Tags Figure 4...

Page 28: ...allows the user to set flags for the 15693 protocol Different flags may be available for different commands The tag window automatically updates available flags depending on the request chosen 4 3 5 C...

Page 29: ...ding tag If there was a collision and the reader performed a second anticollision procedure the slot numbers are indicated with an additional character A second procedure B third procedure and so on T...

Page 30: ...SI values of 2 and 1 respectively 4 3 9 Special Functions Window Special functions such as AGC on off main channel AM and enable disable the TRF7960 The AGC is turned off after the power on reset POR...

Page 31: ...es the user to switch between full power 200 mW and half power 100 mW however the antenna matching circuit is tuned to operate with full power selection and performance is not optimal in half power se...

Page 32: ...ded If appropriate enter data in the Tag Data window 4 5 1 Inventory The Inventory command is used to acquire the unique IDs UID of ISO 15693 tags in the read zone The two inventory methods supported...

Page 33: ...Any collision that does occur in a slotted sequence can be further arbitrated by using the anticollision mask in an algorithm similar to that outlined in the ISO 15693 standard To inventory a tag the...

Page 34: ...locked etc To read a single block the user should Step 1 Click the button for Read Single Block in the Commands window Step 2 Click on any flags that must be set in the Tag Flags window Step 3 Optiona...

Page 35: ...must know the size of the memory block of the tag This information is available through the Get System Information request if supported by the tag A corrupted response or lack of response from TRF7960...

Page 36: ...lldown list in the Tag Data window and set the Addressed flag if only one tag is present only one choice is available Step 4 Enter two hex digits corresponding to the block number in the First Block N...

Page 37: ...st Used to permanently lock the requested block To lock a block the user should Step 1 Click the button for Lock Block in the Command window Step 2 Click on any flags that must be set in the Tag Flags...

Page 38: ...AFL2 MF RFID KIT Series Page 28 Figure 4 13 Lock Block NOTE The Option flag of the ISO 15693 defined Request flags must be set for all Write and Lock commands to respond properly...

Page 39: ...indow Step 3 Optionally select a tag from the UID pulldown list in the Tag Data window if only one tag is present only one choice is available Step 4 Enter two hex digits corresponding to the starting...

Page 40: ...memory block of the tag Write Multiple Blocks is an optional command and may not be supported by the tag see the following screen capture To write multiple blocks the user should Step 1 Click the but...

Page 41: ...e written in the Number of Blocks field in the Tag Data window The number of blocks in the request is one less than the number of blocks that the tag returns in its response E g a value of 06 in the N...

Page 42: ...quest from the receiving tag only request status and errors are reported To command a tag to stay quiet the user should Step 1 Click the button for Stay Quiet in the Commands window Step 2 Click on an...

Page 43: ...requests with the ISO 15693 Select Flag set This flag is directly controlled by the IsSelectMsg field present in many ISO 15693 library request messages Any receiving tag currently in the Select stat...

Page 44: ...ed request or request matching its UID This command is in effect the complement of the Select command and undoes it To reset a tag the user should Step 1 Click the button for Reset to Ready in the Com...

Page 45: ...k of response from TRF7960 does not necessarily indicate a failure to perform the write operation Additionally multiple transponders may process a non addressed request AFI represents the tag applicat...

Page 46: ...tag is present only one choice is available Step 4 Enter the desired AFI code in the AFI field in the Tag Data window in hexadecimal Step 5 Execute the command Step 0 Figure 4 19 Write AFI NOTE The O...

Page 47: ...ion Additionally multiple transponders may process a nonaddressed request Used to permanently lock the AFI To a lock tag s AFI the user should Step 1 Click the button for Lock AFI in the Commands wind...

Page 48: ...TRF7960 does not necessarily indicate a failure to perform the write operation Additionally multiple transponders may process a nonaddressed request To write a tag s DSFID the user should Step 1 Click...

Page 49: ...y 4 5 13 Lock DSFID Data Storage Format ID The Lock DSFID command write protects the DSFID register of the addressed tag s A corrupted response or lack of response from TRF7960 does not necessarily in...

Page 50: ...ag Flags window Step 3 Optionally select a tag from the UID pulldown list in the Tag Data window if only one tag is present only one choice is available Step 4 Execute the command Step 0 Figure 4 22 L...

Page 51: ...if tag supports this command To get system information the user should Step 1 Click the button for Get System Info in the Commands window Step 2 Click on any flags that must be set in the Tag Flags w...

Page 52: ...window Step 3 Optionally select a tag from the UID pulldown list in the Tag Data window if only one tag is present only one choice is available Step 4 Enter two hex digits corresponding to the starti...

Page 53: ...AFL2 MF RFID KIT Series Page 43 Figure 4 24 Get Multiple Block Security Status...

Page 54: ...d to the protocol field Figure 4 25 Once the Run button is clicked the window shows all tags found within its reception area This command runs until the Stop button is clicked shared location with the...

Page 55: ...AFL2 MF RFID KIT Series Page 45 Appendix A A Multiple Tags Writing Instruction...

Page 56: ...e Inventory request all the UIDs from the tags in the reader field are displayed A 2 NON ADDRESSED Mode In NON ADDRESSED mode users can write data to multiple tags at one time Needn t choosing the UID...

Page 57: ...AFL2 MF RFID KIT Series Page 47 A 3 ADDRESSED Mode In ADDRESSED mode you can write data to a specific tag Choose the UID of the tag Check the Addressed flag Check the Option flag...

Page 58: ...e written data from a specific tag The Addressed flag has to be selected The Option flag is optional If the Option flag is set then the last two digits when a Read single block is executed will design...

Page 59: ...AFL2 MF RFID KIT Series Page 49 A 4 SELECTED Mode Setting a tag in selected state Choose Select command The Addressed flag has to be set Choose the UID of the preferred tag...

Page 60: ...ID KIT Series Page 50 When a tag is set in selected state all other requests will not need to choose its UID Writing data to a tag which is in selected state The Select flag has to be set Check the Op...

Page 61: ...AFL2 MF RFID KIT Series Page 51 Reading data from a selected tag The Select flag has to be set...

Page 62: ...AFL2 MF RFID KIT Series Page 52 If we want to select the second tag the first tag the one in the selected state has to be deselected first To deselect the first tag The Select flag has to be set...

Page 63: ...AFL2 MF RFID KIT Series Page 53 Setting the second tag in selected state please return to follow the steps of A 4...

Page 64: ...AFL2 MF RFID KIT Series Page 54 Appendix B B TestDII Program...

Page 65: ...s developed by Microsoft eMbedded Visual C 4 0 MFC library B 2 How to use Before you can utilize the IRFR 100 software application programming interface you have to do some basic initialization The SD...

Page 66: ...int t15bSelect int t15bAddress int t15bOption int t15iFullPower typedef struct tagflag TagFlag Description Variable Value 0 Value 1 t15CodingMode 1 out of 4 1 out of 256 t15bSubCarrier single sub carr...

Page 67: ...LEN 2048 t15FirstBN First block number HEX_LEN 4 t15NumBl Number of Blocks HEX_LEN 4 t15Data Block data CMD_LEN 2048 t15DSFID DSFID number DSFID_LEN 4 t15AFI AFI number HEX_LEN 4 B 3 3 Tag Info struct...

Page 68: ...N 36 UID Tag UID CMD_LEN 2048 AM Main channel BUF_LEN 36 PM Sub channel BUF_LEN 36 B 3 5 Request Command Type These are definitions of request command type used by IRFR_RequestExecute function define...

Page 69: ...f open IRFR 100 device com port successfully it return 1 otherwise return 0 Example IRFR_FindPort BOOL IRFR_FindSinglePort char Port This function can be used to open com port manually Parameter char...

Page 70: ...File Com Port Found Int IRFR_logAddScreen char msg This function can be used to write string to user defined MFC CEdit control variable and show it on the screen Remember to call IRFR_SetLogger to set...

Page 71: ...rol variable Parameter CEdit logger assign user defined CEdit control variable Return None Example IRFR_SetLogger m_myLogger void IRFR_SetLogFile bool result This function can be used to enable or dis...

Page 72: ...eturn None Example IRFR_SetLogScreen false void IRFR_ClearLog void This function can be used to clear CEdit control variable buffer and clear screen data Parameter None Return None Example IRFR_ClearL...

Page 73: ...ed to execute request command of ISO 15693 And IRFR 100 response data will be saved in reply buffer Parameter int cmdno assign request command type char reply assign user defined buffer to save data r...

Page 74: ...er None Return None Example IRFR_FindStop void IRFR_GetUIDs char reply char TagIDs char TagNum This function can be used to parse the given reply buffer to retrieve Tag UIDs and Tag number Parameter c...

Page 75: ...SSI RSSIs assign user defined RSSI structure to save all Tags RSSI info Return None Example IRFR_GetRSSI m_reply RSSIs Remember to call IRFR_RequestExecute INVENTORY m_reply m_tf m_td first to get all...

Page 76: ...o save multiple block data Return None Example IRFR_GetMultiBlockData m_reply m_td Remember to call IRFR_RequestExecute READ_MB m_reply m_tf m_td first to get specified tag information from IRFR 100 d...

Page 77: ...er char reply assign reply buffer which contains responded data from IRFR 100 device char SecurityData assign user defined buffer to save the status of multiple blocks Return None Example IRFR_GetMult...

Page 78: ...AFL2 MF RFID KIT Series Page 68 Appendix C C ISO IEC 15693 Reference Material...

Page 79: ...ere is no individual byte addressing for read or write the whole block is accessed It is analogous to a spreadsheet with rows and columns where addressing accesses a whole row at once The format of ta...

Page 80: ...ag according to the setting of Addressed flag If select flag is selected in the Tag Flags window request executed only by tag in selected state The Addressed flag is set to 0 and the UID field is not...

Page 81: ...telephony GSM 5 0 Y Medical 6 0 Y Multimedia Internet services 7 0 Y Gaming 8 0 Y Data storage Portable files 9 0 Y Item management A 0 Y Express parcels B 0 Y Postal services C 0 Y Airline bags D 0...

Page 82: ...AFL2 MF RFID KIT Series Page 72 Appendix D D Hazardous Materials Disclosure...

Page 83: ...presences of small quantities of certain materials in the product and is applicable to China RoHS only A label will be placed on each product to indicate the estimated Environmentally Friendly Use Pe...

Page 84: ...t Board O O O O O O Metal Fasteners O O O O O O Cable Assembly O O O O O O Fan Assembly O O O O O O Power Supply Assemblies O O O O O O Battery O O O O O O O This toxic or hazardous substance is conta...

Page 85: ...AFL2 MF RFID KIT Series Page 75 RoHS RoHS Pb Hg Cd CR VI PBB PBDE O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O SJ T11363 2006 X SJ T11363 2006...

Reviews: