beautypg.com

Rainbow Electronics MAX5139 User Manual

Page 12

background image

MAX5138/MAX5139

Daisy chain multiple MAX5138/MAX5139 devices by
connecting the first device conventionally, then connect
its READY output to the CS of the following device.
Repeat for any other devices in the chain, and drive the
SCLK and DIN lines in parallel (Figure 5). When sending
commands to daisy-chained MAX5138/MAX5139s, the
devices are accessed serially starting with the first
device in the chain. The first 24 data bits are read by the
first device, the second 24 data bits are read by the sec-
ond device and so on (Figure 4). Figure 6 shows the
configuration when CS is not driven by the µC. These
devices can be daisy chained with other compatible
devices, such as the MAX5510 and the MAX5511.

To perform a daisy-chain write operation, drive CS low
and output the data serially to DIN. The propagation of
the READY signal then controls how the data is read by
each device. As the data propagates through the daisy
chain, each individual command in the chain is execut-
ed on the 24th falling clock edge following the falling
edge of the respective CS input. To update just one
device in a daisy chain, send the no-op command to
the other devices in the chain.

If READY is not required, write command 0x03 (power
control) and set READY_EN = 0 (see Table 1) to dis-
able the READY output.

Clear Command

The MAX5138/MAX5139 feature a software clear com-
mand (0x02). The software clear command acts as a

software POR, erasing the contents of all registers. The
output returns to the state determined by the M/Z input.

Power-Down Mode

The MAX5138/MAX5139 feature a software-controlled
power-down mode. The internal reference and biasing
circuits power down to conserve power when powered
down. In power-down, the output disconnects from the
buffer and is grounded with an internal 80kΩ resistor.
The DAC register holds the retained code so that the
output is restored when powered up. The serial inter-
face remains active in power-down mode.

Load DAC (

LDAC) Input

The MAX5138/MAX5139 feature an active-low LDAC
logic input that updates the output. Keep LDAC high
during normal operation (when the device is controlled
only through the serial interface). Drive LDAC low to
update the DAC output with data from the input register.
Figure 7 shows the LDAC timing with respect to OUT.
Holding LDAC low causes the input register to become
transparent and data written to the DAC register to
immediately update the DAC output. A software com-
mand can also activate the LDAC operation. To activate
LDAC by software, set control word 0x01 to load the
DAC, and all other data bits to don’t care. See Table 1
for the data format. This operation updates the DAC out-
put if it is flagged with a 1. If the DAC output is flagged
with a 0 it remains unchanged.

Low-Power, Single, 16-/12-Bit,
Buffered Voltage-Output DACs

12

______________________________________________________________________________________

μC

SLAVE 1

SCLK

DIN

CS

READY

MOSI

I/O

SCK

SLAVE 3

SCLK

DIN

CS

READY

SLAVE 2

SCLK

DIN

CS

READY

Figure 5. Daisy-Chain Configuration