Skip to main content
This topic has been closed for replies.
Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
April 29, 2022

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.

3 replies

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
April 29, 2022

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.
HungKai.Chien
Associate II
May 16, 2022

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?

Peter BENSCH
ST Technical Moderator
May 16, 2022

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.