Skip to main content
Visitor II
March 5, 2022
Solved

ST25dv16k enable the energy harvesting

  • March 5, 2022
  • 1 reply
  • 1137 views

I am new to NFC. Currently, I have an ST25dv16k NFC. I wrote the EEPROM using the example Arduino code provided in GitHub. I am trying to enable the energy harvesting feature. How will I assign EN_MODE register to 0. Please help.

    This topic has been closed for replies.
    Best answer by JL. Lebon

    Hello,

    There is tow ways of activating EH in ST25DV: EH enable after boot or EH enabled on-demand.

    EH enabled after boot means that EH is enabled as soon as RF field is strong enough.

    EH enabled on-demand means that you need to enable it manually by writing a dynamic register each time you want to have EH.

    EH on boot can be enabled by writing in the Static configuration register EH_MODE with value 0.

    This can be done in Arduino with the ST25DV_i2c_WriteEHMode(ST25DV_EH_ACTIVE_AFTER_BOOT).

    EH on demand can be set by writing a 1 in the dynamic register EH_CTRL_Dyn.

    In Arduino, this is done with ST25DV_i2c_SetEHENMode_Dyn() and ST25DV_i2c_ResetEHENMode_Dyn().

    Best regards.

    1 reply

    JL. LebonAnswer
    ST Employee
    March 7, 2022

    Hello,

    There is tow ways of activating EH in ST25DV: EH enable after boot or EH enabled on-demand.

    EH enabled after boot means that EH is enabled as soon as RF field is strong enough.

    EH enabled on-demand means that you need to enable it manually by writing a dynamic register each time you want to have EH.

    EH on boot can be enabled by writing in the Static configuration register EH_MODE with value 0.

    This can be done in Arduino with the ST25DV_i2c_WriteEHMode(ST25DV_EH_ACTIVE_AFTER_BOOT).

    EH on demand can be set by writing a 1 in the dynamic register EH_CTRL_Dyn.

    In Arduino, this is done with ST25DV_i2c_SetEHENMode_Dyn() and ST25DV_i2c_ResetEHENMode_Dyn().

    Best regards.

    Visitor II
    December 3, 2024

    Can you please link the Arduino library you're refer to? I am in the same boat as HM J1. I have a ST25DV16 and I'd like to use my arduino's i2c to configure the EEPROM to enable EH_mode to 0.