ST M24LR64-R User Manual
Hide thumbs Also See for M24LR64-R:
Table of Contents

Advertisement

Quick Links

1
January 2010
Downloaded from
Elcodis.com
electronic components distributor
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.
Doc ID 16609 Rev 1
UM0853
User manual
M24LR64-R tool kit
user guide
1/49
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the M24LR64-R and is the answer not in the manual?

Questions and answers

Summary of Contents for ST M24LR64-R

  • Page 1 M24LR64-R tool kit user guide 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.
  • Page 2: Table Of Contents

    Development kit ..........7 M24LR64-R demonstration kit ........9 Starter kit .
  • Page 3 Check communication by I2C ....... . 39 Writing a picture to your M24LR64-R ......40 Read/display the M24LR64-R’s contents .
  • Page 4 M24LR64-R in SO8 package ........
  • Page 5 UM0853 List of figures Figure 49. Warning before locking the DSFID field ........26 Figure 50.
  • Page 6 Figure 108. The ST logo is displayed ........
  • Page 7: Tool Kit Descriptions

    RF antenna size: 75 mm × 45 mm (2.9 in × 1.77 in) – ANT2-M24LR-A shown in Figure RF antenna size: 20 mm × 40 mm (0.79 in × 1.57 in) ● M24LR64-R samples in SO8 package (see Figure Figure 1. RF reader (ISO 15693, RF 13.56 MHz) Figure 2. External antenna...
  • Page 8: Figure 3. Serial Eeprom Usb Reader

    Tool kit descriptions UM0853 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 8/49 Doc ID 16609 Rev 1 Downloaded from Elcodis.com electronic components distributor...
  • Page 9: M24Lr64-R Demonstration Kit

    RF reader (ISO 15693, RF 13.56 MHz) 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) ●...
  • Page 10: Starter Kit

    ANT2-M24LR-A shown in Figure 13: RF antenna size: 20 mm × 40 mm (0.79 in × 1.57 in) ● M24LR64-R samples in SO8 package (see Figure Figure 11. I²C & RF reader 10/49 Doc ID 16609 Rev 1 Downloaded from Elcodis.com...
  • Page 11: Figure 12. Ant1-M24Lr-A Reference Antenna

    UM0853 Tool kit descriptions Figure 12. ANT1-M24LR-A reference antenna Figure 13. ANT2-M24LR-A reference antenna Figure 14. M24LR64-R in SO8 package Doc ID 16609 Rev 1 11/49 Downloaded from Elcodis.com electronic components distributor...
  • Page 12: How To Control The Rf And I²C Channels From Your Screen

    Starting M24LRxx_Application_Software Before starting, you must have: ● previously installed all the drivers. For how to install the required drivers, please refer to UM0863: “M24LR64-R tool driver install guide” ● connected the reader’s USB cable 3.1.1 Choosing your tool kit On the PC desktop, double click on the M24LRxx_Application_Software icon.
  • Page 13: Main Menu

    UM0853 How to control the RF and I²C channels from your screen Once the kit has been selected, the software checks that the selected readers are well connected. A progress bar appears during the check as shown in Figure Figure 16. Connection check by the software If a problem occurs, a window appears to indicate what the problem is: ●...
  • Page 14: Figure 17. Main Menu 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 M24LR64-R. Figure 18. show Reader application 14/49 Doc ID 16609 Rev 1 Downloaded from Elcodis.com...
  • Page 15: Image Transfer Application Menu

    Image Transfer Application menu Figure 19 shows the Image Transfer Application menu. Select show Image Transfer application to upload or download a picture to or from the M24LR64-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.
  • Page 16: Tools Menu

    Select show Reader Application in the main menu. The RF user interface opens. It is shown in Figure 23. With this interface you can send any command to the M24LR64-R tag present in the RF reader field. 16/49 Doc ID 16609 Rev 1 Downloaded from Elcodis.com...
  • Page 17: Inventory Command

    UM0853 How to control the RF and I²C channels from your screen The Show I2C Commands button is used to switch from the RF user interface to the I²C user interface. Figure 23. RF user interface 3.2.1 Inventory command The Inventory button launches an Inventory command and thus detects the tags present in the RF field.
  • Page 18: Get System Info Command

    How to control the RF and I²C channels from your screen UM0853 Figure 25. Three tags detected You can select a tag in the list of detected UIDs by clicking on the desired UID in the list as shown in Figure 26.
  • Page 19: Selecting The Rf Mode

    Selecting the Addressed mode clears bit 5 and sets bit 6 in the Request_flags of the RF request (bit 5 = 0, bit 6 = 1). The request is addressed. The UID field is present (please refer to the M24LR64-R datasheet for details).
  • Page 20: Managing The M24Lr64-R States

    If no tag was selected after the Inventory request, the device sends “00 00 00 00 00 00 00 00” instead of the UID value. STAY QUIET The STAY QUIET button is used to send a Stay Quiet RF request (refer to the M24LR64-R datasheet for details). RESET TO READY The RESET TO READY button is used to send a Reset to Ready RF request (refer to the M24LR64-R datasheet for details).
  • Page 21: Figure 35. Result Of The Read Operation - Sector 00H

    The result of the read operation is displayed in the MEMORY seen by RF area (see Figure 35 Figure 38). From 0000 to 07FF reads all M24LR64-R EEPROM contents. Figure 35 Figure 36 only show the results for sector 0 and sector 3F, respectively.
  • Page 22: Figure 36. Result Of The Read Operation - Sector 3Fh

    The first column (sector) indicates the sector read. ● The second column (block) indicates the address of the block read. ● The third column (data) shows the contents of the M24LR64-R at the specified addresses. ● The fourth column (sss) gives the sector security status.
  • Page 23: Write Command

    01 (01h Hex) is the fourth piece of data read in block number 0002 (sector 0) 3.2.7 Write command The Write button launches RF requests to write data to the M24LR64-R EEPROM from the block address specified in the from field to the block address entered in the to field. Figure 39, the Write command fills the blocks 0000h to 001Fh with “A1 34 09 67”.
  • Page 24: Write Afi Command

    How to control the RF and I²C channels from your screen UM0853 Figure 42. Security status byte for sector 07 Figure 43 shows the security status bytes for the blocks located at addresses 00FAh to 0109h (sector 07 & sector 08). Figure 43.
  • Page 25: Write Dsfid Command

    UM0853 How to control the RF and I²C channels from your screen 3.2.9 Write DSFID command The Write DSFID button launches a Write DSFID command. The data in the dedicated field next to the Write DSFID button are written to the DSFID register. Figure 45.
  • Page 26: Rf Password Management

    How to control the RF and I²C channels from your screen UM0853 Figure 49. Warning before locking the DSFID field 3.2.12 RF password management The user interface displays a warning concerning password changes: you should be very careful when you change a password because there is no way of retrieving forgotten RF passwords.
  • Page 27: Figure 51. Present-Sector Password Command

    UM0853 How to control the RF and I²C channels from your screen Figure 51. Present-sector Password command The result of the Present-sector Password command appears in the RF answer field. Figure 52 shows a successful command, and Figure 53 shows an example where an error occurred.
  • Page 28: I²C Channel

    You can use the I2C User Interface window, illustrated in Figure 62, to exchange data between a tag connected to the I2C reader and the M24LR64-R. With the Show RF interface button (Figure 61) you can switch from the RF user interface to the I2C user interface.
  • Page 29: I2C Read Commands

    Figure 62. I2C User Interface window 3.3.1 I2C READ commands The Read button issues read commands to the M24LR64-R connected to the I2C reader. To do so, select the I2C READ area, and then press 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.
  • Page 30: Figure 64. Result Of A Read Operation To The Memory Array

    How to control the RF and I²C channels from your screen UM0853 Figure 64. Result of a Read operation to the memory array Figure 64 illustrates the result of the Read operation to the memory array. The first column shows which sector is read. The second column indicates the address of the first byte in the page.
  • Page 31: Figure 66. Result Of The Read Sector Security Status Operation

    UM0853 How to control the RF and I²C channels from your screen Figure 66. Result of the read sector security status operation Reading the I2C_Write_Lock bit area To read the 2C_Write_Lock bit area (I2C sector security), select I2C write lock bits (system) and press the Read button.
  • Page 32: I2C Write Commands

    Please, refers to the M24LR64-R dataheet for the system parameters. 3.3.2 I2C WRITE commands The Write button is used to issue write commands to the M24LR64-R connected to the I2C reader. The button is located in the I2C WRITE area of the I2C User Interface window (see Figure 62).
  • Page 33: Figure 72. Write Cycle Successful

    UM0853 How to control the RF and I²C channels from your screen In this example, a write operation is issued to write the data < 12 34 56 78 > to EEPROM memory addressses 0000 to 003F by I2C communication. Note that in the I2C answer, you are notified of whether the write cycle succeeded or failed (see Figure 72...
  • Page 34: Figure 76. Writing A1 To The Memory Array

    How to control the RF and I²C channels from your screen UM0853 Figure 76. Writing A1 to the memory array Writing to the sector security status area To write to the sector security status area, select Sector Security Status (system) and type the address range to be written, then press the Write button.
  • Page 35: Figure 78. Result Of The Write To Sector Security Status Area Operation

    UM0853 How to control the RF and I²C channels from your screen Figure 78. Result of the write to sector security status area operation Writing to the I2C_Write_Lock bit area To write to the I2C_Write_Lock bit area, select I2C write lock bits (system) and fill the address range to be written, then press the Write button.
  • Page 36: I2C Password Commands

    How to control the RF and I²C channels from your screen UM0853 3.3.3 I2C PASSWORD commands In the I2C PASSWORD area of the I2C User Interface window (see Figure 62), select Present Password to be able to send an I2C Present Password command. The button at the bottom right-hand side of the I2C PASSWORD area will indicate Present.
  • Page 37: Figure 83. Warning

    UM0853 How to control the RF and I²C channels from your screen Figure 83. Warning Note that in the I2C answer, you are notified of whether the write cycle succeeded or failed (see Figure 84 Figure 85). Figure 84. Write Password cycle successful Figure 85.
  • Page 38: Data Transfer Management (Picture Demo)

    With this demo you can load a picture by RF or I2C (.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 able to visualize them.
  • Page 39: Check Communication By Rf

    Figure 88. RF communication between the tag and the reader is OK If the circle next to the running button 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...
  • Page 40: Writing A Picture To Your M24Lr64-R

    Figure 93. Picture to be uploaded After selecting the picture, you need to choose which of the I2C or RF interface you will use to upload it to the memory of the M24LR64-R device. To upload it by I2C, click on I2C as shown below.
  • Page 41: Figure 95. Uploading The Picture By I2C

    UM0853 Data transfer management (picture demo) Figure 95. Uploading the picture by I2C To upload the picture by RF, click on RF as shown below. Figure 96. Selecting RF to upload the picture You then have to click on the Upload by RF button to launch the upload process (see Figure 97).
  • Page 42: Read/Display The M24Lr64-R's Contents

    Figure 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 as shown below.
  • Page 43: Figure 105. Selecting Rf To Download The Picture

    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 were read successfully or not. If you used the I2C bus to download the picture, click on check I2C communication. The color of the circle will tell you if the upload process was successful (green circle) or failed (red circle).
  • Page 44: Demo Application For Use With Demokit-M24Lr-A

    Demo application for use with DEMOKIT-M24LR-A UM0853 Demo application for use with DEMOKIT-M24LR-A The demo application window, shown in Figure 110, is intended for use with the DEMOKIT- M24LR-A kit. All the pictures are in the bitmap format to be compliant with the STM32- PRIMER2 firmware and LCD screen driver.
  • Page 45: Uploading A Picture To Your Demokit-M24Lr-A By Rf

    Use the frame shown below to upload a picture by RF. Figure 114. Upload frame Click on a picture to upload the picture in bmp format to the M24LR64-R by 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).
  • Page 46: Check Communication Status

    Demo application for use with DEMOKIT-M24LR-A UM0853 Figure 116. HELLO WORLD picture downloaded Figure 117. ST logo downloaded Check communication status You can use the CHECK COMMUNICATION area to verify whether the data were written or read successfully or not.
  • Page 47: Using Your Stm32-Primer2 To Read The Contents Of The 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 your STM32-PRIMER2 and use the embedded software. Enjoy your M24LR64-R kit! Doc ID 16609 Rev 1 47/49 Downloaded from Elcodis.com...
  • Page 48: Revision History

    Revision history UM0853 Revision history Table 1. Document revision history Date Revision Changes 28-Jan-2010 Initial release. 48/50 Doc ID 16609 Rev 1 Downloaded from Elcodis.com electronic components distributor...
  • Page 49 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

Table of Contents