freertos lock timer problem

Greetings ,
I have implemented an application with freertos (sdk 15.3)
which goes into low power and wakes up on two irqs (rtc and button).
When the button irq arrive turns on the system,  performs operations
and then return to a low power state.
When entering low power the task/int rtc are suspended , restored
on wake up.
The anomaly occurs when the system remains in the low
power state   , when I wake up i find that the task
remains frozen / paused (in vTaskDelay / xEventGroupWaitBits ) for a time
proportional to the time it remained in low consumption .
Anyone have any ideas on what to investigate (or a hint) to solve the problem ?

Best regards
Andy

Parents
  • Going back to your main description of the problem.

    When entering low power the task/int rtc are suspended , restored
    on wake up.

    Which RTC int are your suspending? I hope that it is not the same as the one freertos is using? I am not able to replicate this error in my tests using button and different RTC as wakeup sources. vTaskDelay after wakeup behaves as it should and i have the test running for many hours. 

    There seems to be something in your code that creates this anomaly and I need your project to replicate and debug this on my end.

     

Reply
  • Going back to your main description of the problem.

    When entering low power the task/int rtc are suspended , restored
    on wake up.

    Which RTC int are your suspending? I hope that it is not the same as the one freertos is using? I am not able to replicate this error in my tests using button and different RTC as wakeup sources. vTaskDelay after wakeup behaves as it should and i have the test running for many hours. 

    There seems to be something in your code that creates this anomaly and I need your project to replicate and debug this on my end.

     

Children
No Data
Related