19-3005; Rev 3; 7/07 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs The MAX5290–MAX5295 dual, 12-/10-/8-bit, voltageoutput digital-to-analog converters (DACs) offer buffered outputs and a 3µs maximum settling time at the 12-bit level. The DACs operate from a 2.7V to 5.25V analog supply and a separate 1.8V to 3.6V digital supply. The 20MHz 3-wire serial interface is compatible with SPI™, QSPI™, MICROWIRE™, and digital signal processor (DSP) protocol applications. Multiple devices can share a common serial interface in direct access or daisy-chained configuration. The MAX5290–MAX5295 provide two multifunctional, user-programmable, digital I/O ports. The externally selectable power-up states of the DAC outputs are either zero scale, midscale, or full scale. Software-selectable FAST and SLOW settling modes decrease settling time in FAST mode, or reduce supply current in SLOW mode. The MAX5290/MAX5291 are 12-bit DACs, the MAX5292/ MAX5293 are 10-bit DACs, and the MAX5294/MAX5295 are 8-bit DACs. The MAX5290/ MAX5292/MAX5294 provide unity-gain-configured output buffers, while the MAX5291/MAX5293/MAX5295 provide force-sense-configured output buffers. The MAX5290– MAX5295 are specified over the extended -40°C to +85°C temperature range, and are available in space-saving 4mm x 4mm, 16-pin thin QFN and 6.5mm x 5mm, 14-pin and 16-pin TSSOP packages. Applications Portable Instrumentation Automatic Test Equipment (ATE) Digital Offset and Gain Adjustment Automatic Tuning Programmable Voltage and Current Sources Programmable Attenuators Industrial Process Controls Features ♦ Dual, 12-/10-/8-Bit Serial DACs in 4mm x 4mm Thin QFN and TSSOP Packages ♦ 3µs (max) 12-Bit Settling Time to 1/2 LSB ♦ Integral Nonlinearity 1 LSB (max) MAX5290/MAX5291 A-Grade (12-Bit) 1 LSB (max) MAX5292/MAX5293 (10-Bit) 1/2 LSB (max) MAX5294/MAX5295 (8-Bit) ♦ Guaranteed Monotonic, ±1 LSB (max) DNL ♦ Two User-Programmable Digital I/O Ports ♦ Single +2.7V to +5.25V Analog Supply ♦ +1.8V to AVDD Digital Supply ♦ 20MHz 3-Wire SPI-/QSPI-/MICROWIRE- and DSP-Compatible Serial Interface ♦ Glitch-Free Outputs Power Up to Zero Scale, Midscale or Full Scale ♦ Unity-Gain- or Force-Sense-Configured Output Buffers Ordering Information TEMP RANGE PIN-PACKAGE MAX5290AEUD PART -40°C to +85°C 14 TSSOP MAX5290BEUD -40°C to +85°C 14 TSSOP MAX5290AETE* -40°C to +85°C 16 Thin QFN-EP** MAX5290BETE* -40°C to +85°C 16 Thin QFN-EP** MAX5291AEUE -40°C to +85°C 16 TSSOP MAX5291BEUE -40°C to +85°C 16 TSSOP MAX5291AETE* -40°C to +85°C 16 Thin QFN-EP** Motion Control Microprocessor (µP)-Controlled Systems MAX5291BETE* -40°C to +85°C 16 Thin QFN-EP** MAX5292EUD -40°C to +85°C 14 TSSOP Power Amplifier Control Fast Parallel-DAC to Serial-DAC Upgrades MAX5292ETE* -40°C to +85°C 16 Thin QFN-EP** Selector Guide and Pin Configurations appear at end of data sheet. SPI/QSPI are trademarks of Motorola, Inc. MICROWIRE is a trademark of National Semiconductor Corp. MAX5293EUE -40°C to +85°C 16 TSSOP MAX5293ETE* -40°C to +85°C 16 Thin QFN-EP** MAX5294EUD -40°C to +85°C 14 TSSOP MAX5294ETE* -40°C to +85°C 16 Thin QFN-EP** MAX5295EUE -40°C to +85°C 16 TSSOP MAX5295ETE* -40°C to +85°C 16 Thin QFN-EP** *Future product—contact factory for availability. Specifications are preliminary. **EP = Exposed paddle. ________________________________________________________________ Maxim Integrated Products For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com. 1 MAX5290–MAX5295 General Description MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs ABSOLUTE MAXIMUM RATINGS AVDD to DVDD ........................................................................±6V AGND to DGND ..................................................................±0.3V AVDD to AGND, DGND.............................................-0.3V to +6V DVDD to AGND, DGND ............................................-0.3V to +6V FB_, OUT_, REF to AGND ........-0.3V to the lower of (AVDD + 0.3V) or +6V SCLK, DIN, CS, PU, DSP to DGND .......-0.3V to the lower of (DVDD + 0.3V) or +6V UPIO1, UPIO2 to DGND ...............-0.3V to the lower of (DVDD + 0.3V) or +6V Maximum Current into Any Pin .........................................±50mA Continuous Power Dissipation (TA = +70°C) 14-Pin TSSOP (derate 9.1mW/°C above +70°C) .........727mW 16-Pin TSSOP (derate 9.4mW/°C above +70°C) .........755mW 16-Pin Thin QFN (derate 16.9mW/°C above +70°C) .1349mW Operating Temperature Range ...........................-40°C to +85°C Storage Temperature Range .............................-65°C to +150°C Maximum Junction Temperature .....................................+150°C Lead Temperature (soldering, 10s) .................................+300°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. ELECTRICAL CHARACTERISTICS (AVDD = 2.7V to 5.25V, DVDD = 1.8V to AVDD, AGND = 0, DGND = 0, VREF = 2.5V, RL = 10kΩ, CL = 100pF, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS STATIC ACCURACY Resolution N MAX5290/MAX5291 12 MAX5292/MAX5293 10 MAX5294/MAX5295 Integral Nonlinearity Differential Nonlinearity Offset Error INL DNL VOS VREF = 2.5V at AVDD = 2.7V, VREF = 4.096V at AVDD = 5.25V (Note 2) Bits 8 MAX5290A/MAX5291A (12-bit) MAX5290B/MAX5291B (12-bit) ±1 ±2 ±4 MAX5292/MAX5293 (10-bit) ±0.5 ±1 MAX5294/MAX5295 (8-bit) ±0.125 ±0.5 LSB Guaranteed monotonic (Note 2) ±1 MAX5290A/MAX5291A (12-bit), decimal code = 40 ±5 MAX5290B/MAX5291B (12-bit), decimal code = 82 ±5 ±25 MAX5292/MAX5293 (10-bit), decimal code = 21 ±5 ±25 MAX5294/MAX5295 (8-bit), decimal code = 5 ±5 ±25 Offset-Error Drift Gain Error Gain-Error Drift 2 GE Full-scale output mV ppm of FS/°C 5 MAX5290A/MAX5291A (12-bit) LSB ±4 MAX5290B/MAX5291B (12-bit) ±10 ±20 MAX5292/MAX5293 (10-bit) ±3 ±5 MAX5294/MAX5295 (8-bit) ±0.5 ±2 1 _______________________________________________________________________________________ LSB ppm of FS/°C Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs MAX5290–MAX5295 ELECTRICAL CHARACTERISTICS (continued) (AVDD = 2.7V to 5.25V, DVDD = 1.8V to AVDD, AGND = 0, DGND = 0, VREF = 2.5V, RL = 10kΩ, CL = 100pF, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL Power-Supply Rejection Ratio PSRR CONDITIONS MIN Full-scale output, AVDD = 2.7V to 3.6V TYP MAX 200 UNITS µV/V REFERENCE INPUT Reference Input Range VREF Reference Input Resistance 0.25 RREF Normal operation (no code dependence) Reference Leakage Current IREF Shutdown mode 145 AVDD 200 0.5 V kΩ 1 µA DAC OUTPUT CHARACTERISTICS SLOW mode, full scale Unity gain Force sense 67 FAST mode, full scale Unity gain 140 Output Voltage Noise Output Voltage Range (Note 4) 85 µVRMS 110 Force sense Unity-gain output 0 AVDD Force-sense output 0 AVDD / 2 V 38 Ω Short-Circuit Current AVDD = 3V, OUT_ to AGND, full scale, FAST mode 45 mA Power-Up Time From DVDD applied, interface is functional 30 Wake-Up Time Coming out of shutdown, outputs settled 40 µs Output OUT_ and FB_ Open-Circuit Leakage Current Programmed in shutdown mode, force-sense outputs only 0.01 µA DC Output Impedance 60 µs DIGITAL OUTPUTS (UPIO_) Output High Voltage VOH ISOURCE = 2mA Output Low Voltage VOL ISINK = 2mA DVDD 0.5 V 0.4 V DIGITAL INPUTS (SCLK, CS, DIN, DSP, UPIO_) DVDD ≥ 2.7V 2.4 DVDD < 2.7V 0.7 x DVDD Input High Voltage VIH V Input Low Voltage VIL Input Leakage Current IIN ±0.1 Input Capacitance CIN 10 DVDD > 3.6V 0.8 2.7V ≤ DVDD ≤ 3.6V 0.6 DVDD < 2.7V V 0.2 ±1 µA pF _______________________________________________________________________________________ 3 MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs ELECTRICAL CHARACTERISTICS (continued) (AVDD = 2.7V to 5.25V, DVDD = 1.8V to AVDD, AGND = 0, DGND = 0, VREF = 2.5V, RL = 10kΩ, CL = 100pF, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS PU INPUT Input High Voltage VIH-PU Input Low Voltage VIL-PU Input Leakage Current IIN-PU DVDD 200mV V PU still considered floating when connected to a tri-state bus 200 mV ±200 nA DYNAMIC PERFORMANCE Voltage-Output Slew Rate SR Fast mode 3.6 Slow mode 1.6 FAST mode Voltage-Output Settling Time (Note 5) V/µs MAX5290/MAX5291 from code 322 to code 4095 to 1/2 LSB 2 3 MAX5292/MAX5293 from code 82 to code 1023 to 1/2 LSB 1.5 3 MAX5294/MAX5295 from code 21 to code 255 to 1/2 LSB 1 2 µs SLOW mode MAX5290/MAX5291 from code 322 to code 4095 to 1/2 LSB 3 6 MAX5292/MAX5293 from code 82 to code 1023 to 1/2 LSB 2.5 6 MAX5294/MAX5295 from code 21 to code 255 to 1/2 LSB 2 4 FB_ Input Voltage 0 FB_ Input Current VREF / 2 V 0.1 µA Unity gain 200 Force sense 150 Digital Feedthrough CS = DVDD, code = zero scale, any digital input from 0 to DVDD and DVDD to 0, f = 100kHz 0.1 nV-s Digital-to-Analog Glitch Impulse Major carry transition 2 nV-s DAC-to-DAC Crosstalk (Note 3) 15 nV-s Reference -3dB Bandwidth (Note 6) 4 _______________________________________________________________________________________ kHz Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs (AVDD = 2.7V to 5.25V, DVDD = 1.8V to AVDD, AGND = 0, DGND = 0, VREF = 2.5V, RL = 10kΩ, CL = 100pF, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS POWER REQUIREMENTS Analog Supply Voltage Range AVDD 2.70 5.25 V Digital Supply Voltage Range DVDD 1.8 AVDD V 0.55 0.8 mA 0.9 1.2 mA Unity gain 0.85 2 Force sense 1.2 2 0.5 1.0 µA MAX UNITS 20 MHz SLOW mode, all digital inputs Unity gain at DGND or DVDD, no load, VREF = 2.5V Force sense Operating Supply Current IAVDD + IDVDD FAST mode, all digital inputs at DGND or DVDD, no load, VREF = 2.5V mA IAVDD(SHDN) No clocks, all digital inputs at DGND or DVDD, all + DACs in shutdown mode IDVDD(SHDN) Shutdown Supply Current TIMING CHARACTERISTICS—DSP Mode Disabled (3V, 3.3V Logic) (Figure 1) (DVDD = 2.7V to 5.25V, DGND = 0, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SCLK Frequency SYMBOL fSCLK CONDITIONS MIN 2.7V < DVDD < 5.25V TYP SCLK Pulse-Width High tCH (Note 7) 20 ns SCLK Pulse-Width Low tCL (Note 7) 20 ns CS Fall to SCLK Rise Setup Time tCSS 10 ns SCLK Rise to CS Rise Hold Time tCSH 5 ns SCLK Rise to CS Fall Setup Time tCS0 10 ns DIN to SCLK Rise Setup Time tDS 12 ns DIN to SCLK Rise Hold Time tDH 5 ns SCLK Rise to DOUTDC1 Valid Propagation Delay tDO1 CL = 20pF, UPIO_ = DOUTDC1 mode 30 ns SCLK Fall to DOUT_ Valid Propagation Delay tDO2 CL = 20pF, UPIO_ = DOUTDC0 or DOUTRB mode 30 ns CS Rise to SCLK Rise Hold Time tCS1 MICROWIRE and SPI modes 0 and 3 CS Pulse-Width High tCSW 10 ns 45 ns _______________________________________________________________________________________ 5 MAX5290–MAX5295 ELECTRICAL CHARACTERISTICS (continued) MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs TIMING CHARACTERISTICS—DSP Mode Disabled (3V, 3.3V Logic) (Figure 1) (continued) (DVDD = 2.7V to 5.25V, DGND = 0, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS DOUT Tri-State Time when Exiting DOUTDC0, DOUTDC1, or DOUTRB UPIO Modes tDOZ DOUTRB Tri-State Time from CS Rise MIN TYP MAX UNITS CL = 20pF, from end of write cycle to UPIO_ in high impedance 100 ns tDRBZ CL = 20pF, from rising edge of CS to UPIO_ in high impedance 20 ns DOUTRB Tri-State Enable Time from 8th SCLK Rise tZEN CL = 20pF, from 8th rising edge of SCLK to UPIO_ driven out of tri-state 0 ns LDAC Pulse-Width Low tLDL Figure 5 20 ns LDAC Effective Delay tLDS Figure 6 100 ns CLR, MID, SET Pulse-Width Low tCMS Figure 5 20 ns GPO Output Settling Time tGP Figure 6 GPO Output High-Impedance Time tGPZ UPIO TIMING CHARACTERISTICS 100 ns 100 ns MAX UNITS 10 MHz TIMING CHARACTERISTICS—DSP Mode Disabled (1.8V Logic) (Figure 1) (DVDD = 1.8V to 5.25V, DGND = 0, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SCLK Frequency SYMBOL fSCLK CONDITIONS MIN TYP 1.8V < DVDD < 5.25V SCLK Pulse-Width High tCH (Note 7) 40 SCLK Pulse-Width Low tCL (Note 7) 40 ns CS Fall to SCLK Rise Setup Time tCSS 20 ns SCLK Rise to CS Rise Hold Time tCSH 0 ns SCLK Rise to CS Fall Setup Time tCS0 10 ns DIN to SCLK Rise Setup Time tDS 20 ns DIN to SCLK Rise Hold Time tDH 5 ns SCLK Rise to DOUTDC1 Valid Propagation Delay tDO1 CL = 20pF, UPIO_ = DOUTDC1 mode 60 ns SCLK Fall to DOUT_ Valid Propagation Delay tDO2 CL = 20pF, UPIO_ = DOUTDC0 or DOUTRB mode 60 ns CS Rise to SCLK Rise Hold Time tCS1 MICROWIRE and SPI modes 0 and 3 CS Pulse-Width High tCSW 6 ns 20 ns 90 ns _______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs (DVDD = 1.8V to 5.25V, DGND = 0, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS UPIO_ TIMING CHARACTERISTICS DOUT Tri-State Time when Exiting DOUTDC0, DOUTDC1, or DOUTRB UPIO Modes tDOZ CL = 20pF, from end of write cycle to UPIO_ in high impedance 200 ns DOUTRB Tri-State Time from CS Rise tDRBZ CL = 20pF, from rising edge of CS to UPIO_ in high impedance 40 ns DOUTRB Tri-State Enable Time from 8th SCLK Rise tZEN CL = 20pF, from 8th rising edge of SCLK to UPIO_ driven out of tri-state LDAC Pulse-Width Low tLDL LDAC Effective Delay tLDS CLR, MID, SET Pulse-Width Low 0 ns Figure 5 40 ns Figure 6 200 ns tCMS Figure 5 40 ns GPO Output Settling Time tGP Figure 6 GPO Output High-Impedance Time tGPZ 200 ns 200 ns MAX UNITS 20 MHz TIMING CHARACTERISTICS—DSP Mode Enabled (3V, 3.3V Logic) (Figure 2) (DVDD = 2.7V to 5.25V, DGND = 0, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SCLK Frequency SYMBOL fSCLK CONDITIONS MIN 2.7V < DVDD < 5.25V TYP SCLK Pulse-Width High tCH (Note 7) 20 SCLK Pulse-Width Low tCL (Note 7) 20 ns CS Fall to SCLK Fall Setup Time tCSS 10 ns DSP Fall to SCLK Fall Setup Time tDSS 10 ns SCLK Fall to CS Rise Hold Time tCSH 5 ns SCLK Fall to CS Fall Delay tCS0 10 ns SCLK Fall to DSP Fall Delay tDS0 10 ns DIN to SCLK Fall Setup Time tDS 12 ns DIN to SCLK Fall Hold Time tDH 5 ns SCLK Rise to DOUT_ Valid Propagation Delay ns tDO1 CL = 20pF, UPIO_ = DOUTDC1 or DOUTRB mode 30 ns SCLK Fall to DOUTDC0 Valid Propagation Delay tDO2 CL = 20pF, UPIO_ = DOUTDC0 mode 30 ns CS Rise to SCLK Fall Hold Time tCS1 MICROWIRE and SPI modes 0 and 3 10 ns CS Pulse-Width High tCSW 45 ns DSP Pulse-Width High tDSW 20 ns DSP Pulse-Width Low tDSPWL 20 ns (Note 8) _______________________________________________________________________________________ 7 MAX5290–MAX5295 TIMING CHARACTERISTICS—DSP Mode Disabled (1.8V Logic) (Figure 1) (continued) MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs TIMING CHARACTERISTICS—DSP Mode Enabled (3V, 3.3V Logic) (Figure 2) (continued) (DVDD = 2.7V to 5.25V, DGND = 0, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS UPIO_ TIMING CHARACTERISTICS DOUT Tri-State Time when Exiting DOUTDC0, DOUTDC1, or DOUTRB UPIO Modes tDOZ CL = 20pF, from end of write cycle to UPIO_ in high impedance 100 ns DOUTRB Tri-State Time from CS Rise tDRBZ CL = 20pF, from rising edge of CS to UPIO_ in high impedance 20 ns DOUTRB Tri-State Enable Time from 8th SCLK Fall tZEN CL = 20pF, from 8th falling edge of SCLK to UPIO_ driven out of tri-state 0 ns LDAC Pulse-Width Low tLDL Figure 5 20 ns LDAC Effective Delay tLDS Figure 6 100 ns CLR, MID, SET Pulse-Width Low tCMS Figure 5 20 ns GPO Output Settling Time tGP Figure 6 GPO Output High-Impedance Time tGPZ 100 ns 100 ns MAX UNITS 10 MHz TIMING CHARACTERISTICS—DSP Mode Enabled (1.8V Logic) (Figure 2) (DVDD = 1.8V to 5.25V, DGND = 0, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SCLK Frequency SYMBOL fSCLK CONDITIONS MIN TYP 1.8V < DVDD < 5.25V SCLK Pulse-Width High tCH (Note 7) 40 SCLK Pulse-Width Low tCL (Note 7) 40 ns CS Fall to SCLK Fall Setup Time tCSS 20 ns DSP Fall to SCLK Fall Setup Time tDSS 20 ns SCLK Fall to CS Rise Hold Time tCSH 0 ns SCLK Fall to CS Fall Delay tCS0 10 ns SCLK Fall to DSP Fall Delay tDS0 15 ns DIN to SCLK Fall Setup Time tDS 20 ns DIN to SCLK Fall Hold Time tDH 5 ns SCLK Rise to DOUT_ Valid Propagation Delay tDO1 CL = 20pF, UPIO_ = DOUTDC1 or DOUTRB mode 60 ns SCLK Fall to DOUTDC0 Valid Propagation Delay tDO2 CL = 20pF, UPIO_ = DOUTDC0 mode 60 ns CS Rise to SCLK Fall Hold Time tCS1 MICROWIRE and SPI modes 0 and 3 CS Pulse-Width High tCSW DSP Pulse-Width High DSP Pulse-Width Low 8 tDSW tDSPWL (Note 8) ns 20 ns 90 ns 40 ns 40 ns _______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs (DVDD = 1.8V to 5.25V, DGND = 0, TA = TMIN to TMAX, unless otherwise noted.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS UPIO_ TIMING CHARACTERISTICS DOUT Tri-State Time when Exiting DOUTDC0, DOUTDC1, or DOUTRB UPIO_ Modes tDOZ CL = 20pF, from end of write cycle to UPIO_ in high impedance 200 ns DOUTRB Tri-State Time from CS Rise tDRBZ CL = 20pF, from rising edge of CS to UPIO_ in high impedance 40 ns DOUTRB Tri-State Enable Time from 8th SCLK Fall tZEN CL = 20pF, from 8th falling edge of SCLK to UPIO_ driven out of tri-state LDAC Pulse-Width Low tLDL LDAC Effective Delay tLDS CLR, MID, SET Pulse-Width Low 0 ns Figure 5 40 ns Figure 6 200 ns tCMS Figure 5 40 ns GPO Output Settling Time tGP Figure 6 GPO Output High-Impedance Time tGPZ 200 ns 200 ns Note 1: For the force-sense versions, FB_ is connected to its respective OUT_. VOUT(max) = VREF / 2, unless otherwise noted. Note 2: Linearity guaranteed from decimal code 40 to 4095 for the MAX5290A/MAX5291A (12-bit, A-grade), code 82 to 4095 for the MAX5290B/MAX5291B (12-bit, B-grade), code 21 to 1023 for the MAX5292/MAX5293 (10-bit), and code 5 to 255 for the MAX5294/MAX5295 (8-bit). Note 3: DAC-to-DAC crosstalk is measured as follows: outputs of DACA and DACB are set to full scale and the output of DACB is measured. While keeping DACB unchanged, the output of DACA is transitioned to zero scale and the ∆VOUT of DACB is measured. The procedure is repeated with DACA and DACB interchanged. DAC-to-DAC crosstalk is the maximum ∆VOUT measured. Note 4: Represents the functional range. The linearity is guaranteed at VREF = 2.5V. See the Typical Operating Characteristics section for linearity at other voltages. Note 5: Guaranteed by design. Note 6: The reference -3dB bandwidth is measured with a 0.1VP-P sine wave on VREF and with the input code at full scale. Note 7: In some daisy-chain modes, data is required to be clocked in on one clock edge and the shifted data clocked out on the following edge. In the case of a 1/2 clock-period delay, it is necessary to increase the minimum high/low clock times to 25ns (2.7V) or 50ns (1.8V). Note 8: The falling edge of DSP starts a DSP-type bus cycle, provided that CS is also active low to select the device. DSP active low and CS active low must overlap by a minimum of 10ns (2.7V) or 20ns (1.8V). CS can be permanently low in this mode of _______________________________________________________________________________________ 9 MAX5290–MAX5295 TIMING CHARACTERISTICS—DSP Mode Enabled (1.8V Logic) (Figure 2) (continued) Typical Operating Characteristics (AVDD = DVDD = 3V, VREF = 2.5V, RL = 10kΩ, CL = 100pF, speed mode = FAST, PU = floating, TA = +25°C, unless otherwise noted.) INTEGRAL NONLINEARITY vs. DIGITAL INPUT CODE (MAX5291A) 0.2 0.10 0.05 2 -0.4 -0.05 INL (LSB) INL (LSB) -0.10 -0.15 1 0 -1 -0.20 -2 -0.25 -0.8 0 1000 2000 3000 4000 -0.30 -3 -0.35 -4 4096 0 1000 INPUT CODE 3000 4000 4096 0 1024 INPUT CODE INTEGRAL NONLINEARITY vs. DIGITAL INPUT CODE (10-BIT) UNITY GAIN 0.75 0.50 UNITY GAIN 0.2 UNITY GAIN 0.25 INL (LSB) 0.25 0 3072 4096 DIFFERENTIAL NONLINEARITY vs. DIGITAL INPUT CODE (12-BIT) 0.1 DNL (LSB) 0.50 2048 DIGITAL INPUT CODE INTEGRAL NONLINEARITY vs. DIGITAL INPUT CODE (8-BIT) MAX5290 toc04 1.00 2000 MAX5290 toc06 -0.6 MAX5290 toc05 INL (LSB) -0.2 UNITY GAIN B-GRADE 3 0 0 INL (LSB) 4 MAX5290 toc02 0.15 MAX5290 toc01 0.4 INTEGRAL NONLINEARITY vs. DIGITAL INPUT CODE (12-BIT) MAX5290 toc03 INTEGRAL NONLINEARITY vs. DIGITAL INPUT CODE (MAX5290A) 0 0 -0.25 -0.50 -0.25 -0.1 -0.75 -1.00 -0.50 256 512 768 1024 -0.2 0 64 128 192 256 0 1024 2048 3072 DIGITAL INPUT CODE DIGITAL INPUT CODE DIGITAL INPUT CODE DIFFERENTIAL NONLINEARITY vs. DIGITAL INPUT CODE (10-BIT) DIFFERENTIAL NONLINEARITY vs. DIGITAL INPUT CODE (8-BIT) INTEGRAL NONLINEARITY vs. TEMPERATURE (A-GRADE) UNITY GAIN UNITY GAIN 0.35 0.01 0 0.30 INL (LSB) DNL (LSB) 0.025 0.40 0 UNITY GAIN 0.25 0.20 FORCE SENSE 0.15 -0.025 4096 MAX5290 toc09 0.02 MAX5290 toc07 0.050 MAX5290 toc08 0 DNL (LSB) MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs -0.01 0.10 0.05 MIDSCALE -0.050 -0.02 0 256 512 768 DIGITAL INPUT CODE 10 1024 0 0 64 128 192 DIGITAL INPUT CODE 256 -40 -15 10 35 TEMPERATURE (°C) ______________________________________________________________________________________ 60 85 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs UNITY GAIN B-GRADE 0.50 0.45 0.40 0.1 0 0.35 INL (LSB) DNL (LSB) INL (LSB) 2 UNITY GAIN MAX5290 toc12 0.2 MAX5290 toc10 4 INTEGRAL NONLINEARITY vs. REFERENCE VOLTAGE (MAX5290A) DIFFERENTIAL NONLINEARITY vs. TEMPERATURE (12-BIT) MAX5290 toc11 INTEGRAL NONLINEARITY vs. TEMPERATURE (12-BIT) 0 0.30 0.25 0.20 0.15 -2 -0.1 -4 -0.2 0.10 0.05 35 85 60 -15 35 OFFSET ERROR vs. TEMPERATURE (A-GRADE) OFFSET ERROR (mV) 0.7 0.6 0.5 0.4 0.3 0.6 0.5 FORCE SENSE 0.4 0.3 2.0 2.5 3.0 3.5 4.0 4.5 -15 UNITY GAIN -4 -6 GAIN ERROR vs. TEMPERATURE (A-GRADE) 60 -40 85 -15 UNITY GAIN: 1 LSB = 0.6mV FORCE SENSE: 1 LSB = 0.3mV -2 GAIN ERROR (LSB) UNITY GAIN -0.05 -0.10 -0.15 -0.20 10 35 60 85 TEMPERATURE (°C) 0 MAX5290 toc16 0.05 0 35 GAIN ERROR vs. TEMPERATURE UNITY GAIN: 1 LSB = 0.6mV FORCE SENSE: 1 LSB = 0.3mV 0.10 10 TEMPERATURE (°C) VREF (V) 0.15 5.0 -10 -40 5.0 REFERENCE INPUT BANDWIDTH 5 VREF = 0.1VP-P AT 2.5VDC 0 -5 -4 FORCE SENSE GAIN (dB) 1.5 4.5 UNITY GAIN: 1 LSB = 0.6mV FORCE SENSE: 1 LSB = 0.3mV MAX5290 toc17 1.0 4.0 -8 0 0 3.5 FORCE SENSE 0.1 0.1 3.0 -2 0.2 0.2 2.5 0 OFFSET ERROR (LSB) MAX5290 toc13 0.8 2.0 OFFSET ERROR vs. TEMPERATURE CODE = 40 UNITY GAIN UNITY GAIN: 1 LSB = 0.6mV FORCE SENSE: 1 LSB = 0.3mV 0.7 1.5 VREF (V) INTEGRAL NONLINEARITY vs. REFERENCE VOLTAGE (MAX5291A) 0.8 1.0 85 60 TEMPERATURE (°C) 0.9 GAIN ERROR (LSB) 10 TEMPERATURE (°C) 1.0 INL (LSB) 0 -40 MAX5290 toc15 10 MAX5290 toc18 -15 MAX5290 toc14 -40 -6 -10 -15 UNITY GAIN -20 -0.25 -8 -25 FORCE SENSE -0.30 -0.35 -10 -40 -15 10 35 TEMPERATURE (°C) 60 85 -30 -40 -15 10 35 TEMPERATURE (°C) 60 85 0 1k 10k 100k 1M 10M FREQUENCY (Hz) ______________________________________________________________________________________ 11 MAX5290–MAX5295 Typical Operating Characteristics (continued) (AVDD = DVDD = 3V, VREF = 2.5V, RL = 10kΩ, CL = 100pF, speed mode = FAST, PU = floating, TA = +25°C, unless otherwise noted.) Typical Operating Characteristics (TA = +25°C, unless otherwise noted.) SUPPLY CURRENT vs. DIGITAL INPUT CODE (UNITY GAIN) 0.5 0.4 SLOW MODE 12-BIT NO LOAD 0.1 0 MAX5290 toc20 0.4 0.3 1024 2048 3072 I = IAVDD + IDVDD AVDD = DVDD NO LOAD 0.2 0.1 95 90 85 UNITY GAIN 80 FORCE SENSE 75 70 65 AVDD = DVDD I = IAVDD + IDVDD NO LOAD 60 55 3.1 3.5 3.9 4.3 4.7 5.1 4.3 5.1 4 3 B-GRADE UNITY GAIN: 1 LSB = 1mV FORCE SENSE: 1 LSB = 0.5mV 2 UNITY GAIN 1 0 -1 FORCE SENSE -2 -3 -4 3.1 3.5 3.9 4.3 4.7 5.1 5.5 -40 -15 10 35 60 GAIN ERROR vs. TEMPERATURE OUTPUT VOLTAGE vs. OUTPUT SOURCE/SINK CURRENT MAJOR-CARRY TRANSITION GLITCH FORCE SENSE MAX5290 toc26 2.15 OUTPUT VOLTAGE (V) UNITY GAIN -1 2.10 OUT_ (AC-COUPLED) 10mV/div MIDSCALE 2.05 2.00 1.95 1.90 -3 -5 CS 2V/div UNITY GAIN VREF = 4.096V 1.85 -4 1.80 -15 10 35 TEMPERATURE (°C) 60 85 85 MAX5290 toc27 2.20 MAX5290 toc25 1 5.5 5 TEMPERATURE (°C) 2 -40 4.7 SUPPLY VOLTAGE (V) B-GRADE UNITY GAIN: 1 LSB = 1mV FORCE SENSE: 1 LSB = 0.5mV -2 3.9 SUPPLY VOLTAGE (V) 5 0 3.5 -5 2.7 5.5 3.1 OFFSET ERROR vs. TEMPERATURE 50 2.7 I = IAVDD + IDVDD AVDD = DVDD NO LOAD SUPPLY VOLTAGE (V) 100 0 0.7 2.7 OFFSET ERROR (LSB) SLOW MODE SLOW MODE 0.8 4096 MAX5290 toc23 MAX5290 toc22 0.5 0.3 3072 SHUTDOWN SUPPLY CURRENT vs. SUPPLY VOLTAGE 0.6 0.4 2048 SUPPLY CURRENT vs. SUPPLY VOLTAGE (UNITY GAIN) FAST MODE 0.7 1024 DIGITAL INPUT CODE 0.8 0.9 0.5 DIGITAL INPUT CODE 0.9 1.0 0.4 0 4096 FAST MODE 1.1 0.6 SLOW MODE 12-BIT NO LOAD 0.1 1.0 12 1.2 0 0 3 0.5 0.2 0.3 0.2 4 0.6 1.3 MAX5290 toc24 0.7 0.6 1.4 SUPPLY CURRENT (mA) SUPPLY CURRENT (mA) 0.9 0.8 0.7 SHUTDOWN SUPPLY CURRENT (nA) SUPPLY CURRENT (mA) 1.1 1.0 SUPPLY CURRENT (mA) 0.8 MAX5290 toc19 1.2 SUPPLY CURRENT vs. SUPPLY VOLTAGE (FORCE SENSE) MAX5290 toc21 SUPPLY CURRENT vs. DIGITAL INPUT CODE (FORCE SENSE) GAIN ERROR (LSB) MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs -40 -30 -20 -10 0 10 20 30 40 200ns/div IOUT (mA) ______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs REFERENCE INPUT BANDWIDTH SETTLING TIME NEGATIVE MAX5290 toc29 MAX5290 toc28 5 MAX5290 toc30 SETTLING TIME POSITIVE FULL-SCALE TRANSITION FULL-SCALE TRANSITION 0 OUT_ 2V/div -5 GAIN (dB) OUT_ 2V/div CS 2V/div CS 2V/div -10 -15 -20 VREF = 0.1VP-P AT 4.096VDC UNITY GAIN -25 1 400ns/div 400ns/div 10 100 1000 10,000 FREQUENCY (kHz) REFERENCE FEEDTHROUGH AT 1kHz DAC-TO-DAC CROSSTALK DIGITAL FEEDTHROUGH MAX5290 toc32 MAX5290 toc33 MAX5290 toc31 -22 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 -130 MAX5290–MAX5295 Typical Operating Characteristics (TA = +25°C, unless otherwise noted.) OUTB 1mV/div OUT_ (AC-COUPLED) 10mV/div SCLK 2V/div OUTA 2V/div -142 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 100µs/div 1µs/div FREQUENCY (kHz) POWER-UP GLITCH EXITING SHUTDOWN TO MIDSCALE MAX5290 toc34 MAX5290 toc35 AVDD 2V/div OUT_ 1V/div OUT_ 1V/div UPIO_ 2V/div PU = FLOATING PU = FLOATING 20µs/div 10µs/div ______________________________________________________________________________________ 13 MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Pin Description PIN MAX5290 MAX5292 MAX5294 MAX5291 MAX5293 MAX5295 NAME FUNCTION THIN QFN TSSOP THIN QFN TSSOP 1 2 1 3 DSP Clock Enable. Connect DSP to DVDD at power-up to transfer data on the rising edge of SCLK. Connect DSP to DGND at power-up to transfer data on the falling edge of SCLK. 2 3 2 4 DIN Serial Data Input 3 4 3 5 CS Active-Low Chip-Select Input 4 5 4 6 SCLK Serial Clock Input 5 6 5 7 DVDD Digital Supply 6 7 6 8 DGND Digital Ground 7 8 7 9 AGND Analog Ground 8 9 8 10 AVDD Analog Supply 9 10 9 11 OUTB — — 10 12 FBB Feedback for DACB Output Buffer 10 11 11 13 REF Reference Input — — 12 14 FBA Feedback for DACA Output Buffer 11, 13 — — — N.C. No Connection. Not internally connected. 12 12 13 15 OUTA 14 DACB Output DACA Output Power-Up State Select Input. Connect PU to DVDD to set OUTA and OUTB to full scale upon power-up. Connect PU to DGND to set OUTA and OUTB to zero upon power-up. Leave PU floating to set OUTA and OUTB to midscale upon power-up. 14 13 14 16 PU 15 14 15 1 UPIO2 User-Programmable Input/Output 2 16 1 16 2 UPIO1 User-Programmable Input/Output 1 — — — — EP Exposed Paddle (QFN Only). Not internally connected. Do not connect to circuitry. ______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs DVDD AVDD CS SCLK DIN DSP AGND DGND SERIAL INTERFACE CONTROL MAX5290 MAX5292 MAX5294 16-BIT SHIFT REGISTER MUX UPIO1 UPIO2 PU UPIO1 AND UPIO2 LOGIC DOUT REGISTER POWER-DOWN LOGIC AND REGISTER DECODE CONTROL OUTA INPUT REGISTER DAC REGISTER DAC A REF OUTB INPUT REGISTER DAC REGISTER DAC B ______________________________________________________________________________________ 15 MAX5290–MAX5295 Functional Diagrams MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Functional Diagrams (continued) DVDD AVDD CS SCLK DIN DSP AGND DGND SERIAL INTERFACE CONTROL MAX5291 MAX5293 MAX5295 16-BIT SHIFT REGISTER MUX UPIO1 UPIO2 PU UPIO1 AND UPIO2 LOGIC DOUT REGISTER POWER-DOWN LOGIC AND REGISTER FBA DECODE CONTROL OUTA INPUT REGISTER DAC REGISTER DAC A REF FBB OUTB INPUT REGISTER 16 DAC REGISTER DAC B ______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs The MAX5290–MAX5295 dual, 12-/10-/8-bit, voltageoutput digital-to-analog converters (DACs) offer buffered outputs and a 3µs maximum settling time at the 12-bit level. The DACs operate from a single 2.7V to 5.25V analog supply and a separate 1.8V to AVDD digital supply. The MAX5290–MAX5295 include an input register and DAC register for each channel and a 16-bit data-in/data-out shift register. The 3-wire serial interface is compatible with SPI, QSPI, MICROWIRE, and DSP applications. The MAX5290–MAX5295 provide two user-programmable digital I/O ports, which are programmed through the serial interface. The externally selectable power-up states of the DAC outputs are either zero scale, midscale, or full scale. Reference Input The reference input, REF, accepts both AC and DC values with a voltage range extending from 0.25V to AVDD. The voltage at REF (VREF) sets the full-scale output of the DACs. Determine the output voltage using the following equation: Unity-gain versions: VOUT_ = (VREF x CODE) / 2N Force-sense versions (FB_ connected to OUT_): VOUT = 0.5 x (VREF x CODE) / 2N where CODE is the numeric value of the DAC’s binary input code and N is the bits of resolution. For the MAX5290/MAX5291, N = 12 and CODE ranges from 0 to 4095. For the MAX5292/MAX5293, N = 10 and CODE ranges from 0 to 1023. For the MAX5294/ MAX5295, N = 8 and CODE ranges from 0 to 255. Output Buffers The DACA and DACB output-buffer amplifiers of the MAX5290–MAX5295 are unity-gain stable with rail-torail output voltage swings and a typical slew rate of 5.7V/µs. The MAX5290/MAX5292/MAX5294 provide unity-gain outputs, while the MAX5291/MAX5293/ MAX5295 provide force-sense outputs. For the MAX5291/MAX5293/MAX5295, access to the output amplifier’s inverting input provides flexibility in output gain setting and signal conditioning (see the Applications Information section). The MAX5290–MAX5295 offer FAST and SLOW-settling time modes. In the FAST mode, the settling time is 3µs (max), and the supply current is 2mA (max). In the SLOW mode, the settling time is 6µs (max), and the supply current drops to 0.8mA (max). See the Digital Interface section for settling-time mode programming details. Use the serial interface to set the shutdown output impedance of the amplifiers to 1kΩ or 100kΩ for the MAX5290/MAX5292/MAX5294 and 1kΩ or high impedance for the MAX5291/MAX5293/MAX5295. The DAC outputs can drive a 2kΩ (typ) load and are stable with up to 500pF (typ) of capacitive load. Power-On Reset At power-up, all DAC outputs power up to full scale, midscale, or zero scale, depending on the configuration of the PU input. Connect PU to DVDD to set OUT_ to full scale upon power-up. Connect PU to DGND to set OUT_ to zero scale upon power-up. Leave PU floating to set OUT_ to midscale. Digital Interface The MAX5290–MAX5295 use a 3-wire serial interface that is compatible with SPI, QSPI, MICROWIRE, and DSPs (Figures 1 and 2). Connect DSP to DVDD before power-up to clock data in on the rising edge of SCLK. Connect DSP to DGND before power-up to clock data in on the falling edge of SCLK. After power-up, the device enters DSP frame sync mode on the first rising edge of DSP. Refer to the Programmer’s Handbook for details. Each MAX5290–MAX5295 includes a 16-bit input shift register. The data is loaded into the input shift register through the serial interface. The 16 bits can be sent in two serial 8-bit packets or one 16-bit word (CS must remain low until all 16 bits are transferred). The data is loaded MSB first. For the MAX5290/MAX5291, the 16 bits consist of 4 control bits (C3–C0) and 12 data bits (D11–D0) (see Table 1). For the 10-bit MAX5292/ MAX5293 devices, D11–D2 are the data bits and D1 and D0 are sub-bits. For the 8-bit MAX5294/ MAX5295 devices, D11–D4 are the data bits and D3–D0 are sub-bits. Set all sub-bits to zero for optimum performance. Each DAC channel includes two registers: an input register and the DAC register. At power-up, the DAC output is set according to the state of PU. The DACs are double-buffered, which allows any of the following for each channel: • Loading the input register without updating the DAC register • Loading the DAC register without updating the input register • Updating the DAC register from the input register • Updating the input and DAC registers simultaneously ______________________________________________________________________________________ 17 MAX5290–MAX5295 Detailed Description MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Table 1. Serial Write Data Format MSB 16 BITS OF SERIAL DATA CONTROL BITS C3 C2 C1 LSB DATA BITS C0 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 tCH SCLK tCL tDS DIN C3 tCS0 C2 C1 D0 tCSH tDH tCSS CS tCSW tCS1 tDO1 DOUTDC1* DOUT VALID tDO2 DOUTDC0 OR DOUTRB* DOUT VALID *UPIO1/UPIO2 CONFIGURED AS DOUTDC_ (DAISY-CHAIN DATA OUTPUT, MODE 0 OR 1) OR DOUTRB (READ-BACK DATA OUTPUT). SEE THE DATA OUTPUT SECTION FOR DETAILS. Figure 1. Serial-Interface Timing Diagram (DSP Mode Disabled) tCL SCLK tCH tDS DIN C3 C2 C1 D0 tDH tCS0 tCSH tCSS CS tCSW tDS0 tCS1 tDSS DSP tDSW tDSPWL tD02 DOUTDC0* DOUT VALID tD01 DOUTDC1 OR DOUTRB* DOUT VALID *UPIO1/UPIO2 CONFIGURED AS DOUTDC_ (DAISY-CHAIN DATA OUTPUT, MODE 0 OR 1) OR DOUTRB (READ-BACK DATA OUTPUT). SEE THE DATA OUTPUT SECTION FOR DETAILS. Figure 2. Serial-Interface Timing Diagram (DSP Mode Enabled) 18 ______________________________________________________________________________________ D1 D0 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Loading Input and DAC Registers The MAX5290–MAX5295 contain a 16-bit shift register that is followed by a 12-bit input register and a 12-bit DAC register for each channel (see the Functional Diagrams). Tables 3, 4, and 5 highlight a few of the commands for the loading of the input and DAC registers. See Table 2a for all DAC programming commands. VDD MICROWIRE VDD SPI OR QSPI VDD DVDD SK SO DSP SCLK DIN I/O CS MAX5290– MAX5295 VDD DVDD SCK MOSI DSP SCLK DIN COMMAND TAKES EFFECT HERE ONLY IF SCLK COUNT = N ✕ 16 CS MUST REMAIN LOW BETWEEN BYTES ON A 16-BIT WRITE OPERATION CS CS SS OR I/O MICROWIRE OR SPI (CPOL = 0, CPHA = 0) 8-BIT CONTROL DATA OR 12-BIT DAC DATA WRITE: MAX5290– MAX5295 SCLK DIN C3 C2 C1 C0 D11 D10 D9 D8 D7 D6 D5 D4 SPI (CPOL = 1, CPHA = 1) 8-BIT CONTROL DATA OR 12-BIT DAC DATA WRITE: D2 D1 D0 COMMAND TAKES EFFECT HERE ONLY IF SCLK COUNT = N ✕ 16 CS MUST REMAIN LOW BETWEEN BYTES ON A 16-BIT WRITE OPERATION CS D3 SCLK DIN C3 C2 C1 C0 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Figure 3. MICROWIRE and SPI (CPOL = 0, CPHA = 0 or CPOL = 1, CPHA = 1) DAC Writes DSP SPI OR QSPI MAX5290– DGND MAX5295 VSS MAX5290– DSP SCLK DIN TCLK, SCLK, OR CLKX DT OR DX CS SS OR I/O DSP OR SPI (CPOL = 0, CPHA = 1) 8-BIT CONTROL DATA OR 12-BIT DAC DATA WRITE: COMMAND TAKES EFFECT HERE ONLY IF SCLK COUNT = N ✕ 16 CS MUST REMAIN LOW BETWEEN BYTES ON A 16-BIT WRITE OPERATION CS DSP SCLK DIN SCK MOSI CS TFS OR FSX DGND MAX5295 VSS SCLK DIN C3 C2 C1 C0 D11 D10 D9 D8 D7 D6 D5 D4 DSP OR SPI (CPOL = 1, CPHA = 0) 8-BIT CONTROL DATA OR 12-BIT DAC DATA WRITE: D2 D1 D0 COMMAND TAKES EFFECT HERE ONLY IF SCLK COUNT = N ✕ 16 CS MUST REMAIN LOW BETWEEN BYTES ON A 16-BIT WRITE OPERATION CS D3 SCLK DIN C3 C2 C1 C0 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Figure 4. DSP and SPI (CPOL = 0, CPHA = 1 or CPOL = 1, CPHA = 0) DAC Writes ______________________________________________________________________________________ 19 MAX5290–MAX5295 Serial-Interface Programming Commands Tables 2a, 2b, and 2c provide all of the serial-interface programming commands for the MAX5290–MAX5295. Table 2a shows the basic DAC programming commands, Table 2b gives the advanced-feature programming commands, and Table 2c provides the 24-bit read commands. Figures 3 and 4 illustrate the serialinterface diagrams for read and write operations. 20 C2 C1 C0 CONTROL BITS C3 D1 D1 D9 D8 0 0 0 0 0 0 0 1 1 1 1 1 1 DIN DIN DIN DIN DIN DIN DIN DIN DIN DIN DIN DIN DIN 1 1 0 0 0 0 1 1 1 1 0 0 0 0 ______________________________________________________________________________________ 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 X X X X X X D11 D10 D11 D10 X X X X X X D11 D10 D11 D10 D11 D10 D11 D10 D11 D10 D11 D10 D9 D9 X X X X X X D9 D9 D9 D9 D9 D9 D8 D8 X X X X X X D8 D8 D8 D8 D8 D8 D7 D7 X X X X X X D7 D7 D7 D7 D7 D7 D7 D6 D6 X X X X X X D6 D6 D6 D6 D6 D6 D5 D5 X X X X X X D5 D5 D5 D5 D5 D5 D5 D4 D4 X X X X X X D4 D4 D4 D4 D4 D4 D4 DATA BITS D6 D3/0 D3/0 X X X X X X D3/0 D3/0 D3/0 D3/0 D3/0 D3/0 D3 D2/0 D2/0 X X X X X X D2/0 D2/0 D2/0 D2/0 D2/0 D2/0 D2 D1/0 D1/0 X X X X X X D1/0 D1/0 D1/0 D1/0 D1/0 D1/0 D1 D0/0 D0/0 X X X X X X D0/0 D0/0 D0/0 D0/0 D0/0 D0/0 D0 Load all input and DAC registers from shift register. DAC outputs are updated.* Load all input registers from the shift register; all DAC registers are unchanged. All DAC outputs are unchanged.* Command is ignored. Command is ignored. Command is ignored. Command is ignored. Command is ignored. Command is ignored. Load input register B and DAC register B from shift register. DAC outputs are updated.* Load DAC register B from shift register; input registers are unchanged. DAC outputs are updated.* Load input register B; DAC registers are unchanged. DAC outputs are unchanged.* Load input register A and DAC register A from shift register. DAC outputs are updated.* Load DAC register A from shift register; input registers are unchanged. DAC outputs are updated.* Load input register A from shift register; DAC registers are unchanged. DAC outputs are unchanged.* FUNCTION *For the MAX5292/MAX5293 (10-bit version), D11–D2 are the significant bits and D1 and D0 are sub-bits. For the MAX5294/MAX5295 (8-bit version), D11–D4 are the significant bits and D3–D0 are sub-bits. Set all sub-bits to zero during the write commands. X = Don’t care. 0 DIN LOADING INPUT AND DAC REGISTERS A AND B DATA Table 2a. DAC Programming Commands MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs C3 1 1 1 C1 1 1 X DIN DOUTRB X 1 1 X 0 0 0 1 1 X DIN DOUTRB X 1 1 X 0 0 1 1 X DIN DOUTRB X 1 1 X 0 0 X 1 1 X 1 1 X = Don’t care. 1 1 X DIN DOUTRB X 1 1 DIN X 1 1 X 1 1 X 0 0 CPOL AND CPHA CONTROL BITS X 1 1 DIN SETTLING-TIME-MODE BITS X 1 1 DIN X 0 0 0 C0 D1 UPIO CONFIGURATION BITS X 1 1 DIN SHUTDOWN-MODE BITS DIN C2 CONTROL BITS SELECT BITS DATA X 0 0 X 1 1 X 0 0 X 1 1 0 D1 X 0 0 X 1 0 X 1 0 X 1 0 X D9 X 1 0 X X X X X X X X X X D8 X X X X D6 X X X X X X UP3-2 X X X X X X X UP2-2 X UPSL2 UPSL1 X X X X D7 X X X X X X UP1-2 X UP3 X X X X D5 X X X X X X UP0-2 X UP2 X X X X D4 DATA BITS X X X X X X UP3-1 X UP1 PDB1 X PDB1 X D3 X X X X X X UP2-1 X UP0 PDB0 X PDB0 X D2 CPOL X CPOL SPDB X SPDB UP1-1 X X PDA1 X PDA1 MB D1 CPHA X CPHA SPDA X SPDA UP0-1 X X PDA0 X PDA0 MA D0 Read CPOL, CPHA control bits. Write CPOL, CPHA control bits. See Table 15. Read DACA and DACB settling-time mode bits. Write DACA and DACB settling-time mode bits. Read UPIO configuration bits. Write UPIO configuration bits. See Tables 19 and 22. Read DACA and DACB shutdown mode bits. Write DACA and DACB shutdown mode bits. See Table 8. Load DAC register A from input register A when MA is 1. DAC register A is unchanged if MA is 0. Load DAC register B from input register B when MB is 1. DAC register B is unchanged if MB is 0. FUNCTION MAX5290–MAX5295 Table 2b. Advanced-Feature Programming Commands Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs ______________________________________________________________________________________ 21 22 C2 C1 C0 D1 CONTROL BITS C3 D1 D9 X DOUTRB X 1 1 1 1 1 DIN DIN DIN DIN 1 1 1 1 1 1 1 1 1 1 X 1 1 1 1 1 1 X 1 1 1 1 1 1 X 0 1 1 1 0 0 X 0 1 1 0 1 0 X 1 C2 C1 C0 CONTROL BITS C3 D27 D26 D25 ______________________________________________________________________________________ X 1 X DOUTRB DIN DOUTRB X 1 X 1 X 1 X 1 X 1 X 1 X 0 X 0 X 1 X 1 X 1 X 0 X X X X D23 1 D23 1 D24 D23 D22 1 D22 1 D22 1 X X X X X X D7 1 X X X X X X D6 1 1 1 1 1 1 1 1 D21 D20 D19 D18 D17 1 D21 D20 D19 D18 D17 1 D21 D20 D19 D18 D17 1 0 X X X X X D8 D16 1 D16 1 D16 1 X X X X 1 1 D15/ D14/ X X 1 D15/ D14/ X X 1 D14 D13/ X 1 D13/ X 1 D13 LF2 X D4 DATA BITS D15 1 X X X X RTP2 X D5 DATA BITS D12/ X 1 D12/ X 1 D12 1 X X X X LR2 X D3 D11 1 D11 1 D11 D10 1 D10 1 D10 1 X X X X RTP1 X D2 D9 1 D9 1 D9 D8 1 D8 1 D8 1 X X X X LF1 X D1 D7 X D7 X D7 X X X X D2 X D1 X D0 FUNCTION 16-bit no-op command. All DACs are unaffected. Command is ignored. Command is ignored. Command is ignored. Command is ignored. Read input register A and DAC D3/ D2/ D1/ D0/ register A D6 D5 D4 X X X X (all 24 bits).**† X X X X X X X Read input register B and DAC D3/ D2/ D1/ D0/ register B D6 D5 D4 X X X X (all 24 bits).** † X FUNCTION Read UPIO_ inputs. (Valid only when UPIO1 or UPIO2 is configured as a general-purpose input.) See GPI, GPOL, GPOH section. D6 D5 D4 D3 1 X X X X LR1 X D0 **D23–D12 represent the 12-bit data from the corresponding DAC register. D11–D0 represent the 12-bit data from the corresponding input register. For the MAX5292/MAX5293, bits D13, D12, D1, and D0 are don’t-care bits. For the MAX5294/MAX5295, bits D15–D12 and D3–D0 are don’t-care bits. †During readback, all ones (code FF) must be clocked into DIN for all 24 bits. No command may be issued before all 24 bits have been clocked out. CS must be kept low while all 24 bits are clocked out. X = Don’t care. 1 DIN READ INPUT AND DAC REGISTERS A AND B DATA Table 2c. 24-Bit Read Commands X = Don’t care. 1 DIN OTHER COMMANDS 1 DIN UPIO_ AS GPI (GENERAL-PURPOSE INPUT) DATA Table 2b. Advanced-Feature Programming Commands (continued) MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs DAC Programming Examples: To load input register A from the shift register, leaving DAC register A unchanged (DAC output unchanged), use the command in Table 3. The MAX5290–MAX5295 can load DAC register A from the shift register, leaving input register A unchanged, by using the command in Table 4. To load input register A and DAC register A simultaneously from the shift register, use the command in Table 5. Advanced Feature Programming Commands Refer to the Programmer’s Handbook for details. Select Bits (MA, MB) The select bits allow synchronous updating of any combination of channels. The select bits command the loading of the DAC register from the input register of each channel. Set the select bit M_ = 1 to load the DAC register “_” with data from the input register “_”, where “_” is replaced with A or B depending on the selected channel. Setting the select bit to M_ = 0 results in no action for that channel (Table 6). For the 10-bit and 8-bit versions, set sub-bits = 0 for best performance. Table 3. Load Input Register A from Shift Register DATA DIN CONTROL BITS 0 0 0 0 DATA BITS D11 D10 D9 D8 D7 D6 D5 D4 D3/0 D2/0 D1/0 D0/0 D4 D3/0 D2/0 D1/0 D0/0 Table 4. Load DAC Register A from Shift Register DATA DIN CONTROL BITS 0 0 0 1 DATA BITS D11 D10 D9 D8 D7 D6 D5 Table 5. Load Input Register A and DAC Register A from Shift Register DATA DIN CONTROL BITS 0 0 1 0 DATA BITS D11 D10 D9 D8 D7 D6 D5 D4 D3/0 D2/0 D1/0 D0/0 X X X MB MA X X X 1 0 Table 6. Select Command DATA DIN CONTROL BITS 1 1 1 0 DATA BITS 0 0 X X X X X X = Don’t care. Table 7. Select Bits Programming Example DATA DIN CONTROL BITS 1 1 1 0 DATA BITS 0 0 X X X X X X = Don’t care. ______________________________________________________________________________________ 23 MAX5290–MAX5295 Default register values at power-up correspond to the state of PU, e.g. input and DAC registers are set to 800hex if PU is floating, FFFhex if PU = DV DD, and 000hex if PU= DGND. MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Shutdown-Mode Bits (PDA0, PDA1, PDB0, PDB1) Use the shutdown-mode bits to shut down each DAC independently. Set PD_0 and PD_1 according to Table 8 to select the shutdown mode for DAC_, where “_” is replaced with A or B depending on the selected channel. The three possible states for unity-gain versions are 1) normal operation, 2) shutdown with 1kΩ output impedance, and 3) shutdown with 100kΩ output impedance. The three possible states for force-sense versions are 1) normal operation, 2) shutdown with 1kΩ output impedance, and 3) shutdown with high-impedance output. Table 9 shows the command for writing to the shutdown mode bits. Select Bits Programming Example: To load DAC register B from input register B while keeping channel A unchanged, set MB = 1 and MA = 0, as in the command in Table 7. Table 8. Shutdown-Mode Bits PD_1 PD_0 DESCRIPTIONS 0 Shutdown with 1kΩ termination to ground on DAC_ output. 0 1 Shutdown with 100kΩ termination to ground on DAC_ output for unity-gain versions. Shutdown with high-impedance output for force-sense versions. 1 0 Ignored. 1 1 DAC_ is powered up in its normal operating mode. 0 Shutdown-Mode Bits Write Example: To put a unity-gain version’s DACA into shutdown mode with internal 1kΩ termination to ground and DACB into the shutdown mode with the internal 100kΩ termination to ground, use the command in Table 10 (applicable to unity-gain output only). To read back the shutdown-mode bits, use the command in Table 11. Table 9. Shutdown-Mode Write Command DATA DIN CONTROL BITS 1 1 1 DATA BITS 0 0 1 0 X X X X X PDB1 PDB0 PDA1 PDA0 X 0 1 0 0 X = Don’t care. Table 10. Shutdown-Mode Bits Write Example DATA CONTROL BITS DIN 1 1 1 DATA BITS 0 0 1 0 X X X X X = Don’t care. Table 11. Shutdown-Mode Read Command DATA CONTROL BITS DATA BITS DIN 1 1 1 0 0 1 1 X X X X X DOUTRB X X X X X X X X X X X X X X X X PDB1 PDB0 PDA1 PDA0 X = Don’t care. Table 12. Settling-Time-Mode Write Command DATA DIN CONTROL BITS 1 1 1 0 DATA BITS 1 1 0 X X X X X X X X = Don’t care. 24 ______________________________________________________________________________________ SPDB SPDA Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Settling-Time-Mode Write Example: To configure DACA into FAST mode and DACB into SLOW mode, use the command in Table 13. To read back the settling-time-mode bits, use the command in Table 14. CPOL and CPHA Control Bits The CPOL and CPHA control bits of the MAX5290–MAX5295 are defined the same as the CPOL and CPHA bits in the SPI standard. Set the CPOL = 0 and CPHA = 0 or set CPOL = 1 and CPHA = 1 for MICROWIRE and SPI applications requiring the clocking of data in on the rising edge of SCLK. Set the CPOL = 0 Table 13. Settling-Time-Mode Write Example DATA DIN CONTROL BITS 1 1 1 DATA BITS 0 1 1 0 X X X X X X X 0 1 X = Don’t care. Table 14. Settling-Time-Mode Read Command DATA CONTROL BITS DATA BITS DIN 1 1 1 0 1 1 1 X X X X X X X X X DOUTRB X X X X X X X X X X X X X X SPDB SPDA X = Don’t care. Table 15. CPOL and CPHA Bits CPOL CPHA DESCRIPTION 0 0 Default values at power-up when DSP is connected to DVDD. Data is clocked in on the rising edge of SCLK. 0 1 Default values at power-up when DSP is connected to DGND. Data is clocked in on the falling edge of SCLK. 1 0 Data is clocked in on the falling edge of SCLK. 1 1 Data is clocked in on the rising edge of SCLK. Table 16. CPOL and CPHA Write Command DATA DIN CONTROL BITS 1 1 1 DATA BITS 1 0 0 0 0 X X X X X X CPOL CPHA X = Don’t care. Table 17. CPOL and CPHA Read Command DATA CONTROL BITS DATA BITS DIN 1 1 1 1 0 0 0 1 X X X X X X DOUTRB X X X X X X X X X X X X X X X X CPOL CPHA X = Don’t care. ______________________________________________________________________________________ 25 MAX5290–MAX5295 Settling-Time-Mode Bits (SPDA, SPDB) The settling-time-mode bits select the settling time (FAST mode or SLOW mode) of the MAX5290– MAX5295. Set SPD_ = 1 to select FAST mode or set SPD_ = 0 to select SLOW mode, where “_” is replaced by A or B, depending on the selected channel (see Table 12). FAST mode provides a 3µs maximum settling time and SLOW mode provides a 10µs maximum settling time. Default settling-time mode bits are [0, 0] (SLOW mode for both DACs). MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs and CPHA = 1 or set CPOL = 1 and CPHA = 0 for DSP and SPI applications requiring the clocking of data in on the falling edge of SCLK (refer to the Programmer’s Handbook and see Table 15 for details). At power-up, if DSP = DVDD, the default value of CPHA is zero and if DSP = DGND, the default value of CPHA is one. The default value of CPOL is zero at power-up. To write to the CPOL and CPHA bits, use the command in Table 16. To read back the device’s CPOL and CPHA bits, use the command in Table 17. UPIO Bits (UPSL1, UPSL2, UP0–UP3) The MAX5290–MAX5295 provide two user-programmable input/output (UPIO) ports: UPIO1 and UPIO2. These ports have 15 possible configurations, as shown in Table 22. UPIO1 and UPIO2 can be programmed independently or simultaneously by writing to the UPSL1, UPSL2, and UP0–UP3 bits (see Table 18). Table 19 shows how UPIO1 and UPIO2 are selected for configuration. The UP0–UP3 bits select the desired functions for UPIO1 and/or UPIO2 (see Table 22). Default states of UP10_ are high impedance. If using UP10_, connect 10kΩ pullup resistors from each UPIO pin to DVDD. UPIO Programming Example: To set only UPIO1 as LDAC and leave UPIO2 unchanged, write the command in Table 20. The UPIO selection and configuration bits can be read back from the MAX5290–MAX5295 when UPIO1 or UPIO2 is configured as a DOUTRB output. Table 21 shows the read-back data format for the UPIO bits. Writing a 1110 101X XXXX XXXX initiates a read operation of the UPIO bits. The data is clocked out starting on the 9th clock cycle of the sequence. UP3-2 through UP0-2 provide the UP3–UP0 configuration bits for UPIO2 (see Table 22), and UP3-1 through UP0-1 provide the UP3–UP0 configuration bits for UPIO1. Table 18. UPIO Write Command DATA DIN CONTROL BITS 1 1 1 DATA BITS 0 1 0 0 X UPSL2 UPSL1 UP3 UP2 UP1 UP0 X X X X X = Don’t care. Table 19. UPIO Selection Bits (UPSL1 and UPSL2) UPSL2 UPSL1 UPIO PORT SELECTED 0 0 None selected 0 1 UPIO1 selected 1 0 UPIO2 selected 1 1 Both UPIO1 and UPIO2 selected Table 20. UPIO Programming Example DATA DIN CONTROL BITS 1 1 1 DATA BITS 0 1 0 0 X 0 1 0 0 0 0 X = Don’t care. Table 21. UPIO Read Command DATA CONTROL BITS DATA BITS DIN 1 1 1 0 1 0 1 X DOUTRB X X X X X X X X X X X X X X = Don’t care. 26 X X X UP3-2 UP2-2 UP1-2 UP0-2 UP3-1 UP2-1 UP1-1 UP0-1 ______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Table 22 lists the possible configurations for UPIO1 and UPIO2. UPIO1 and UPIO2 use the selected function when configured by the UP3–UP0 configuration bits. LDAC LDAC controls loading of the DAC registers. When LDAC is high, the DAC registers are latched, and any change in the input registers does not affect the contents of the DAC registers or the DAC outputs. When LDAC is low, the DAC registers are transparent, and the values stored in the input registers are fed directly to the DAC registers, and the DAC outputs are updated. Drive LDAC low to asynchronously load the DAC registers from their corresponding input registers (DACs that are in shutdown remain shut down). The LDAC function does not require any activity on CS, SCLK, or DIN. If LDAC is brought low coincident with a rising edge of CS, (which executes a serial command modifying the value of either DAC input register), then LDAC must remain asserted for at least 120ns following the CS rising edge. This requirement applies only to serial commands that modify the value of the DAC input registers. See Figures 5 and 6 for timing details. Table 22. UPIO Configuration Register Bits (UP3–UP0) UPIO CONFIGURATION BITS FUNCTION DESCRIPTION UP3 UP2 UP1 UP0 0 0 0 0 0 0 0 1 SET Active-Low Input. Drive low to set all input and DAC registers to full scale. 0 0 1 0 MID Active-Low Input. Drive low to set all input and DAC registers to midscale. 0 0 1 1 CLR Active-Low Input. Drive low to set all input and DAC registers to zero scale. 0 1 0 0 PDL 0 1 0 1 Reserved This mode is reserved. Do not use. 0 1 1 0 SHDN1K Active-Low 1kΩ Shutdown Input. Overrides PD_1 and PD_0 settings. Drive SHDN1K low to pull OUTA and OUTB to AGND with 1kΩ. LDAC Active-Low Load DAC Input. Drive low to asynchronously load all DAC registers with data from input registers. Active-Low Power-Down Lockout Input. Drive low to disable software shutdown. Active-Low 100kΩ Shutdown Input. Overrides PD_1 and PD_0 settings. For the MAX5290/MAX5292/MAX5294, drive SHDN100K low to pull OUTA and OUTB to SHDN100K AGND with 100kΩ. For the MAX5291/MAX5293/MAX5295, drive SHDN100K low to leave OUTA and OUTB high impedance. 0 1 1 1 1 0 0 0 DOUTRB 1 0 0 1 DOUTDC0 Mode 0 Daisy-Chain Data Output. Data is clocked out on the falling edge of SCLK. 1 0 1 0 DOUTDC1 Mode 1 Daisy-Chain Data Output. Data is clocked out on the rising edge of SCLK. 1 0 1 1 GPI 1 1 0 0 GPOL General-Purpose Logic-Low Output 1 1 0 1 GPOH General-Purpose Logic-High Output 1 1 1 0 TOGG Toggle Input. Toggles DAC outputs between data in input registers and data in DAC registers. Drive low to set all DAC outputs to values stored in input registers. Drive high to set all DAC outputs to values stored in DAC registers. 1 1 1 1 FAST FAST/SLOW Settling-Time Mode Input. Drive low to select FAST mode (3µs) or drive high to select SLOW settling mode (10µs). Overrides the SPDA and SPDB settings. Data Read-Back Output General-Purpose Logic Input ______________________________________________________________________________________ 27 MAX5290–MAX5295 User-Programmable Input/Output (UPIO) Configuration MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs SET, MID, CLR The SET, MID, and CLR signals force the DAC outputs to full scale, midscale, or zero scale (Figure 5). These signals cannot be active at the same time. The active-low SET input forces the DAC outputs to full scale when SET is low. When SET is high, the DAC outputs follow the data in the DAC registers. The active-low MID input forces the DAC outputs to midscale when MID is low. When MID is high, the DAC outputs follow the data in the DAC registers. The active-low CLR input forces the DAC outputs to zero scale when CLR is low. When CLR is high, the DAC outputs follow the data in the DAC registers. If CLR, MID, or SET signals go low in the middle of a write command, reload the data to ensure accurate results. Power-Down Lockout (PDL) The PDL active-low software-shutdown lockout input overrides (not overwrites), the PD_0 and PD_1 shutdown mode bits. PDL cannot be active at the same time as SHDN1K or SHDN100K (see the Shutdown Mode (SHDN1K, SHDN100K) section). If the PD_0 and PD_1 bits command the DAC to shut down prior to PDL going low, the DAC returns to shutdown mode immediately after PDL goes high, unless the PD_0 and PD_1 bits are changed in the meantime. Shutdown Mode (SHDN1K, SHDN100K) The SHDN1K and SHDN100K are active-low signals that override (not overwrite) the PD_1 and PD_0 bit settings. For the MAX5290/MAX5292/MAX5294, drive SHDN1K low to select shutdown mode with OUTA and OUTB internally terminated with 1kΩ to ground, or drive SHDN100K low to select shutdown with an internal 100kΩ termination. For the MAX5291/MAX5293/ MAX5295, drive SHDN1K low for shutdown with 1kΩ output termination, or drive SHDN100K low for shutdown with high-impedance outputs. Data Output (DOUTRB, DOUTDC0, DOUTDC1) UPIO1 and UPIO2 can be configured as serial data outputs, DOUTRB (data out for read back), DOUTDC0 (data out for daisy-chaining, mode 0), and DOUTDC1 (data out for daisy-chaining, mode 1). The differences between DOUTRB and DOUTDC0 (or DOUTDC1) are as follows: 28 tLDL LDAC TOGG PDL tCMS CLR, MID, OR SET tS ±0.5 LSB VOUT_ PDL AFFECTS DAC OUPTUTS (VOUT_) ONLY IF DACS WERE PREVIOUSLY SHUT DOWN. Figure 5. Asynchronous Signal Timing END OF CYCLE* tGP GPO_ LDAC tLDS *END-OF-CYCLE REPRESENTS THE RISING EDGE OF CS OR THE 16TH ACTIVE CLOCK EDGE, DEPENDING ON THE MODE OF OPERATION. Figure 6. GPO_ and LDAC Signal Timing • The source of read-back data on DOUTRB is the DOUT register. Daisy-chain DOUTDC_ data comes directly from the shift register. • Read-back data on DOUTRB is only present after a DAC read command. Daisy-chain data is present on DOUTDC_ for any DAC write after the first 16 bits are written. • The DOUTRB idle state (CS = high) for read back is high impedance. Daisy-chain DOUTDC_ idles high when inactive to avoid floating the data input in the next device in the daisy-chain. See Figures 1 and 2 for timing details. ______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs 3) Detect whether or not a rising edge has occurred since the last read or reset (LR1 and LR2). RTP1, LF1, and LR1 represent the data read from UPIO1. RTP2, LF2, and LR2 represent the data read from UPIO2. To issue a read command for the UPIO configured as GPI, use the command in Table 23. Once the command is issued, RTP1 and RTP2 provide the real-time status (0 or 1) of the inputs at UPIO1 or UPIO2, respectively, at the time of the read. If LF2 or LF1 is one, then a falling edge has occurred on the UPIO1 or UPIO2 input since the last read or reset. If LR2 or LR1 is one, then a rising edge has occurred since the last read or reset. GPOL outputs a constant logic low, and GPOH outputs a constant logic high (see Figure 6). TOGG Use the TOGG input to toggle a DAC output between the values in the input register and DAC register. A delay of greater than 100ns from the end of the previous write command is required before the TOGG signal can be correctly switched between the new value and the previously stored value. When TOGG = 0, the output follows the information in the input registers. When TOGG = 1, the output follows the information in the DAC register (Figure 5). FAST The MAX5290–MAX5295 have two settling-time-mode options: FAST (3µs max at 12 bits) and SLOW (6µs max at 12 bits). To select the FAST mode, drive FAST low, and to select SLOW mode, drive FAST high. This overrides (not overwrites) the SPDA and SPDB bit settings. Table 23. GPI Read Command DATA CONTROL BITS DATA BITS DIN 1 1 1 1 0 0 1 X X X X X X X X X DOUTRB X X X X X X X X X X RTP2 LF2 LR2 RTP1 LF1 LR1 X = Don’t care. Table 24. Unipolar Code Table (Gain = +1) DAC CONTENTS MSB LSB ANALOG OUTPUT REF 1111 1111 1111 +VREF (4095 / 4096) 1000 0000 0001 +VREF (2049 / 4096) 1000 0000 0000 +VREF (2048 / 4096) = VREF / 2 0111 1111 1111 +VREF (2047 / 4096) 0000 0000 0001 +VREF (1 / 4096) 0000 0000 0000 0 DAC_ OUT_ MAX5290 VOUT_ = VREF x CODE / 4096 CODE IS THE DAC_ INPUT CODE (0 TO 4095 DECIMAL). Figure 7. Unipolar Output Circuit ______________________________________________________________________________________ 29 MAX5290–MAX5295 GPI, GPOL, GPOH UPIO1 and UPIO2 can each be configured as a general-purpose logic input (GPI), a general-purpose logiclow output (GPOL), or general-purpose logic-high output (GPOH). The GPI can detect interrupts from µPs or microcontrollers. It provides three functions: 1) Sample the signal at GPI at the time of the read (RTP1 and RTP2). 2) Detect whether or not a falling edge has occurred since the last read or reset (LF1 and LF2). MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs Applications Information Unipolar Output Figure 7 shows the unity gain of the MAX5290 in a unipolar output configuration. Table 24 lists the unipolar output codes. Bipolar Output The MAX5290 outputs can be configured for bipolar operation, as shown in Figure 8. The output voltage is given by the following equation: VOUT_ = VREF x (CODE - 2048) / 2048 where CODE represents the numeric value of the DAC’s binary input code (0 to 4095 decimal). Table 25 shows digital codes and the corresponding output voltage for the Figure 8 circuit. Table 25. Bipolar Code Table (Gain = +1) DAC CONTENTS MSB LSB where CODE represents the numeric value of the DAC’s binary input code (0 to 4095 decimal). ANALOG OUTPUT 1111 1111 1111 +VREF (2047 / 2048) 1000 0000 0001 +VREF (1 / 2048) 1000 0000 0000 0 0111 1111 1111 +VREF (1 / 2048) 0000 0000 0001 -VREF (2047 / 2048) 0000 0000 0000 -VREF (2048 / 2048) = -VREF 10kΩ Configurable Output Gain The MAX5291/MAX5293/MAX5295 have force-sense outputs, which provide a connection directly to the inverting terminal of the output op amp, yielding the most flexibility. The advantage of the force-sense output is that specific gains can be set externally for a given application. The gain error for the MAX5291/MAX5293/MAX5295 is specified in a unity-gain configuration (op-amp output and inverting terminals connected) and additional gain error results from external resistor tolerances. The force-sense DACs allow many useful circuits to be created with only a few simple external components. An example of a custom, fixed gain using the MAX5291’s force-sense output is shown in Figure 9. In this example, the external reference is set to 1.25V, and the gain is set to +1.1V/V with external discrete resistors to provide an approximate 0 to 1.375V DAC output voltage range. VOUT_ = [(0.5 x VREF x CODE) / 4096] x [1 + (R2 / R1)] In this example, if R2 = 12kΩ and R1 = 10kΩ, set the gain = 1.1V/V: VOUT_ = [(0.5 x 1.25V x CODE) / 4096] x 2.2 10kΩ REF DAC_ OUT_ V+ R2 = 12kΩ 0.1% 25ppm VOUT_ REF DAC_ MAX5291 OUT_ FB_ V- R1 = 10kΩ 0.1% 25ppm MAX5290 Figure 8. Bipolar Output Circuit 30 Figure 9. Configurable Output Gain ______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs AVDD DVDD 0.1µF VREF AVDD niques, such as a multilayer board with a low-inductance ground plane. Wire-wrapped boards and sockets are not recommended. For optimum system performance, use printed circuit (PC) boards with separate analog and digital ground planes. Connect the two ground planes together at the low-impedance powersupply source. Using separate power supplies for AVDD and DVDD improves noise immunity. Connect AGND and DGND at the low-impedance power-supply source (see Figure 11). 10µF 0.1µF 10µF ANALOG SUPPLY AGND AVDD DVDD DIGITAL SUPPLY DVDD DGND REF 10µF* 0.1µF* OUTA MAX5290–MAX5295 CS FBA SCLK MAX5291/ MAX5293/ MAX5295 ONLY DIN PU 10µF 10µF 0.1µF 0.1µF FBB OUTB DSP UPIO1 UPIO2 AVDD AGND** AGND DVDD DGND** MAX5290–MAX5295 DGND DVDD DGND DIGITAL CIRCUITRY *REMOVE BYPASS CAPACITORS ON REF FOR AC-REFERENCE INPUTS. **CONNECT ANALOG AND DIGITAL GROUND PLANES AT THE LOW-IMPEDANCE POWER-SUPPLY SOURCE. Figure 10. Bypassing Power Supplies and Reference Figure 11. Separate Analog and Digital Power Supplies ______________________________________________________________________________________ 31 MAX5290–MAX5295 Power-Supply and Layout Considerations Bypass the analog and digital power supplies with a 10µF capacitor in parallel with a 0.1µF capacitor to analog ground (AGND) and digital ground (DGND) (see Figure 10). Minimize lead lengths to reduce lead inductance. If noise is an issue, use shielding and/or ferrite beads to increase isolation. Digital and AC transient signals coupling to AGND create noise at the output. Connect AGND to the highest quality ground available. Use proper grounding tech- Pin Configurations TOP VIEW 14 UPIO2 UPIO1 1 DSP 2 13 PU DIN 3 12 OUTA MAX5290 MAX5292 MAX5294 CS 4 SCLK 5 UPIO2 1 16 PU UPIO1 2 15 OUTA CS 5 10 OUTB DVDD 6 9 AVDD DGND 7 8 AGND MAX5291 MAX5293 MAX5295 DIN 4 13 REF 12 FBB SCLK 6 11 OUTB DVDD 7 10 AVDD DGND 8 9 AGND 16 TSSOP UPIO1 UPIO2 PU N.C. UPIO1 UPIO2 PU OUTA 14 TSSOP 16 15 14 13 16 15 14 13 DSP 1 12 OUTA DSP 1 12 FBA DIN 2 11 N.C. DIN 2 11 REF CS 3 10 REF CS 3 10 FBB SCLK 4 9 OUTB SCLK 4 9 OUTB AGND AVDD 6 7 8 (4mm x 4mm) THIN QFN Selector Guide OUTPUT RESOLUTION BUFFER (BITS) CONFIGURATION 5 AVDD 8 AGND 7 DGND 6 MAX5291 MAX5293 MAX5295 DVDD 5 DVDD MAX5290 MAX5292 MAX5294 (4mm x 4mm) THIN QFN PART 14 FBA DSP 3 11 REF DGND MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs INL (LSBs MAX) MAX5290AEUD Unity Gain 12 ±1 MAX5290BEUD Unity Gain 12 ±4 MAX5290AETE* Unity Gain 12 ±1 MAX5290BETE Unity Gain 12 ±4 MAX5291AEUE Force Sense 12 ±1 MAX5291BEUE Force Sense 12 ±4 MAX5291AETE* Force Sense 12 ±1 MAX5291BETE Force Sense 12 ±4 MAX5292EUD Unity Gain 10 ±1 MAX5292ETE Unity Gain 10 ±1 MAX5293EUE Force Sense 10 ±1 MAX5293ETE Force Sense 10 ±1 MAX5294EUD Unity Gain 8 ±0.5 MAX5294ETE Unity Gain 8 ±0.5 MAX5295EUE Force Sense 8 ±0.5 MAX5295ETE Force Sense 8 ±0.5 Chip Information TRANSISTOR COUNT: 16,758 PROCESS: BiCMOS *Future product—contact factory for availability. Specifications are preliminary. 32 ______________________________________________________________________________________ Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs TSSOP4.40mm.EPS PACKAGE OUTLINE, TSSOP 4.40mm BODY 21-0066 I 1 1 ______________________________________________________________________________________ 33 MAX5290–MAX5295 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.) Package Information (continued) (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.) 24L QFN THIN.EPS MAX5290–MAX5295 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs PACKAGE OUTLINE, 12, 16, 20, 24, 28L THIN QFN, 4x4x0.8mm 21-0139 34 ______________________________________________________________________________________ F 1 2 Buffered, Fast-Settling, Dual, 12-/10-/8-Bit, Voltage-Output DACs PACKAGE OUTLINE, 12, 16, 20, 24, 28L THIN QFN, 4x4x0.8mm 21-0139 F 2 2 Revision History Pages changed at Rev 3: 1, 6–9, 33, 34, 35 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 ____________________ 35 © 2007 Maxim Integrated Products is a registered trademark of Maxim Integrated Products, Inc. MAX5290–MAX5295 Package Information (continued) (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.)