2022-11-09 05:33 PM
I am currently trying to read the data in flash memory after waking up using rtcalarm in standby mode.
However, waking up via rtcalarm in standby mode works normally, but I feel like the code is starting all over again.
Is there a way to execute the rest of the code after standby mode?
I attached the image of the standby mode function code I wrote.
2022-11-10 03:22 PM
What STM32?
Standby mode generally turns core off, which unloads registers. You can't resume from where it went to standby. Check RCC->CSR bits on startup to determine if the code is waking up from standby.
Use sleep if you want to pause execution while waiting for an event.
2022-11-10 04:20 PM
Also learning to use a computer and taking a screenshot would be useful...
Anyway, these could be helpful: