SLAU966 February 2025 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0C1105 , MSPM0C1106 , MSPM0C1106-Q1 , MSPM0G1106 , MSPM0G1107 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3216 , MSPM0L1105 , MSPM0L1106 , MSPM0L1116 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2228
MSPM0 and NXP's M0 MCUs both offer ADC peripherals to convert analog signals to a digital equivalent. Table 5-1 compares the different features and modes of the ADCs.
| Feature | NXP S32K1xx | NXP KEA128x | NXP KM35x | MSPM0 |
|---|---|---|---|---|
| Resolution (Bits) | 12 | 12 | 16 | 12/10/8 |
| Conversion Rate (Msps) (12-bit) | 1.16 | 0.340 | 4.75 | MSPM0Gx - 4 |
| MSPM0Lx - 1.68 | ||||
| MSPM0Cx - 1.5 | ||||
| Oversampling (Bits) | No | No | No | 14 |
| Hardware Oversampling | No | No | No | 128x |
| FIFO | No | Yes | No | Yes |
| ADC Reference (V) | Alternate: 2.7 ≤ VREF ≤ VDDA+0.1 |
Internal: VSSAto VDDA |
Alternate: VSSAto VDDA |
Internal:1.4,2.5 VDD |
| Primary: 2.7 ≤ VREF ≤ VDDA+0.1 |
External: VSSAto VDDA |
External: VSSAto VDDA |
External: 1.4 ≤ VREF ≤ VDD |
|
| Operating Power Modes | VLPR, STOP2, RUN | RUN, WAIT, STOP | RUN, WAIT, VLPS | Run, Sleep, Stop, Standby (1) |
| Auto Power Down | Equivalent | Equivalent | Equivalent | Yes |
| External Input Channels (2) | S32K118-Up to 16 | Up to 16 | Up to 16 | MSPM0Gx - up to 17 |
| S32K116-Up to 13 | MSPM0Lx/Cx up to 10 | |||
| Internal Input Channels | Supply Monitoring | Internal gap, Temperature Sensor | Internal gap, Temperature Sensor | Temperature Sensor, Supply Monitoring, Analog Signal Chain |
| DMA Support | Yes | No | Yes | Yes |
| ADC Window Comparator Unit | No | No | No | Yes |
| Simultaneous Sampling | No | No | No | MSPM0Gx - Yes |
| MSPM0Lx/Cx - No | ||||
| Number of ADCs (3) | 1 | 1 | 1 | MSPM0Gx - 2 |
| MSPM0Lx/Cx - 1 |
| Mode | S32K1xx | NXP KEA128x | NXP KM35x | MSPM0 | Comments |
|---|---|---|---|---|---|
| Single Conversion Mode | Yes | Yes | Yes | Single Channel Single Conversion | ADC samples and converts a single channel once |
| Scan a Sequence of Channels | No | No | No | Sequence of Channels Conversion | ADC samples a sequence of channels and converts once. |
| Continuous Conversion Mode | Yes | Yes | Yes | Repeat Single Channel Conversion | Repeat single channel continuously samples and converts one channel |
| No | No | No | Repeat Sequence of Channels Conversion | Samples and converts a sequence of channels then repeats the same sequence | |
| Discontinuous Mode | No | No | No | 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. |
ADC code examples
Information about ADC code examples can be found in the MSPM0 SDK examples guide.