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.

Multiple TI-RTOS Clock Modules



Hello,

(1) Is it possible to instantiate more than one clock module, where each clock module is configured to use a different timer resource?

(2) Is there a performance difference in DSP clock cycles between using a clock module that calls 3 different clock functions and 3 timer HW resources whose HWi's post SWi's when their respective timer terminal counts are reached?

Thank you

  • Hi James,
    There is only one Clock module and it can only be configured to use one Timer source. If you want to use different timer sources, you could create Timer instances (see the SYS/BIOS User's Guide).
    As far as performance differences between using Clock and using Timers, this has not been benchmarked. If you use Clock objects, the Clock functions are called in Swi context, so there is some overhead for that. However, adding another interrupt to the system for a Timer can also introduce overhead. I would try this out before choosing one over the other for performance.
    Best regards,
    Janet