Texas Instruments MSP430x1xx Computer Hardware User Manual


 
DAC12 Operation
19-6
DAC12
19.2.4 DAC12_xDAT Data Format
The DAC12 supports both straight binary and 2’s compliment data formats.
When using straight binary data format, the full-scale output value is 0FFFh
in 12-bit mode (0FFh in 8-bit mode) as shown in Figure 19−2.
Figure 19−2. Output Voltage vs DAC12 Data, 12-Bit, Straight Binary Mode
Full-Scale Output
0 0FFFh
0
Output Voltage
DAC Data
When using 2’s compliment data format, the range is shifted such that a
DAC12_xDAT value of 0800h (0080h in 8-bit mode) results in a zero output
voltage, 0000h is the mid-scale output voltage, and 07FFh (007Fh for 8-bit
mode) is the full-scale voltage output as shown in Figure 19−3.
Figure 19−3. Output Voltage vs DAC12 Data, 12-Bit, 2’s Compliment Mode
Full-Scale Output
0800h (−2048) 07FFh (+2047)0
0
Output Voltage
DAC Data
Mid-Scale Output