ST M24LR64-R Скачать руководство пользователя страница 1

January 2010

Doc ID 16609 Rev 1

1/49

UM0853

User manual

M24LR64-R tool kit

user guide

1 Introduction

The purpose of this user manual is to teach how to use the M24LR64-R tool kit with the 

M24LRxx_Application_Software

. It describes the 

M24LRxx_Application_Software

 interface 

and its menus, and shows how to send commands to M24LR64-R tags.

www.st.com

Downloaded from 

Elcodis.com

 

electronic components distributor

 

Содержание M24LR64-R

Страница 1: ...purpose of this user manual is to teach how to use the M24LR64 R tool kit with the M24LRxx_Application_Software It describes the M24LRxx_Application_Software interface and its menus and shows how to...

Страница 2: ...3 1 6 Help menu 16 3 2 RF channel commands 16 3 2 1 Inventory command 17 3 2 2 Get System Info command 18 3 2 3 Viewing RF requests and answers 18 3 2 4 Selecting the RF mode 19 3 2 5 Managing the M2...

Страница 3: ...tents 42 5 Demo application for use with DEMOKIT M24LR A 44 5 1 Checking the RF communication 44 5 2 Uploading a picture to your DEMOKIT M24LR A by RF 45 5 3 Downloading a picture from your DEMOKIT M2...

Страница 4: ...17 Figure 24 Inventory button 17 Figure 25 Three tags detected 18 Figure 26 Specific UID selected 18 Figure 27 Get System Info button 18 Figure 28 RF TAG REQUEST ANSWER report 18 Figure 29 RF request...

Страница 5: ...cycle successful 33 Figure 73 Write cycle failed no write cycle detected 33 Figure 74 Result of the Write operation 003C 33 Figure 75 Page Size field 33 Figure 76 Writing A1 to the memory array 34 Fi...

Страница 6: ...Figure 109 Error message 43 Figure 110 Demo STM32 PRIMER2 application window 44 Figure 111 Check RF communication button 44 Figure 112 RF communication ongoing between reader and reference antenna 44...

Страница 7: ...OM USB reader shown in Figure 3 it is an I C bus reader interfaced via the USB bus an I C bus cable to connect the serial EEPROM USB reader to the I2 C bus of the reference antenna Figure 4 shows the...

Страница 8: ...Rev 1 Figure 3 Serial EEPROM USB reader Figure 4 I C bus cable Figure 5 ANT1 M24LR A reference antenna Figure 6 ANT2 M24LR A reference antenna 2 ANTENNA 2 2 CHIP CONNECTOR 6 633 3 3 AI Downloaded from...

Страница 9: ...interfaced via the USB bus shown in Figure 8 an M24LR64 R s reference antenna PRIM2 M24LR A shown in Figure 9 RF antenna size 20 mm 40 mm 0 79 in x 1 57 in Optional STM32 PRIMER2 to be ordered separat...

Страница 10: ...O 15693 RF 13 56 MHz interfaced via the USB bus including the external I C bus cable connector illustrated in Figure 11 M24LR64 R s reference antennas ANT1 M24LR A shown in Figure 12 RF antenna size 7...

Страница 11: ...6609 Rev 1 11 49 Figure 12 ANT1 M24LR A reference antenna Figure 13 ANT2 M24LR A reference antenna Figure 14 M24LR64 R in SO8 package 2 ANTENNA 2 2 CHIP CONNECTOR 6 633 3 3 AI Downloaded from Elcodis...

Страница 12: ...1 Choosing your tool kit On the PC desktop double click on the M24LRxx_Application_Software icon On launching the software you will be prompted to select the kit you wish to use as shown in Figure 15...

Страница 13: ...installed I C bus reader not plugged in the USB port I C bus reader driver not installed If the demo kit is used the problem could be medium range RF reader not plugged in the USB port medium range RF...

Страница 14: ...enu window You can use the menu at the top of the window to select several applications Reader Application menu Select show Reader application Figure 18 to manage all the I C and RF functions of the M...

Страница 15: ...24LR64 R by RF or I C Figure 19 show Image Transfer application 3 1 4 Demo STM32 PRIMER2 menu Figure 20 shows the Demo STM32 PRIMER2 menu Select show Demo STM32 PRIMER2 to upload or download a picture...

Страница 16: ...h BinEdit gives you access to a freeware for reading binary files bin format Change background color allows you to change the color of the main window About provides information about the software Fig...

Страница 17: ...command The Inventory button launches an Inventory command and thus detects the tags present in the RF field The command is associated with an anticollision algorithm to detect each tag individually s...

Страница 18: ...sed in all RF requests sent in Addressed mode Figure 26 Specific UID selected 3 2 2 Get System Info command The Get System Info button launches a Get System Info command thus filling the System info f...

Страница 19: ...re 30 Figure 31 or Figure 32 Non addressed mode Selecting the Non addressed mode clears the bits 5 and 6 in the Request_flags of the RF request bit 5 0 bit 6 0 The request is executed by any M24LR64 R...

Страница 20: ...e shown in Figure 33 is used to send three types of RF request to place the M24LR64 R in one out of three specific states Selected Quiet and Ready Figure 33 Device state management interface SELECT Th...

Страница 21: ...n the from field to the block address specified in the to field The result of the read operation is displayed in the MEMORY seen by RF area see Figure 35 to Figure 38 From 0000 to 07FF reads all M24LR...

