SLUUDG8 August   2026 MSPM0G3519 , MSPM33C321A

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Review of Software Differences Between MSPM0Gx51x and MSPM33C32xx
    1. 2.1 Development Environments
    2. 2.2 Software Porting Flow
    3. 2.3 Peripheral Differences
      1. 2.3.1 Interrupt Differences
      2. 2.3.2 ADC Differences
      3. 2.3.3 Security Differences
    4. 2.4 Communications Peripherals
      1. 2.4.1 SPI Differences
      2. 2.4.2 UART Differences
      3. 2.4.3 I2C Differences
  6. 3Summary
  7. 4References

ADC Differences

The ADC peripheral in the MSPM33C family has a collection of notable changes when compared with the ADC12 in the MSPM0x51x. While both are 12-bit SAR ADC peripherals, the MSPM33C's High Speed Analog to Digital Converter (HSADC) has additional sequencing, oversampling, and post-processing features that must be considered when transitioning to the device.

The following can have minimal changes apart from naming conventions:

  • Basic channel selection
  • Power Management (enable/disable/reset)
  • Basic interrupts
  • Clock source selection

The following can require more significant redesign:

  • Conversion sequencing
  • Hardware averaging
  • Result handling
  • Interrupt configuration
  • Triggering

The figure below displays how each feature differs between the two chips. If the code to be ported utilizes these features, many constants must be changed either using SysConfig or via definitions in the application code.

Peripheral Specification ADC12 (MSPM0Gx51x) HSADC (MSPM33Cx)
Conversion mode Single sample, repeat single sample, sequence, repeat sequence 4 independent sequencers (SEQ1-4) with priority, preemption support
Triggering Triggered with DL_ADC12_TRIG_SRC_SOFTWARE, DL_ADC12_TRIG_SRC_EVENT Triggered per-sequencer using DL_HSADC_Trigger_TieLow_SW_Trig, DL_HSADC_Trigger_GEN_SUB_X
Post-Processing Basic hardware averaging (2-128 samples), Simple divide-by options through SysConfig 4 Post Processing Blocks (PPB) with offset subtraction, two's complement, configurable oversampling, right-shift capabilities, trip comparators, error calculation
Results Storage 12 MEMRES registers (MEMRES0-11), simple FIFO mode 16 result registers (ADCRESULT0-15), 4 PPB result registers, per-sequencer FIFO with status, oversampling sum/count registers
Interrupts DL_ADC12_INTERRUPT_MEM0_RESULT_LOADED, DL_ADC12_INTERRUPT_OVERFLOW, DL_ADC12_INTERRUPT_WINDOW_COMP_HI/LO 4 configurable interrupts, 4 dma interrupts, PPB trip interrupts per block, early interrupt generation with preemption
Sample Timers 2 sample timers (SCOMP0/1), Sample time = SCOMP +1 * CLK_DIV Per-sequencer sample windows between 1 and 1472 cycles, simple cap reset options using VrefLo and VrefHi
Clock Configuration DL_ADC12_CLOCK_DIVIDE_1 … DL_ADC12_CLOCK_DIVIDE 48, 48 total division options DL_HSADC_CLOCK_DIVIDE_1_0, DL_HSADC_CLOCK_DIVIDE_2_0, DL_HSADC_CLOCK_DIVIDE_2_5... DL_HSADC_CLOCK_DIVIDE_8_5, from 1 to 8.5
Channels DL_ADC12_INPUT_CHAN_0 through DL_ADC12_INPUT_CHAN_31 DL_HSADC_IN_0 through DL_HSADC_IN_31