AD5370
TOGGLE MODE
The AD5370 has two X2 registers per channel, X2A and X2B,
that can be used to switch the DAC output between two levels
with ease. This approach greatly reduces the overhead required
by a microprocessor that would otherwise have to write to each
channel individually. When the user writes to the X1A, X2A, M,
or C register, the calculation engine takes a certain amount of
time to calculate the appropriate X2A or X2B value. If the
application only requires that the DAC output switch between
two levels, as is the case with a data generator, any method that
reduces the amount of calculation time necessary is advantageous.
For the data generator example, the user need only set the high
and low levels for each channel once by writing to the X1A and
X1B registers. The values of X2A and X2B are calculated and
stored in their respective registers. The calculation delay
therefore happens only during the setup phase, that is, when
programming the initial values. To toggle a DAC output
between the two levels, it is only required to write to the
relevant A/B select register to set the MUX2 register bit. Further-
more, because there are eight MUX2 control bits per register, it
is possible to update eight channels with a single write. Table 15
shows the bits that correspond to each DAC output.
Rev. 0 | Page 20 of 28