cancel
Showing results for 
Search instead for 
Did you mean: 

Read ANT7-T-ST25DV04K data with MCU

Ide c.1
Associate II

Hi!

I am writing data to the ANT7-T ST25DV04K module from my mobile phone using an app. Now I would like to read that data stored in the ANT7-T ST25DV04K module with a microcontroller. The idea is to make a simple program that only reads the data from the module. What commands should I send to read its stored data?

12 REPLIES 12

Hi!

Yesterday you helped me to solve some problems I had with the ANT7-T-ST25DV board. I have new doubts that I would like you to solve:

  • I want to configure the board to do energy harvesting through NFC. I would like to send the command through the application "ST25 NFC TAP". Which is the correct command to send? The ones I have tried do not work...

  • On the other hand, to write a register in the ST25DV memory, what character should I write so that it is saved as 0xFF? for example, when I write FF it is saved as 0x46...

Thank you for the help,

Best regards.

JL. Lebon
ST Employee

Hello,

For energy harvesting, there is two ways of enabling energy harvesting:

  • Enabling EH automatically as soon as the RF field is present. This is done by writing static system configuration register EH_MODE to value 0x00. This register is non volatile and value will remains between power cycles.
  • Enabling EH "on-demand" each time you need it. This is done by writing dynamic register EH_CTRL_Dyn to value 0x01. This register is volatile and value willbe reset to 0 during power cycles (so next boot, the EH will be disabled).

In ST25 NFC TAP app, you can activate EH by going in the left menu and select "Register Management" if you want to write the EH_MODE register (permanent EH) or select "Dyn Register Management" if you want to write into EH_CTRL_Dyn register (temporary EH).

Concerning write into a register:

  • for static system configuration registers, you must first present a password to allow write access. If write register from I2C, you must first present the i2C password. If write from RF, you must first present the RF configuration password (Password 0). This may be your issue here.
  • For dymanic registers, no need for a password.

All those points are clearly explained in the different documents publicly available on ST's web site (datasheet, application notes, etc.). Probably having a look at those docs would make your life easier.

Best regards.

Ide c.1
Associate II

Hello,

Thank you very much, now it works. Reading those documents I did not understand enough to solve the problem, with these explanations it is better understood.

Best regards.