SLAAEF9 November 2023 MSPM0C1104 , MSPM0G3507 , MSPM0L1306
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.
Feature | RL78 | MSPM0 |
---|---|---|
Resolution | 12 bits | 12 bits (11 ENOB) |
Output rate | 33 kSPS | 1 MSPS |
Output channels | 2 (1) | 1 (3) |
Data formats | 12-bit right aligned, 12-bit left aligned | 8-bit right aligned, 12-bit right aligned, two's complement or straight binary |
DMA integration | Yes (DTC) | Yes |
Output routing | External Pins | External Pins |
Internal peripheral connections: OPA IN+, COMP IN+, ADC0 | ||
Internal reference voltage | Yes, 1.48 V | Yes, 2.5 V or 1.4 V |
External reference voltage | Yes | Yes |
FIFO | No | Yes |
Output buffer | No | Yes |
Configurable output offset | No | Yes |
Self-calibration mode | No | Yes |
Trigger sources | Event link | Internal dedicated sample time generator, DMA interrupts/events, FIFO threshold interrupts/events, two hardware triggers (available from event fabric) |
DAC12 Code Examples
Information about DAC12 code examples can be found in the MSPM0 SDK examples guide.