SLAAEF9 November 2023 MSPM0C1104 , MSPM0G3507 , MSPM0L1306
RL78 and MSPM0 both offer ADC peripherals to convert analog signals to a digital equivalent. Both device families feature a 12-bit ADC. In addition, RL78 I series offers 24-bit delta-sigma ADC, which is not in this discussion, and MSP430F676x can be considered. Table 5-1 and Table 5-2 compare the different features and modes of the ADCs.
Feature | RL78 | MSPM0G | MSPM0L |
---|---|---|---|
Resolution (Bits) | 12, 10, 8 | 12, 10, 8 | 12, 10, 8 |
Conversion Rate (Msps) | 0.888 | 4 | 1.4 |
Oversampling (Bits) | N/A | 14 | N/A |
Hardware Oversampling | 16x | 128x | N/A |
FIFO | No | Yes | Yes |
ADC Reference (V) | Internal: 1.48, VDD | Internal: 1.4, 2.5, VDD | Internal: 1.4, 2.5, VDD |
External: 2.4≤ VREFP ≤ VDD ≤ 5.5V VREFM = VSS or VREFM |
External: 1.4 ≤ VREF ≤ VDD |
External: 1.4 ≤ VREF ≤ VDD |
|
Operating Power Modes | Run, SNOOZE | Run, Sleep, Stop, Standby (1) | Run, Sleep, Stop, Standby (1) |
Auto Power Down | Yes | Yes | Yes |
External Input Channels (3) | Up to 31 | Up to 16 | Up to 16 |
Internal Input Channels | Temperature Sensor, Internal Reference Voltage, Touch Sensor Capacitance | Temperature Sensor, Supply Monitoring, Analog Signal Chain | Temperature Sensor, Supply Monitoring, Analog Signal Chain |
DMA Support | Yes (DTC/DMA) | Yes (DMA) | Yes (DMA) |
ADC Window Comparator Unit | Yes (ADxL) | Yes | Yes |
Simultaneous Sampling | No | Yes | No |
Number of ADCs (3) | Up to 1 | Up to 2 | Up to 1 |
RL78 (1) | MSPM0 | Comments |
---|---|---|
Select Mode, One-shot Conversion Mode / Single Scan Mode | Single Channel Single Conversion | ADC samples and converts a single channel once |
Scan Mode, One-shot Conversion Mode / Single Scan Mode | Sequence of Channels Conversion | ADC samples a sequence of channels and converts once. |
Select Mode, Sequential Conversion Mode / Continuous Scan Mode | Repeat Single Channel Conversion | Repeat single channel continuously samples and converts one channel |
Scan Mode, Sequential Conversion Mode / Continuous Scan Mode | Repeat Sequence of Channels Conversion | Samples and converts a sequence of channels then repeats the same sequence |
ADC Code Examples
Information about ADC code examples can be found in the MSPM0 SDK examples guide.