Applications information, Table 2. unipolar code table (gain = +2) – Rainbow Electronics MAX5151 User Manual
Page 13
Serial-Data Output
The serial-data output, DOUT, is the internal shift regis-
ter’s output. DOUT allows for daisy chaining of devices
and data readback. The MAX5150/MAX5151 can be
programmed to shift data out of DOUT on SCLK’s
falling edge (Mode 0) or on the rising edge (Mode 1).
Mode 0 provides a lag of 16 clock cycles, which main-
tains compatibility with SPI/QSPI and Microwire inter-
faces. In Mode 1, the output data lags 15.5 clock
cycles. On power-up, the device defaults to Mode 0.
User-Programmable Logic Output (UPO)
UPO allows an external device to be controlled through
the serial interface (Table 1), thereby reducing the
number of microcontroller I/O pins required.
Power-Down Lockout Input (
P
PD
DL
L
)
The power-down lockout pin (PDL) disables software
shutdown when low. When in shutdown, transitioning
PDL from high to low wakes up the part with the output
set to the state prior to shutdown. PDL can also be
used to asynchronously wake up the device.
Daisy Chaining Devices
Any number of MAX5150/MAX5151s can be daisy
chained by connecting the DOUT pin of one device to
the DIN pin of the following device in the chain (Figure 7).
Since the MAX5150/MAX5151’s DOUT pin has an inter-
nal active pull-up, the DOUT sink/source capability
determines the time required to discharge/charge a
capacitive load. Refer to the serial-data-out V
OH
and
V
OL
specifications in the
Electrical Characteristics
.
Figure 8 shows an alternate method of connecting sev-
eral MAX5150/MAX5151s. In this configuration, the
data bus is common to all devices; data is not shifted
through a daisy chain. More I/O lines are required in
this configuration because a dedicated chip-select
input (CS) is required for each IC.
__________Applications Information
Unipolar Output
Figure 9 shows the MAX5150/MAX5151 configured for
unipolar, rail-to-rail operation with a gain of +2. The
MAX5150 can produce a 0V to 4.096V output with
2.048V reference (Figure 9), while the MAX5151 can
produce a range of 0V to 2.5V with a 1.25V reference.
Table 2 lists the unipolar output codes. An offset to the
output can be achieved by connecting a voltage to
OS_, as shown in Figure 10. By applying V
OS
_ = -1V,
the output values will range between 1V and (1V +
V
REF
x 2).
MAX5150/MAX5151
Low-Power, Dual, 13-Bit Voltage-Output DACs
with Serial Interface
Table 2. Unipolar Code Table (Gain = +2)
MAX5150
MAX5151
DAC
GAIN = +2
REF_
OUT_
OS_
DGND
AGND
+5V/+3V
V
DD
R
R
Figure 9. Unipolar Output Circuit (Rail-to-Rail)
MAX5150
MAX5151
DAC _
AGND
DGND
REF_
OUT_
OS_
V
OS
+5V/+3V
V
DD
R
R
______________________________________________________________________________________
13
ANALOG OUTPUT
1 1 1 1 1
1 1 1 1
1 1 1 1
1 0 0 0 0
0 0 0 0
0 0 0 1
DAC CONTENTS
MSB
LSB
1 0 0 0 0
0 0 0 0
0 0 0 0
0 1 1 1 1
1 1 1 1
1 1 1 1
0 0 0 0 0
0 0 0 0
0 0 0 0
0V
0 0 0 0 0
0 0 0 0
0 0 0 1
+V
8191
8192
REF
x 2
+V
4097
8192
REF
x 2
+V
4096
8192
V
REF
REF
=
x 2
+V
4095
8192
REF
x 2
+V
1
8192
REF
x 2
Figure 10. Setting OS_ for Output Offset