Datasheet
Data Sheet AD5780
Rev. E | Page 19 of 28
Standalone Operation
The serial interface works with both a continuous and noncon-
tinuous serial clock. A continuous SCLK source can be used
only if
SYNC
is held low for the correct number of clock cycles.
In gated clock mode, a burst clock containing the exact number
of clock cycles must be used, and
SYNC
must be taken high after
the final clock to latch the data. The first falling edge of
SYNC
starts the write cycle. Exactly 24 falling clock edges must be
applied to SCLK before
SYNC
is brought high again. If
SYNC
is
brought high before the 24
th
falling SCLK edge, the data written
is invalid. If more than 24 falling SCLK edges are applied before
SYNC
is brought high, the input data is also invalid.
The input shift register is updated on the rising edge of
SYNC
.
For another serial transfer to take place,
SYNC
must be brought
low again. After the end of the serial data transfer, data is
automatically transferred from the input shift register to the
addressed register. When the write cycle is complete, the output
can be updated by taking
LDAC
low while
SYNC
is high.
Readback
The contents of all the on-chip registers can be read back via
the SDO pin. Table 7 outlines how the registers are decoded.
After a register has been addressed for a read, the next 24 clock
cycles clock the data out on the SDO pin. The clocks must be
applied while
SYNC
is low. When
SYNC
is returned high, the
SDO pin is placed in tristate. For a read of a single register, the
NOP function can be used to clock out the data. Alternatively,
if more than one register is to be read, the data of the first
register to be addressed can be clocked out at the same time
that the second register to be read is being addressed. The SDO
pin must be enabled to complete a readback operation. The
SDO pin is enabled by default.
HARDWARE CONTROL PINS
Load DAC Function (
LDAC
)
After data has been transferred into the input register of the
DAC, there are two ways to update the DAC register and DAC
output. Depending on the status of both
SYNC
and
LDAC
, one
of two update modes is selected: synchronous DAC update or
asynchronous DAC update.
Synchronous DAC Update
In this mode,
LDAC
is held low while data is being clocked into
the input shift register. The DAC output is updated on the rising
edge of
SYNC
.
Asynchronous DAC Update
In this mode,
LDAC
is held high while data is being clocked
into the input shift register. The DAC output is asynchronously
updated by taking
LDAC
low after
SYNC
has been taken high.
The update now occurs on the falling edge of
LDAC
.
Reset Function (
RESET
)
The AD5780 can be reset to its power-on state by two means:
either by asserting the
RESET
pin or by using the reset function
in the software control register (see Table 13). If the
RESET
pin
is not used, hardwire it to IOV
CC
.
Asynchronous Clear Function (
CLR
)
The
CLR
pin is an active low clear that allows the output to be
cleared to a user defined value. The 18-bit clearcode value is
programmed to the clearcode register (see Table 12). It is
necessary to maintain
CLR
low for a minimum amount of time
to complete the operation (see Figure 2). When the
CLR
signal
is returned high, the output remains at the clear value (if
LDAC
is high) until a new value is loaded to the DAC register. The
output cannot be updated with a new value while the
CLR
pin is
low. A clear operation can also be performed by setting the CLR
bit in the software control register (see Table 13).
ON-CHIP REGISTERS
DAC Register
Table 9 outlines how data is written to and read from the DAC
register.
The following equation describes the ideal transfer function of
the DAC:
( )
REFN
REFNREFP
OUT
V
DVV
V +
×−
=
18
2
where:
V
REFN
is the negative voltage applied at the V
REFN
input pin.
V
REFP
is the positive voltage applied at the V
REFP
input pin.
D is the 18-bit code programmed to the DAC.