SLAAEF9A November 2023 – May 2025 MSPM0C1104 , MSPM0G3507 , MSPM0H3216 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1306 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
The RL78 and MSPM0 family of parts both offer 12-bit, 8-bit DAC peripherals to perform digital to analog conversion for various applications. In RL78 documentation, 12-bit DAC is referred to as the 12-bit D/A converter and 8-bit DAC is referred to as the DAC, D/A Converter. The 12-bit D/A converter is only available on the RL78 I1E and L1A families of devices. In MSPM0, the 12-bit DAC peripheral is referred to as the DAC12. This differentiates the DAC12 from the 8-bits DACs that are available for use with each comparator peripheral included in a given MSPM0 device. Those additional 8-bit DACs are covered in the comparator section of this document. This DAC12 peripheral is only available on the MSPM0G family of devices.
The features of the 12-bit DAC peripherals for the RL78 and MSPM0G are summarized in Table 5-4.
MSPM0L and C DAC is intergrated in the COMP. MSPM0H series and MSPM0C1103, MSPM0C1104 do not have COMP, thus there is no DAC supported.
| Feature | RL78 | MSPM0G | MSPM0L/C |
|---|---|---|---|
| Resolution | 12 bits | 12 bits (11 ENOB) | 8 bit |
| Output rate | 33 kSPS | 1 MSPS | 1 MSPS |
| Output channels | 2 (1) | 1 (2) | 1 |
| Data formats | 12-bit right aligned, 12-bit left aligned | 8-bit right aligned, 12-bit right aligned, two's complement or straight binary | 8-bit right aligned |
| DMA integration | Yes (DTC) | Yes | Yes |
| Output routing | External Pins | External Pins | Internal peripheral connections: OPA IN+, COMP IN+ |
| Internal peripheral connections: OPA IN+, COMP IN+, ADC0 | |||
| Internal reference voltage | Yes, 1.48V | Yes, 2.5V or 1.4V | Yes, 2.5V or 1.4V |
| External reference voltage | Yes | Yes | No |
| FIFO | No | Yes | No |
| Output buffer | No | Yes | No |
| Configurable output offset | No | Yes | No |
| Self-calibration mode | No | Yes | No |
| Trigger sources | Event link | Internal dedicated sample time generator, DMA interrupts/events, FIFO threshold interrupts/events, two hardware triggers (available from event fabric) | Event |
DAC12 Code Examples: information about DAC12 code examples can be found in the MSPM0 SDK examples guide.