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

Comparator (COMP)

The STM32G0 and MSPM0 family of parts both offer integrated comparators as optional peripherals on some devices. In both families of devices these are denoted as COMPx, where the 'x' final character refers to the specific comparator module being considered. In the STM32G0 family these are numbered 1-3, and in the MSPM0 family these are numbered 0-2. The comparator modules can both provide a windowed comparator functionality in devices with more than 1 comparator, can take inputs from various internal and external sources, and can be used to trigger changes in power mode or truncate/control PWM signals. A summary of how the MSPM0 and STM32G0 comparator modules compare feature-by-feature is included in Table 5-3.

Note: MSPM0H does not currently support comparators, but this can change in future roadmap devices.
Table 5-3 COMP Feature Set Comparison
FeatureSMT32G0MSPM0GMSPM0L

MSPM0C

Available comparatorsUp to 3Up to 31

1

Output routingMultiplexed I/O PinsMultiplexed I/O PinsMultiplexed I/O PinsMultiplexed I/O Pins
EXTI InterruptInterrupt/Event InterfaceInterrupt/Event InterfaceInterrupt/Event Interface
Noninverting input sourcesMultiplexed I/O PinsMultiplexed I/O PinsMultiplexed I/O PinsMultiplexed I/O Pins
DAC12 output(1)DAC8 output
DAC8 outputOPA1 Output(2)DAC8 output
Internal VREF: 1.4V and 2.5V
Inverting input sourcesMultiplexed I/O PinsMultiplexed I/O pinsMultiplexed I/O PinsMultiplexed I/O Pins
DAC Channels 1 and 2Internal temperature sensorInternal temperature sensor
Internal VREF: 2.048 V and 2.5 VInternal VREF: 1.4 V and 2.5 VDAC8 outputDAC8 output
Buffered VREF Divider including: ¼VREF, ½VREF, and ¾VREFDAC8 outputOPA0(3) output
OPA0 output (3)
Programmable hysteresisNone, 10mV, 20mV, 30mVNone, 10mV, 20mV, 30mVNone, 10mV, 20mV, 30mVNone, 10mV, 20mV, 30mV
Other values from 0V to VREF/VDD using DAC8Other values from 0V to VDD using DAC8Other values from 0V to VDD using DAC8
Register lockYes, all COMP registers (disabled on device reset)Yes, some COMP registers (writes require key)Yes, some COMP registers (writes require key)Yes, some COMP registers (writes require key)
Window comparator configurationYesYesNo (single COMP)No (single COMP)
Input short modeNoYesYes

Yes

Operating modesHigh speed, medium speedHigh speed, low powerHigh speed, low powerHigh speed, low power
Fast PWM shutdownsYesYes (through TIMA fault handler)Yes (through TIMA fault handler)Yes (through TIMA fault handler)
Output filteringBlanking filterBlanking filterBlanking filterAdjustable analog filter
Adjustable analog filterAdjustable analog filter
Output polarity controlYesYesYes

Yes

InterruptsRising edgeRising edgeRising edgeRising edge
Falling edgeFalling edgeFalling edgeFalling edge
Both edgesOutput readyOutput readyOutput ready
Exchange inputs modeNoYesYesYes
Only on devices with DAC12 peripheral
Only on devices with OPA1 peripheral
Only on devices with OPA0 peripheral

COMP code examples

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