FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to 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.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2016 Threads] Change configTICK_RATE_HZ in real-timePosted by simointe on October 31, 2016 (TMS570LC4)
Is there a way to change at run-time the rtos tick ? I know of course you can change a task frequency, but I have a high frequency application which requires also to sweep a frequency. In order to have more precision between steps, without at compile time increase the configTICKRATEHZ too much.
Change configTICK_RATE_HZ in real-timePosted by edwards3 on October 31, 2016 No dynamic tick frequency changing really because blocked tasks have a stored wake time, and changing the time base will result in them waking at the wrong time, but you can do tricks like halve the tick frequency then call the RTOS increment tick function twice per tick.
Change configTICK_RATE_HZ in real-timePosted by simointe on November 1, 2016 Thanks.
« then call the RTOS increment tick function twice per tick...»
Do you talk about the vTaskStepTick( TickType_t xTicksToJump ) function or another api call ?
Change configTICK_RATE_HZ in real-timePosted by rtel on November 1, 2016 The function that increments the tick is called xTaskIncrementTick (). The step tick function you refer to is only used in tickless idle mode.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|