MAX5120/MAX5121
(MAX5120) and Figure 3b (MAX5121) to achieve these
adjustments. Connect a 33nF capacitor from REFADJ
to AGND to establish low-noise operation of the DAC.
Larger capacitor values may be used, but will result in
increased start-up delay. The time constant (τ) for the
start-up delay is determined by the REFADJ input
impedance of 4kand C
REFADJ
:
τ = 4k · C
REFADJ
External Reference
An external reference may be applied to the REF pin.
Disable the internal reference by pulling REFADJ to
V
DD
. This allows an external reference signal (AC- or
DC-based) to be fed into the REF pin. For proper oper-
ation, do not exceed the input voltage range limits of
0V to (V
DD
- 1.4V) for V
REF
.
Determine the output voltage using the following equa-
tion (REFADJ = V
DD
; OS = AGND):
V
OUT
= [V
REF
· (NB / 4096)] · 1.6384V/V
where NB is the numeric value of the MAX5120/
MAX5121 input code (0 to 4095), V
REF
is the external
reference voltage, and 1.6384V/V is the gain of the
internal output amplifier. The REF pin has a minimum
input resistance of 40kand is code-dependent.
Output Amplifier
The output amplifier of the MAX5120/MAX5121
employs a trimmed resistor-divider to set a gain of
+1.6384V/V and minimize the gain error. With its on-
board laser-trimmed +1.25V reference and the output
buffer gain, the MAX5121 achieves a full-scale output
of +2.0475V, while the MAX5120 provides a +4.095V
full-scale output with a +2.5V reference.
The output amplifier has a typical slew rate of 0.6V/µs
and settles to ±0.5LSB within 20µs, with a load of 5k
in parallel with 100pF. Loads less than 1k may result
in degraded performance.
The OS pin may be used to adjust the output offset volt-
age. For instance, to achieve a +1V offset, apply
-1.566V (Offset = -[Output Buffer Gain - 1] · V
OS
) to OS
to produce an output voltage range from +1V to (1V +
V
REF
· 1.6384V/V). Note that the DAC’s output range is
still limited by the maximum output voltage specifica-
tion.
Power-Down Mode
The MAX5120/MAX5121 feature software- and hard-
ware-programmable (PD pin) shutdown modes that
reduce the typical supply current to 3µA. To enter soft-
ware shutdown mode, program the control sequence
for the DAC as shown in Table 1.
In shutdown mode, the amplifier output becomes high
impedance and the serial interface remains active.
Data in the input registers is saved, allowing the
MAX5120/MAX5121 to recall the output state prior to
entering shutdown when returning to normal operation
mode. To exit shutdown mode, load both input and
DAC registers simultaneously or update the DAC regis-
ter from the input register. When returning from shut-
down mode, wait 2ms for the reference to settle. When
using an external reference, the DAC requires only
20µs for the output to stabilize.
+3V/+5V, 12-Bit, Serial Voltage-Output DACs
with Internal Reference
10 ______________________________________________________________________________________
REFADJ
+5V
90k
100k
400k
33nF
MAX5120
REFADJ
+3V
15k
100k
400k
33nF
MAX5121
Figure 3a. MAX5120 Reference Adjust Circuit Figure 3b. MAX5121 Reference Adjust Circuit
Power-Down Lockout Input (PDL)
The power-down lockout pin (PDL) disables shutdown
when low. When in shutdown mode, a high-to-low tran-
sition on PDL will wake up the DAC with its output still
set to the state prior to power-down. PDL can also be
used to wake up the device asynchronously.
Power-Down Input (PD)
Pulling PD high places the MAX5120/MAX5121 in shut-
down mode. Pulling PD low will not return the MAX5120/
MAX5121 to normal operation. A high-to-low transition
on PDL or appropriate commands (Table 1) via the seri-
al interface are required to exit power-down.
Serial-Interface Configuration
(SPI/QSPI/MICROWIRE/PIC16/PIC17)
The MAX5120/MAX5121 3-wire serial interface is com-
patible with SPI, QSPI, PIC16/PIC17 (Figure 4) and
MICROWIRE (Figure 5) interface standards. The 2-byte-
long serial input word contains three control bits, 12 data
bits in MSB-first format and one sub-bit, which is always
zero (Table 2).
The MAX5120/MAX5121’s digital inputs are double
buffered, which allows the user to:
Load the input register without updating the DAC
register;
Update the DAC register with data from the input
register;
Update the input and DAC registers concurrently.
MAX5120/MAX5121
+3V/+5V, 12-Bit, Serial Voltage-Output DACs
with Internal Reference
______________________________________________________________________________________ 11
Load input register; DAC register unchanged.12-Bit DAC Data0 0
0
1
0
Update DAC register from input register; exit shutdown.XXXXXXXXXXXX0 1
1
1
0 Simultaneously load input and DAC registers; exit shutdown.12-Bit DAC Data0
UPO goes low (default).XXXXXXXXXXXX1 0
0
0
1
Mode 1; DOUT clocked out on SCLK’s rising edge.1XXXXXXXXXXX1 1
1
1
0 UPO goes high.XXXXXXXXXXXX1
No operation.XXXXXXXXXXXX0
16-BIT SERIAL WORD
Shutdown DAC (provided PDL = 1)
XXXXXXXXXXXX1
Mode 0; DOUT clocked out on SCLK’s falling edge (default).00XXXXXXXXXX1 1 1
C1 C0C2
FUNCTION
Table 1. Serial-Interface Programming Commands
X
= Don’t care
*
S0 is a sub-bit and is always zero.
DIN
SCLK
CS
MOSI
SCK
I/O
SPI/QSPI
PORT
(PIC16/PIC17)
SS
V
DD
CPOL = 0, CPHA = 0
CHE = 1, CKP = 0, SMP = 0,
SSPM3–SSPMO = 0001
( ): PIC16/PIC17 ONLY
MAX5120
MAX5121
Figure 4. SPI/QSPI Interface Connections (PIC16/PIC17)
DIN
SCLK
CS
SK
SO
I/O
MICROWIRE
PORT
MAX5120
MAX5121
Figure 5. MICROWIRE Interface Connections
D11 ............... D0 S0*
0
0
0
0
0
0
0
0
0
MAX5120/MAX5121
The 16-bit input word may be sent in two 1-byte pack-
ets (SPI-, MICROWIRE- and PIC16/PIC17-compatible),
with CS low during this period. The control bits C2, C1,
and C0 (Table 1) determine:
The clock edge on which DOUT is to be clocked out
via the serial interface;
The state of the user-programmable logic output;
The configuration of the device after shutdown.
The general timing diagram in Figure 6 illustrates how
data is acquired. CS must be low for the part to receive
data. With CS low, data at DIN is clocked into the regis-
ter on the rising edge of SCLK. When CS transitions
high, data is latched into the input and/or DAC registers,
depending on the setting of the three control bits C2,
C1, and C0. The maximum serial clock frequency guar-
anteed for proper operation is 10MHz for the MAX5120
and 6.6MHz for the MAX5121. Figure 7 depicts a more
detailed timing diagram of the serial interface.
Table 2. Serial Data Format
PIC16 with SSP Module and
PIC17 Interface
The MAX5120/MAX5121 are compatible with a PIC16/
PIC17 controller (µC), using the synchronous serial port
(SSP) module. To establish SPI communication connect
the controller as shown in Figure 4 and configure the
PIC16/PIC17 as system master by initializing its syn-
chronous serial port control register (SSPCON) and
synchronous serial port status register (SSPSTAT) to
the bit patterns shown in Tables 3 and 4.
In SPI mode, the PIC16/PIC17 µCs allow 8 bits of data
to be transmitted synchronously and received simulta-
neously. Two consecutive 8-bit writings (Figure 6) are
necessary to feed the DAC with three control bits and
12 data bits plus one sub-bit. DIN data transitions on
the serial clock’s falling edge and is clocked into the
DAC on SCLK’s rising edge. The first 8 bits on DIN con-
tain the 3 control bits (C2, C1, and C0) and the first five
data bits (D11–D7). The second 8-bit word contains the
remaining bits (D6–D0), and the sub-bit S0.
+3V/+5V, 12-Bit, Serial Voltage-Output DACs
with Internal Reference
12 ______________________________________________________________________________________
Control Bits MSB .... Data Bits ..... LSB
MSB ............................................................................... LSB
16 BITS OF SERIAL DATA
D11................................D0C2, C1, C0
CS
SCLK
DIN
COMMAND
EXECUTED
9
8
16
1
C1
C2 S0
C0
D11
D10
D9
D8 D5 D4 D3 D2 D1 D0D7 D6
Figure 6. Serial-Interface Timing
SCLK
DIN
DOUT
t
CS0
t
CSS
t
CL
t
CH
t
CP
t
CSW
t
CS1
t
CSH
t
DS t
DO1
t
DO2
t
DH
CS
Figure 7. Detailed Serial-Interface Timing
S0
Sub-Bit

MAX5120BEEE

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Digital to Analog Converters - DAC 12-Bit Precision DAC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union