Datasheet MAX5251 Datasheet (MAXIM)

Page 1
查询MAX5251供应商
19-1172; Rev 0; 12/96
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
__________________General Description
The +3V MAX5251 combines four low-power, voltage­output, 10-bit digital-to-analog converters (DACs) and four precision output amplifiers in a space-saving, 20­pin 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 MAX5251 ideal for industrial-process-control applica­tions. Other features include software shutdown, hard­ware 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
______________________________Features
Four 10-Bit DACs with Configurable
Output Amplifiers
+3.0V to +3.6V Single-Supply OperationLow Supply Current: 0.8mA Normal Operation
3µA Shutdown Mode
Available in 20-Pin SSOPPower-On Reset Clears all Registers and
DACs to Zero
SPI/QSPI and Microwire CompatibleSimultaneous or Independent Control of DACs
via 3-Wire Serial Interface
User-Programmable Digital OutputSchmitt-Trigger Digital Inputs for Direct
Optocoupler Interface
12-Bit Upgrade Available: MAX5253
be updated independently or simultaneously with a sin­gle software command. All logic inputs are TTL/CMOS-
_________________Ordering Information
logic compatible.
________________________Applications
Digital Offset and Gain Adjustment Microprocessor-Controlled Systems Industrial Process Controls Automatic Test Equipment Remote Industrial Controls
PART
MAX5251ACPP MAX5251BCPP 0°C to +70°C MAX5251ACAP MAX5251BCAP 0°C to +70°C
Ordering Information continued on last page. Pin Configuration appears at end of data sheet.
TEMP. RANGE PIN-PACKAGE
0°C to +70°C
0°C to +70°C 20 SSOP
20 Plastic DIP 20 Plastic DIP
20 SSOP
INL
(LSB)
±1/2 ±1 ±1/2 ±1
Motion Control
_________________________________________________________________________Functional Diagram
MAX5251
DOUT
CL
16-BIT
SHIFT
REGISTER
SR
CONTROL
DIN
CS
SPI and QSPI are trademarks of Motorola, Inc. Microwire is a trademark of National Semiconductor Corp.
________________________________________________________________
PDL
DGND
DECODE
CONTROL
LOGIC
OUTPUT
SCLK
UPO REFCD
AGND
INPUT
REGISTER A
INPUT
REGISTER B
INPUT
REGISTER C
INPUT
REGISTER D
V
DD
REGISTER A
REGISTER B
REGISTER C
REGISTER D
DAC 
DAC 
DAC 
DAC 
MAX5251
REFAB
DAC A
DAC B
DAC C
DAC D
FBA OUTA
FBB OUTB
FBC OUTC
FBD OUTD
Maxim Integrated Products
1
For free samples & the latest literature: http://www.maxim-ic.com, or phone 1-800-998-8800
Page 2
+3V, 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
Continuous Power Dissipation (T
MAX5251
Plastic DIP (derate 8.00mW/°C above +70°C).................640mW
SSOP (derate 8.00mW/°C above +70°C) ......................640mW
CERDIP (derate 11.11mW/°C above +70°C).................889mW
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.
= +70°C)
A
DD DD
DD
+ 0.3V) + 0.3V)
+ 0.3V)
ELECTRICAL CHARACTERISTICS
(VDD= +3.0V to +3.6V, AGND = DGND = 0V, REFAB = REFCD = 1.25V, RL= 5k, CL= 100pF, TA= T noted. Typical values are at T
STATIC PERFORMANCE—ANALOG SECTION
Integral Nonlinearity (Note 1)
Offset Error
REFERENCE INPUT
MATCHING PERFORMANCE (TA= +25°C)
Reference Input Range Reference Input Resistance
= +25°C. Output buffer connected in unity-gain configuration (Figure 9).)
A
MAX5251AC/E
INL
REF REF
MAX5251BC/E MAX5251BMJP ±2.0 Guaranteed monotonic
OS
VDD= +3.0V to +3.6V
Code dependent, minimum at code 554 hex
Operating Temperature Ranges
MAX5251_C_P......................................................0°C to +70°C
MAX5251_E_P ...................................................-40°C to +85°C
MAX5251BMJP................................................-55°C to +125°C
Storage Temperature Range.............................-65°C to +150°C
Lead Temperature (soldering, 10sec).............................+300°C
to T
MIN
CONDITIONS
±0.25 ±0.5
, unless otherwise
MAX
±1.0
±6.0 mVV
- 1.4V
DD
UNITSMIN TYP MAXSYMBOLPARAMETER
Bits10NResolution
LSB
LSB±1.0DNLDifferential Nonlinearity
ppm/°C6Offset-Error Tempco
LSBGEGain Error (Note 1) ±2.4
ppm/°C1Gain-Error Tempco
µV/VPSRRPower-Supply Rejection Ratio 100 800
k10R
V0V
2 _______________________________________________________________________________________
Page 3
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
ELECTRICAL CHARACTERISTICS (continued)
(VDD= +3.0V to +3.6V, AGND = DGND = 0V, REFAB = REFCD = 1.25V, RL= 5k, CL= 100pF, TA= T noted. Typical values are at T
MULTIPLYING-MODE PERFORMANCE
Signal-to-Noise Plus Distortion Ratio
DIGITAL INPUTS
Input High Voltage Input Low Voltage Input Leakage Current Input Capacitance
DIGITAL OUTPUTS
Output High Voltage Output Low Voltage
DYNAMIC PERFORMANCE
Output Voltage Swing
OUT_ Leakage Current in Shutdown
Start-Up Time Exiting Shutdown Mode
POWER SUPPLIES
Supply Voltage Supply Current
= +25°C. Output buffer connected in unity-gain configuration (Figure 9).)
A
CONDITIONS
V
= 0.67Vp-p
REF
Input code = all 0s, V V
= 1Vp-p at 25kHz, code = full scale
REF
IH
IL
VIN= 0V or V
IN
IN
I
OH
OL
DD
DD
SOURCE
I
= 2mA
SINK
To ±1/2LSB, V Rail-to-rail (Note 2)
RL=
CS = VDD, DIN = 100kHz
(Note 3) (Note 4) (Note 4) µA320Supply Current in Shutdown
DD
= 2mA
STEP
REF
= 1.25V
= 1.6Vp-p at 1kHz dB-84Reference Feedthrough
MIN
to T
, unless otherwise
MAX
DD
MAX5251
UNITSMIN TYP MAXSYMBOLPARAMETER
kHz650Reference -3dB Bandwidth
dB72SINAD
V2.0V
V0.6V µA0.01 ±1.0I pF8C
VVDD- 0.5V
V0.13 0.4V
V/µs0.6SRVoltage Output Slew Rate
µs12Output Settling Time
V0 to V µA0 0.1Current into FB_
µA0.01 ±1
µs20
nV-s5Digital Feedthrough nV-s5Digital Crosstalk
V3.0 3.6V
mA0.82 0.98I
µA0.01 ±1Reference Current in Shutdown
Note 1: Guaranteed from code 5 to code 1023 in unity-gain configuration. Note 2: Accuracy is better than 1LSB for V Note 3: Remains operational with supply voltage as low as +2.7V. Note 4: R
= ∞, digital inputs at DGND or VDD.
L
_______________________________________________________________________________________ 3
= 6mV to VDD- 80mV, guaranteed by PSR test at the endpoints.
OUT
Page 4
+3V, Quad, 10-Bit Voltage-Output DAC with Serial Interface
ELECTRICAL CHARACTERISTICS (continued)
(VDD= +3.0V to +3.6V, AGND = DGND = 0V, REFAB = REFCD = 1.25V, RL= 5k, CL= 100pF, TA= T noted. Typical values are at T
TIMING CHARACTERISTICS (Figure 6)
SCLK Clock Period SCLK Clock Period SCLK Pulse Width High
MAX5251
SCLK Pulse Width Low CS Fall to SCLK Rise Setup Time SCLK Rise to CS Rise Hold Time DIN Setup Time
DIN Hold Time SCLK Rise to DOUT Valid
Propagation Delay SCLK Fall to DOUT Valid
Propagation Delay SCLK Rise to CS Fall Delay
CS Rise to SCLK Rise Hold Time CS Pulse Width High
= +25°C. Output buffer connected in unity-gain configuration (Figure 9).)
A
CONDITIONS
CP CP CH CL
CSS CSH
DS DH
t
D01
t
D02
CS0 CS1
CSW
CL= 200pF
CL= 200pF
MIN
to T
, unless otherwise
MAX
UNITSMIN TYP MAXSYMBOLPARAMETER
ns100t ns100t ns40t ns40t
ns40t ns0t
ns40t ns0t
120
ns
120 ns
ns40t ns40t ns100t
__________________________________________Typical Operating Characteristics
(V
= +3.3V, TA = +25°C, unless otherwise noted.)
DD
INTEGRAL NONLINEARITY vs. REFERENCE VOLTAGE
0.25
0
-0.25
-0.50
INL (LSB)
-0.75
-1.00 RL = 5k
-1.25
0 0.5 1.0 1.5 2.0
REFERENCE VOLTAGE (V)
MAX5251-01
-12
RELATIVE OUTPUT (dB)
-16
-20
2.5
REFERENCE VOLTAGE INPUT
FREQUENCY RESPONSE
0
-4
-8
0 500k 1.0M 1.5M 2.0M 2.5M 3.0M
REFAB SWEPT 0.67Vp-p RL = 5kΩ CL = 100pF
FREQUENCY (Hz)
MAX5251-06
1000
950 900 850 800 750 700 650
SUPPLY CURRENT (µA)
600 550 500
-55 -40 -20 0 20 40 60 80 120100
4 _______________________________________________________________________________________
SUPPLY CURRENT
vs. TEMPERATURE
CODE = FFC hex
TEMPERATURE (°C)
MAX5251-04
Page 5
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
____________________________Typical Operating Characteristics (continued)
(V
= +3.3V, TA = +25°C, unless otherwise noted.)
DD
SUPPLY CURRENT
vs. SUPPLY VOLTAGE
1000
950 900 850 800 750 700 650
SUPPLY CURRENT (µA)
600 550
CODE = FFC hex
500
2.7 2.8 3.02.9 3.1 3.2 3.3 3.4 3.6 SUPPLY VOLTAGE (V)
0
-0.5
-1.0
0.50
0.45
MAX5251-05
0.40
0.35
0.30
0.25
0.20
THD + NOISE (%)
0.15
0.10
0.05
3.5
0
FULL-SCALE ERROR
vs. LOAD
TOTAL HARMONIC DISTORTION
PLUS NOISE vs. FREQUENCY
DAC CODE = FULL SCALE REFAB = 1Vp-p
= 5k
R
L
= 100pF
C
L
0.1 1 10 100 FREQUENCY (kHz)
REFERENCE FEEDTHROUGH
0
MAX5251-03
-20
-40
0
MAX5251-02
-20
-40
-60
SIGNAL AMPLITUDE (dB)
-80
-100
0.5 1.6 3.8
AT 1kHz
REFAB INPUT SIGNAL
V
= 1.6Vp-p @ 1kHz
REF
= 5k
R
L
= 100pF
C
L
OUTPUT FFT PLOT
V
= 1kHz, 0.006V TO 1.6V
REF
= 5k
R
L
= 100pF
C
L
2.7 4.9 6.0
FREQUENCY (kHz)
MAX5251-11
MAX5251
MAX5251-10
-1.5
FULL-SCALE ERROR (LSB)
-2.0
-2.5
0.01 0.1 1 10 100 LOAD (k)
-60
SIGNAL AMPLITUDE (dB)
-80
-100
0.5 1.2 2.6
OUTA FEEDTHROUGH
FREQUENCY (kHz)
1.9 3.3 4.0
_______________________________________________________________________________________ 5
Page 6
+3V, Quad, 10-Bit Voltage-Output DAC with Serial Interface
____________________________Typical Operating Characteristics (continued)
(V
= +3.3V, V
DD
= 1.25V, RL= 5k, CL= 100pF, TA = +25°C, unless otherwise noted.)
REF
MAJOR-CARRY TRANSITION
MAX5251
GND
10µs/div
ANALOG CROSSTALK
MAX5251-07
MAX5251-12
CS 5V/div
OUTB, AC COUPLED 50mV/div
OUTA,  500mV/div
DIGITAL FEEDTHROUGH (SCLK = 100kHz)
2µs/div
CS = PDL = C DAC A CODE SET TO 800 hex
L = 3.3V, DIN = 0V
DYNAMIC RESPONSE
MAX5251-08
SCLK, 2V/div
OUTA, AC COUPLED 10mV/div
MAX5251-13
OUTA,  500mV/div
OUTB, AC COUPLED 10mV/div
10µs/div
DAC A CODE SWITCHING FROM 00C hex TO FFC hex DAC B CODE SET TO 800 hex
SWITCHING FROM CODE 000 hex TO FB4 hex OUTPUT AMPLIFIER GAIN = +2.6
10µs/div
6 _______________________________________________________________________________________
Page 7
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
______________________________________________________________Pin Description
PIN
7 8
14
CL
CS
PDL
Analog GroundAGND1 DAC A Output Amplifier FeedbackFBA2 DAC A Output VoltageOUTA3 DAC B Output VoltageOUTB4 DAC B Output Amplifier FeedbackFBB5
Reference Voltage Input for DAC A and DAC BREFAB6 Clears All DACs and Registers. Resets all outputs (OUT_, UPO, DOUT) to 0, active low.
Chip-Select Input. Active low. Serial-Data InputDIN9
Serial-Clock InputSCLK10 Digital GroundDGND11
Serial-Data OutputDOUT12 User-Programmable Logic OutputUPO13 Power-Down Lockout. Active low. Locks out software shutdown if low. Reference Voltage Input for DAC C and DAC DREFCD15
FUNCTIONNAME
MAX5251
20
DD
DAC C Output Amplifier FeedbackFBC16 DAC C Output VoltageOUTC17 DAC D Output VoltageOUTD18 DAC D Output Amplifier FeedbackFBD19 Positive Power SupplyV
_______________________________________________________________________________________ 7
Page 8
+3V, Quad, 10-Bit Voltage-Output DAC with Serial Interface
The impedance at each reference input is code depen­dent, ranging from a low value of 10kwhen both DACs connected to the reference have an input code of 554 hex, to a high value exceeding several giga ohms (leakage current) 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. Driving the REFAB and REFCD pins separately improves reference accuracy.
In shutdown mode, the MAX5251’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 depen­dent and typically ranges from 20pF with an input code of all 0s to 100pF at full scale.
RRR
2R 2R 2R 2R
2R
MAX5251
REF_
AGND
SHOWN FOR ALL 1s ON DAC
Figure 1. Simplified DAC Circuit Diagram
S0 S1 D0
FB_
OUT_
D9
_______________Detailed Description
The MAX5251 contains four 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 tion to the four voltage outputs, each amplifier’s nega­tive 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 dia­gram 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:
V
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.
OUT_
= (V
Functional Diagram
Reference Inputs
x NB / 1024 ) x Gain
REF
is the reference voltage,
REF
OUT_)
). In addi-
are repre-
Output Amplifiers
All MAX5251 DAC outputs are internally buffered by pre­cision amplifiers with a typical slew rate of 0.6V/µs. Access to each output amplifier’s inverting input pro­vides the user greater flexibility in output gain setting/ signal conditioning (see the section).
With a full-scale transition at the MAX5251 output, the typical settling time to ±1/2LSB is 12µs when loaded with 5kin parallel with 100pF (loads less than 2k degrade performance).
The MAX5251 output amplifier’s output dynamic responses and settling performances are shown in the
Typical Operating Characteristics
Applications Information
.
Power-Down Mode
The MAX5251 features a software-programmable shut­down that reduces supply current to a typical value of 3µA. The power-down lockout pin (PDL) must be high to enable shutdown mode. Writing 1100XXXXXXXXXXXX as the input-control word puts the MAX5251 in shutdown mode (Table 1).
8 _______________________________________________________________________________________
Page 9
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
In shutdown mode, the MAX5251 output amplifiers and the reference inputs enter a high-impedance state. The serial interface remains active. Data in the input regis­ters is retained in shutdown, allowing the MAX5251 to recall the output states prior to entering shutdown. Exit shutdown mode either by recalling the previous config­uration or by updating the DACs with new data. When powering up the device or bringing it out of shutdown, allow 20µs for the outputs to stabilize.
Serial-Interface Configurations
The MAX5251’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 MAX5251’s response out­lined 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 MAX5251’s shift register can be shifted out of DOUT and returned to the microprocessor (µP) for data verification.
The MAX5251’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 MAX5251 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 com­posed of two DAC address bits (A1, A0) and two con­trol bits (C1, C0), followed by the 10+2 data bits D9…D0, S1, S0 (Figure 4). Set both sub-bits (S0, S1) 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 exiting shutdown mode.
SCLK
DIN
MAX5251
*THE DOUT-SI CONNECTION IS NOT REQUIRED FOR WRITING TO THE MAX5251,  BUT MAY BE USED FOR READBACK PURPOSES.
Figure 2. Connections for Microwire
MAX5251
*THE DOUT-MISO CONNECTION IS NOT REQUIRED FOR WRITING TO THE MAX5251, BUT MAY BE USED FOR READBACK PURPOSES.
Figure 3. Connections for SPI/QSPI
MSB..................................................................................LSB
Address
Bits
A1 A0 C1 C0 D9 ...................................D0 S1 S0
4 Address/
Control Bits
DOUT*
CS
DOUT*
DIN
SCLK
CS
16 Bits of Serial Data
Control
Bits
MSB.................................LSB
SK
SO
MICROWIRE
SI*
I/O
MISO*
MOSI
SCK
I/O
CPOL = 0,CPHA = 0
Data Bits
10+2 Data Bits
SPI/QSPI
PORT
+3.3V
SS
PORT
MAX5251
Figure 4. Serial-Data Format
_______________________________________________________________________________________ 9
Page 10
+3V, Quad, 10-Bit Voltage-Output DAC with Serial Interface
Table 1. Serial-Interface Programming Commands
16-BIT SERIAL WORD
A1 A0 C1 C0
D9.................D0
MSB.............LSB
S1 S0
FUNCTION
00 01 10
MAX5251
11 00
01 10 11
0100 XXXXXXXXXX XX 100010-bit DAC data 00Load all DAC registers from shift register (also exit shutdown mode).
1100 XXXXXXXXXX XX 0010 XXXXXXXXXX XXUPO goes low (default). 0110 XXXXXXXXXX XXUPO goes high. 0000 XXXXXXXXXX XXNo operation (NOP) to DAC registers
1110 XXXXXXXXXX XX
1010 XXXXXXXXXX XX
“X” = Don’t care
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 MAX5251 input/DAC registers on CS’s rising edge.
The programming command Load-All-DACs-From-Shift­Register allows all input and DAC registers to be simul­taneously 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 MAX5251 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
00 00 00 00
00 00 00 00
section). The command to
Load input register A; DAC registers unchanged. Load input register B; DAC registers unchanged. Load input register C; DAC registers unchanged. Load input register D; DAC registers unchanged.
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 regis­ter’s output. The MAX5251 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 MAX5251 serial interface (Table 1).
10 ______________________________________________________________________________________
Page 11
CS
SCLK
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
COMMAND
EXECUTED
1
8
9
16
MAX5251
A0
DIN
DOUT
(MODE 0)
DOUT
(MODE 1)
A1 S0
A1 S0 A1
A1 S0 A1
C1
A0
C1
MSB FROM PREVIOUS WRITE
A0
C1
C0
MSB FROM
PREVIOUS WRITE
Figure 5. Serial-Interface Timing Diagram
CS
t
CSS
t
DS
t
DH
SCLK
DIN
DOUT
t
CSO
D9
C0
C0
D8
D9
D8
D9
D8
t
CL
D6
D7
DATA PACKET (N)
D6
D7
DATA PACKET (N-1)
D6
D7
DATA PACKET (N-1)
t
CH
D5
D4
D5
D5
D3
D4
D3
D4
D3
t
DO1
D1
D2
D1
D2
D1
D2
t
CP
t
DO2
S1
D0
S1
D0
DATA PACKET (N)
S1
D0
DATA PACKET (N)
t
CSW
t
CSH
t
CS1
Figure 6. Detailed Serial-Interface Timing Diagram
Power-Down Lockout (
PDL
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 could also be used to wake up the device asynchronously.
Daisy Chaining Devices
Any number of MAX5251s 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).
______________________________________________________________________________________ 11
Since the MAX5251’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 sev­eral MAX5251s. 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 configu­ration because a dedicated chip-select input (CS) is required for each IC.
Page 12
+3V, Quad, 10-Bit Voltage-Output DAC with Serial Interface
MAX5251
SCLK
DIN
CS
Figure 7. Daisy-Chaining MAX5251s
DIN
SCLK
CS1 CS2
CS3
SCLK DIN CS
MAX5251
DOUT
SCLK DIN CS
MAX5251
DOUT
SCLK DIN CS
MAX5251
DOUT
TO OTHER  SERIAL DEVICES
TO OTHER  SERIAL DEVICES
CS
MAX5251
SCLK
DIN
CS
SCLK
DIN
MAX5251
CS
MAX5251
SCLK
DIN
Figure 8. Multiple MAX5251s Sharing a Common DIN Line
12 ______________________________________________________________________________________
Page 13
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
__________Applications Information
Unipolar Output
For a unipolar output, the output voltages and the refer­ence inputs have the same polarity. Figure 9 shows the MAX5251 unipolar output circuit, which is also the typi­cal operating circuit. Table 2 lists the unipolar output codes.
For rail-to-rail outputs, see Figure 10. This circuit shows the MAX5251 with the output amplifiers configured with a closed-loop gain of +2.6 to provide 0V to 3.25V full­scale range when a 1.25V reference is used.
Table 2. Unipolar Code Table
DAC CONTENTS
MSB LSB
1111 1111 11(00) +V
1000 0000 01(00) +V
1000 0000 00(00) +V
0111 1111 11(00) +V
ANALOG OUTPUT
1023
(——— )
REF
1024
513
(——— )
REF
1024
512 +V
(——— )= ————
REF
1024 2
511
(——— )
REF
1024
REF
Bipolar Output
The MAX5251 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.
MAX5251
REFERENCE INPUTS
REFAB
DAC A
DAC B
DAC C
[(2NB / 1024) - 1]
REF
REFCD
V
DD
+3.3V
FBA
OUTA
FBB
OUTB
FBC
OUTC
FBD
MAX5251
0000 0000 01(00) +V 0000 0000 00(00) 0V
Table 3. Bipolar Code Table
DAC CONTENTS
MSB LSB
1111 1111 11(00) +V
1000 0000 01(00) +V 1000 0000 00(00) 0V 0111 1111 11(00) -V
0000 0000 01(00) -V
0000 0000 00(00) -V
( ) Sub-bits
______________________________________________________________________________________ 13
ANALOG OUTPUT
(——— )= -V
REF
REF
REF
REF
REF
REF
512 512
1
(——— )
1024
511
(——— )
512
1
(——— )
512
1
(——— )
512 511
(——— )
512
DAC D
OUTD
DGNDAGND
Figure 9. Unipolar Output Circuit
REF
Page 14
+3V, Quad, 10-Bit Voltage-Output DAC with Serial Interface
REFERENCE INPUTS
MAX5251
REFAB
REFCD
DAC A
MAX5251
DAC B
DAC C
DAC D
V
= V
16k 10k
REFCD
= 1.25V
REFAB
= 1 + = 2.6
A
V
Figure 10. Unipolar Rail-to-Rail Output Circuit
V
+3.3V
DD
DGNDAGND
FBA
OUTA FBB
OUTB FBC
OUTC FBD
OUTD
10k
16k
10k
16k
10k
16k
10k
16k
In applications where the reference has AC signal com­ponents, the MAX5251 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 MAX5251’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 cur­rent source. This circuit can be used to drive 4–20mA current loops, which are commonly used in industrial­control 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.
REF
Using an AC Reference
graphs.
/ R) x (NB / 1024)
+3.3V
AC
R1
REF_
FB_
DAC
OUT_
MAX5251
Figure 11. Bipolar Output Circuit
R2
+3.3V
-3.3V
R1 = R2 = 10k ± 0.1%
REFERENCE 
INPUT
500mVp-p
V
OUT
26k
10k
Figure 12. AC Reference Input Circuit
1/2 MAX492
REF_
DAC_
AGND DGND
14 ______________________________________________________________________________________
V
DD
MAX5251
OUT_
Page 15
+3V, Quad, 10-Bit Voltage-Output DAC
with Serial Interface
REF_
V
L
MAX5251
I
DAC_
OUT_
FB_
OUT
2N3904
R
Figure 13. Digitally Programmable Current Source
Power-Supply Considerations
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 MAX5251 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 capaci­tors as close to the supply pins as possible.
__________________Pin Configuration
TOP VIEW
1
AGND
FBA
OUTA
FBB
REFAB
DIN
2 3 4
MAX5251
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
MAX5251
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.
______________________________________________________________________________________ 15
Page 16
+3V, Quad, 10-Bit Voltage-Output DAC with Serial Interface
_Ordering Information (continued) ___________________Chip Information
PART
MAX5251AEPP -40°C to +85°C MAX5251BEPP MAX5251AEAP MAX5251BEAP -40°C to +85°C
MAX5251
MAX5251BMJP -55°C to +125°C 20 CERDIP* ±2
*
Contact factory for availability and processing to MIL-STD-883.
TEMP. RANGE PIN-PACKAGE
20 Plastic DIP
-40°C to +85°C 20 Plastic DIP
-40°C to +85°C
20 SSOP 20 SSOP
INL
(LSB)
±1/2 ±1 ±1/2 ±1
TRANSISTOR COUNT: 4337
________________________________________________________Package Information
DIM
A
A1
B C
α
HE
C
L
D E e H L
α
INCHES
MIN
0.068
0.002
0.010
0.004
0.205
0.301
0.025
MAX
0.078
0.008
0.015
0.008
SEE VARIATIONS
0.209
0.311
0.037
MILLIMETERS
MIN
1.73
0.05
0.25
0.09
5.20
0.65 BSC0.0256 BSC
7.65
0.63
MAX
1.99
0.21
0.38
0.20
5.38
7.90
0.95
14 16 20 24 28
INCHES
MIN
0.239
0.239
0.278
0.317
0.397
DIM
PINS
e
SSOP
A
SHRINK
SMALL-OUTLINE
B
A1
PACKAGE
D D D D D
MAX
0.249
0.249
0.289
0.328
0.407
MILLIMETERS
MAX
MIN
6.33
6.07
6.33
6.07
7.33
7.07
8.33
8.07
10.33
10.07
21-0056A
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
© 1996 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.
© 1996 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.
Loading...