2 dac12 reference, Dac12 reference input and voltage output buffers, 3 updating the dac12 voltage output – Texas Instruments MSP430x4xx User Manual

Page 452

Advertising
background image

DAC12 Operation

23-6

DAC12

23.2.2 DAC12 Reference

On MSP430FG43x devices, the reference for the DAC12 is configured to use
either an external reference voltage or the internal 1.5-V/2.5-V reference from
the ADC12 module with the DAC12SREFx bits. When DAC12SREFx = {0,1}
the V

REF+

signal is used as the reference and when DAC12SREFx = {2,3} the

Ve

REF+

signal is used as the reference.

On MSP430x42x0 devices, the reference for the DAC12 is configured to use
AV

CC,

an external reference voltage, or the 1.2-V reference from the SD16

module with the DAC12SREFx bits. When DAC12SREFx = {0,1} AV

CC

is used

as the reference and when DAC12SREFx = {2,3} the V

REF

signal is used as

the reference.

To use an ADC internal reference, it must be enabled and configured via the
applicable ADC control bits.

DAC12 Reference Input and Voltage Output Buffers

The reference input and voltage output buffers of the DAC12 can be
configured for optimized settling time vs power consumption. Eight
combinations are selected using the DAC12AMPx bits. In the low/low setting,
the settling time is the slowest, and the current consumption of both buffers is
the lowest. The medium and high settings have faster settling times, but the
current consumption increases.

See the device-specific data sheet for

parameters.

23.2.3 Updating the DAC12 Voltage Output

The DAC12_xDAT register can be connected directly to the DAC12 core or
double buffered. The trigger for updating the DAC12 voltage output is selected
with the DAC12LSELx bits.

When DAC12LSELx = 0 the data latch is transparent and the DAC12_xDAT
register is applied directly to the DAC12 core. the DAC12 output updates
immediately when new DAC12 data is written to the DAC12_xDAT register,
regardless of the state of the DAC12ENC bit.

When DAC12LSELx = 1, DAC12 data is latched and applied to the DAC12
core after new data is written to DAC12_xDAT. When DAC12LSELx = 2 or 3,
data is latched on the rising edge from the Timer_A CCR1 output or Timer_B
CCR2 output respectively. DAC12ENC must be set to latch the new data when
DAC12LSELx > 0.

Advertising