Datasheet

MAX5251
Figure 5 shows the serial-interface timing requirements.
The chip-select pin (CS) must be low to enable the
DAC’s serial interface. When CS is high, the interface
control circuitry is disabled. CS must go low at least
t
CSS
before the rising serial clock (SCLK) edge to prop-
erly clock in the first bit. When CS is low, data is
clocked into the internal shift register through the serial-
data input pin (DIN) on SCLK’s rising edge. The maxi-
mum guaranteed clock frequency is 10MHz. Data is
latched into the appropriate MAX5251 input/DAC regis-
ters on CS’s rising edge.
The programming command Load-All-DACs-From-Shift-
Register allows all input and DAC registers to be simul-
taneously loaded with the same digital code from the
input shift register. The no operation (NOP) command
leaves the register contents unaffected and is useful
when the MAX5251 is configured in a daisy chain (see
the Daisy Chaining Devices section). The command to
change the clock edge on which serial data is shifted
out of DOUT also loads data from all input registers to
their respective DAC registers.
Serial-Data Output (DOUT)
The serial-data output, DOUT, is the internal shift regis-
ter’s output. The MAX5251 can be programmed so that
data is clocked out of DOUT on SCLK’s rising edge
(Mode 1) or falling edge (Mode 0). In Mode 0, output
data at DOUT lags input data at DIN by 16.5 clock
cycles, maintaining compatibility with MICROWIRE,
SPI/QSPI, and other serial interfaces. In Mode 1, output
data lags input data by 16 clock cycles. On power-up,
DOUT defaults to Mode 0 timing.
User-Programmable Logic Output (UPO)
The user-programmable logic output, UPO, allows an
external device to be controlled through the MAX5251
serial interface (Table 1).
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
10 ______________________________________________________________________________________
Table 1. Serial-Interface Programming Commands
“X” = Don’t care
16-BIT SERIAL WORD
FUNCTION
A1 A0 C1 C0
D9.................D0
MSB.............LSB
S1 S0
00
01
10
11
01
01
01
01
10-bit DAC data
10-bit DAC data
10-bit DAC data
10-bit DAC data
00
00
00
00
Load input register A; DAC registers unchanged.
Load input register B; DAC registers unchanged.
Load input register C; DAC registers unchanged.
Load input register D; DAC registers unchanged.
00
01
10
11
11
11
11
11
10-bit DAC data
10-bit DAC data
10-bit DAC data
10-bit DAC data
00
00
00
00
Load input register A; all DAC registers updated.
Load input register B; all DAC registers updated.
Load input register C; all DAC registers updated.
Load input register D; all DAC registers updated.
0100 XXXXXXXXXX XX
Update all DAC registers from their respective input registers (also exit
shutdown mode).
1000 10-bit DAC data 00Load all DAC registers from shift register (also exit shutdown mode).
1100 XXXXXXXXXX XX
Enter shutdown mode (provided PDL = 1).
0010 XXXXXXXXXX XXUPO goes low (default).
0110 XXXXXXXXXX XXUPO goes high.
0000 XXXXXXXXXX XXNo operation (NOP) to DAC registers
1110 XXXXXXXXXX XX
Mode 1, DOUT clocked out on SCLK’s rising edge. All DAC registers
updated.
1010 XXXXXXXXXX XX
Mode 0, DOUT clocked out on SCLK’s falling edge. All DAC registers
updated (default).