Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]

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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

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

Xilinx Microblaze and Zynq partner