SLAAEI9A December 2023 – May 2025 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3216 , MSPM0H3216-Q1 , MSPM0L1105 , MSPM0L1106 , MSPM0L1116 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1305 , MSPM0L1306 , MSPM0L1345
STM8 and MSPM0 both offer ADC peripherals to convert analog signals to a digital equivalent. For STM8, STM8L001XX and STM8L101XX do not have ADC module. STM8S series and the rest of STM8L series offer 10-bit or 12-bit ADC, respectively. For MSPM0, both device series feature a 12-bit ADC. Table 5-1 and Table 5-2 compare the different features and modes of the ADCs.
| Feature | STM8S | STM8L | MSPM0 |
|---|---|---|---|
| Resolution (Bits) | 10 | 12 | 12, 10, 8 |
| Conversion Rate | 0.43 Msps | 1 Msps | 1.68 Msps |
| Hardware Averaging | No | No | Yes |
| FIFO | No | No | Yes |
| ADC reference (V) | Internal: 1.224 | Internal: 1.48, VDD | Internal: 1.4, 2.5, VDD |
| External: 2.75V ≤ VREF ≤ VDDA | External: 2.4V ≤ VREF ≤ VDDA | External: 1.4 ≤ VREF ≤ VDD(1) | |
| Operating power modes | Wait and low power wait | Wait | Run, sleep, stop, standby(2) |
| Auto power down | No | No | Yes |
| External input channels | Up to 16 | Up to 28 | MSPM0L: up to 16, MSPM0C: up to 27, MSPM0H: up to 27 |
| Internal input channels | Temperature Sensor Internal reference voltage |
Temperature Sensor Internal reference voltage |
Temperature sensor Supply monitoring, analog signal chain |
| DMA support | No | Yes | Yes |
| ADC window comparator unit | No | No | Yes |
| Number of ADCs | Up to 1 | Up to 1 | Up to 1 |
| STM8 | MSPM0 | Comments |
|---|---|---|
| Single conversion mode | Single channel single conversion | ADC samples and converts a single channel once |
| Single scan mode | Sequence of channels conversion | ADC samples a sequence of channels and converts once. |
| Continuous and buffered continuous modes | Repeat single channel conversion | The one selected channel is repeatedly sampled and converted |
| Continuous scan mode | Repeat sequence of channels conversion | The group of channels are sampled and converted repeatedly |
ADC Code Examples: information about ADC code examples can be found in the MSPM0 SDK examples guide.