Other Parts Discussed in Thread: CC2650, SYSBIOS
I am working on the labs for the TI-RTOS workshop to include the CC2650 as a target. We walk users through each of the TI-RTOS modules - Hwi, Swi, Task, Queue, Mailbox. So I am working on the Swi lab.
I am using:
-CCS6.1..2
-RTOS version 2.16.0.08
-CC2650 Launchpad
-commented out the ROM definitions in the .cfg file so that UIA works properly, enabled Logs in BIOS-Runtime
-Load Buffer size (LoggingSetup) set to 512 bytes
-power policy (.enablePolicy = FALSE) - this allows me to trigger an interrupt every 500ms without going into standby
I modified the "empty" driver project, removed Task, added a driverlib timer that triggers an interrupt every 500ms. The ISR posts a Swi which toggles the LED. The code builds fine and runs perfectly. The "toggle LED" function takes 31uS which I was able to measure on the Exec graph just fine - just like the other four architectures that are supported in this workshop.
However, the CC2650 reports 100% CPU load both in the CPU Load graph and the Live Session view.
Time not spent in IDLE? I know the Hwi is not being tracked. I don't track those on the other processors either. But the Swi runs and toggles the LED and it takes 31uS which is 1488 cycles running at 48MHz. Most architectures report about a 1% load in this lab. 100% shocked me.
Is CPU Load calculated differently on this device? Or am I doing something wrong?
Thanks,