How to Wake-up STM32L431RBtx from STOP0 mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-31 1:21 AM
Hi All,
We have a project using STM32L431RBtx. In that we are trying to put MCU into sleep mode by using HAL API: HAL_PWREx_EnterSTOP0Mode(PWR_SLEEPENTRY_WFI) in bare-metal code base.Here the interrupt we have configured to wake-up the MCU from sleep is UART. This interrupt is working fine in normal mode.But in Sleep Mode, MCU is not receiving any interrupt. SO the MCU remains in the sleep mode.We have tried Another API: HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON,PWR_SLEEPENTRY_WFI); in the same code base.With this the MCU is not even entering into Low poewr mode.Please suggest a solution!!!
- Labels:
-
Power
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-31 1:34 AM
Only certain devices can wake up the CPU from stop. Look for "wakeup from stop" in the reference manual. I thing U(S)ARTcan, LPUART can...
