Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

vTaskDelay not working when Tickless idle enabled

Posted by ashishssingh on May 4, 2017

I am running FreeRTOS on Cortex R5 with TICKLESS_IDLE enabled.

And I have a loop like this in my code:

while (cond) { do_something(); vTaskDelay(1); }

Now, when vTaskDelay is called the current thread goes to sleep, and the thread wakes up and returns after vTaskDelay at variable times from 3 to 24 seconds. Not micro or milli seconds, vTaskDelay with 1 tick resumes after 3 to 24 seconds.

Any suggestions on how to go about debugging or hints will be greatly appreciated.


vTaskDelay not working when Tickless idle enabled

Posted by rtel on May 4, 2017

Did you get the tickless idle code from us? (by which I mean from the official FreeRTOS zip file download) I don't think we provide this for Cortex R5 but could be wrong.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS