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.

TMS320C6657: Timer

Part Number: TMS320C6657
Other Parts Discussed in Thread: SYSBIOS

Hi,

How many timers that can be use in sys/bios?

Customer create a simple project with timer64. When calling Timer_getNumTimers, it returns 16 available timers. But check all timers through Timer_getStatus, only timer id 2 and 3 is FREE, and the other timers are INUSE. 

Adding below configuration in .cfg, it still prompts error.

ti_sysbios_timers_timer64_Timer.defaultHalf = ti_sysbios_timers_timer64_Timer.Half_DEFAULT;
ti_sysbios_timers_timer64_Timer.timerSettings[4].ownerCoreId = 0;
Clock.timerId = 4;

Description Resource Path Location Type
ti.sysbios.timers.timer64.Timer.Instance#0 : Timer 4 is already in use or reserved (check availMask/availMaskHigh)。

And i also test with clock demo in sys/bios. Only timerID 0-3 are available.

  • Hi Nancy

    Key SYSBIOS experts are out of office, so you may see further delay in response.

    Please confirm version of SYSBIOS you are using 

    Please also see if the following posts help

    In general i expect that given the device has 2 DSPs, 2 lower timers maybe used by SYSBIOS,  but rest of the 12 (2x8 timers upper/lower) should be available for general purpose usage. 

    It is not clear why sys/bios is preventing the use of those timers.

    Regards

    Mukul