Question
Unwanted flash erase issue
Hi,
I am using STM32L072CZT6 for my project.
- The device operates in two stages: It wakes up at scheduled intervals, save the number of interrupts received to flash , and returns to standby mode. During standby, interrupts wake the device, the count is stored in the RTC backup register, and this cycle repeats until the next wake-up time. The problem arises after 10 or 20 wake-up cycles (in consistent) , leading to the undesired erase of flash memory . This issue occurs only when external interrupts are continuously received. The problem does not occur when the device is idle
- I am inquiring whether there is a connection between the erasure of flash memory and frequent wake-ups from standby mode( occurring, for example, every second) It's worth noting that I do not engage in any flash write operations during the standby mode switching cycle.
