Could we keep the gpio status at standby mode for STM32L0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-29 2:22 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-29 3:53 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-29 3:53 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 1:23 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 7:56 AM
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
