cancel
Showing results for 
Search instead for 
Did you mean: 

[stm32u585] Voltage drops on GPIO when wakes up from standby

lll
Associate II

hello

Description:

I'm currently working with the STM32U585 and encountered an issue related to GPIO behavior after waking up from standby mode.

Before entering standby, I configure certain GPIO pull-up:(No external pull-down resistors on the affected pins)

HAL_PWREx_EnableGPIOPullUp(PWR_GPIO_D, PWR_GPIO_BIT_14);
HAL_PWREx_EnablePullUpPullDownConfig();

However, after the MCU wakes up from standby (via wakeup pin), I observe a brief voltage drop on those previously GPIOs, about 300ms. This drop occurs before the firmware reinitializes the GPIO configuration:

RigolDS1.png

i added a delay(implemented with i--)before calling the HAL_Init() function, and the voltage drop became less pronounced:

RigolDS0.png

Questions:

  1. Is this behavior expected due to the standby mode reset mechanism?

  2. Is there a recommended way to retain GPIO output levels across standby wakeup?

  3. Could this be related to the IO pull settings or the boot configuration?

  4. Are there any hardware-level workarounds to avoid this voltage dip?

  5. Why does delay have such an impact
0 REPLIES 0