After power-up, the device can be configured over
the serial interface. The following steps can be used in a typical
configuration.
- After the supplies have ramped to the final
output voltage, issue a hardware or software reset
to make sure the device is in a known state. Allow
approximately 5ms for the device registers to
initialize after the reset event
- Write to the ADC_CONV_CFG_0 and ADC_GEN_CFG registers (in the ADC configuration
register page) to set the ADC conversion rate,
conversion mode, and shunt range.
- Configure the ADC inputs and custom channel sequencer (CCS), by writing to the
ADC_CCS_IDS registers and the ADC_CCS_CFG_0
register (located in the ADC CCS Configuration
register page).
- Set the DAC current limits by writing to the DAC_CURRENT register in the DAC
Configuration register page.
- Initialize the DACs by
configuring the DAC_APD_SRC registers, the
OUT_APD_SRC registers, the ALARMOUT_SRC registers,
the DAC DRVEN_EN registers, and the DAC_CODE_LIMIT
registers (all located in the DAC Configuration
register page).
- Set the ADC and temperature sensor alarm limits by writing to the
ADCn_UP_THRESH, ADCn_LOW_THRESH and TMP_UP_THRESH
registers in the ADC Configuration register page
(where n = 0,1).
- Write the initial DAC output values by writing to the DACAn or DACBn data
registers (where n = 0,1,2,3).
- Enable the DACs by writing to the power enable (PWR_EN) register in the global
register page.
- Initiate a single (or multiple) ADC conversion by writing to the ADC_TRIG bit
in the TRIGGER register (located in the global
register page).
- Update the DAC output values by writing to the DAC_TRIG bit in the TRIGGER
register, if using synchronous mode on the
respective DAC.