There are more than one task, after completing the periodic work,the 52832 module should enter system on low power mode,sleep 30 minutes,then wake up and continue with the periodic work.
Any suggestions would be appreciated. Thanks.
There are more than one task, after completing the periodic work,the 52832 module should enter system on low power mode,sleep 30 minutes,then wake up and continue with the periodic work.
Any suggestions would be appreciated. Thanks.
Hi, what comes to my mind is the following:
Create a timer that will trigger an event (callback) after 30 minutes. When there is no tasks available and the RTOS can go in idle, set WFE() (wait for event). You will leave sleep mode when your timer runout (30 minutes).
Maybe someone can confirm this?
Hopefully this helps!
Regards,
Thanks for your reply.
I tried WFE and app_timer,when freertos is used,
WFE is unable to put the module into sleep mode due to the existence of freertos tick.
Thanks for your reply.
I tried WFE and app_timer,when freertos is used,
WFE is unable to put the module into sleep mode due to the existence of freertos tick.