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.

Support for 64-bit timer in SYSBIOS

Other Parts Discussed in Thread: SYSBIOS

Hello everyone,

(target C6678, CCSv6, SYSBIOS 6_41_01_36)

As you know, the Timer module(s) in SYS/BIOS (in particular ti.sysbios.timers.timer64.Timer)

only supports : chained mode, unchained mode

The modes Watchdog and 64-bit are not supported.
(it seems a bit short-sighted to think that no customer will ever want to use these modes, in my opinion)

As I need 64-bit support for my project, I implemented it in a custom package of sysbios (inside the Timer module, written in TI's style).
It was a tad painful but I managed to make it work.

Now that it is implemented, does TI want to integrate it officially in SYS/BIOS ?
I can provide the full source code. The only thing you'd have to do is more complete testing.

Thank you,
Regards,

Clement

  • Hi Clement,

    We already have an enhancement request filed for adding 64-bit timer mode support to Timer64 module. It has not been committed yet so I cannot say for sure when will we have it implemented. I will add your "Timer.c" file to the enhancement request.

    SDOCM00106335|Timer64 module should support 64-bit GP Timer mode|

    Best,
    Ashish
  • Which Timer.c file ?
    I've only sent the one that add a "setCount" function to my TI contact.

    I haven't sent anything related to 64-bit timer yet.

    Clement
    I
  • Hi Clement,

    I see that the "Timer.c" file I have only has the Timer_setCount() implementation. I was travelling when I looked at the email from your TI contact and did not actually open the attachment. From the email content it looked like the attachment contained all the proposed code changes from you.

    Best,
    Ashish
  • Hi Ashish,

    OK.

    There is two different subjects going on:

    a) one is to add a "setCount" API to the Timer module (which is easy for you to integrate)

    b) the other is to add 64-bit timer support, which needs a more radical change of the module.

    I'll send the files needed for b) today, you already have the one for a).

    Regards,

    Clement