I’m looking at coding a project that has two kinds of timed tasks.
One kind of task - regularly timed, such as data from a converter. The uP needs to generate the timing using a uP hardware timer e.g. sample audio at 44100Hz rate. The uP I’m using has hardware dma and I need the task to use that. (Microchip dsPIC33FJxxxGPyyy)
Second kind of task - irregular timing such as an interrupt from a zero cross detect circuit. The software will need to use a uP hardware timer to time the irregular events.
Is FreeRTOS a good choice? I’m just starting to look at the tutorials and any extra “real world” advice is most appreciated.