Skip to main content
Explorer II
February 15, 2023
Question

Storing variables in standby mode

  • February 15, 2023
  • 1 reply
  • 1365 views

Can anyone please help me with this problem. I want to store some values while the processor is in Standby mode. As, when it wakes up all the variables are reset. How can i make the variables static in case of standby mode. Any help will be appreciated. Thank you.

    This topic has been closed for replies.

    1 reply

    Graduate II
    February 15, 2023

    which processor?

    NZama.1Author
    Explorer II
    February 15, 2023

    It's STM32F407VGT6 Discovery board

    Graduate II
    February 15, 2023

    STANDBY mode is only ended by aka reset MCU , then your code reinit all, but you can read about RTC backup registers ... This way only under power MCU hold values.

    If you need store somethink after power lost , you need EEPROM external or emulated in flash...