The MAX5138/MAX5139 are a family of single-channel
pin-compatible and software-compatible 16-bit and 12bit DACs. The MAX5138/MAX5139 are low-power, 16bit/12-bit, buffered voltage-output, high-linearity DACs.
They use a precision internal reference or a precision
external reference for rail-to-rail operation. The
MAX5138/MAX5139 accept a wide +2.7V to +5.25V supply-voltage range to accommodate most low-power and
low-voltage applications. These devices accept a 3-wire
SPI
TM
-/QSPITM-/MICROWIRETM-/DSP-compatible serial
interface to save board space and reduce the complexity of optically isolated and transformer-isolated applications. The digital interface’s double-buffered hardware
and software LDAC provide simultaneous output update.
The serial interface features a READY output for easy
daisy-chaining of several MAX5138/MAX5139 devices
and/or other compatible devices. The MAX5138/MAX5139
include a hardware input to reset the DAC outputs to
zero or midscale upon power-up or reset, providing
additional safety for applications that drive valves or
other transducers that need to be off during power-up.
The high linearity of the DACs makes these devices ideal
for precision control and instrumentation applications.
The MAX5138/MAX5139 are available in an ultra-small
(3mm x 3mm), 16-pin TQFN package and are specified
over the -40°C to +105°C extended industrial temperature range.
Applications
Automatic Test Equipment
Automatic Tuning
Communication Systems
Data Acquisition
Gain and Offset Adjustment
Portable Instrumentation
Power-Amplifier Control
Process Control and Servo Loops
Programmable Voltage and Current Sources
Features
o 16-/12-Bit Resolution in a 3mm x 3mm, 16-Pin
TQFN Package
o Hardware-Selectable on Power-Up or Reset-to-
Zero/Midscale DAC Output
o Double-Buffered Input Registers
o LDAC Asynchronously Updates DAC Output
o READY Facilitates Daisy Chaining
o High-Performance 10ppm/°C Internal Reference
o Guaranteed Monotonic Over All Operating
Conditions
o Wide +2.7V to +5.25V Supply Range
o Rail-to-Rail Buffered Output Operation
o Low Gain Error (Less Than ±0.5% FS) and Offset
(Less Than ±10mV)
o 30MHz 3-Wire SPI-/QSPI-/MICROWIRE-/
DSP-Compatible Serial Interface
o CMOS-Compatible Inputs with Hysteresis
o Low Power Consumption (I
, unless otherwise noted. Typical values are at TA= +25°C.)
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.
AVDD to AGND ........................................................-0.3V to +6V
DVDD to AGND ........................................................-0.3V to +6V
OUT to AGND...............................................-0.3V to the lower of
(AVDD + 0.3V) and +6V
REFI, REFO, M/Z to AGND...........................-0.3V to the lower of
(AVDD + 0.3V) and +6V
SCLK, DIN, CS to AGND..............................-0.3V to the lower of
(DVDD + 0.3V) and +6V
LDAC, READY to AGND...............................-0.3V to the lower of
(DVDD + 0.3V) and +6V
Continuous Power Dissipation (T
A
= +70°C)
16-Pin TQFN (derate at 14.7mW/°C above +70°C) ..1176.5mW
Maximum Current into Any Input or Output
with the Exception of M/Z Pin .......................................±50mA
Maximum Current into M/Z Pin ...........................................±5mA
Operating Temperature Range .........................-40°C to +105°C
Storage Temperature Range .............................-65°C to +150°C
Lead Temperature (soldering, 10s) .................................+300°C
, unless otherwise noted. Typical values are at TA= +25°C.)
Note 1: Static accuracy tested without load.
Note 2: Linearity is tested within 20mV of AGND and AVDD
,
allowing for gain and offset error.
Note 3: Codes above 2047 are guaranteed to be within ±9 LSB
.
Note 4: Gain and offset tested within 100mV of AGND and AVDD
.
Note 5: Guaranteed by design.
Note 6: Device draws current in excess of the specified supply current when a digital input is driven with a voltage of VI < DVDD - 0.6V
or VI > 0.5V. At VI = 2.2V with DVDD = 5.25V, this current can be as high as 2mA. The SPI inputs are CMOS-input-level compatible. The 30MHz clock frequency cannot be guaranteed for a minimum signal swing.
Note 7: Excess current from AVDD is 10mA when powered without DVDD. Excess current from DVDD is 1mA when powered without
AVDD.
Note 8: All timing specifications are with respect to the digital input and output thresholds.
Note 9: Maximum daisy-chain clock frequency is limited to 25MHz.
C7
C6
C5D2
D1
D0
X
COMMAND EXECUTED ON
24th FALLING EDGE OF SCLK
CS
SCLK
DIN
X = DON'T CARE.
t
CH
t
CL
t
CSS
t
DH
t
CSH
t
DS
t
SRL
READY
X
t
CSW
D3
Figure 1. Serial-Interface Timing Diagram
PARAMETERSYMBOLCONDITIONSMINTYPMAXUNITS
POWER REQUIREMENTS (Note 7)
Analog Supply Voltage RangeAVDD2.75.25V
Digital Supply Voltage RangeDVDD2.7AVDDV
Supply Current
Power-Down Supply Current
I
AVDD
I
DVDD
I
AVPD
I
DVPD
No load, all digital inputs at 0 or DVDD
No load, all digital inputs at 0 or DVDD
11.6mA
110µA
0.22
0.12
TIMING CHARACTERISTICS (Note 8) (Figure 1)
Serial-Clock Frequencyf
SCLK Pulse-Width Hight
SCLK Pulse-Width Lowt
CS Fall-to-SCLK Fall Setup Timet
SCLK Fall-to CS-Rise Hold Timet
DIN-to-SCLK Fall Setup Timet
DIN-to-SCLK Fall Hold Timet
SCLK Fall to READY Transitiont
The MAX5138/MAX5139 are a family of single-channel,
pin-compatible and software-compatible, 16-bit and 12bit DACs. The parts are low-power, buffered voltageoutput, high-linearity DACs. The MAX5138/MAX5139
minimize the digital noise feedthrough from input to output by powering down the SCLK and DIN input buffers
after completion of each 24-bit serial input. On powerup, the MAX5138/MAX5139 reset the DAC output to zero
or midscale, depending on the state of the M/Z input,
providing additional safety for applications that drive
valves or other transducers that need to be off on powerup. The MAX5138/MAX5139 contain a segmented resistor string-type DAC, a serial-in parallel-out shift register,
a DAC register, power-on reset (POR) circuit, and control logic. On the falling edge of the clock (SCLK) pulse,
the serial input (DIN) data is shifted into the device, MSB
first. During power-down, an internal 80kΩ resistor pulls
DAC outputs to AGND.
Output Amplifier (OUT)
The MAX5138/MAX5139 include an internal buffer for the
DAC output. The internal buffer provides improved load
regulation and transition glitch suppression for the DAC
output. The output buffer slews at 1.25V/µs and drives up
to 2kΩ in parallel with 200pF. The analog supply voltage
(AVDD) determines the maximum output voltage range
of the device as AVDD powers the output buffer.
DAC Reference
Internal Reference
The MAX5138/MAX5139 feature an internal reference
with a nominal +2.44V output. Connect REFO to REFI
when using the internal reference. Bypass REFO to
AGND with a 47pF (maximum 100pF) capacitor.
Alternatively, if heavier decoupling is required, add a
1kΩ resistor in series with a 1µF capacitor in parallel
with the existing 100pF capacitor. REFO can deliver up
to 100µA of current with no degradation in performance. Configure other reference voltages by applying
a resistive potential divider with a total resistance
greater than 33kΩ from REFO to AGND.
8AGNDAnalog Ground. Internally connected to AGND. Connect AGND to AGND externally.
10READYData Output
11DVDDDigital Power Supply. Bypass DVDD with a 0.1µF capacitor to AGND.
12OUTBuffered DAC Output
13AVDDAnalog Power Supply. Bypass AVDD with a 0.1µF capacitor to AGND.
14REFIReference Voltage Input. Bypass REFI with a 0.1µF capacitor to AGND.
15REFOReference Voltage Output
16AGNDDAC Ground. Internally connected to AGND. Connect AGND to AGND externally.
—EP
Power-Up Reset Select. Connect M/Z low to AGND to power up the DAC output. Connect M/Z
high to power up the DAC output to midscale.
Exposed Pad. Not internally connected. Connect to a ground or leave unconnected. Not intended
as an electrical connection point.
MAX5138/MAX5139
External Reference
The external reference input features a typical input
impedance of 113kΩ and accepts an input voltage
from +2V to AVDD. Connect an external voltage
supply between REFI and AGND to apply an external reference. Leave REFO unconnected. Visit
www.maxim-ic.com/products/references for a list of
available external voltage-reference devices.
AVDD as Reference
Connect AVDD to REFI to use AVDD as the reference
voltage. Leave REFO unconnected.
Serial Interface
The MAX5138/MAX5139 3-wire serial interface is compatible with MICROWIRE, SPI, QSPI, and DSPs (Figures
2, 3). The interface provides three inputs, SCLK, CS,
and DIN and one output, READY. Use READY to verify
communication or to daisy-chain multiple devices (see
the
READY
section). READY is capable of driving a
20pF load with a 30ns (max) delay from the falling edge
of SCLK. The chip-select input (CS) frames the serial
data loading at DIN. Following a chip-select input’s
high-to-low transition, the data is shifted synchronously
and latched into the input register on each falling edge
of the serial-clock input (SCLK). Each serial word is 24
bits. The first 8 bits are the control word followed by 16
data bits (MSB first), as shown in Table 1. The serial
input register transfers its contents to the input registers
after loading 24 bits of data. To initiate a new data
transfer, drive CS high and keep CS high for a minimum
of 33ns before the next write sequence. The SCLK can
be either high or low between CS write pulses. Figure 1
shows the timing diagram for the complete 3-wire serialinterface transmission.
The MAX5138/MAX5139 digital input is double buffered.
Depending on the command issued through the serial
interface, the input register can be loaded without affecting the DAC register using the write command. To update
the DAC register, either pulse the LDAC input low, or use
the software LDAC command. Use the writethrough commands (see Table 1) to update the DAC output immediately after the data is received. Only use the writethrough
command to update the DAC output immediately.
Low-Power, Single, 16-/12-Bit,
Buffered Voltage-Output DACs
Connect the MAX5138/MAX5139 DVDD supply to the
supply of the host DSP or microprocessor. The AVDD
supply may be set to any voltage within the 2.7V to
5.25V operating range, but must be greater than or
equal to the DVDD supply.
Writing to the MAX5138/MAX5139
Write to the MAX5138/MAX5139 using the following
sequence:
1) Drive CS low, enabling the shift register.
2) Clock 24 bits of data into DIN (C7 first and D0 last),
observing the specified setup and hold times. Bits
D15–D0 are the data bits that are written to the
internal register.
3) After clocking in the last data bit, drive CS high. CS
must remain high for 33ns before the next transmission is started.
Figure 1 shows a write operation for the transmission of
24 bits. If CS is driven high at any point prior to receiving
24 bits, the transmission is discarded.
READY
Connect READY to a microcontroller (µC) input to monitor the serial interface for valid communications. The
READY pulse appears 24 clock cycles after the negative edge of CS (Figure 4). Since the MAX5138/
MAX5139 look at the first 24 bits of the transmission following the falling edge of CS, it is possible to daisy
chain devices with different command word lengths.
READY goes high 16ns after CS is driven high.
READY*
DIN
SCLK
CS
SCK
SS
I/O
MOSI
+5V
MISO*
SPI/QSPI
PORT
*THE READY-TO-MISO CONNECTION IS NOT REQUIRED FOR WRITING TO THE
MAX5138/MAX5139 BUT MAY BE USED FOR TRANSMISSION VERIFICATION.
MAX5138
MAX5139
Figure 3. Connections for SPI/QSPI
CS
DIN
SCLK
READY 1
READY 3
READY 2
12324222120432123 2422215432123 2422215432
SLAVE 1 DATASLAVE 2 DATASLAVE 3 DATA
Figure 4. READY Timing
SCLK
SK
MAX5138
MAX5139
*THE READY-TO-SI CONNECTION IS NOT REQUIRED FOR WRITING TO THE
*MAX5138/MAX5139 BUT MAY BE USED FOR TRANSMISSION VERIFICATION.
DIN
READY*
CS
SO
MICROWIRE
PORT
SI*
I/O
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 second 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 executed 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 disable the READY output.
Clear Command
The MAX5138/MAX5139 feature a software clear command (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 interface 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 command 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 output 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
On power-up, the input register is set to zero, and the
DAC output powers up to zero or midscale, depending
on the configuration of M/Z. Connect M/Z to AGND to
power the output to AGND. Connect M/Z to AVDD to
power the output to midscale.
To guarantee DAC linearity, wait until the supplies have
settled. Set the LIN bit in the DAC linearity register; wait
10ms, and clear the LIN bit.
Unipolar Output
The MAX5138/MAX5139 unipolar output voltage range is
0 to V
REFI
. The output buffer drives a 2kΩ load in parallel
with 200pF.
Bipolar Output
Use the MAX5138/MAX5139 in bipolar applications with
additional external components (see the
Typical
Operating Circuit
).
Power Supplies and
Bypassing Considerations
For best performance, use a separate supply for the
MAX5138/MAX5139. Bypass both DVDD and AVDD
with high-quality ceramic capacitors to a low-impedance ground as close as possible to the device.
Minimize lead lengths to reduce lead inductance.
Connect both MAX5138/MAX5139 AGND inputs to the
analog ground plane.
Layout Considerations
Digital and AC transient signals on AGND inputs can
create noise at the outputs. Connect both AGND inputs
to form the star ground for the DAC system. Refer
remote DAC loads to this system ground for the best
possible performance. Use proper grounding techniques, such as a multilayer board with a low-inductance ground plane, or star connect all ground return
paths back to the MAX5138/MAX5139 AGND. Do not
use wire-wrapped boards and sockets. Use shielding
to improve noise immunity. Do not run analog and digital signals parallel to one another (especially clock signals) and avoid routing digital lines underneath the
MAX5138/MAX5139 package.
Definitions
Integral Nonlinearity (INL)
INL is the deviation of the measured transfer function
from a best fit straight line drawn between two codes.
This best fit line for the MAX5138 is a line drawn
between codes 3072 and 64,512 of the transfer function and the best fit line for the MAX5139 is a line drawn
between codes 192 and 4032 of the transfer function,
once offset and gain errors have been nullified.
Differential Nonlinearity (DNL)
DNL is the difference between an actual step height
and the ideal value of 1 LSB. If the magnitude of the
DNL is greater than -1 LSB, the DAC guarantees no
missing codes and is monotonic.
Low-Power, Single, 16-/12-Bit,
Buffered Voltage-Output DACs
Offset error indicates how well the actual transfer function matches the ideal transfer function at a single point.
Typically, the point at which the offset error is specified is
at or near the zero-scale point of the transfer function.
Gain Error
Gain error is the difference between the ideal and the
actual full-scale output voltage on the transfer curve,
after nullifying the offset error. This error alters the slope
of the transfer function and corresponds to the same
percentage error in each step.
Settling Time
The settling time is the amount of time required from the
start of a transition, until the DAC output settles to the new
output value within the converter’s specified accuracy.
Digital Feedthrough
Digital feedthrough is the amount of noise that appears
on the DAC output when the DAC digital control lines
are toggled.
Digital-to-Analog Glitch Impulse
A major carry transition occurs at the midscale point
where the MSB changes from low to high and all other
bits change from high to low, or where the MSB
changes from high to low and all other bits change from
low to high. The duration of the magnitude of the
switching glitch during a major carry transition is
referred to as the digital-to-analog glitch impulse.
Digital-to-Analog Power-Up Glitch Impulse
The digital-to-analog power-up glitch is the duration of
the magnitude of the switching glitch that occurs as the
device exits power-down mode.
For the latest package outline information and land patterns, go
to www.maxim-ic.com/packages.
PACKAGE TYPEPACKAGE CODEDOCUMENT NO.
16 TQFN-EPT1633-5
21-0136
DAC
CS
SCLK
DIN
R1
R2
DVDDAVDD
OUT
REFO
AGND
100nF
M/Z
LDAC
DIGITAL POWER
SUPPLY
ANALOG POWER
SUPPLY
100nF
READY
REFI
47pF
100nF
*SHOWN IN BIPOLAR CONFIGURATION
MAX5138
MAX5139
Typical Operating Circuit
MAX5138/MAX5139
Low-Power, Single, 16-/12-Bit,
Buffered Voltage-Output DACs
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.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________