Home

DVK90109 - Melexis

image

Contents

1. 4 4 4 HEA HEAder Specify the header of the data sent by the transponder The program will search for the header in the data read from the transponder and display the data with the header first The header is a number of bits that cannot be reproduced in the rest of the ID For example in the standard norm 1ISO11784 the first 11 bits of the ID code will be used as the header and fixed to 0000 0000 001 Syntax HEA lt Header gt lt Nbr significant bp lt Header gt Hexadecimal number defining the header lt Nbr unused bit gt Hexadecimal number defining the number of Header bits to be removed mustn t be higher than 7 Retum Ok lt Header in binary gt Example HEA0020 5 Reply Ok 00000000001 HEA002010 7 Reply Ok 00000000001000000 Example The header is calculated with two parameters lt Header gt defining the header in hexadecimal an entire number of byte is necessary and lt Nbr Of Unused bit gt a decimal number defining the number of bits which are to be removed from the given Header to form the new Header Thus it is possible to define a length of header different of a power of 2 HEA0020 5 0000 0000 0019 0989 0000 0000 001 4 4 5 REA REAd Read decode and return data from a transponder If a problem occurs during operation no header found no transponder an error message will be displayed as referenced in the table 1 3 Error Instruction Syntax REA lt Opmod
2. 100 modulation On Off Keying to select the tag according to Hitag1 communication protocol The tag answer with its UID and its configuration page The command SEL will return the UID and the configuration page in case of success of the operation Syntax SEI Retum UID Unique tag identifier Configuration page configuration of the tag encoding data rate security features Err2 no tag detected Example SEI UID 79720535 Configuration page FF370000 gt Note SEL command will not set the field of the EVB90109 Before performing a read operation the field must be ON by using the STFon command 4 4 8 RDH Read Hitagi memory Read an area of the Hitag1 memory This function will use the 100 modulation please refer to the application note 100 modulation On Off Keying to send the selected command and will decode the data sent by the tag according to the Hitag1 communication protocol The command RDH will return the data requested in case of success of the operation Syntax RDH lt command gt lt address gt lt command gt 4 bits binary value corresponding to the command refer to Hitag1 specification lt address gt 1 byte address hexadecimal value Retum Data size depends of the type of command and the address used Err2 no tag detected Example RDH 1101 10 Data received AABBCCDD gt Note SEL command has to be sent before performin
3. DVK90109 M lex i 5 125kHz RFID Development Kit Microelectronic Integrated Systeme User Manual Features and Benefits Standard ISO communications User interface software RS232 serial communication Dedicated instruction set 6 to 9Volts supply compliant OOOO DOO Ordering Information Part No DVK90109 General Description The development kit DVK90109 has been developed by Melexis to create specific applications using 125 kHz protocols and to evaluate the advantages of the MLX90109 transceiver IC The DVK90109 results of the combination of the development board DVKRFID and the evaluation board EVB90109 The EVB90109 is plugged on the DVKRFID through a 10 pins connector including Coil VCC and Ground and controlled by the microcontroller ATMEGA128 A set of commands has been elaborated by Melexis to define the communication between the Computer and the evaluation board EVB90109 TEE O Pd N be amp 390129010902 Page 1 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Mictoelectronic Integrated Systems User Manual Table of Contents 1 UNPACKING THE SYSTEM sissiissiiccscetecotscniiieesadtscntensecisscuiiadiieaanennnntiienadianinenleudives 3 2 CONNECTING THE SYSTEM siicvssiiisiiisdisssiitsassraesndcsnsnsseannnnidiacndnmiecuwueivensnineianauen 3 3 DIGITAL COMMUNICATION EVB90109 DVKRFID ccc
4. 9 M e lex 5 125kHz RFID Development Kit Mictoelectronic Integrated Systems User Manual ES devkit_commandes txt Notepad File Edit Format View Help introduce a comment line It must be always VER Version followed by a space character set field on set field off Command Some spaces character 5 5 Select commands file Click on ReadFilecom1 button On the new displayed windows find the text file which contains the command list MLX Programmer txt is available together with RS232 exe and double click on it This file will be displayed on the left table of the interface window On the left column several lines of commands are displayed with some comments on the right column like shown in the picture below fl Formmain ll x RS232 VERSION AS e Microe lectronic Integrated Sus ReadFiecomi DoseCom Single 1 ReadFleCond OpenCom2 Single Count2 MLX90109 configurate in Biphase 4kbit s MLX90109 configurate in Manchester 2kl MLX90109 configurate in Biphase 2kbit s MLX30109 configurate in Manchester A 1 011784 85 Header 64bits Read Only Header Es Read Only Header E Read 128bits 15011784 85 Transponder Read B4bits with header Read B4bits with header Read B4bits with header Read 128bits Melexis 88bits Transponder Read B4bits with header Read 128bits with header Read 232bits S i Resultcom2 setupcom ErrorNotes 5 6 Send a command To send a command double clic
5. SELect Tag SEI Select a Hitag tag by sending an UID request then a select command Retum UID and configuration page ReaD Hitag1 RDH lt command gt lt address gt Perform a read operation and decode data with the encoding method of the transponder Hitag1 390129010902 Page 5 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Microelectronic Integrated Systeme User Manual WRite Hitag1 WRH lt command gt lt address gt lt data gt Perform a write operation for Hiatg1 tag with the data defined in the lt data gt parameter Note Be careful that a value is necessary in all fields defined by the instruction The default value defined in the following instruction set is only the value set by the program during the initialization phase This means that if the CFG instruction is not sent the lt Encoding gt and lt Baudrate gt fields will take default values being respectively biphase and 4kbit s 4 3 Error Instruction No Name Meaning Message 0 Instruction error If the Opcode syntax is not correct or not defined ent 1 Definition error If the definition syntax is not correct err 2 No tag detected If no transponder has been detected err 3 Header not found If the header cannot be found in the read code er 5 Read operation failed If the calculated CRC or parity check doesn t correspond to the read value err 6 Others error er 8 Measure Frequenc
6. ccceeeeeeeeseeeeeesneeeeenenenensens 4 4 DIGITAL COMMUNICATION DVKRFID PC ce ccecseeeeeeeeeeeeeeeeeeeeeeeeeeseenenaneneneneens 5 4 1 TROT Fis STMT oi acacisayceccsm nce nscenscecqueassougssanasasanuncencenneaieeeaiae EERTSE E EOS EEEE EI ESUE EEn 5 KZ List Of Instr cCtionS cissie oireeni aiaa EEN aV Na E iar E Na 5 4 3 Error listr chon EE 6 A A INStLUCUIONS SC tiiccsicscscassvecexesscocssasedesaseascacses suede suntcecees E TEE EAE E E EENS ES 6 4 4 1 Ke e VER EE 6 4 4 2 Set Field STE EE 6 4 4 3 Configuration of the MLX90109 Ch 7 4 4 4 IBA EN GIE H 4 4 5 REA REAd EE 7 4 4 6 WRI Waite QS EE 8 4 4 7 SEL Select tap EE 9 4 4 8 RDH Re d Hitagl mengste geseet 9 4 4 9 WRH Write Hita gl memory EE 9 5 MELEXIS RS232 INTERFACE PROGRAM ccccscceeeeeeeeeeeeeeeeeseeeesneeeeeeanenessensnenens 11 Sl Start RS232 IT EE 11 5 2 Select serial communication port COM cccccccssescasseccecsnccsensasssscesesscensancsssseceessescsssncsonness 11 5 3 Open serial communication pott ssesssseseeeseeeesettssrteseesseresstttsstesstesstensetesssetsstessensseresereesets 11 5 4 Generates commands Die 11 5 5 Select commande Die 12 5 6 Send A COMMAMNG EE 12 DISCLAIMER reenen nenene neea aeaaaee EEan anaE Eanan EEEREN ennei NRE EnEn 13 390129010902 Page 2 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M lex i 5 125kHz RFID Development Kit Mictoelectronic Integrated Systems User Manual 1 Unpacking the syste
7. e gt lt Nobr of bit gt lt Opmode gt Number defining the programmed decoding method used o lz Searches for the header decodes 15011784 mode controls CRC value and displays the decoded data 390129010902 Page 7 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Microelectronic Integrated Systeme User Manual o iz Searches for the header decodes Melexis 88bits mode controls CRC value and displays decoded data o sis Searches for the header and displays the data read o lt 4 gt Only displays the data read no decoding no search for the header lt Nbr of bit gt ASCII number specifying the number of bit read lt 064 gt lt 128 gt lt 144 gt and lt 256 gt are implemented Return lt data gt err2 no tag detected er no header found errs read failed Example REA1 128 Read 128bits searches for the header and decodes the ID read according to the standard norm 15011784 Checks the CRC and returns corresponding message data read or error REA2 128 Read 128bits searches for the header and decodes the ID read according to the Melexis 88 bits encoding method Checks the CRC and returns corresponding message data read or error REA3 064 1 Read 64bits searches for the header and returns corresponding message data read or error BEA 256 Reads and displays 256bits Note The 1SO11784 85 standard norm and the Melexis 88bits enc
8. er EVB90109 DYERT E l microcontroller l The picture and the table below describe all connections between the EVB90109 and the DVKRFID board 10 pins connector Lummen Ve C EVB90109 DVKRFID ModuR3 Clockln Name Function Direction Comment Vec Supply voltage for the EVB90109 DVK gt EVB GND Ground connection for the EVB90109 DVK gt EVB Speed Data rate selection GND 4kBaud Vcc 2kBaud DVK gt EVB Mode Decoding selection GND Biphase Vcc Manchester DVK gt EVB Modu Power down mode DVK gt EVB NOT USED ModuR2 Antenna voltage control GND Field ON Vcc Field OFF DVK gt EVB ModuR3_ DVK gt EVB NOT USED Dataln Data Ouput EVB gt DVK Dataln and Clockin will be Clockin Clock Ouput EVB gt DVK internally pulled up by the microcontroller Coil Oscillator output EVB gt DVK 390129010902 Page 4 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Microelectronic Integrated Systeme User Manual 4 Digital communication DVKRFID PC The DVK90109 board communicates with a PC through a serial interface RS232 DVK90109 et EE eege E e Transponder EVB90109 DVKRFID microcontroller This part specifies a dedicated set of commands useful for the operation with the MLX90109 RFID transceiver Tng instruction set is defined for the develop
9. g a read operation 4 4 9 WRH Write Hitagi memory Write an area of the Hitag1 memory This function will use the 100 modulation please refer to the application note 100 modulation On Off Keying to send the selected command and the selected data according to the Hitag1 communication protocol The command WRH will return a confirmation sentence in case of success of the operation Syntax RDH lt command gt lt address gt lt data gt lt command gt 4 bits binary value corresponding to the command refer to Hitag1 specification lt address gt 1 byte address hexadecimal value lt data gt 4 bytes data to write in the Hitag1 memory Return Confirmation sentence 390129010902 Page 9 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Microelectronic Integrated Systems User Manual Err2 no tag detected Example WRH 1000 10 AAABBCCDD 4 bytes data AABBCCDD written at address 10 gt Note SEL command has to be sent before performing a read operation 390129010902 Page 10 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Mictoelectronic Integrated Systems User Manual 5 Melexis RS232 interface program The RS232 interface program is a easy to use windows software developed by Melexis to send commands through the RS232 interface of a Pc The RS232 interface program uses text files to generate
10. k on it and the response will be displayed in the ResultCom window 390129010902 Page 12 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Mictoelectronic Integrated Systems User Manual 6 Disclaimer Devices sold by Melexis are covered by the warranty and patent indemnification provisions appearing in its Term of Sale Melexis makes no warranty express statutory implied or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement Melexis reserves the right to change specifications and prices at any time and without notice Therefore prior to designing this product into a system it is necessary to check with Melexis for current information This product is intended for use in normal commercial applications Applications requiring extended temperature range unusual environmental requirements or high reliability applications such as military medical life support or life sustaining equipment are specifically not recommended without additional processing by Melexis for each application The information furnished by Melexis is believed to be correct and accurate However Melexis shall not be liable to recipient or any third party for any damages including but not limited to personal injury property damage loss of profits loss of use interrupt of business or indirect special incidental or consequential damages of a
11. m The DVK90109 board is delivered with all components to build a complete RFID setup Contents of the box 1 Development kit 125 kHz o Development kit RFID DVKRFID o Evaluation board MLX90109 EVB90109 o Alimentation block 3 to 12V o 125 KHz Transponder in credit card format 2 Compact Disc Software and documentation o EVB90109 documentation o DVK90109 User Guide o RS232 PC interface software 2 Connecting the system 1 The EVB90109 is plugged through a 10 pins connector DIL10 on a 14 pins connector DIL14 on the DVKRFID EVB90109 AREA The following pictures show how to connect the EVB90109 on the DVKRFID board va OOO 401048 A9 D x n N G e a v o D D C v s a Yv RS Q d S SI FBN BEVAIX 10 2002 Figure2 EVB90109 2 Connect the board DVK90109 to the COM port of your computer with a RS232 cable This allows communication between the DVK90109 and your computer 3 Connect the power supply of the DVK90109 Important Note The supply must be between 6 to 9 Volts DC Higher voltage may damage permanently the DVK901 09 circuit 390129010902 Page 3 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Microelectronic Integrated Systeme User Manual 3 Digital communication EVB90109 DVKRFID The microcontroller on the DVKRFID board communicates with the EVB90109 through a 10 pins connector DVK90109 EE l Transpond
12. ment kit DVK90109 The microcontroller ensures the following functions o Control and configure the MLX90109 transceiver o Read the data information from the MLX90109 transceiver on chip decoding o Communicate with a PC through the serial connection RS232 4 1 Protocol assignment The different commands are based on a Mnemonic assignment defined by three ASCII characters forming the Operation Code followed by a specific number of ASCII or Hexadecimal parameters depending on the type of the command OP CODE 3 ASCII characters PARAMETERS ASCII characters or Hexadecimal characters The syntax of a command is typically OpCode lt Parameter1 gt lt Parameter2 gt lt Parameter3 gt Each parameter should be separated by a comma 4 2 List of instructions Operation Syntax Function VERsion VER Get the firmware version for the microcontroller SeT Field STF lt On Off gt Set the field ON or OFF ConFiGuration CFG lt Encoding gt lt Datarate gt Set the type of current transponder with the encoding method and the data rate used by the Transponder HEAder HEA lt Header gt lt Nbr Significant bit gt Define the header to read the Identification code ID REAd Tag REA lt Op mode Perform a read operation and decode data with the encoding method of the transponder defined with the lt Op mode gt parameter WRite Tag WRI lt data gt lt address gt Perform a write operation with 100 modulation for Q5 tag
13. ny kind in connection with or arising out of the furnishing performance or use of the technical data herein No obligation or liability to recipient or any third party shall arise or flow out of Melexis rendering of technical or other services 2004 Melexis NV All rights reserved For the latest version of this document go to our website at www melexis com Or for additional information contact Melexis Direct Europe and Japan All other locations Phone 32 1367 0495 Phone 1 603 223 2362 E mail sales_europe melexis com E mail sales_usa melexis com ISO TS 16949 and 1SO14001 Certified 390129010902 Page 13 of 13 Development Kit Rev 002 Apr 2008
14. oding method will be only performed on 128 bits read So in these two mode opmode lt 1 gt and lt 2 gt the field lt Nbr of bit gt will be ignored and 128bits will be always read Note REA command will not set the field of the EVB90109 Before performing a read operation the field must be ON by using the STFon command 4 4 6 WRI Write Q5 tag Write data in the Q5 tag memory This function will use the 100 modulation please refer to the application note 100 modulation On Off Keying to write data according to Q5 tag communication protocol An Ok will confirm the success of the operation Syntax WRI lt data gt lt address gt lt data gt 4 bytes data hexadecimal value lt MSB LSB gt lt address gt 1 bytes address of the Q5 memory hexadecimal value Return Ok Err2 no tag detected Example WRI OOAA00BB 07 Write data 0x00 OxAA 0x00 and OxBB into the block 7 of the Q5 memory Ok gt Note WRI command will not set the field of the EVB90109 Before performing a read operation the field must be ON by using the STFon command 390129010902 Page 8 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Mictoelectronic Integrated Systems User Manual 4 4 7 SEL Select tag Hitag1 Select the tag Hitag1 in the field by sending a Set_CC and a SELECT command This function will use the 100 modulation please refer to the application note
15. the set of commands and is able to control the COM port of the Pc COM 1 or 2 can be chosen and to send the corresponding commands through it 5 1 Start RS232 interface Double click on RS232 exe file The following interface window will be displayed Toggle between a single execution and repetitive command execution click in the command column after toggling fli Formm Melexis Microelectronic Integrated Su x To close the interface window RS232 VERSION PROGRAM Single Count1 ReadFileCom2 OpenCom2 Single Count2 Select commands file Open Close serial communication Main window command list and comments will be displayed in thi window Reply window reply from the DVK90109 will be displayed in Sp Se this window Baud rate selection Error message window 5 2 Select serial communication port COM Click on setupcom button On the new window displayed choose br9600 on COM1 2 Close the new window by clicking on the top right corner The speed communication is now validated at 9600 bit s ResultComt Resultcom2 5 3 Open serial communication port Click on OpenCom1 button This will open the corresponding communication port COM1 2 5 4 Generates commands file The RS 232 program uses a text file which contains all commands All commands must be defined like specified below 390129010902 Page 11 of 13 Development Kit Rev 002 Apr 2008 DVK9010
16. y Antenna If a problem occurs during antenna frequency measurement value too high no erf signal 4 4 Instructions set 4 4 1 Version VER Get the firmware version This command can be used to control the serial connection RS232 Syntax VER Retum Melexis RFID lt Development kit gt V lt Version gt Example VERA Reply Melexis RFID DVK90109 V2 0 4 4 2 Set Field STF Set the magnetic field ON or OFF Syntax STF lt on off gt lt on off gt Characters defining the current state of the field lt on gt to put the field ON and lt off gt to put the field OFF Default value lt on gt Return Ok Example STFon Reply Ok 390129010902 Page 6 of 13 Development Kit Rev 002 Apr 2008 DVK90109 M e lex 5 125kHz RFID Development Kit Mictoelectronic Integrated Systems User Manual 4 4 3 Configuration of the MLX90109 CFG Set the configuration of the transceiver to decode data information from a transponder encoding mode and data rate Syntax CFG lt Encoding gt lt Datarate gt lt Encoding gt ASCII letter specifying the encoding method used by the Transponder lt M gt for Manchester and lt B gt for Biphase Default value lt B gt lt Datarate gt ASCII number specifying the data rate used by the transponder lt 2 gt for 2kbits s lt 4 gt for 4kbits s Default value lt 4 gt Return Ok Example CFGB 4 1 Reply Ok

Download Pdf Manuals

image

Related Search

Related Contents

SR-LAB™  Moog Videolarm SM5C24N  WiPort™ User Guide  DE L`ACTION SUR FACEBOOK  GABBIANO 2010.pmd    2012年3月版  

Copyright © All rights reserved.
Failed to retrieve file