SLAU929A April   2024  – June 2025 MSPM0C1104 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507 , MSPM0H3216 , MSPM0L1105 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1304 , MSPM0L1305 , MSPM0L1306 , 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 Microchip AVR ATmega and ATiny MCUs to MSPM0
  5. 2Ecosystem and Migration
    1. 2.1 Software Ecosystem Comparison
      1. 2.1.1 MSPM0 Software Development Kit (MSPM0 SDK)
      2. 2.1.2 MPLAB X IDE vs Code Composer Studio IDE (CCS)
      3. 2.1.3 MPLAB Code Configurator 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
        1. 3.2.2.1 Memory Banks
        2. 3.2.2.2 Flash Memory Regions
        3. 3.2.2.3 NONMAIN Memory
      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
      1. 3.5.1 Operating Modes Comparison
      2. 3.5.2 MSPM0 Capabilities in Lower Power Modes
      3. 3.5.3 Entering Lower-Power Modes
    6. 3.6 Interrupt and Events Comparison
      1. 3.6.1 Interrupts and Exceptions
      2. 3.6.2 Event Handler and EXTI (Extended Interrupt and Event Controller)
    7. 3.7 Debug and Programming Comparison
      1. 3.7.1 Bootstrap Loader (BSL) Programming Options
  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. 6References
  10. 7Revision History

Analog-to-Digital Converter (ADC)

Microchip 8-bit AVR and MSPM0 both offer ADC peripherals to convert analog signals to a digital equivalent. Both device families feature either a 10-bit or 12-bit ADC. The following tables compare the different features and modes of the ADCs.

Table 5-1 Feature Set Comparison
FeatureMicrochip ATMegaMicrochip ATtinyMSPM0
Resolution (Bits)101212/10/8
Conversion Rate (Msps) (12-bit)15ksps375kspsMSPM0Gx - 4
MSPM0Lx - 1.68
MSPM0Cx - 1.68
Oversampling (Bits)No1714
Hardware OversamplingNoYes128x
FIFONoNoYes
ADC Reference (V)Internal: 1.1
AVCC
Internal: 1.024, 2.048, 2.500, 4.096 VDDInternal:1.4,2.5
VDD
External:
1.0 ≤ VREF ≤ VDD
External:

1.0 ≤ VREF ≤ VDD

External:
1.4 ≤ VREF ≤ VDD
Operating Power ModesActive, Idle, ADC noise reductionActive, Idle, ADC noise reductionRun, Sleep, Stop, Standby(1)
Auto Power DownNo

No

Yes
External Input Channels (2)Up to 8Up to 15

MSPM0Gx/Cx- up to 27

MSPM0Lx

- up to 26

Internal Input ChannelsTemperature Sensor, VREF, VBATNoTemperature Sensor, Supply Monitoring, Analog Signal Chain
DMA SupportYesNoYes
ADC Window Comparator UnitNoNoYes
Simultaneous SamplingNoNoMSPM0Gx - Yes
MSPM0Lx/Cx - No
Number of ADCs(3)11MSPM0Gx -2
MSPM0Lx/Cx - 1
ADC can be triggered in standby mode, which changes the operating mode.
The number of external input channels varies per device.
The number of ADCs varies per device.
Table 5-2 Conversion Modes
ModeMicrochip ATMegaMicrochip ATtinyMSPM0Comments
Single Conversion ModeYesYesSingle Channel Single ConversionADC samples and converts a single channel once
Scan a Sequence of ChannelsNoNoSequence of Channels ConversionADC samples a sequence of channels and converts once.
Continuous Conversion ModeYesYesRepeat Single Channel ConversionRepeat single channel continuously samples and converts one channel
NoNoRepeat Sequence of Channels ConversionSamples and converts a sequence of channels then repeats the same sequence
Discontinuous ModeNoNoRepeat Sequence of Channels ConversionSamples and converts a discontinuous set of channels. This can be done on MSPM0 by mapping the MEMCTRLx to different channels.

ADC code examples

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