NOTE:This is a read only archive of threads posted to the FreeRTOS support forum. Use these archive pages to search previous posts. New forum support threads can be started at the FreeRTOS forums.
FreeRTOS Support Archive
The FreeRTOS support forum can be used for active support both from Amazon Web Services and the community. In return for using our software for free, we request you play fair and do your bit to help others! Sign up for an account and receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum. Use these archive pages to search previous posts. New forum support threads can be started at the FreeRTOS forums.
I’m running into an issue where my tasks aren’t being scheduled after a vTaskDelay() call on a system using the tickless idle. When I configure the system timer to run off the external 32kHz oscillator everything works fine, however if I configure it to run off the internal RC vTaskDelay doesn’t seem to return. However, other tasks (without a vTaskDelay) are still running.
I’m fairly new to FreeRTOS and more so to the tickless idle so I’m wondering if there are any caveats to using vTaskDelay with tickless mode. If vTaskDelay is okay to use in this mode, how do I go about debugging this?
~~~
Working:
The first question would be if you disable tickless idle, but just run your tick of the RC, does the tick count increase.
A second question (if the first is working) is does the sleep state being used disable the RC timer?
Okay that was already helpful, I was able to find out that in my not working case, xTaskIncrementTick is never being called, while it is in the working case- I guess that’s expected.
If I disable the tickless idle features, the tick is incremented and my application is once again working.
According to the datasheet the LFRC is always running.
I think this gives me a bit more of an idea of which direction to look but any more suggestions are welcome. Thanks!
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.