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/TM4C1294NCPDT: Limit and configuration dependency for no. of Clock instances in TI-RTOS

Part Number: TM4C1294NCPDT

Tool/software: TI-RTOS

Hi,

I am developing firmware for TM4C1294NCPDT using TI-RTOS.

Is their any limit on configuring no. of instances of Clock in TI-RTOS?

Also is their any dependency of configuration of Clock on no. of instances? e.g. BIOS.swiEnabled = true/false or Clock.tickMode configured.

  • Hi Harshal,

    There is no limit to the number of clock instances you can create.

    The only impact BIOS.swiEnabled = false is that the Clock functions are executed in the timer's ISR instead of being deferred to a Swi (that is posted by the timer's ISR).

    The Clock.tickMode can be Clock_TickMode_PERIODIC or Clock_TickMode_DYNAMIC. The DYNAMIC one is useful in minimizing power consumption because the timer only fires when needed (e.g. it is determined dynamically) instead of at every Clock tick period. Note: dynamic tickMode is not supported on all devices.

    Todd