BASICS: Timer interruption for triggering a Task

I’ve been reading a lot the last few days and I’d like to check whether I understood it right.

I’m using FreeRTOS in ESP32.

Using FreeRTOS I can set a task to be triggered cyclically in time basis?
Does it mean I don’t need to manually setup a timer interrupt? I mean "timerBegin, “timerAttachInterrupt” and etc.
Please, what should I implement to do so?

Thank you.
Regards, Ciro.

You have two options:

  1. Use software timers with autoreload. The task will start periodically at absolute time.
  2. Use vTaskDelay() (gives relative delay) or vTaskDelayUntil() (gives absolute delay). I’d recommend the last option.

Thank you Serge.

You couldn’t be more clear.

Best regards, Ciro.