Maximum FreeRTOS Tick period

npatel wrote on Thursday, December 29, 2016:

I am using FreeRTOS with the microblaze port and I am wondering how fast can I run the tick period. What is a typical RTOS tick period that FreeRTOS would work reliably with?

Thanks in advance.

rtel wrote on Thursday, December 29, 2016:

The demo applications we provide typically have the tick frequency set to 1KHz (1ms) - but that is done to deliberately load and test the kernel and is faster than most applications need. It seems common for real applications to use a tick frequency of 100Hz, but the optimal frequency is of course dependent on the application.

It is not normal to go above 1KHz, and if you think you need a faster tick frequency then perhaps you could look at using hardware timer interrupts instead. If you do go above 1KHz then note the pdMS_TO_TICKS() macros will not work.