Skip to main content
Quentin_27
Associate III
February 15, 2021
Question

Configure GPIO after Wake-up from Standby mode

  • February 15, 2021
  • 2 replies
  • 894 views

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.

This topic has been closed for replies.

2 replies

Cristiana SCARAMEL
ST Employee
February 15, 2021

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"""
Cristiana SCARAMEL
ST Employee
March 4, 2021

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"""