The MAX531/MAX538/MAX539 are low-power, voltageoutput, 12-bit digital-to-analog converters (DACs) specified for single +5V power-supply operation. The MAX531
can also be operated with ±5V supplies. The
MAX538/MAX539 draw only 140µA, and the MAX531
(with internal reference) draws only 260µA. The
MAX538/MAX539 come in 8-pin DIP and SO packages,
while the MAX531 comes in 14-pin DIP and SO packages. All parts have been trimmed for offset voltage,
gain, and linearity, so no further adjustment is necessary.
The MAX538’s buffer is fixed at a gain of +1 and the
MAX539’s buffer at a gain of +2. The MAX531’s internal
op amp may be configured for a gain of +1 or +2, as
well as for unipolar or bipolar output voltages. The
MAX531 can also be used as a four-quadrant multiplier
without external resistors or op amps.
For parallel data inputs, see the MAX530 data sheet.
_______________________Applications
Battery-Powered Test Instruments
Digital Offset and Gain Adjustment
Battery-Operated/Remote Industrial Controls
Machine and Motion Control Devices
Cellular Telephones
________________Functional Diagram
(MAX531 ONLY)
REFOUT
REFIN
(MAX531 ONLY)
BIPOFF
___________________________Features
♦ Operate from Single +5V Supply
♦ Buffered Voltage Output
♦ Internal 2.048V Reference (MAX531)
♦ 140µA Supply Current (MAX538/MAX539)
♦ INL = ±1/2LSB (max)
♦ Guaranteed Monotonic over Temperature
♦ Flexible Output Ranges:
0V to VDD(MAX531/MAX539)
VSSto VDD(MAX531)
0V to 2.6V (MAX531/MAX538)
♦ 8-Pin SO/DIP (MAX538/MAX539)
♦ Power-On Reset
♦ Serial Data Output for Daisy-Chaining
______________Ordering Information
PARTTEMP. RANGEPIN-PACKAGE
MAX531ACPD
MAX531BCPD0°C to +70°C14 Plastic DIP
MAX531ACSD0°C to +70°C14 SO
MAX531BCSD0°C to +70°C14 SO
MAX531BC/D0°C to +70°CDice*±1
Ordering Information continued at end of data sheet.
(Note 1) ................................................................VSS, V
V
OUT
Continuous Current, Any Pin................................-20mA, +20mA
Note 1: The output may be shorted to VDD, V
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
- 0.3V), (V
SS
- 0.3V), (V
SS
- 0.3V), (V
SS
SS
+ 0.3V)
DD
+ 0.3V)
DD
+ 0.3V)
DD
+ 0.3V)
DD
+ 0.3V)
DD
DD
or AGND if the package power dissipation limit is not exceeded.
Input High
Input Low
Input Current
Input CapacitanceC
V
IH
V
IL
I
IN
IN
VIN= 0V or V
DD
2.4
8
DIGITAL OUTPUT (DOUT)
Output High
Output LowV
V
OH
OL
I
SOURCE
I
SINK
= 2mA
= 2mA
V
- 1
DD
DYNAMIC PERFORMANCE
Voltage-Output Slew RateSR0.150.25V/µs
Voltage-Output Settling Time25µs
Digital Feedthrough
Signal-to-Noise plus DistortionSINAD68dB
TA= +25°C
To ±1/2LSB, VOUT = 2V
CS = VDD, DIN = 100kHz
REFIN = 1kHz, 2Vp-p (G = +1 or +2),
code = FFF hex
5nV-s
POWER SUPPLY
Positive Supply VoltageV
Power-Supply CurrentI
DD
DD
All inputs = 0V or VDD,
output = no load
MAX531
MAX538, MAX539
4.55.5V
260400
140300
SWITCHING CHARACTERISTICS
CS Setup Time
SCLK Fall to CS Fall Hold Time
SCLK Fall to CS Rise Hold Time
SCLK High Widtht
SCLK Low Widtht
DIN Setup Timet
DIN Hold Timet
DOUT Valid Propagation Delayt
CS High Pulse Width
CLR Pulse Width
CS Rise to SCLK Rise Setup Time
Voltage-Output Slew RateSR
Voltage-Output Settling Time25µs
Digital Feedthrough
Signal-to-Noise plus Distortion
POWER SUPPLY
Positive Supply Voltage
Negative Supply Voltage
Positive Supply CurrentI
Negative Supply CurrentI
SWITCHING CHARACTERISTICS
CS Setup Time
SCLK Fall to CS Fall Hold Time
SCLK Fall to CS Rise Hold Time
SCLK High Widtht
SCLK Low Widtht
DIN Setup Timet
DIN Hold Timet
DOUT Valid Propagation Delayt
CS High Pulse Width
CLR Pulse Width
CS Rise to SCLK Rise Setup Time
Note 2: In single-supply operation, INL and GE calculated from code 11 to code 4095. Tested at VDD= +5V.
Note 3: This specification applies to both gain-error power-supply rejection ratio and offset-error power-supply rejection ratio.
Note 4: Guaranteed by design.
Note 5: Tested at I
= 100µA. The reference can typically source up to 5mA (see
Clear. Asynchronously sets
DAC register to 000 hex.
Chip Select, active low
Serial Data Output for
daisy-chaining
Reference Output,
2.048V
Negative Power Supply
_______________Detailed Description
General DAC Discussion
The MAX531/MAX538/MAX539 use an “inverted” R-2R
ladder network with a single-supply CMOS op amp to convert 12-bit digital data to analog voltage levels (see
Functional Diagram)
ladder network because the REFIN pin in current-output
DACs is the summing junction, or virtual ground, of an op
amp. However, such use would result in the output voltage
being the inverse of the reference voltage. The
MAX531/MAX538/MAX539’s topology makes the output
the same polarity as the reference input.
An internal reset circuit forces the DAC register to reset to
000 hex on power-up. Additionally, a clear CLR pin, when
held low, sets the DAC register to 000 hex. CLR operates
asynchronously and independently from the chip-select
(CS) pin.
The output buffer is a unity-gain stable, rail-to-rail output,
BiCMOS op amp. Input offset voltage and CMRR are
trimmed to achieve better than 12-bit performance.
Settling time is 25µs to 0.01% of final value. The settling
time is considerably longer when the DAC code is initially
set to 000 hex, because at this code the op amp is completely debiased. Start from code 001 hex if necessary.
The output is short-circuit protected and can drive a 2kΩ
load with more than 100pF load capacitance.
The on-chip reference is lesser trimmed to generate 2.048V
at REFOUT. The output stage can source and sink current,
so REFOUT can settle to the correct voltage quickly in
response to code-dependent loading changes. Typically,
source current is 5mA and sink current is 100µA.
REFOUT connects the internal reference to the R-2R DAC
ladder at REFIN. The R-2R ladder draws 50µA maximum
load current. If any other connection is made to REFOUT,
ensure that the total load current is less than 100µA to
avoid gain errors.
For applications requiring very low-noise performance,
connect a 33µF capacitor from REFOUT to AGND. If noise
is not a concern, a lower value capacitor (3.3µF min) may
be used. To reduce noise further, insert a buffered RC filter
between REFOUT and REFIN (Figure 2). The reference
bypass capacitor, C
REFOUT
, is still required for reference
stability. In applications not requiring the reference, connect REFOUT to VDDor use the MAX538 or MAX539 (no
internal reference).
External Reference
An external reference in the range (VSS+ 2V) to (VDD- 2V)
may be used with the MAX531 in dual-supply operation.
With the MAX538/MAX539 or the MAX531 in single-supply
use, the reference must be positive and may not exceed
VDD- 2V. The reference voltage determines the DAC’s fullscale output. The DAC input resistance is code dependent
and is minimum (40kΩ) at code 555 hex and virtually infi-
nite at code 000 hex. REFIN’s input capacitance is also
code dependent and has a 50pF maximum value at several codes. Because of the code-dependent nature of reference input impedances, a high-quality, low-output-impedance amplifier (such as the MAX480 low-power, precision
op amp) should be used.
If an upgrade to the internal reference is required, the 2.5V
MAX873A is suitable: ±15mV initial accuracy, TCV
OUT
7ppm/°C (max).
Logic Interface
The MAX531/MAX538/MAX539 logic inputs are designed to
be compatible with TTL or CMOS logic levels. However, to
achieve the lowest power dissipation, drive the digital inputs
with rail-to-rail CMOS logic. With TTL logic levels, the power
requirement increases by a factor of approximately 2.
Serial Clock and Update Rate
Figure 1 shows the MAX531/MAX538/MAX539 timing. The
maximum serial clock rate is given by 1 / (t
CH
+ tCL),
approximately 14MHz. The digital update rate is limited by
the chip-select period, which is 16 x (tCH+ tCL) + t
CSW
This equals a 1.14µs, or 877kHz, update rate. However, the
DAC settling time to 12 bits is 25µs, which may limit the
update rate to 40kHz for full-scale step transitions.
____________Applications Information
Refer to Figures 3a and 3b for typical operating connections.
Serial Interface
The MAX531/MAX538/MAX539 use a three-wire serial
interface that is compatible with SPI™, QSPI™
(CPOL = CPHA = 0), and Microwire™ standards as shown
in Figures 4 and 5. The DAC is programmed by writing two
8-bit words (see Figure 1 and the
Sixteen bits of serial data are clocked into the DAC MSB
first with the MSB preceded by four fill (dummy) bits. The
four dummy bits are not normally needed. They are
required only when DACs are daisy-chained. Data is
clocked in on SCLK’s rising edge while CS is low. The serial input data is held in a 16-bit serial shift register. On CS
rising edge, the 12 least significant bits are transferred to
the DAC register and update the DAC. With CS
cannot be clocked into the MAX531/MAX538/MAX539.
The MAX531/MAX538/MAX539 input data in 16-bit blocks.
The SPI and Microwire interfaces output data in 8-bit
blocks, thereby requiring two write cycles to input data to
the DAC. The QSPI interface allows variable data input
from eight to 16 bits, and can be loaded into the DAC in
one write cycle.
SPI and QSPI are trademarks of Motorola, Inc.
Microwire is a trademark of National Semiconductor Corp.
+5V, Low-Power, Voltage-Output,
Serial 12-Bit DACs
DIN DOUT SCLKCSCLR
REFIN
INVERTED
R-2R DAC
REFOUT
2.048V
AGND DGND
33µF
Figure 3a. MAX531 Typical Operating Circuit
MAX531
V
0.1µF
0.1µF
V
DD
SS
2R
2R
+5V
0V TO -5V
VOUT
RFB
BIPOFF
CONNECT BIPOFF
TO VOUT FOR G = 1,
TO AGND FOR G = 2,
OR TO REFIN FOR
BIPOLAR GAIN
Daisy-Chaining Devices
The serial output, DOUT, allows cascading of two or
more DACs. The data at DIN appears at DOUT,
MAX531/MAX538/MAX539
delayed by 16 clock cycles plus one clock width. For
low power, DOUT is a CMOS output that does not
require an external pull-up resistor. DOUT does not go
into a high-impedance state when CS is high. DOUT
changes on SCLK’s falling edge when CS is low. When
CS is high, DOUT remains in the state of the last data
bit.
Any number of MAX531/MAX538/MAX539 DACs can
be daisy-chained by connecting the DOUT of one
device to the DIN of the next device in the chain. For
proper timing, ensure that tCL(CS low to SCLK high) is
greater than tDO+ tDS.
Unipolar Configuration
The MAX531 is configured for a gain of +1 (0V to V
unipolar output) by connecting BIPOFF and RFB to
VOUT (Figure 6). The converter operates from either single or dual supplies in this configuration. See Table 1 for
the DAC-latch contents (input) vs. the analog VOUT
(output). In this range, 1LSB = V
REFIN
MAX538 is internally configured for unipolar gain = +1
operation.
A gain of +2 (0V to 2V
unipolar output) is set up
REFIN
by connecting BIPOFF to AGND and RFB to VOUT
(Figure 7). Table 2 shows the DAC-latch contents vs.
VOUT. The MAX531 operates from either single or dual
supplies in this mode. In this range, 1LSB = (2)(V
(2
-12
) = (V
REFIN
-11
)(2
). The MAX539 is internally config-
VOUT
REFIN
ured for unipolar gain = +2 operation.
Bipolar Configuration
A bipolar range is set up by connecting BIPOFF to
REFIN and RFB to VOUT, and operating from dual
(±5V) supplies (Figure 8). Table 3 shows the DAC-latch
contents (input) vs. VOUT (output). In this range,
1LSB = V
REFIN
(2
-11
).
Four-Quadrant Multiplication
The MAX531 can be used as a four-quadrant multiplier
by connecting BIPOFF to REFIN and RFB to VOUT,
using (1) an offset binary digital code, (2) bipolar power
supplies, using dual power supplies, and (3) a bipolar
analog input at REFIN within the range VSS+ 2V to V
- 2V, as shown in Figure 9.
In general, a 12-bit DAC’s output is (D) (V
REFIN)
where “G” is the gain (+1 or +2) and “D” is the binary
representation of the digital input divided by 212or
4096. This formula is precise for unipolar operation.
However, for bipolar, offset binary operation, the MSB is
really a polarity bit. No resolution is lost, as there are
the same number of steps. The output voltage, however, has been shifted from a range of, for example, 0V to
4.096V (G = +2) to a range of -2.048V to +2.048V.
Keep in mind that when using the DAC as a four-quad-
rant multiplier, the scale is skewed. Negative full scale
is -V
Figure 7. Unipolar Configuration (0V to +4.096V Output)
Table 2. Unipolar Binary Code Table
(0V to 2V
11111111
10000000
10000000
01111111
00000000
00000000
REFIN
INPUTOUTPUT
Output), Gain = +2
1111
0001
0000
1111
0001
0000
+2 (V
+2 (V
+2 (V
+2 (V
+2 (V
REFIN
REFIN
REFIN
REFIN
REFIN
OV
)
)
)
)
)
4095
4096
2049
4096
2048
4096
2047
4096
4096
= +V
REFIN
1
+5V, Low-Power, Voltage-Output,
Serial 12-Bit DACs
Table 3. Bipolar (Offset Binary) Code
+5V
Table (-V
REFIN
to +V
REFIN
Output)
REFIN
REFOUT
33µF
Figure 8. Bipolar Configuration (-2.048V to +2.048V Output)
MAX531
AGND
DGND
-5V
BIPOFF
RFB
VOUT
V
OUT
Single-Supply Linearity
As with any amplifier, the MAX531/MAX538/MAX539’s
output buffer can be positive or negative. When the off-
MAX531/MAX538/MAX539
set is positive, it is easily accounted for (Figure 10).
However, when the offset is negative, the buffer output
cannot follow linearly when there is no negative supply.
In that case, the amplifier output (VOUT) remains at
ground until the DAC voltage is sufficient to overcome
the offset and the output becomes positive.
Normally, linearity is measured after accounting for
zero error and gain error. Since, in single-supply operation, the actual value of a negative offset is unknown, it
cannot be accounted for during test. Additionally, the
output buffer amplifier exhibits a nonlinearity near-zero
output when operating with a single supply. To account
for this nonlinearity in the MAX531/MAX538/MAX539,
linearity and gain error are measured from code 11 to
code 4095. The output buffer’s offset and nonlinear
behavior do not affect monotonicity, and these DACs
are guaranteed monotonic starting with code zero. In
dual-supply operation, linearity and gain error are measured from code 0 to 4095.
Power-Supply Bypassing and
Ground Management
Best system performance is obtained with printed circuit boards that use separate analog and digital
ground planes. Wire-wrap boards are not recommended. The two ground planes should be connected
together at the low-impedance power-supply source.
INPUT
11111111
10000000
10000000
01111111
00000000
00000000
1111
0001
0000
1111
0001
0000
OUTPUT
(+V
REFIN
(+V
REFIN
(-V
REFIN
(-V
REFIN
(-V
REFIN
)
0V
)
2047
)
2048
2048
2048
2047
)
2048
2048
)
2048
1
1
= -V
REFIN
DGND and AGND should be connected together at the
chip. For the MAX531 in single-supply applications,
connect VSSto AGND at the chip. The best ground
connection may be achieved by connecting the DAC’s
DGND and AGND pins together and connecting that
point to the system analog ground plane. If the DAC’s
DGND is connected to the system digital ground, digital noise may get through to the DAC’s analog portion.
Bypass VDD(and VSSin dual-supply mode) with a
0.1µF ceramic capacitor, connected between VDDand
AGND (and between VSSand AGND). Mount with short
leads close to the device. Ferrite beads may also be
used to further isolate the analog and digital power
supplies.
Figures 11a and 11b illustrate the grounding and
bypassing scheme described.
Saving Power
When the DAC is not being used by the system, minimize power consumption by setting the appropriate
code to minimize load current. For example, in bipolar
mode, with a resistive load to ground, set the DAC
code to mid-scale (Table 3). If there is no output load,
minimize internal loading on the reference by setting
the DAC to all 0s (on the MAX531, use CLR). Under this
condition, REFIN is high impedance and the op amp
operates at its minimum quiescent current. Due to
these low current levels, the output settling time for an
input code close to 0 typically increases to 60µs (no
more than 100µs).
Figure 9. MAX531 Connected as Four-Quadrant Multiplier. The
unused REFOUT is connected to V
DD
.
AC Considerations
Digital Feedthrough
High-speed serial data at any of the digital input or output
pins may couple through the DAC package and cause
internal stray capacitance to appear at the DAC output as
noise, even though CS is held high (see
Characteristics
). This digital feedthrough is tested by hold-
Typical Operating
ing CS high, transmitting 555 hex from DIN to DOUT.
Analog Feedthrough
Because of internal stray capacitance, higher frequency
analog input signals may couple to the output as shown in
the Analog Feedthrough vs. Frequency graph in the
Typical Operating Characteristics
. It is tested by holding
CS high, setting the DAC code to all 0s, and sweeping
REFIN.
+5V, Low-Power, Voltage-Output,
Serial 12-Bit DACs
__Ordering Information (continued)
PIN-PACKAGETEMP. RANGEPART
14 Plastic DIP-40°C to +85°CMAX531AEPD
14 Plastic DIP-40°C to +85°CMAX531BEPD
14 SO-40°C to +85°CMAX531AESD
MAX538ACPA
Dice*0°C to +70°CMAX538BC/D
MAX539ACPA
MAX531/MAX538/MAX539
*Dice are specified at TA= +25°C only.
ERROR
(LSB)
±1/2
±1
±1/2
±114 SO-40°C to +85°CMAX531BESD
±1/28 Plastic DIP0°C to +70°C
±18 Plastic DIP0°C to +70°CMAX538BCPA
±1/28 SO0°C to +70°CMAX538ACSA
±18 SO0°C to +70°CMAX538BCSA
±1
±1/28 Plastic DIP-40°C to +85°CMAX538AEPA
±18 Plastic DIP-40°C to +85°CMAX538BEPA
±1/28 SO-40°C to +85°CMAX538AESA
±18 SO-40°C to +85°CMAX538BESA
±1/28 Plastic DIP0°C to +70°C
±18 Plastic DIP0°C to +70°CMAX539BCPA
±1/28 SO0°C to +70°CMAX539ACSA
±18 SO0°C to +70°CMAX539BCSA
±1Dice*0°C to +70°CMAX539BC/D
±1/28 Plastic DIP-40°C to +85°CMAX539AEPA
±18 Plastic DIP-40°C to +85°CMAX539BEPA
±1/28 SO-40°C to +85°CMAX539AESA
±18 SO-40°C to +85°CMAX539BESA
+5V, Low-Power, Voltage-Output,
Serial 12-Bit DACs
__________________________________________Package Information (continued)
SOICN.EPS
MAX531/MAX538/MAX539
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
16
__________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 (408) 737-7600