3806.Effects_of_LedBlink_and_ADCswi on_CPU_LOAD .docx
Hello DSP BIOS Champs!!
CCS Version: CCSV4 ( Version: 4.2.1.00004 )
Target: TMS320F28335 (eZDSP from Spectrum Digital)
Emulators: XDS510 USB and XDS100v2
Software Package: spra958i.zip (from TI)
Application: \spra958i\spra958i\CCSv4\F28335_examples_CCSv4_2010Aug10\F28335_example_BIOS_flash
Step to Reproduce: See screen shots in attached file
1. Run the app (stated above) without modifications...observe the CPU load via RTA raw logs. It is 56%...this does not appear to be realistic!!
2. Remove all loading...update the TCF file and remove the PRD function LedBlink, as well as the ADC_swi (NOTE: you have to remove the SWI_post from the interrupt handler as well). Compile and run the app. Note that the CPU load has dropped down to 2%. Makes sense?
3. Now add LedBlink back in...and note that CPU Load is barely effected...It is still loaded to 2% and jumps to 3% occasionally
4. Now add ADC_swi back in (Note: ADC_swi needs to be added as the SWI_post argument)...and note that the CPU load jumps to 56%. This does not make sense!
Could this be a bug in DSP BIOS or is there a logical explanation? Please advice...
Thanks,
Krishna