cancel
Showing results for 
Search instead for 
Did you mean: 

Configure GPIO after Wake-up from Standby mode

Quentin_27
Associate II

Hello everyone,

I have a problem, to ensure GPIO initialisation after a wake-up from standby mode...

	if (__HAL_PWR_GET_FLAG(PWR_FLAG_SB) != RESET) 
	{
		HAL_PWREx_DisablePullUpPullDownConfig();
		__HAL_PWR_CLEAR_FLAG(PWR_FLAG_SB);  			// clear du flag standby
		HAL_PWR_DeInit();								// Réinitialise la configuration Power à zero
		__HAL_RCC_PWR_CLK_DISABLE();
         }
//init My GPIO but it dosen't works..

I have the same problem for my 3 GPIO pins, if someone have a idea ?

Thanks for reading.

2 REPLIES 2
Cristiana SCARAMEL
ST Employee

Hello @Quentin_27​ and welcome to the ST Community.

For a better support, could you share more information about the hardware you are using?

If you feel a post has answered your question, please click "Accept as Solution"

Hello @Quentin_27​,

any update about your issue?

Are you using a standalone MCU or a System-In-Package with embedded microcontroller?

For a better support could you share the part number of your device?

If you feel a post has answered your question, please click "Accept as Solution"