The following sequence of steps are required to setup the buffered DAC for basic operation.
- Enable the buffered DAC clock. See Clock Selection for CONTROLSS_PLL clock controls.
- Select the DACREF source with DACREFSEL bit in the DACCTL register.
- Power up the buffered DAC with DACOUTEN in the CONTROLSS_DAC0_DACOUTEN register.
- Wait for the power-up time to elapse before writing a new voltage value into the CONTROLSS_DAC0_DAC_DACVALS register. See the device-specific data sheet to determine the power-up time of the buffered DAC.
Note: For predictable behavior of the buffered DAC, two consecutive writes to DACVALS must not be spaced greater than 1024 codes apart. Consecutive DACVALS values that are within 1024 codes allow for the required settling time of the buffered DAC.