how to set periodicity for the task

ephobb wrote on Wednesday, November 11, 2015:

Hi,
I am new to FreeRTOS. I am using freertos for project. I did’t found for setting periodicity for the task.
If i have four task and how to set the periodicity for these task.

rtel wrote on Wednesday, November 11, 2015:

Perhaps the following functions are what you are looking for:

http://www.freertos.org/vtaskdelayuntil.html
http://www.freertos.org/a00127.html

ephobb wrote on Friday, November 13, 2015:

Hi, thanks for the help.
I want to know, can we set periodicity for task? like task1 will have 1 ms periodicity, task2 will have 100 ms of periodicity.
because delay function will not give the exacttime when we task is starting to run and when this come to run.

richard_damon wrote on Saturday, November 14, 2015:

Did you look at vTaskDelayUntil()? It is designed for just this sort of thing.