how to set periodicity for the task

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.

how to set periodicity for the task

Perhaps the following functions are what you are looking for: http://www.freertos.org/vtaskdelayuntil.html http://www.freertos.org/a00127.html

how to set periodicity for the task

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.

how to set periodicity for the task

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