Hi @Julián_AragónM ,
Yes, I am reading the reset reason from Power_Ip_GetResetReason. I am also checking the RTC counter register value after a reset, and I can see the value being reset to 0 when the reset reason is "power on reset".
I am waking from one of the WKUP pins. Pin 102, configured as WKPU15.
The steps I am following are:
- Remove signal keeping device awake, and allow for it to begin its process of entering low power mode.
- Watch current meter, wait for current to drop to low power mode current draw (just under 1 mA).
- Once current has dropped to low power mode, send wake up signal to WKPU15.
- Observe the wakeup reason, and RTC counter value
Following these steps, I am able to reproduce the "power on reset" reset reason consistently if I perform step 3 within ~5 seconds of the current draw going below 1 mA. If I perform step 3 several seconds (>5+) after current draw I will consistently get "wakeup reason" as the reset reason.
PRTN1_COFB1_CLKEN Req 53 and Req56 are both 1 prior to setting the low power mode. When entering low power mode they are set to 0.