WakeUp from STOPMode at arbitrary time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-01 10:24 PM
Hello,
Now I'm developing on STM32L052T8Y6TR and thinking to occur every 20msec WakeUp from systick interrupt.
More concretely, after Entering Stop Mode (by HAL_PWR_EnterSTOPMode),
I want to start wake-up at arbitrary time. in the SysTick_Callback.
I know HAL_RTCEx_SetWakeUpTimer_IT as regular wake-up function, I'd know how to start wake-up immediately.
Please tell me how to realize it.
Thanks,
- Labels:
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-03 5:44 AM
Hello @curiae,
Could you please clarify whether you want the wake-up event to occur periodically every 20 milliseconds, or if you want it to occur non-periodically, similar to using an external interrupt (EXTI)?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-03 6:31 AM
@curiae wrote:occur every 20msec WakeUp from systick interrupt.
You can stop that with HAL_SuspendTick
@curiae wrote:I want to start wake-up at arbitrary time. in the SysTick_Callback.
Why would you do that in the SysTick callback?
Why not just use the HAL_RTCEx_SetWakeUpTimer_IT ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-18 1:56 AM
@Andrew Neil wrote:You can stop that with HAL_SuspendTick
@curiae has that resolved your issue?
If so, please mark the solution:
https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256
A complex system designed from scratch never works and cannot be patched up to make it work.
