I’m quite new to FreeRTOS, I’ld ask your hints about best ways to perform very small (sub-tick) blocking delays.
I’m working with Microchip PIC24H and FreeRTOS 6.0.3.
Classic example are LCD data writes: I’m thinking about using a classic “gatekeeper” task which actually performs nibble-data writes (reading from an in memory copy of screen data), but delays are about 0.5 millisecond (or even less).
I think it is not correct to increase ticktimer frequency to, say, 2Khz just to be able to do a FreeRTOS-API one tick delay or similar.
Hardware is working at 80 Mhz - 40 MIPS, but I guess there are better ways.
I also tought about using real, looping blocking delays (like __delay()) and setting LCD gatekeeper task to low-priority, so it would be probably preempted and delays will increase (LCD controller would be happy but “screen refresh” would be impacted as well)
What do you suggest for this case ? which other solutions do you use ?
Thanks for any hints, suggestion, ideas !