The +5V MAX5250 combines four low-power, voltageoutput, 10-bit digital-to-analog converters (DACs) and
four precision output amplifiers in a space-saving, 20pin package. In addition to the four voltage outputs,
each amplifier’s negative input is also available to the
user. This facilitates specific gain configurations, remote
sensing, and high output drive capacity, making the
MAX5250 ideal for industrial-process-control applications. Other features include software shutdown, hardware shutdown lockout, an active-low reset that clears
all registers and DACs to zero, a user-programmable
logic output, and a serial-data output.
Each DAC has a double-buffered input organized as an
input register followed by a DAC register. A 16-bit serial
word loads data into each input/DAC register. The
3-wire serial interface is compatible with SPI™/QSPI™
and Microwire™. It allows the input and DAC registers to
For free samples & the latest literature: http://www.maxim-ic.com, or phone 1-800-998-8800
Page 2
Low-Power, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
ABSOLUTE MAXIMUM RATINGS
VDDto AGND............................................................-0.3V to +6V
to DGND ...........................................................-0.3V to +6V
V
DD
AGND to DGND..................................................................±0.3V
REFAB, REFCD to AGND...........................-0.3V to (V
OUT_, FB_ to AGND...................................-0.3V to (V
Digital Inputs to DGND.............................................-0.3V to +6V
DOUT, UPO to DGND ................................-0.3V to (V
Continuous Current into Any Pin.......................................±20mA
DD
DD
DD
+ 0.3V)
+ 0.3V)
+ 0.3V)
MAX5250
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.
1AGNDAnalog Ground
2FBADAC A Output Amplifier Feedback
3OUTADAC A Output Voltage
4OUTBDAC B Output Voltage
5FBBDAC B Output Amplifier Feedback
6REFABReference Voltage Input for DAC A and DAC B
7
8
Clear All DACs and Registers. Resets all outputs (OUT_, UPO, DOUT) to 0, active low.
Chip-Select Input. Active low.
Power-Down Lockout. Active low. Locks out software shutdown if low.
MAX5250
15REFCDReference Voltage Input for DAC C and DAC D
16FBCDAC C Output Amplifier Feedback
17OUTCDAC C Output Voltage
18OUTDDAC D Output Voltage
19FBDDAC D Output Amplifier Feedback
20V
Low-Power, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
The impedance at each reference input is code dependent, ranging from a low value of 10kΩ when both
DACs connected to the reference have an input code
of 554 hex, to a high value exceeding several giga
ohms (leakage currents) with an input code of 000 hex.
Because the input impedance at the reference pins is
code dependent, load regulation of the reference
source is important.
The REFAB and REFCD reference inputs have a 10kΩ
guaranteed minimum input impedance. When the two
reference inputs are driven from the same source, the
effective minimum impedance is 5kΩ. A voltage reference with a load regulation of 6ppm/mA, such as the
MAX873, would typically deviate by 0.006LSB (0.015LSB
worst case) when driving both MAX5250 reference
inputs simultaneously at 2.5V. Driving the REFAB and
REFCD pins separately improves reference accuracy.
In shutdown mode, the MAX5250’s REFAB and REFCD
inputs enter a high-impedance state with a typical input
leakage current of 0.01µA.
The reference input capacitance is also code dependent and typically ranges from 20pF with an input code
of all 0s to 100pF at full scale.
Output Amplifiers
All MAX5250 DAC outputs are internally buffered by precision amplifiers with a typical slew rate of 0.6V/µs.
Access to each output amplifier’s inverting input provides
the user greater flexibility in output gain setting/
signal conditioning (see the
section).
With a full-scale transition at the MAX5250 output, the
typical settling time to ±1/2LSB is 10µs when loaded
with 5kΩ in parallel with 100pF (loads less than 2kΩ
degrade performance).
The MAX5250 output amplifier’s output dynamic
responses and settling performances are shown in the
Typical Operating Characteristics
Applications Information
.
Power-Down Mode
The MAX5250 features a software-programmable shutdown that reduces supply current to a typical value of
10µA. The power-down lockout pin (PDL) must be high to
enable shutdown mode. Writing 1100XXXXXXXXXXXX as
the input-control word puts the MAX5250 in power-down
mode (Table 1).
RRR
2R2R2R2R
2R
MAX5250
S0 S1D0
REF_
AGND
SHOWN FOR ALL 1s ON DAC
Figure 1. Simplified DAC Circuit Diagram
_______________Detailed Description
The MAX5250 contains four 10-bit, voltage-output digital-to-analog converters (DACs) that are easily
addressed using a simple 3-wire serial interface. It
includes a 16-bit data-in/data-out shift register, and
each DAC has a doubled-buffered input composed of
an input register and a DAC register (see
Diagram
amplifier’s negative input is available to the user.
The DACs are inverted R-2R ladder networks that con-
vert a digital input (10 data bits plus 2 sub-bits) into
equivalent analog output voltages in proportion to the
applied reference voltage inputs. DACs A and B share
the REFAB reference input, while DACs C and D share
the REFCD reference input. The two reference inputs
allow different full-scale output voltage ranges for each
pair of DACs. Figure 1 shows a simplified circuit diagram of one of the four DACs.
The two reference inputs accept positive DC and AC
signals. The voltage at each reference input sets the
full-scale output voltage for its two corresponding
DACs. The reference input voltage range is 0V to
(VDD- 1.4V). The output voltages (V
sented by a digitally programmable voltage source as:
where NB is the numeric value of the DAC’s binary
input code (0 to 1023), V
and Gain is the externally set voltage gain.
In power-down mode, the MAX5250 output amplifiers
and the reference inputs enter a high-impedance state.
The serial interface remains active. Data in the input
registers is retained in power-down, allowing the
MAX5250 to recall the output states prior to entering
shutdown. Start up from power-down either by recalling
the previous configuration or by updating the DACs
with new data. When powering up the device or bringing it out of shutdown, allow 15µs for the outputs to
stabilize.
Serial-Interface Configurations
The MAX5250’s 3-wire serial interface is compatible
with both Microwire™ (Figure 2) and SPI™/QSPI™
(Figure 3). The serial input word consists of two address
bits and two control bits followed by 10+2 data bits
(MSB first), as shown in Figure 4. The 4-bit address/
control code determines the MAX5250’s response outlined in Table 1. The connection between DOUT and
the serial-interface port is not necessary, but may be
used for data echo. Data held in the MAX5250’s shift
register can be shifted out of DOUT and returned to the
microprocessor (µP) for data verification.
The MAX5250’s digital inputs are double buffered.
Depending on the command issued through the serial
interface, the input register(s) can be loaded without
affecting the DAC register(s), the DAC register(s) can
be loaded directly, or all four DAC registers can be
updated simultaneously from the input registers
(Table 1).
Serial-Interface Description
The MAX5250 requires 16 bits of serial data. Table 1
lists the serial-interface programming commands. For
certain commands, the 10+2 data bits are “don’t
cares.” Data is sent MSB first and can be sent in two
8-bit packets or one 16-bit word (CS must remain low
until 16 bits are transferred). The serial data is composed of two DAC address bits (A1, A0) and two control bits (C1, C0), followed by the 10+2 data bits
D9…D0, S1, S0 (Figure 4). Set both sub-bits (S1, S0) to
zero. The 4-bit address/control code determines:
• The register(s) to be updated
• The clock edge on which data is to be clocked out
via the serial-data output (DOUT)
• The state of the user-programmable logic output
(UPO)
• If the part is to go into shutdown mode (assuming
PDL is high)
• How the part is configured when coming out of shutdown mode.
SCLK
DIN
MAX5250
*THE DOUT-SI CONNECTION IS NOT REQUIRED FOR WRITING TO THE MAX5250,
BUT MAY BE USED FOR READBACK PURPOSES.
Figure 2. Connections for Microwire
MAX5250
*THE DOUT-MISO CONNECTION IS NOT REQUIRED FOR WRITING TO THE MAX5250,
BUT MAY BE USED FOR READBACK PURPOSES.
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
before the rising serial clock (SCLK) edge to prop-
CSS
erly clock in the first bit. When CS is low, data is
clocked into the internal shift register via the serial-data
input pin (DIN) on SCLK’s rising edge. The maximum
guaranteed clock frequency is 10MHz. Data is latched
into the appropriate MAX5250 input/DAC registers on
CS’s rising edge.
The programming command Load-All-DACs-From-ShiftRegister allows all input and DAC registers to be simultaneously 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 MAX5250 is configured in a daisy chain (see
the
Daisy Chaining Devices
01
01
01
01
11
11
11
11
10-bit DAC data
10-bit DAC data
10-bit DAC data
10-bit DAC data
10-bit DAC data
10-bit DAC data
10-bit DAC data
10-bit DAC data
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.
Update all DAC registers from their respective input registers (also exit
shutdown mode).
Enter shutdown mode (provided PDL = 1).
Mode 1, DOUT clocked out on SCLK’s rising edge. All DAC registers
updated.
Mode 0, DOUT clocked out on SCLK’s falling edge. All DAC registers
updated (default).
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 register’s output. The MAX5250 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 via the MAX5250 serial
interface (Table 1).
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 wake up the device asynchronously.
Daisy Chaining Devices
Any number of MAX5250s 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 MAX5250’s DOUT pin has an internal 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
cations in the
Electrical Characteristics.
and VOLspecifi-
OH
Figure 8 shows an alternate method of connecting several MAX5250s. 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.
Page 12
Low-Power, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
MAX5250
SCLK
DIN
CS
Figure 7. Daisy-Chaining MAX5250s
DIN
SCLK
CS1
CS2
CS3
SCLK
DIN
CS
MAX5250
DOUT
SCLK
DIN
CS
MAX5250
DOUT
SCLK
DIN
CS
MAX5250
DOUT
TO OTHER
SERIAL DEVICES
TO OTHER
SERIAL DEVICES
CS
MAX5250
SCLK
DIN
CS
SCLK
DIN
MAX5250
CS
MAX5250
SCLK
DIN
Figure 8. Multiple MAX5250s Sharing a Common DIN Line
For a unipolar output, the output voltages and the reference inputs have the same polarity. Figure 9 shows the
MAX5250 unipolar output circuit, which is also the typical operating circuit. Table 2 lists the unipolar output
codes.
For rail-to-rail outputs, see Figure 10. This circuit shows
the MAX5250 with the output amplifiers configured with
a closed-loop gain of +2 to provide 0V to 5V full-scale
range when a 2.5V reference is used.
Table 2. Unipolar Code Table
DAC CONTENTS
MSBLSB
1111111111(00)+V
1000000001(00)+V
1000000000(00)+V
0111111111(00)+V
0000000001(00)+V
0000000000(00)0V
ANALOG OUTPUT
1023
(——— )
REF
1024
513
(——— )
REF
1024
512+V
(——— )= ————
REF
10242
511
(——— )
REF
1024
1
(——— )
REF
1024
REF
Bipolar Output
The MAX5250 outputs can be configured for bipolar
operation using Figure 11’s circuit:
V
= V
OUT
where NB is the numeric value of the DAC’s binary
input code. Table 3 shows digital codes (offset binary)
and corresponding output voltages for Figure 11’s
circuit.
Low-Power, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
Using an AC Reference
REFERENCE INPUTS
MAX5250
REFAB
REFCD
DAC A
MAX5250
DAC B
DAC C
DAC D
= V
REFCD
= 2.5V
V
REFAB
Figure 10. Unipolar Rail-to-Rail Output Circuit
+5V
V
DD
DGNDAGND
FBA
OUTA
FBB
OUTB
FBC
OUTC
FBD
OUTD
10k
10k
10k
10k
10k
10k
10k
10k
In applications where the reference has AC signal components, the MAX5250 has multiplying capability within
the reference input range specifications. Figure 12
shows a technique for applying a sine-wave signal to
the reference input where the AC signal is offset before
being applied to REFAB/REFCD. The reference voltage
must never be more negative than DGND.
The MAX5250’s total harmonic distortion plus noise
(THD + N) is typically less than -72dB (full-scale code),
given a 1Vp-p signal swing and input frequencies up to
25kHz. The typical -3dB frequency is 650kHz, as
shown in the
Typical Operating Characteristics
Digitally Programmable Current Source
The circuit of Figure 13 places an NPN transistor
(2N3904 or similar) within the op-amp feedback loop to
implement a digitally programmable, unidirectional current source. This circuit can be used to drive 4–20mA
current loops, which are commonly used in industrialcontrol applications. The output current is calculated
with the following equation:
I
= (V
OUT
where NB is the numeric value of the DAC’s binary
input code and R is the sense resistor shown in
Figure 13.
On power-up, all input and DAC registers are cleared
(set to zero code) and DOUT is in Mode 0 (serial data
is shifted out of DOUT on the clock’s falling edge).
For rated MAX5250 performance, limit REFAB/REFCD
to less than 1.4V below VDD. Bypass VDDwith a 4.7µF
capacitor in parallel with a 0.1µF capacitor to AGND.
Use short lead lengths and place the bypass capacitors as close to the supply pins as possible.
__________________Pin Configuration
TOP VIEW
1
AGND
FBA
OUTA
FBB
REFAB
DIN
2
3
4
MAX5250
5
6
7
CL
8
9
10
DIP/SSOP
V
20
DD
FBD
19
OUTD
18
OUTCOUTB
17
16
FBC
15
REFCD
14
PDL
13
UPOCS
12
DOUT
11
DGNDSCLK
MAX5250
Grounding and Layout Considerations
Digital or AC transient signals between AGND and
DGND can create noise at the analog outputs. Tie
AGND and DGND together at the DAC, then tie this
point to the highest-quality ground available.
Good printed circuit board ground layout minimizes
crosstalk between DAC outputs, reference inputs, and
digital inputs. Reduce crosstalk by keeping analog
lines away from digital lines. Wire-wrapped boards are
not recommended.
Low-Power, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
_Ordering Information (continued)___________________Chip Information
PART
MAX5250AEPP
MAX5250BEPP
MAX5250AEAP-40°C to +85°C
TEMP. RANGEPIN-PACKAGE
-40°C to +85°C
-40°C to +85°C
20 Plastic DIP
20 Plastic DIP
20 SSOP
MAX5250BEAP-40°C to +85°C 20 SSOP±1
MAX5250BMJP
MAX5250
*
Contact factory for availability and processing to MIL-STD-883.
-55°C to +125°C
20 CERDIP*±1
INL
(LSB)
±1/2
±1
±1/2
TRANSISTOR COUNT: 4337
________________________________________________________Package Information
DIM
A1
C
α
D
HE
H
C
e
A
SMALL-OUTLINE
B
A1
L
SSOP
SHRINK
PACKAGE
DIM
D
D
D
D
D
INCHES
MIN
A
0.068
0.002
B
0.010
0.004
E
0.205
e
0.301
L
0.025
α
PINS
14
16
20
24
28
MAX
0.078
0.008
0.015
0.008
SEE VARIATIONS
0.209
0.311
0.037
0˚
INCHES
MIN
0.239
0.239
0.278
0.317
0.397
D
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
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.
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
16
__________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 (408) 737-7600