Страница 22: ...or 0 block 0 From 0001 to 0005 reads the blocks 1 2 3 4 5 in sector 0 as shown in Figure 38 Figure 38 Sector 0 blocks 1 to 5 How to read the memory area with the RF Interface The first column sector i...

Страница 23: ...eld In Figure 39 the Write command fills the blocks 0000h to 001Fh with A1 34 09 67 Figure 39 Initiating a write operation You can choose to write the same byte four times by changing the value in the...

Страница 24: ...ty status bytes for sectors 07 and 08 3 2 8 Write AFI command The Write AFI button launches a Write AFI command The data in the dedicated field next to the Write AFI button are written to the AFI regi...

Страница 25: ...or this reason a warning shown in Figure 47 is displayed before locking the AFI To abort the Lock AFI command click on Cancel To confirm the command click on OK Figure 47 Warning before locking the AF...

Страница 26: ...passwords You have to remember the new passwords you enter The sectors locked by a password can only be unlocked if you can provide the correct password Figure 50 shows the diplayed warning By defaul...

Страница 27: ...re 53 Present sector Password command error Write sector Password command The Write Password button issues a Write sector Password command with the data filled in the password data field and the selec...

Страница 28: ...mber and select lock config fields Figure 58 Lock sector Password command Figure 59 Lock sector Password command successful Figure 60 Lock sector Password command error 3 3 I C channel You can use the...

Страница 29: ...on the Read button Read command to the memory array To read the memory array select Memory from the list and specify the address range to be read Then click on the Read button Addresses are managed in...

Страница 30: ...the example corresponding to the data 69 87 04 00 69 69h Hex is data for address 0028h sector 0 87 87h Hex is data for address 0029h sector 0 04 04h Hex is data for address 002Ah sector 0 00 00h Hex i...

Страница 31: ...Read button Figure 67 shows how to launch an operation to read the I2C_Write_Lock bit area Figure 67 Reading the I2C_Write_Lock bit area Figure 68 Result of the I2C_Write_Lock bit area read operation...

Страница 32: ...reader The button is located in the I2C WRITE area of the I2C User Interface window see Figure 62 To issue a command select the I2C WRITE area and press the Read button Write command to the memory ar...

Страница 33: ...whether the write cycle succeeded or failed see Figure 72 and Figure 73 Figure 72 Write cycle successful Figure 73 Write cycle failed no write cycle detected Figure 74 shows the result of the write o...

Страница 34: ...nge to be written then press the Write button Addresses are managed is the same way as for RF commands see Section 3 2 6 Read command Please note that the I2C password has to be presented successfully...

Страница 35: ...s the Write button Addresses are managed is the same way as for RF commands see Section 3 2 6 Read command Please note that the I2C password has to be presented successfully prior to writing to the I2...

Страница 36: ...nt Password command select Present Password and type the I2C password into the Present Password field Figure 81 shows how to launch an I2C Present Password command Figure 81 Issuing an I2C Present Pas...

Страница 37: ...e 83 Warning Note that in the I2C answer you are notified of whether the write cycle succeeded or failed see Figure 84 and Figure 85 Figure 84 Write Password cycle successful Figure 85 Write Password...

Страница 38: ...2C jpeg file of 2 Kbytes into the M24LR64 R device You can also download and display the contents of the memory by I2C or RF If JPG like contents were previously loaded into the EEPROM you will be abl...

Страница 39: ...is red the communication by RF between the M24LR64 R and the reader is NOT OK Figure 89 No RF communication between the tag and the reader 4 1 2 Check communication by I2C After clicking on check I2C...

Страница 40: ...it Figure 92 WRITE PICTURE TO M24LR64 In Figure 93 the ST logo was chosen as an example Figure 93 Picture to be uploaded After selecting the picture you need to choose which of the I2C or RF interfac...

Страница 41: ...itten successfully or not If the I2C bus was used click on check I2C communication The color of the circle will tell you if the upload process was successful green circle like in Figure 98 or failed r...

Страница 42: ...e 102 READ M24LR64 CONTENT interface You first have to select which of the I2C or RF interface you will use to download the picture from the memory of the M24LR64 R To download it by I2C click on I2C...

Страница 43: ...like in Figure 108 Otherwise an error message appears see Figure 109 Figure 108 The ST logo is displayed Figure 109 Error message You can use the CHECK COMMUNICATION area to verify whether the data w...

Страница 44: ...he RF communication between the reader and the reference antenna press the check RF communication button see Figure 111 The button changes to running If the RF communication between the reader and the...

Страница 45: ...RF You can use the three additional icons on the right hand side HELLO WORLD HALLO WELT to decrease the upload time 3 seconds versus 20 seconds 5 3 Downloading a picture from your DEMOKIT M24LR A by...

Страница 46: ...a to verify whether the data were written or read successfully or not The green circle Figure 118 indicates that the RF upload download process is going smoothly The red circle Figure 119 indicates th...

Страница 47: ...reference antenna by I2C If the picture was uploaded by RF as described above you will be able to display it on the LCD screen of your STM32 PRIMER2 Please refer to the UM0850 user guide to configure...

Страница 48: ...history UM0853 48 50 Doc ID 16609 Rev 1 6 Revision history Table 1 Document revision history Date Revision Changes 28 Jan 2010 1 Initial release Downloaded from Elcodis com electronic components dist...

Страница 49: ...TNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITIN...

Отзывы: