STM32F429 Sleep mode and Systick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-10 8:57 AM
Hi'
I'm using an STM32F429 in a project that needs to enter to sleep mode.
I can't determine if I need to disable manually the HAL tick previously to entering in sleep mode, or if the sleep mode enter instruction does it by itself. Can anyone tell me?
Thanks!
- Labels:
-
Power
-
STM32F4 Series
-
SysTick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-11 4:42 AM
Which sleep mode?
How do you enter sleep mode?
If its is WFI, the MCU will enter sleep mode then awake at the next interrupt.
If you don't want to be woken up by certain interrupts, you have to inhibit them before entering sleep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-11 5:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-11 12:02 PM
I don't use HAL so I can't answer you. But as usual with HAL you have to study its code to know what it does. And what is the path chosen by the designers of HAL.
