STM32C031C6T6 : wakeup from shutdown mode
Hello,
I'm contacting you regarding a support request concerning the wakeup from shutdown mode of the STM32C031C6T6:
The issue we're facing is that __HAL_PWR_GET_FLAG(PWR_FLAG_WUF2) returns True when I power up my STM32, even though I haven't triggered the wakeup flag (which is tied to a button).
I solve this issue by adding a delay of at least 5 ms before calling this macro.
Does anyone know if this delay is always necessary?
Thank you.
Best regards.
