Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

OMAP-L138 module Load & timers

$
0
0

Hello,

I've some questions related to the module Load on the ARM side of the OMAP-L138.
I'm the following versions on the ARM side of the OMAP-L138:
- CCS Version 5.2.1.00018
- SYS/BIOS 6.30.03.46 (eabi) ELF
- TMS470 Code Generation Tools 4.9.6
- XDCTOOLS 3.23.03.53

Within the ARM configuration I'm using amongst others
- the module ti.sysbios.BIOS, where the cpuFreq is set to 456MHz (hi = 0, lo = 456000000)
- the module Clock (with TickSource_TIMER as default tickSource) and one instance
  ++ var ti_sysbios_knl_Clock = xdc.useModule('ti.sysbios.knl.Clock');
  ++ var instti_sysbios_knl_Clock0Params0 = new ti_sysbios_knl_Clock.Params();
  ++ Program.global.armClock10ms = ti_sysbios_knl_Clock.create("&doArmClock10ms", 10, instti_sysbios_knl_Clock0Params0);
  ++ ti_sysbios_knl_Clock.timerId = 1;
- the module Timer (anyMask value is 255)
  ++ var ti_sysbios_timers_timer64_Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');
  ++ ti_sysbios_timers_timer64_Timer.intFreqs[0].lo = 24000000;
  ++ ti_sysbios_timers_timer64_Timer.intFreqs[1].lo = 24000000;
  ++ ti_sysbios_timers_timer64_Timer.intFreqs[2].lo = 24000000;
  ++ ti_sysbios_timers_timer64_Timer.intFreqs[3].lo = 24000000;
  ++ ti_sysbios_timers_timer64_Timer.defaultHalf = ti_sysbios_timers_timer64_Timer.Half_UPPER;

With these settings the ARM uses only the upper half of timer 1.
Timer 0, lower half of timer 1 and timer 2 are used by the DSP.

When I'm now adding the module Load to get some information about the ARM's CPU load,
it looks that the ARM is modifying/using the Timer 0 and thereby breaks the functionality of the DSP.

Is it possible that the module Load also uses the ARM's timer (upper half of timer 1) and not breaking anything else?
If yes, what needs to be done?

Thanks,
Frank


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>