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.

RTOS/TMDXIDK5718: Timer availability mask

Part Number: TMDXIDK5718
Other Parts Discussed in Thread: SYSBIOS, AM5718

Tool/software: TI-RTOS

Hi

I'm using SYSBIOS V6.4.55.5 n my IDK5718.
This device has 16 timers, but when I open the SYSBIOS timer configuration GUI in my
MPU Project (A15 Program) I can see a "mask of available timers:" which is 0x202.

This would mean that only two timers are available? Can I change this mask?
If yes, are there some other restrictions in setting the mask?

Regards,
Markus

  • The RTOS team have been notified. They will respond here.
  • Hi,

    Do you mean the mask like below:

    I need to double check.

    Regards, Eric

  • Hi

    Yes, thats the mask I meant.

    Regards,
    Markus

  • Hi,

    Let me check with our RTOS team. Thanks!

    Regards, Eric
  • Hi Eric

    Meanwhile I found out that the "Mask of available timers" is internally set to ti_sysbios_timers_dmtimer_Timer.anyMask.

    When I had a look into
    "C:\ti\bios_6_46_05_55\packages\ti\sysbios\timers\dmtimer\timer.xs" -> function instance$meta$init(id, tickFxn, params)

    I could see that the "anyMask" is used to tell which timers may be used when "ANY" timer is allowed at timer creation.
    Internally there is also a setting called "availMask" where bits are cleared every time a new timer is created.
    It seems that "availMask" is initialised with 0x0030 (for the DSP core in AM5718) as I cannot add more than one timer
    (the other one is used by the SYSBIOS clock module).
    I tried to manually change "availMask" within the config script but this property is not defined (as opposed to "anyMask").

    Shortly said: The AM5718 has 16 timers and in my C66 DSP program SYSBIOS is only offering one single timer for use in my program.
    How can I make SYSBIOS providing more timers? (I could sacrifice them on other cores where I dont need timers).

    Regards,
    Markus