cancel
Showing results for 
Search instead for 
Did you mean: 

M24LR64E - read/write using I2C

Nam Nguyen
Associate
Posted on December 09, 2016 at 13:22

Hi,

I'm working with M24LR64E and trying to read/write to M24LR64E from MCU PIC16F1513 by I2C but it didn't work. I try to search any code examples but i can't find it, so if anyone have the experiment or the code example, please share it for me.

Thanks.

Regards,

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on December 12, 2016 at 16:02

Hi,

The icode slix ic tag is based on the ISO15693 NFC standard, so your M24LR64 will support this standard also. The standard read command is working to access the first 8Kbits, and to access the rest of the memory you will need to use a custom command (that is probably not included with your reader, you have to implement it). You can refer to the datasheet of the

http://www.st.com/content/st_com/en/products/nfc/st25-nfc-rfid-tags-readers/st25-dynamic-nfc-tags/m24lr-series-dynamic-nfc-tags/m24lr64e-r.html

, you need to set the Protocol_extension_flag for Read Single Block, ... (you can use this command to access the whole memory).

Hope this will help you.

Kind Regards.

View solution in original post

3 REPLIES 3
Rene Lenerve
ST Employee
Posted on December 12, 2016 at 10:30

Hi

nguyen.nam.007

,

You can find some example code on the

http://www.st.com/content/st_com/en/products/embedded-software/st25-nfc-rfid-software/stsw-m24lrhtml

. It is based on a STM8 MCU.

You can also look at the

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-software/x-cube-nfc2.html

, which is based on STM32 MCU.

Hope this will help you.

Thank you.

Have a nice day.

Posted on December 12, 2016 at 10:57

Hi,

Thanks for answering my query. i have another question: i have 2 readers

but one of them only works with icode slix ic tag, so does your company

have any icode slix ic tag? i want it because that reader has higher power

.

Thank you.

Best regards

On Dec 12, 2016 18:31, 'NFC software support3' <st-microelectronics@jiveon.

Posted on December 12, 2016 at 16:02

Hi,

The icode slix ic tag is based on the ISO15693 NFC standard, so your M24LR64 will support this standard also. The standard read command is working to access the first 8Kbits, and to access the rest of the memory you will need to use a custom command (that is probably not included with your reader, you have to implement it). You can refer to the datasheet of the

http://www.st.com/content/st_com/en/products/nfc/st25-nfc-rfid-tags-readers/st25-dynamic-nfc-tags/m24lr-series-dynamic-nfc-tags/m24lr64e-r.html

, you need to set the Protocol_extension_flag for Read Single Block, ... (you can use this command to access the whole memory).

Hope this will help you.

Kind Regards.