Stuck in sleepmode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-29 11:28 PM
I tried using the sleep mode in STM32L053R8, it gets stuck in this condition. what is the reason.
if((ulpbit != 0) && (vrefinbit != 0))
{
SET_BIT(PWR->CR, PWR_CR_ULP);
}
Solved! Go to Solution.
- Labels:
-
STM32L0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-30 1:36 AM
Hello,
No one can help you if you are not concise. What do you mean by "stuck in this condition"? There is no loop in HAL_PWR_EnterSLEEPMode().
What board are you using? Did you try this example https://github.com/STMicroelectronics/STM32CubeL0/tree/master/Projects/NUCLEO-L053R8/Examples/PWR/PWR_SLEEP ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-30 1:36 AM
Hello,
No one can help you if you are not concise. What do you mean by "stuck in this condition"? There is no loop in HAL_PWR_EnterSLEEPMode().
What board are you using? Did you try this example https://github.com/STMicroelectronics/STM32CubeL0/tree/master/Projects/NUCLEO-L053R8/Examples/PWR/PWR_SLEEP ?
