19-1572; Rev 2; 6/02 Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC Features The MAX5541 serial-input, voltage-output, 16-bit monotonic digital-to-analog converter (DAC) operates from a single +5V supply. The DAC output is unbuffered, resulting in a low 0.3mA supply current and low 1LSB offset error. The DAC output range is 0V to VREF. The DAC latch accepts a 16-bit serial word. A power-on reset (POR) circuit clears the DAC output to 0V (unipolar mode) when power is initially applied. Full 16-Bit Performance Without Adjustments The 10MHz 3-wire serial interface is SPITM/QSPITM/ MICROWIRETM-compatible and interfaces directly with optocouplers for applications requiring isolation. The MAX5541 is available in an 8-pin SO package. For the 1LSB (max) INL version, refer to the MAX541 data sheet. Power-On Reset Circuit Clears DAC Output to 0V (unipolar mode) +5V Single-Supply Operation Low Power: 1.5mW 1s Settling Time Unbuffered Voltage Output Directly Drives 60k Loads SPI/QSPI/MICROWIRE-Compatible Serial Interface Schmitt Trigger Inputs for Direct Optocoupler Interface Choose MAX541 as a 1LSB (max) INL Upgrade to the MAX5541 Applications High-Resolution Offset and Gain Adjustment Ordering Information PART TEMP RANGE PIN-PACKAGE Industrial Process Control MAX5541CSA 0C to +70C 8 SO Automated Test Equipment MAX5541ESA -40C to +85C 8 SO Data Acquisition Systems Functional Diagram Pin Configuration TOP VIEW VDD MAX5541 OUT 1 AGND 2 8 VDD MAX5541 CS 4 16-BIT DAC CS DIN SCLK 16-BIT DATA LATCH 7 DGND 6 DIN REF 3 REF 5 SCLK OUT AGND CONTROL LOGIC SERIAL INPUT REGISTER SO DGND SPI and QSPI are trademarks of Motorola, Inc. MICROWIRE is a trademark of National Semiconductor Corp. ________________________________________________________________ Maxim Integrated Products For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com. 1 MAX5541 General Description MAX5541 Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC ABSOLUTE MAXIMUM RATINGS VDD to DGND............................................................-0.3V to +6V CS, SCLK, DIN to DGND..........................................-0.3V to +6V REF to AGND, DGND ..................................-0.3V to (VDD +0.3V) AGND to DGND.....................................................-0.3V to +0.3V OUT to AGND, DGND.................................. ............-0.3V to VDD Maximum Current into Any Pin............................................50mA Continuous Power Dissipation (TA = +70C) 8-Pin SO (derate 5.88mW/C above +70C)................471mW Operating Temperature Ranges MAX5541CSA .....................................................0C to +70C MAX5541ESA ..................................................-40C to +85C Junction Temperature ......................................................+150C Storage Temperature Range .............................-65C to +150C Lead Temperature (soldering, 10s) ................................ +300C 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. ELECTRICAL CHARACTERISTICS (VDD = +5V 5%, VREF = +2.5V, VAGND = VDGND = 0, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS STATIC PERFORMANCE--ANALOG SECTION (RL = ) Resolution N 16 Differential Nonlinearity DNL Guaranteed monotonic Integral Nonlinearity INL VDD = 5V (Note 1) Zero-Code Offset Error ZSE Zero-Code Tempco ZSTC Gain Error (Note 2) Bits 0.5 1.0 Bits 4 16 LSB TA = +25C 1 TA = TMIN to TMAX 2 TA = TMIN to TMAX 0.05 ppm/C TA = +25C 5 TA = TMIN to TMAX 10 Gain-Error Tempco 0.1 DAC Output Resistance ROUT (Note 3) Power-Supply Rejection PSR 4.75V VDD 5.25V Reference Input Range VREF (Note 4) 2.0 Reference Input Resistance RREF (Note 5) 11.5 LSB LSB ppm/C 6.25 k 1.0 LSB REFERENCE INPUT 3.0 V k DYNAMIC PERFORMANCE--ANALOG SECTION (RL = ) Voltage Output Slew-Rate CL = 10pF (Note 6) 25 V/s Output Settling Time SR To 1/2LSB of FS, CL = 10pF 1 s DAC Glitch Impulse Major-carry transition 10 nVs Digital Feedthrough Code = 0000 hex, CS = VDD, SCLK = VDIN = 0 to VDD levels 10 nVs DYNAMIC PERFORMANCE--REFERENCE SECTION Reference -3dB Bandwidth BW Reference Feedthrough Signal-to-Noise Ratio Reference Input Capacitance 2 Code = FFFF hex 1 MHz Code = 0000 hex, VREF = 1VP-P at 100kHz 1 mVP-P 92 dB SNR CIN Code = 0000 hex 75 Code = FFFF hex 120 _______________________________________________________________________________________ pF Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC (VDD = +5V 5%, VREF = +2.5V, VAGND = VDGND = 0, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS STATIC STATICPERFORMANCE--REFERENCE PERFORMANCE--DIGITAL INPUTS SECTION Input High Voltage VIH Input Low Voltage VIL 2.4 V 0.8 V Input Current IIN VIN = 0 1 A Input Capacitance CIN (Note 7) 10 pF Hysteresis Voltage VH 0.40 V POWER SUPPLY Positive Supply Range VDD Positive Supply Current IDD 4.75 0.3 Power Dissipation PD 1.5 5.25 V 1.1 mA mW TIMING CHARACTERISTICS (VDD = +5V 5%, VREF = +2.5V, VAGND = VDGND = 0, CMOS inputs, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS 10 MHz SCLK Frequency fCLK SCLK Pulse Width High tCH 45 ns SCLK Pulse Width Low tCL 45 ns CS Low to SCLK High Setup tCSS0 45 ns CS High to SCLK High Setup tCSS1 45 ns SCLK High to CS Low Hold tCSH0 30 ns SCLK High to CS High Hold (Note 7) tCSH1 45 ns DIN to SCLK High Setup tDS 40 ns DIN to SCLK High Hold tDH 0 ns VDD High to CS Low (power-up delay) Note 1: Note 2: Note 3: Note 4: Note 5: Note 6: Note 7: 20 s Refer to the MAX541 for the 1LSB (max) INL version. Gain error tested at VREF = +2.0V, +2.5V, and +3.0V. ROUT tolerance is typically 20%. Min/max ranges guaranteed by gain-error test. Operation outside min/max limits will result in degraded performance. Reference input resistance is code dependent, minimum at 8555 hex. Slew-rate value is measured from 0% to 63%. Guaranteed by design. Not production tested. _______________________________________________________________________________________ 3 MAX5541 ELECTRICAL CHARACTERISTICS (continued) Typical Operating Characteristics (VDD = +5V, VREF = +2.5V, TA = +25C, unless otherwise noted.) SUPPLY CURRENT vs. REFERENCE VOLTAGE SUPPLY CURRENT (mA) 0.35 0.30 0.25 0.31 0.30 -20 0 20 40 60 80 100 0.6 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 0.28 0 1 2 3 4 5 -1.0 -60 6 20 60 REFERENCE VOLTAGE (V) TEMPERATURE (C) INTEGRAL NONLINEARITY vs. TEMPERATURE DIFFERENTIAL NONLINEARITY vs. TEMPERATURE GAIN ERROR vs. TEMPERATURE 0.8 0.8 0.4 0.4 DNL (LSB) 0 -0.2 -0.4 GAIN ERROR (LSB) 0.6 0.4 0.2 +DNL 0 -0.2 -DNL -0.4 -INL 0 -0.2 -0.4 -0.6 -0.8 -0.8 -0.8 -1.0 -60 -1.0 -60 -20 20 60 100 140 -20 20 60 100 140 0.2 -0.6 -0.6 100 0.8 0.6 +INL 140 1.0 0.6 0.2 100 MAX5541-06 1.0 MAX5541-04 1.0 -1.0 -60 140 -20 20 60 TEMPERATURE (C) TEMPERATURE (C) TEMPERATURE (C) INTEGRAL NONLINEARITY vs. CODE DIFFERENTIAL NONLINEARITY vs. CODE REFERENCE CURRENT vs. CODE 0.75 0.50 0.25 0.25 DNL (LSB) 0.50 0 -0.25 0 -0.25 -0.50 -0.50 -0.75 -0.75 -1.00 160 REFERENCE CURRENT (A) 0.75 20k 30k 40k DAC CODE 50k 60k 70k 120 80 40 0 -1.00 10k 200 MAX5541-09 1.00 MAX5541-07 1.00 0 -20 TEMPERATURE (C) MAX5541-05 -40 INL (LSB) 0.32 0.29 0.20 4 0.33 MAX5541-08 SUPPLY CURRENT (mA) 0.40 0.8 ZERO-CODE OFFSET ERROR (LSB) 0.34 0.45 1.0 MAX5541-02 0.35 MAX5541-01 0.50 ZERO-CODE OFFSET ERROR vs. TEMPERATURE MAX5541-03 SUPPLY CURRENT vs. TEMPERATURE INL (LSB) MAX5541 Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC 0 10k 20k 30k 40k DAC CODE 50k 60k 70k 0 10k 20k 30k 40k DAC CODE _______________________________________________________________________________________ 50k 60k 70k Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC FULL-SCALE STEP RESPONSE (fSCLK = 10MHz) MAX5541-11 MAX5541-10 FULL-SCALE STEP RESPONSE (fSCLK = 20MHz) OUT 500mV/div OUT 500mV/div 1s/div 400ns/div CL = 13pF, RL = CL = 13pF, RL = MAJOR-CARRY OUTPUT GLITCH DIGITAL FEEDTHROUGH MAX5541-12 MAX5541-13 CS 5V/div SCLK 5V/div OUT AC-COUPLED 100mV/div OUT AC-COUPLED 50mV/div 2s/div 2s/div CODE = 0000 hex Pin Description PIN NAME 1 OUT 2 AGND 3 REF Voltage Reference Input. Connect to external +2.5V reference. 4 CS Chip-Select Input 5 SCLK 6 DIN 7 DGND 8 VDD FUNCTION DAC Output Voltage Analog Ground Serial-Clock Input. Duty cycle must be between 40% and 60%. Serial-Data Input Digital Ground +5V Supply Voltage _______________________________________________________________________________________ 5 MAX5541 Typical Operating Characteristics (continued) (VDD = +5V, VREF = +2.5V, TA = +25C, unless otherwise noted.) MAX5541 Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC Detailed Description The MAX5541 voltage-output, 16-bit digital-to-analog converter (DAC) offers 16-bit monotonicity with less than 1LSB differential linearity error. Serial-data transfer minimizes the number of package pins required. The MAX5541 is composed of two matched DAC sections, with a 12-bit inverted R-2R DAC forming the twelve LSBs and the four MSBs derived from fifteen identically matched resistors. This architecture allows the lowest glitch energy to be transferred to the DAC output on major-carry transitions. It also decreases the DAC output impedance by a factor of eight compared to a standard R-2R ladder, allowing unbuffered operation in medium-load applications. Figure 1 is the Timing Diagram. Digital Interface The MAX5541 digital interface is a standard 3-wire connection compatible with SPI/QSPI/MICROWIRE interfaces. The chip-select input (CS) frames the serial data loading at the data input pin (DIN). Immediately following CSs high-to-low transition, the data is shifted synchronously and latched into the input register on the rising edge of the serial-clock input (SCLK). After 16 data bits have been loaded into the serial input register, it transfers its contents to the DAC latch on CSs low-to-high transition (Figure 2). Note that if CS does not remain low during the entire sixteen SCLK cycles, data will be corrupted. In this case, reload the DAC latch with a new 16-bit word. External Reference The MAX5541 operates with external voltage references from 2V to 3V. The reference voltage determines the DACs full-scale output voltage. Power-On Reset The MAX5541 has a power-on reset (POR) circuit to set the DACs output to 0V in unipolar mode when VDD is first applied. This ensures that unwanted DAC output voltages will not occur immediately following a system power-up, such as after power loss. In bipolar mode, the DAC output is set to -VREF. ;;;;;;;; ;;;;;;;;; ; ; ;; tCSH1 CS tCSHO tCSSO tCH tCSS1 tCL SCLK tDH tDS D15 DIN D14 D0 Figure 1. Timing Diagram CS DAC UPDATED SCLK DIN D15 D14 D13 D12 D11 D10 D9 D8 MSB D7 D6 D5 D4 D3 D2 D1 D0 LSB Figure 2. 3-Wire Interface Timing Diagram 6 _______________________________________________________________________________________ Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC Reference and Analog Ground Inputs The MAX5541 operates with external voltage references from 2V to 3V, and maintains 16-bit performance with proper reference selection and application. Ideally, the reference's temperature coefficient should be less than 0.4ppm/C to maintain 16-bit accuracy to within 1LSB over the commercial (0C to +70C) temperature range. Since this converter is designed as an inverted R-2R voltage-mode DAC, the input resistance seen by the voltage reference is code dependent. The worst-case input-resistance variation is from 11.5k (at code 8555 hex) to 200k (at code 0000 hex). The maximum change in load current for a 2.5V reference is 2.5V/ 11.5k = 217A; therefore, the required load regulation is 7ppm/mA for a maximum error of 0.1LSB. This implies a reference output impedance of <18m. In addition, the impedance of the signal path from the voltage reference to the reference input must be kept low because it contributes directly to the load-regulation error. The requirement for a low-impedance voltage reference is met with capacitor bypassing at the reference inputs and ground. A 0.1F ceramic capacitor with short leads between REF and AGND provides high-frequency bypassing. A surface-mount ceramic chip capacitor is preferred because it has the lowest inductance. An additional 10F between REF and AGND provides lowfrequency bypassing. A low-ESR tantalum, film, or organic semiconductor capacitor works well. Leaded capacitors are acceptable because impedance is not as critical at lower frequencies. The circuit can benefit from even larger bypassing capacitors, depending on the stability of the external reference with capacitive loading. If separate force and sense lines are not used, connect the appropriate force and sense pins together close to the package. AGND must also be low impedance, as load-regulation errors will be introduced by excessive AGND resistance. As in all high-resolution, high-accuracy applications, separate analog and digital ground planes yield the best results. Connect DGND to AGND at the AGND pin to form the "star" ground for the DAC system. For the best possible performance, always refer remote DAC loads to this system ground. Unbuffered Operation Unbuffered operation reduces power consumption as well as offset error contributed by the external output buffer. The R-2R DAC output is available directly at OUT, allowing 16-bit performance from +VREF to AGND without degradation at zero-scale. The DAC's output impedance is also low enough to drive medium loads (RL > 60k) without degradation of INL or DNL, only the gain error is increased by externally loading the DAC output. External Output Buffer Amplifier In unipolar mode, the output amplifier is used in a voltage-follower connection. The DAC's output resistance is constant and is independent of input code; however, the output amplifier's input impedance should still be as high as possible to minimize gain errors. The DAC's output capacitance is also independent of input code, thus simplifying stability requirements on the external amplifier. In single-supply applications, precision amplifiers with input common-mode ranges including AGND are available; however, their output swings do not normally include the negative rail (AGND) without significant performance degradation. A single-supply op amp, such as the MAX495, is suitable if the application does not use codes near zero. Since the LSBs for a 16-bit DAC are extremely small (38.15V for VREF = 2.5V), pay close attention to the external amplifier's input specification. The input offset voltage can degrade the zero-scale error and might require an output offset trim to maintain full accuracy if the offset voltage is greater than 1/2LSB. Similarly, the input bias current multiplied by the DAC output resistance (typically 6.25k) contributes to the zero-scale error. Temperature effects also must be taken into consideration. Over the commercial temperature range, the offset voltage temperature coefficient (referenced to +25C) must be less than 0.42V/C to add less than 1/2LSB of zero-scale error. The external amplifier's input resistance forms a resistive divider with the DAC output resistance, which results in a gain error. To contribute less than 1/2LSB of gain error, the input resistance typically must be greater than: 6.25k / 1 1 = 205M 2 214 The settling time is affected by the buffer input capacitance, the DAC's output capacitance, and PC board capacitance. The typical DAC output voltage settling time is 1s for a full-scale step. Settling time can be significantly less for smaller step changes. Assuming a single time-constant exponential settling response, a full-scale step takes twelve time constants to settle to within 1/2LSB of the final output voltage. The time constant is equal to the DAC output resistance multiplied by the total output capacitance. The DAC output capacitance is typically 10pF. Any additional output capacitance will increase the settling time. _______________________________________________________________________________________ 7 MAX5541 Applications Information MAX5541 Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC The external buffer amplifier's gain-bandwidth product is important because it increases the settling time by adding another time constant to the output response. The effective time constant of two cascaded systems, each with a single time-constant response, is approximately the root square sum of the two time constants. The DAC output's time constant is 1s/12 = 83ns, ignoring the effect of additional capacitance. If the time constant of an external amplifier with 1MHz bandwidth is 1/2 (1MHz) = 159ns, then the effective time constant of the combined system is: Table 1. Unipolar Code Table DAC LATCH CONTENTS MSB ) VREF (65,535 / 65,536) 1000 0000 0000 0000 VREF (32,768 / 65,536) = 1/2VREF 0000 0000 0000 0001 VREF (1 / 65,536) 0000 0000 0000 0000 0V For optimum system performance, use PC boards with separate analog and digital ground planes. Wire-wrap boards are not recommended. Connect the two ground planes together at the low-impedance power-supply source. Connect DGND and AGND together at the IC. The best ground connection can be achieved by connecting the DACs DGND and AGND pins together and connecting that point to the system analog ground plane. If the DACs DGND is connected to the system digital ground, digital noise may get through to the DACs analog portion. Bypass VDD with a 0.1F ceramic capacitor connected between V DD and AGND. Mount it with short leads close to the device. Ferrite beads can also be used to further isolate the analog and digital power supplies. This suggests that the settling time to within 1/2LSB of the final output voltage, including the external buffer amplifier, will be approximately 12 180ns = 2.15s. Digital Inputs and Interface Logic The digital interface for the 16-bit DAC is based on a 3wire standard that is SPI/QSPI/MICROWIRE-compatible. The three digital inputs (CS, DIN, and SCLK) load the digital input data serially into the DAC. All of the digital inputs include Schmitt-trigger buffers to accept slow-transition interfaces. This means that optocouplers can interface directly to the MAX5541 without additional external logic. The digital inputs are TTL/ CMOS-logic compatible. Chip Information Unipolar Configuration TRANSISTOR COUNT: 2209 SUBSTRATE CONNECTED TO DGND Figure 3 shows the MAX5541 configured for unipolar operation with an external op amp. The op amp is set for unity gain, and Table 1 shows the codes for this circuit. +2.5V 1111 1111 1111 1111 Power-Supply Bypassing and Ground Management 2 2 83ns + 159ns = 180ns ( ) ( ANALOG OUTPUT, VOUT LSB 10F +5V 0.1F 0.1F MC68XXXX VDD PCS0 CS MOSI DIN SCLK SCLK REF (REFS) MAX495 MAX5541 DGND OUT EXTERNAL OP AMP AGND_ Figure 3. Typical Operating Circuit 8 _______________________________________________________________________________________ UNIPOLAR OUT Low-Cost, +5V, Serial-Input, Voltage-Output, 16-Bit DAC N E H INCHES MILLIMETERS MAX MIN 0.069 0.053 0.010 0.004 0.014 0.019 0.007 0.010 0.050 BSC 0.150 0.157 0.228 0.244 0.050 0.016 MAX MIN 1.35 1.75 0.10 0.25 0.35 0.49 0.19 0.25 1.27 BSC 3.80 4.00 5.80 6.20 0.40 SOICN .EPS DIM A A1 B C e E H L 1.27 VARIATIONS: 1 INCHES TOP VIEW DIM D D D MIN 0.189 0.337 0.386 MAX 0.197 0.344 0.394 MILLIMETERS MIN 4.80 8.55 9.80 MAX 5.00 8.75 10.00 N MS012 8 AA 14 AB 16 AC D A B e C 0 -8 A1 L FRONT VIEW SIDE VIEW PROPRIETARY INFORMATION TITLE: PACKAGE OUTLINE, .150" SOIC APPROVAL DOCUMENT CONTROL NO. 21-0041 REV. B 1 1 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. 9 _____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 (c) 2002 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products. MAX5541 Package Information (The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information, go to www.maxim-ic.com/packages.)