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/MSP432E401Y: What is using TIMER0?

Part Number: MSP432E401Y

Tool/software: TI-RTOS

When I run one of the SDK examples, such as gpiointerrupt_MSP_EXP432E401Y_tirtos_ccs, I notice in the debugger that TIMER0 appears active, even though the example code doesn't use timers.  (All other timers are inactive.)  Is tirtos using TIMER0?  If so, where is this documented?

  • Brian,

    "By default, the TI-RTOS kernel modules use Timer.ANY when they statically create a Timer instance. Timer.ANY means “I don’t care which one”. 99% of the time, this means Timer 0. If the application or another module has already reserved Timer 0 in the kernel configuration file (e.g. .cfg), the next free Timer instance is used."

    -From TI-RTOS SimpleLink Timers Wiki

    TI-RTOS creates this timer based on systick as it is required for the scheduler. For more information on TI-RTOS, click here.

    Hope this helps,

    Seong

  • Thanks Seong, that helps!

    I had suspected that TIMER0 was being used by the kernel for clock purposes, especially with a load value of 1D4BF (= 119,999, which at a frequency of 120MHz would put the interval at just under 1000 microseconds, which is the Clock.tickPeriod).  Your response confirmed my suspicions.

    Thanks again!
    Brian

  • Glad I could help!

    BR,
    Seong

**Attention** This is a public forum