Skip to main content
NZama.1
Associate III
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

Javier1
Principal
February 15, 2023

which processor?

hit me up in https://www.linkedin.com/in/javiermuñoz/
NZama.1
NZama.1Author
Associate III
February 15, 2023

It's STM32F407VGT6 Discovery board

MM..1
Chief III
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...