This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Which timers on 6634K2H can be shared?

Other Parts Discussed in Thread: SYSBIOS, TCI6636K2H

Hi

1) How can I find out which timers on the 6634K2H device can be shared please?

2) Also, how can I find out which shared timers are unallocated?

3) I believe it is possible to set the owner of a shared timer, statically in the .cfg file:

  var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');
 
  // sets core 1 to init and release Timer 4.
  Timer.timerSettings[4].ownerCoreId = 1;

Is it possible to do this dynamically using C code?

Best regards

David

  • David,

    First you said 6634K2H.  I wasn't sure which device this is.  There's a TCI6636K2H and a TCI6634, but I'm not sure about a 6634K2H?

    1.  Typically on these devices, if you have 8 DSP cores then the first 8 timers are local timers and the next 8 timers are shared timers.  So Timer IDs 0-7 would be local and 8-15 would be shared.  For 4 DSP cores, cut the number of local timers and shared timers in 1/2.

    2.  All Shared Timers are unallocated by BIOS.  BIOS uses one half of the local timer.

    3.  It is not possible to set the owner id of a shared timer at runtime currently.  Could be a possible enhancement in the future but we just need to analyze the implications of doing this.

    Judah