Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
I have a few tasks running with different priorities on IPU, whose priorities are set between 1 to 15 during the task creation.
Among them, a low priority task (with priority 3) "interferes" with the job of a high priority task (priority 15).
The lower priority task is responsible to communicate with Input/Output modules through UART driver: Read/Write requests are sent every 125 ms by the program and are answered by the IO modules.
The higher priority task is responsible to monitor system diagnostics through ADC channels: The ADC measurements are triggered by a GPIO interrupt which occurs every 5 ms.
If we disable the low priority task, the high priority task measures the system diagnostics without any problem.
As soon as we enable the low priority task, the high priority task fails to measure the system diagnostics in a timely fashion, which results in wrong measurements. In fact, the time we spent in one loop of the high priority task is doubled from time to time when the low priority task is active! It seems that the high priority task is sometimes interrupted by the low priority one.
Could you please give us a little bit of information regarding our issue and tell us how we should proceed to obtain more information about this problem?
Thank you!