SLAAE56A November 2022 – March 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507 , MSPM0L1105 , MSPM0L1106 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346
STM32G0 and MSPM0 both offer ADC peripherals to convert analog signals to a digital equivalent. Both device families feature a 12-bit ADC. The following tables compare the different features and modes of the ADCs.
Feature | STM32G0 | MSPM0G | MSPM0L |
---|---|---|---|
Resolution (Bits) | 12 | 12 | 12 |
Conversion Rate (Msps) | 2.5 | 4 | 1.4 |
Oversampling (Bits) | 16 | 14 | N/A |
Hardware Oversampling | 256x | 128x | N/A |
FIFO | No | Yes | Yes |
ADC Reference (V) | Internal: 2.048, 2.5 | Internal: 1.4, 2.5, VDD | Internal: 1.4, 2.5, VDD |
When VDD < 2 External: VREF = VDD | External: 1.4 ≤ VREF ≤ VDD | External: 1.4 ≤ VREF ≤ VDD | |
When VDD ≥ 2 External: 2 ≤ VREF ≤ VDD | |||
Operating Power Modes | Run, Sleep | Run, Sleep, Stop, Standby(1) | Run, Sleep, Stop, Standby(1) |
Auto Power Down | Yes | Yes | Yes |
External Input Channels(3) | Up to 16 | Up to 16 | Up to 16 |
Internal Input Channels | Temperature Sensor, VREF, VBAT | Temperature Sensor, Supply Monitoring, Analog Signal Chain | Temperature Sensor, Supply Monitoring, Analog Signal Chain |
DMA Support | Yes | Yes | Yes |
ADC Window Comparator Unit | No | Yes | Yes |
Simultaneous Sampling | No | Yes | No |
Number of ADCs(3) | Up to 1 | Up to 2 | Up to 1 |
STM32G0 | MSPM0 | Comments |
---|---|---|
Single Conversion Mode | Single Channel Single Conversion | ADC samples and converts a single channel once |
Scan a Sequence of Channels | Sequence of Channels Conversion | ADC samples a sequence of channels and converts once. |
Continuous Conversion Mode | Repeat Single Channel Conversion | Repeat single channel continuously samples and converts one channel |
Repeat Sequence of Channels Conversion | Samples and converts a sequence of channels then repeats the same sequence | |
Discontinuous Mode | Repeat Sequence of Channels Conversion | Samples and converts a discontinuous set of channels. This can be done on MSPM0 by mapping the MEMCTRLx to different channels. |
Information about ADC code examples can be found in the MSPM0 SDK examples guide.