2025-05-29 8:06 AM - last edited on 2025-05-29 9:36 AM by Amel NASRI
I am configuring wakeup pin PA0 to WAKEUP1 by wirting 01 (pull-up) at WKUPPUPD (PWR_KUPEPR) as said at RefManual by using "HAL_PWREx_EnableWakeUpPin ".
PWREx_WakeupPinTypeDef sPinParams;
sPinParams.PinPolarity = PWR_PIN_POLARITY_LOW;
sPinParams.PinPull = PWR_PIN_PULL_UP;
sPinParams.WakeUpPin = PWR_WAKEUP_FLAG1;
HAL_PWREx_EnableWakeUpPin (&sPinParams);
After that i go to standby mode by using:
HAL_PWR_EnterSTANDBYMode();
Then at standby mode, there is no pull up at PA0.
At the manual it is said that the pull up config is kept at standby mode.
Do i have to do something else?
Thanks!!