SLAU846B June 2023 – November 2024 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507
The DAC supports both straight-binary and twos-complement data formats. When using straight-binary data format, the full-scale output value is 0xFFF in 12-bit resolution setting and 0xFF in 8-bit resolution settings (see Figure 16-2).
When using twos-complement data format, the range is shifted so that a DAC data value of 0x800 in 12-bit resolution setting and 0x80 in 8-bit resolution settings results in a zero output voltage, 0x0 is the mid-scale output voltage, and 0x7FF in 12-bit resolution setting and 0x7F in 8-bit resolution settings is the full-scale voltage output (see Figure 16-3).