100us tick time / minimal tick time

antoxaxa wrote on Wednesday, December 09, 2015:

Hello,

for my application on dsPIC33 I need a task with 100us period time. Is it possible in FreeRTOS/OpenRTOS to define the tick time in us range?
Is the minimal tick time 1 ms (portTICK_PERIOD_MS = 1) ?

thanks

rtel wrote on Wednesday, December 09, 2015:

The minimum tick period is 1 only if you make use of the portTICK_RATE_MS or portMS_TO_TICKS macros (which the demo applications do). However I think 100us is probably too fast for the dsPIC. You can have a timer other than the tick interrupt execute at that frequency, and leave the tick interrupt slower.