Hi.
I really appreciate comments to my following “tricky issue” (we use TI’s TMS320F28069, no RTOS) where we have:
-
A high-priority PWM ISR executing every 5 usec.
This runs OK in “the background”!
NOTE: This 5 usec interrupt must be handled immediately (other parts of the code must NEVER disable these interrupts etc). -
Two other “tasks”:
a) Task-A is running continuously (maintenance stuff etc).
b) Task-B is executed every 650 usec, AND MUST NEVER USE > 150 USEC (otherwise HW will be damaged).
Task-B must be given CPU (at least) every 650 usec.
The scheduler must also pre-empt task-B after 150 usec and give the CPU back to task-A (THIS IS MOST IMPORTANT!).
Q-1: Does the TI-RTOS satisfy these (tough timing) requirements?
Q-2: If not, does anyone know if such a “simple but fast” scheduler is available on the net (for TMSxxxxx) or elsewere (another RTOS maybe)?
Best Regards
Terje Bøhler