Datasheet

Evaluation Board User Guide UG-244
Rev. B | Page 7 of 16
CONTROL OF DIGITAL PINS
The
RESET
,
LDAC
, POC, and ALERT pins can all be controlled
by clicking the relevant boxes shown in
Figure 9. The FAULT
and ALERT boxes display the status of the ALERT and
FAULT
pins. The
FAULT
and ALERT pins of the device are polled by
the evaluation software every ~100 ms. The
FAULT
pin is also
connected to the reference LED, D1, on the evaluations board,
and ALERT is connected to the orange LED, D14.
WRITING TO DATA REGISTERS
This function allows you to write to all the data registers.
Select the register to write to from the pull-down menu, enter
the 16-bit data-word to be written (in hexadecimal) and click
WRITE to load data to the register. Note that the gain and
offset registers do not update until the DAC has been written to.
READING FROM REGISTERS
This function allows you to read from all the data registers,
control registers, and the status register. Select the register to
read from the pull-down menu and click READ. The 16 bits of
LSB data appear in the number box in hexadecimal format.
WRITING TO THE DAC CONTROL REGISTERS
This function allows you to write to and configure the DAC
control register for a selected channel. Select the required DAC
channel to be configured from the pull-down menu. After
configuring the settings you require, click WRITE to write to
the device. The LSB data written to the selected channels DAC
control register is shown in the register display at the top right
of Figure 12.
Table 9. DAC Control Register Functions
Option Description
EN Internal Powers up internal amplifiers. This should be
done when enabling the output.
EN Clear Selects if the channel clears when the CLEAR
pin is activated.
EN Output Enables/disables the selected output channel.
Rset Selects whether internal or external sense
resistor is used when using a current range.
EN DC-DC Powers up/down the dc-to-dc converter on a
selected channel. To correctly power down the
dc-to-dc converter, EN Output and EN Internal
must also be disabled.
Over-Range Enables/disables 20% overrange. This is
available on V
OUT
ranges only.
Output Range Selects the output range for the specified
channel.
09633-008
Figure 9. Digital Pin Controls and Indicators in the Evaluation Software
09633-009
Figure 10. Write to Data Register in the Evaluation Software
09633-010
Figure 11. Read from Register in the Evaluation Software
09633-011
Figure 12. Write to the DAC Control Registers in the Evaluation Software