SLAAE56B November 2022 – August 2025 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507 , MSPM0H3216 , MSPM0L1105 , MSPM0L1106 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
STM32G0 and MSPM0 both offer various timers. MSPM0 offers timers with varying features that support use cases from low power monitoring to advanced motor control.
| STM32G0 | MSPM0 | ||
|---|---|---|---|
| Timer Name | Abbreviated Name | Timer Name | Abbreviated Name |
| Advanced control | TIM1 | Advanced control | TIMA0-1 |
| General-purpose | TIM2-4, TIM14/-17 | General purpose | TIMG0-11,14 |
| High resolution | TIMG12-13 | ||
| Basic | TIM6/7 | ||
| Low power | LPTIM | ||
| Feature | STM32G0 Timers | MSPM0G Timers | MSPM0L Timers | MSPM0C Timers | MSPM0H Timers |
|---|---|---|---|---|---|
| Resolution | 16 bit, 32 bit | 16 bit, 32 bit | 16 bit, 32 bit | 16 bit | 16 bit |
| PWM | Yes | Yes | Yes | Yes | Yes |
| Capture | Yes | Yes | Yes | Yes | Yes |
| Compare | Yes | Yes | Yes | Yes | Yes |
| One-shot | Yes | Yes | Yes | Yes | Yes |
| Up down count functionality | Yes | Yes | Yes | Yes | Yes |
| Power Modes | Yes | Yes | Yes | Yes | Yes |
| QEI support | Yes | Yes | No | Yes | Yes |
| Programmable pre-scalar | Yes | Yes | Yes | Yes | Yes |
| Shadow register mode | Yes | Yes | Yes | Yes | Yes |
| Events or interrupt | Yes | Yes | Yes | Yes | Yes |
| Fault Event Mechanism | Yes | Yes | Yes | Yes | Yes |
| Auto reload functionality | Yes | Yes | Yes | Yes | Yes |
| STM32G0 Timer | MSPM0 Equivalent | Reasoning |
|---|---|---|
| TIM1 | TIMA, TIMG8-12 | Advanced control, Both 16-bit resolution, QEI support |
| TIM2 | TIMG12-13 | 32-bit resolution |
| TIM3, TIM4 | TIMG0-7,14 | General purpose, 16-bit resolution |
| TIM6, TIM7 | Any | Basic timer |
| TIM14 | Any | Same functionality as TIM3/4 |
| TIM15, TIM16, TIM17 | Any | General purpose |
| LPTIM | Any timer in PD0 | LPTIM sources LFCLK, PD0 – low power mode in MSPM0 |
| Feature | STM32G0 Timer | MSPM0 Timer |
|---|---|---|
| PWM | TIM1-4 have edge and center aligned options, TIM6-7 do not have PWM functionality. TIM15-17 only edge aligned option. | All timers have edge aligned or center aligned options |
| Capture | No major differences | No major differences |
| Compare | No major differences | No major differences |
| One-shot | No major differences | No major differences |
| Prescaler | 16-bit prescaler, besides LPTIM (3-bit prescaler) | 8-bit prescaler |
| Synchronization | TIM1-4, TIM15 | All timers have this capability |
Information about timer code examples can be found in the MSPM0 SDK examples guide.