cancel
Showing results for 
Search instead for 
Did you mean: 

Could we keep the gpio status at standby mode for STM32L0?

HungKai.Chien
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

As you can find from the respective reference manual (RM0451, RM0377, RM0367) section 6.3.10:

I/O states in Standby mode

In Standby mode, all I/O pins are high impedance except for:

• Reset pad

• Wakeup pins (WKUP1, WKUP2, WKUP3)

• RTC functions (tamper, time-stamp, RTC Alarm out, RTC clock calibration out) [...]

Does it answer your question?

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Peter BENSCH
ST Employee

As you can find from the respective reference manual (RM0451, RM0377, RM0367) section 6.3.10:

I/O states in Standby mode

In Standby mode, all I/O pins are high impedance except for:

• Reset pad

• Wakeup pins (WKUP1, WKUP2, WKUP3)

• RTC functions (tamper, time-stamp, RTC Alarm out, RTC clock calibration out) [...]

Does it answer your question?

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi Peter,

Thanks your answer.

In the STM32L4 series, we can set the internal pull-up in Standby mode to keep the pin voltage at High.

HAL_PWREx_EnableGPIOPullUp(PWR_GPIO_A, PWR_GPIO_BIT_0);

HAL_PWREx_EnablePullUpPullDownConfig();

Is there a similar way to achieve this in the STM32L0 series?

Unfortunately this is not possible. The STM32L4 uses a different implementation of the GPIO than the STM32L0.

If the problem is resolved or answered, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.

Good luck!

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.