SLAU923B June 2025 – April 2026 MSPM0H3215 , MSPM0H3216 , MSPM0H3216-Q1
The TIMx clock (TIMCLK) can be sourced from BUSCLK, MFCLK and LFCLK by setting the TIMx.CLKSEL register. It can also be divided by a ratio by setting the TIMx.CLKDIV register and a prescaler (if present). The selected source clock is always available and the frequency depends on the power mode. For more information, see the Clock Module (CKM) section.
The TIMCLK can come from the following sources and refer to the datasheet for the clock availability as per the power domain:
BUSCLK: the current bus clock is selected as the source for TIMx. The current bus clock depends on power domain.
When entering a low power mode which disables the MFCLK, any timer sourced with MFCLK will also stop counting until MFCLK operation is restored.
TIMx also has a software mechanism for disabling the timer clock. Set TIMx.CCLKCTL.CLKEN to 0 to put the timer in an IDLE state.
TIMCLK Configuration
To configure the clock source, divider, and prescaler:
The frequency of TIMCLK is determined using Equation 13.