Skip to main content
SMila
Associate
July 29, 2019
Question

STM32L05 + backup registers in standby mode

  • July 29, 2019
  • 1 reply
  • 631 views

Hi,

I am triying to use the standby mode and save some data into EEPROM memory, but when i start the erase eeprom process before to save data, my program is blocked. I think that my code have a 89% of flash size and eeprom area have a program code.

I need save 3-4 32bits variables when i go to standby mode, so maybe i can use the backup registers but i don´t know how i can use it. Could anyone help me or give me some indicantions or example about this? or maybe other options to save the data.

My last option will be used a stop mode instead of standby mode and in this case i have RAM retention.

Thanks.

Regards,

This topic has been closed for replies.

1 reply

SMila
SMilaAuthor
Associate
July 29, 2019

I forget say, when i run the code with only eeprom operations, i have not problem and all work fine.

The program is blocked when the code try to erase the eeprom memory.

Regards,