Skip to main content
Alpha Mr
Associate II
August 3, 2018
Solved

How do I erase the M24SR NDEF record from I2C?

  • August 3, 2018
  • 1 reply
  • 780 views

I am using STM32. I can read the NDEF file from M24SR via I2c but I want to to delete it after reading so do I erase? I didn't found any example of erasing in app note.

This topic has been closed for replies.
Best answer by Berenice BENVEGUDA

Hello,

First of all, thanks for your interest in M24SR and STM32 products !

Erasing an NDEF file is usually done by overwriting the NDEF file content.

The simplest way to make the NDEF content "unvalid" is to put NDEF length to 0 ( offset address 0 of the NDEF file).

I hope this answers your question,

Best Regards

1 reply

Berenice BENVEGUDA
Technical Moderator
August 21, 2018

Hello,

First of all, thanks for your interest in M24SR and STM32 products !

Erasing an NDEF file is usually done by overwriting the NDEF file content.

The simplest way to make the NDEF content "unvalid" is to put NDEF length to 0 ( offset address 0 of the NDEF file).

I hope this answers your question,

Best Regards