cancel
Showing results for 
Search instead for 
Did you mean: 

How to run a clock while device is asleep?

Name
Associate III

Hello,

My goal is to setup a timer which also runs when the device is in (Zigbee) sleep mode. I have tried to adapt HAL_GetTick() to be run by LPTIM1 on an STM32WB5MMG, which led to the device not boot anymore. I also tried setup timestamps on the RTC which did not solve the original problem.

Is there some predefined solution to solve my problem or some example projects that demonstrate the use of LPTIM1 for my usecase?

Best regards

0 REPLIES 0