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

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1MSPM0 Portfolio Overview
    1. 1.1 Introduction
    2. 1.2 Portfolio Comparison of STM32 MCUs to MSPM0 MCUs
    3. 1.3 Pin to Pin Comparison of STM32 MCUs to MSPM0 MCUs
  5. 2Ecosystem and Migration
    1. 2.1 Software Ecosystem Comparison
      1. 2.1.1 MSPM0 Software Development Kit (MSPM0 SDK)
      2. 2.1.2 CubeIDE vs Code Composer Studio IDE (CCS)
      3. 2.1.3 CubeMX vs SysConfig
    2. 2.2 Hardware Ecosystem
    3. 2.3 Debug Tools
    4. 2.4 Migration Process
    5. 2.5 Migration and Porting Example
  6. 3Core Architecture Comparison
    1. 3.1 CPU
    2. 3.2 Embedded Memory Comparison
      1. 3.2.1 Flash Features
      2. 3.2.2 Flash Organization
      3. 3.2.3 Embedded SRAM
    3. 3.3 Power Up and Reset Summary and Comparison
    4. 3.4 Clocks Summary and Comparison
    5. 3.5 MSPM0 Operating Modes Summary and Comparison
    6. 3.6 Interrupt and Events Comparison
    7. 3.7 Debug and Programming Comparison
  7. 4Digital Peripheral Comparison
    1. 4.1 General-Purpose I/O (GPIO, IOMUX)
    2. 4.2 Universal Asynchronous Receiver-Transmitter (UART)
    3. 4.3 Serial Peripheral Interface (SPI)
    4. 4.4 I2C
    5. 4.5 Timers (TIMGx, TIMAx)
    6. 4.6 Windowed Watchdog Timer (WWDT)
    7. 4.7 Real-Time Clock (RTC)
  8. 5Analog Peripheral Comparison
    1. 5.1 Analog-to-Digital Converter (ADC)
    2. 5.2 Comparator (COMP)
    3. 5.3 Digital-to-Analog Converter (DAC)
    4. 5.4 Operational Amplifier (OPA)
    5. 5.5 Voltage References (VREF)
  9. 6Summary
  10. 7References
  11. 8Revision History

Timers (TIMGx, TIMAx)

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.

Table 4-7 Timer Naming
STM32G0MSPM0
Timer NameAbbreviated NameTimer NameAbbreviated Name
Advanced controlTIM1Advanced controlTIMA0-1
General-purposeTIM2-4, TIM14/-17General purposeTIMG0-11,14
High resolutionTIMG12-13
BasicTIM6/7
Low powerLPTIM
Table 4-8 Timer Feature Comparison
FeatureSTM32G0 TimersMSPM0G TimersMSPM0L Timers

MSPM0C Timers

MSPM0H Timers

Resolution16 bit, 32 bit16 bit, 32 bit16 bit,

32 bit

16 bit

16 bit

PWMYesYesYes

Yes

Yes

CaptureYesYesYes

Yes

Yes

CompareYesYesYes

Yes

Yes

One-shotYesYesYes

Yes

Yes

Up down count functionalityYesYesYes

Yes

Yes

Power ModesYesYesYes

Yes

Yes

QEI supportYesYesNo

Yes

Yes

Programmable pre-scalarYesYesYes

Yes

Yes

Shadow register modeYesYesYes

Yes

Yes

Events or interruptYesYesYes

Yes

Yes

Fault Event MechanismYesYes

Yes

Yes

Yes

Auto reload functionalityYesYesYes

Yes

Yes

Table 4-9 Timer Module Replacement
STM32G0 TimerMSPM0 EquivalentReasoning
TIM1TIMA, TIMG8-12Advanced control, Both 16-bit resolution, QEI support
TIM2TIMG12-1332-bit resolution
TIM3, TIM4TIMG0-7,14General purpose, 16-bit resolution
TIM6, TIM7AnyBasic timer
TIM14AnySame functionality as TIM3/4
TIM15, TIM16, TIM17AnyGeneral purpose
LPTIMAny timer in PD0LPTIM sources LFCLK, PD0 – low power mode in MSPM0
Table 4-10 Timer Use-Case Comparisons
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

Timer Code Examples

Information about timer code examples can be found in the MSPM0 SDK examples guide.