Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
I am working on a BBB target and just recently switched to the Processor SDK TIRTOS 4_02_00_09.
In my code I have a 100hz task that is processing sensor data and a 1 hz task that is doing processor heavy updates.
The 100 hz task is higher priority than the 1 hz task.
When using Processor SDK TIRTOS 4_01_00_06, my 100 hz task runs without missing a beat (I put a counter on the semaphore controlling the task and it was always 0 so I know it is being called fast enough). My low rate task is running slower than 1 hz but that is a separate issue (the task priorities are working as I intended).
When using Processor SDK TIRTOS 4_02_00_09, my 100 hz task can't keep up! My counter is into the 1000s and barely seems to be serviced at all and my 1 hz taks NEVER runs!
I am using identical code between the builds.
Here are the 4_01_00_06 Products I am building with:
Here are my 4_02_00_09 products:
Note that I did not actually have both SDKs installed when I found this issue but recently added them back in to verify what I was seeing.
Also, the main 100 hz loop is running SPI to read sensor data so SPI and GPIO (to control the chip select) are the only peripherals I am using on this build.