I was wondering if anybody has measured instruction cycle counts for basic operations in FreeRTOS for a PIC24F. I would do this myself, but the demo application requires a development board that I don’t have at the moment, so it’s easier to ask. I’m specifically looking for the typical cycles between the time one task calls the equilivant of the Win32 “SetEvent” and the other task wakes up and runs to the point that it leaves OS code and can do it’s own work.
I have one more question. In my application I need to manage an RF module in an extrememly time dependent way so I think it needs to be interrupt driven with a priority higher then the FreeRTOS scheduler/dispatcher priority. Is it possible for this interrupt based code to wakeup normal FreeRTOS tasks from time to time such as when data is available? I think in Microsoft Windows OS driver programing, this is solved with DPCs which allows the interrupt routes to post a callback that gets run by the OS back at the scheduler IRQ level. Does FreeRTOS have anything like this or possibly even a solution to this problem?