MAX534 MAX533 MAX534ACPE MAX534BCPE MAX534ACEE MAX534BCEE MAX534BC/D MAX534AEPE - Datasheet Archive
+5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers In addition to 16-pin DIP and CERDIP packages, the MAX534 is
19-1105; Rev 0; 8/96 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers In addition to 16-pin DIP and CERDIP packages, the MAX534 MAX534 is available in a 16-pin QSOP that occupies the same area as an 8-pin SO. _Features o +4.5V to +5.5V Single-Supply Operation o Ultra-Low Supply Current: 0.8mA while Operating 2.5µA in Shutdown Mode o Ultra-Small 16-Pin QSOP Package o Ground to VDD Reference Input Range o Output Buffer Amplifiers Swing Rail to Rail o 10MHz Serial Interface Compatible with SPI, QSPI (CPOL = CPHA = 0 or CPOL = CPHA = 1), and Microwire o Double-Buffered Registers for Synchronous Updating o Serial Data Output for Daisy Chaining o Power-On Reset Clears Serial Interface and Sets All Registers to Zero o Software Shutdown o Software-Programmable Logic Output (µC I/O Extender) For operation guaranteed to 2.7V, see the MAX533 MAX533 data sheet. o Asynchronous Hardware Clear Resets All Internal Registers to Zero _Applications _Ordering Information Digital Gain and Offset Adjustments Programmable Attenuators PART Programmable Current Sources Portable Instruments _Pin Configuration TOP VIEW OUTB 1 16 OUTC OUTA 2 15 OUTD 14 AGND REF 3 UPO 4 MAX534 MAX534 PDE 5 13 VDD 12 DGND LDAC 6 11 DIN CLR 7 10 SCLK DOUT 8 9 CS TEMP. RANGE PIN-PACKAGE MAX534ACPE MAX534ACPE MAX534BCPE MAX534BCPE MAX534ACEE MAX534ACEE MAX534BCEE MAX534BCEE MAX534BC/D MAX534BC/D MAX534AEPE MAX534AEPE MAX534BEPE MAX534BEPE MAX534AEEE MAX534AEEE MAX534BEEE MAX534BEEE MAX534AMJE MAX534AMJE MAX534BMJE MAX534BMJE 0°C to +70°C 0°C to +70°C 0°C to +70°C 0°C to +70°C 0°C to +70°C -40°C to +85°C -40°C to +85°C -40°C to +85°C -40°C to +85°C -55°C to +125°C -55°C to +125°C 16 Plastic DIP 16 Plastic DIP 16 QSOP 16 QSOP Dice* 16 Plastic DIP 16 Plastic DIP 16 QSOP 16 QSOP 16 CERDIP* 16 CERDIP* INL (LSB) ±1 ±2 ±1 ±2 ±2 ±1 ±2 ±1 ±2 ±1 ±2 *Dice are tested at TA = +25°C. *Contact factory for availability and processing to MIL-STD-883 MIL-STD-883. Functional Diagram appears at end of data sheet. DIP/QSOP SPI and QSPI are trademarks of Motorola, Inc. Microwire is a trademark of National Semiconductor Corp. _ Maxim Integrated Products 1 For free samples & the latest literature: http://www.maxim-ic.com, or phone 1-800-998-8800 MAX534 MAX534 _General Description The MAX534 MAX534 serial-input, voltage-output, 8-bit quad digital-to-analog converter (DAC) operates from a single +4.5V to +5.5V supply. Internal precision buffers swing rail to rail, and the reference input range includes both ground and the positive rail. The MAX534 MAX534 features a 2.5µA shutdown mode. The serial interface is double buffered: a 12-bit input shift register is followed by four 8-bit buffer registers and four 8-bit DAC registers. The 12-bit serial word consists of eight data bits and four control bits (for DAC selection and special programming commands). Both the input and DAC registers can be updated independently or simultaneously with a single software command. Two additional asynchronous control pins, LDAC and CLR, provide simultaneous updating or clearing of the input and DAC registers. The interface is compatible with SPITM, QSPITM (CPOL = CPHA = 0 or CPOL = CPHA = 1), and MicrowireTM. A buffered data output allows daisy chaining of serial devices. MAX534 MAX534 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers ABSOLUTE MAXIMUM RATINGS VDD to DGND .-0.3V, +6V VDD to AGND.-0.3V, +6V Digital Input Voltage to DGND .-0.3V, +6V Digital Output Voltage to DGND.-0.3V, (VDD + 0.3V) AGND to DGND .±0.3V REF .-0.3V, (VDD + 0.3V) OUT_ .-0.3V, VDD Maximum Current into Any Pin.50mA Continuous Power Dissipation (TA = +70°C) Plastic DIP (derate 10.53mW/°C above +70°C) .842mW QSOP (derate 8.3mW/°C above +70°C) .667mW CERDIP (derate 10.00mW/°C above +70°C) .800mW Operating Temperature Ranges MAX534 MAX534 _ C_ E .0°C to +70°C MAX534 MAX534 _ E_ E .-40°C to +85°C MAX534 MAX534 _ MJE .-55°C to +125°C Storage Temperature Range .-65°C to +150°C Lead Temperature (soldering, 10sec) .+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 (VDD = +4.5V to +5.5V, VREF = 4.096V, AGND = DGND = 0V, RL = 10k, CL = 100pF, TA = TMIN to TMAX, unless otherwise noted. Typical values are at VDD = +5V and TA = +25°C.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS 8 Bits STATIC ACCURACY Resolution MAX534A MAX534A ±1 MAX534B MAX534B ±2 Integral Nonlinearity (Note 1) INL Differential Nonlinearity (Note 1) DNL Guaranteed monotonic (all codes) ±1.0 LSB Zero-Code Error ZCE Code = 00 hex ±20 mV 1 LSB Zero-Code-Error Supply Rejection Code = 00 hex, VDD = 4.5V to 5.5V Zero-Code Temperature Coefficient Code = 00 hex Full-Scale Error Code = FF hex Full-Scale Error Supply Rejection Code = FF hex, VDD = 4.5V to 5.5V Full-Scale Temperature Coefficient Code = FF hex ±10 LSB µV/°C ±30 mV 1 LSB ±10 µV/°C REFERENCE INPUTS Input Voltage Range 0 Input Resistance 322 Input Capacitance VDD 460 V 598 k 10 pF Channel-to-Channel Isolation (Note 2) -60 dB AC Feedthrough (Note 3) -60 dB DAC OUTPUTS Output Voltage Range RL = open Load Regulation Code = FF hex, measured with IL = 0mA to 1.6mA 2 0 _ VREF V 0.156 LSB/mA +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers (VDD = +4.5V to +5.5V, VREF = 4.096V, AGND = DGND = 0V, RL = 10k, CL = 100pF, TA = TMIN to TMAX, unless otherwise noted. Typical values are at VDD = +5V and TA = +25°C.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS DIGITAL INPUTS Input High Voltage VIH Input Low Voltage VIL 0.7VDD V 0.3VDD IIN VIN = 0V or VDD Input Capacitance CIN (Note 4) Output High Voltage VOH ISOURCE = 0.2mA Output Low Voltage VOL ±1.0 ISINK = 1.6mA µA 10 Input Current V pF DIGITAL OUTPUTS VDD - 0.5 V 0.4 V DYNAMIC PERFORMANCE Voltage-Output Slew Rate CODE = FF hex 0.6 V/µs Output Settling Time To 1/2LSB, from code 00 to code FF hex (Note 5) 8 µs Digital Feedthrough and Crosstalk VREF = 0V, code 00 to code FF hex (Note 6) 5 nV-s Digital-to-Analog Glitch Impulse Code 80 hex to code 7F hex 50 nV-s Signal-to-Noise Plus Distortion Ratio VREF = 4Vp-p at 1kHz, code = FF hex 80 VREF = 4Vp-p at 10kHz 70 VREF = 0.5Vp-p, 3dB bandwidth 380 kHz 60 µVRMS SINAD Multiplying Bandwidth Wideband Amplifier Noise dB POWER SUPPLIES Power-Supply Voltage VDD 4.5 5.5 IDD 0.8 1.3 MAX534M MAX534M 0.8 1.5 2.5 Supply Current MAX534C/E MAX534C/E 10 Shutdown Current V mA µA TIMING CHARACTERISTICS (VDD = +4.5V to +5.5V, VREF = 4.096V, AGND = DGND = 0V, CDOUT = 100pF, TA = TMIN to TMAX, unless otherwise noted. Typical values are at VDD = +5V and TA = +25°C.) PARAMETER SYMBOL VDD Rise to CS Fall Setup Time (Note 4) tVDCS LDAC Pulse Width Low tLDAC CS Rise to LDAC Fall Setup Time (Note 7) tCLL CLR Pulse Width Low tCLW CS Pulse Width High tCSW CONDITIONS MIN TYP MAX MAX534C/E MAX534C/E 50 MAX534M MAX534M 60 MAX534C/E MAX534C/E 40 20 MAX534M MAX534M 50 25 MAX534C/E MAX534C/E 40 MAX534M MAX534M 50 MAX534C/E MAX534C/E 40 20 MAX534M MAX534M 50 25 MAX534C/E MAX534C/E 90 MAX534M MAX534M 100 UNITS µs ns ns ns ns _ 3 MAX534 MAX534 ELECTRICAL CHARACTERISTICS (continued) MAX534 MAX534 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers TIMING CHARACTERISTICS (continued) (VDD = +4.5V to +5.5V, VREF = 4.096V, AGND = DGND = 0V, CDOUT = 100pF, TA = TMIN to TMAX, unless otherwise noted. Typical values are at VDD = +5V and TA = +25°C.) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS SERIAL-INTERFACE TIMING SCLK Clock Frequency (Note 8) fCLK SCLK Pulse Width High tCH SCLK Pulse Width Low tCL CS Fall to SCLK Rise Setup Time tCSS SCLK Rise to CS Rise Hold Time tDS DIN to SCLK Rise to Hold Time 10 8.3 tCSH DIN to SCLK Rise to Setup Time MAX534C/E MAX534C/E MAX534M MAX534M tDH SCLK Rise to DOUT Valid Propagation Delay (Note 9) tDO1 SCLK Fall to DOUT Valid Propagation Delay (Note 10) tDO2 SCLK Rise to CS Fall Delay tCS0 CS Rise to SCLK Rise Setup Time tCS1 MAX534C/E MAX534C/E 40 MAX534M MAX534M 50 MAX534C/E MAX534C/E 40 MAX534M MAX534M 50 MAX534C/E MAX534C/E 40 MAX534M MAX534M 50 ns ns ns 0 MAX534C/E MAX534C/E ns 40 MAX534M MAX534M 50 ns 0 ns MAX534C/E MAX534C/E 200 MAX534M MAX534M 230 MAX534C/E MAX534C/E 210 MAX534M MAX534M 250 MAX534C/E MAX534C/E 40 MAX534M MAX534M 50 MAX534C/E MAX534C/E 40 MAX534M MAX534M 50 MHz ns ns ns ns Note 1: INL and DNL are measured with RL referenced to ground. Nonlinearity is measured from the first code that is greater than or equal to the maximum offset specification to code FF hex (full scale). See DAC Linearity and Voltage Offset section. Note 2: VREF = 4Vp-p, 10kHz. Channel-to-channel isolation is measured by setting one DAC's code to FF hex and setting all other DAC's codes to 00 hex. Note 3: VREF = 4Vp-p, 10kHz. DAC code = 00 hex. Note 4: Guaranteed by design, not production tested. Note 5: Output settling time is measured from the 50% point of the rising edge of CS to 1/2LSB of VOUT's final value. Note 6: Digital crosstalk is defined as the glitch energy at any DAC output in response to a full-scale step change on any other DAC. Note 7: If LDAC is activated prior to CS's rising edge, it must stay low for tLDAC or longer after CS goes high. Note 8: When DOUT is not used. If DOUT is used, fCLK max is 4MHz, due to the SCLK to DOUT propagation delay. Note 9: Serial data clocked out at SCLK's rising edge (measured from 50% of the clock edge to 20% or 80% of VDD). Note 10: Serial data clocked out at SCLK's falling edge (measured from 50% of the clock edge to 20% or 80% of VDD). 4 _ +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers 0.75 0.50 0.25 0 800 4.0 3.5 3.0 VREF = 5V DAC CODE = FF HEX LOAD TO GND 2.5 1 2 4 3 5 6 7 8 600 DAC CODE = 00 HEX 400 200 VREF = 4.5V 0 2.0 0 DAC OUTPUT SINK CURRENT (mA) 2 4 6 8 12 10 SHUTDOWN SUPPLY CURRENT vs. TEMPERATURE 5 -55 -35 -15 5 25 65 85 105 125 45 TEMPERATURE (°C) DAC OUTPUT SOURCE CODE (mA) SUPPLY CURRENT vs. REFERENCE VOLTAGE 1000 MAX534-TOC4 MAX534-TOC4 3 ALL DAC CODES = FF HEX 800 SUPPLY CURRENT (µA) 0 DAC CODE = FF HEX MAX534-TOC3 MAX534-TOC3 MAX534-TOC2 MAX534-TOC2 4.5 3 2 1 MAX534-TOC6 MAX534-TOC6 1.00 1000 SUPPLY CURRENT (µA) DAC FULL-SCALE OUTPUT VOLTAGE (V) 1.25 5.0 MAX534-TOC1 MAX534-TOC1 VREF = 5V DAC CODE = 00 HEX LOAD TO VDD SHUTDOWN SUPPLY CURRENT (µA) DAC ZERO-CODE OUTPUT VOLTAGE (V) 1.50 SUPPLY CURRENT vs. TEMPERATURE DAC FULL-SCALE OUTPUT VOLTAGE vs. OUTPUT SOURCE CURRENT DAC ZERO-CODE OUTPUT VOLTAGE vs. OUTPUT SINK CURRENT 600 ALL DAC CODES = 00 HEX 400 200 0 0 -55 -35 -15 5 25 45 65 85 105 125 TEMPERATURE (°C) 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 REFERENCE VOLTAGE (V) _ 5 MAX534 MAX534 _Typical Operating Characteristics (VDD = +5V, TA = +25°C, unless otherwise noted.) MAX534 MAX534 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers _Pin Description PIN NAME FUNCTION 1 OUTB DAC B Voltage Output 2 OUTA DAC A Voltage Output 3 REF Reference-Voltage Input 4 UPO Software-Programmable Logic Output 5 PDE Power-Down Enable. Must be high to allow software shutdown mode. 6 LDAC Load DAC Input (active low). Driving this asynchronous input low (level sensitive) transfers the contents of each input latch to its respective DAC latch. 7 CLR Clear DAC Input (active low). Driving CLR low asynchronously clears the input and DAC registers, and sets all DAC outputs to zero. 8 DOUT Serial Data Output. Sinks and sources current. Data at DOUT can be clocked out on the rising or falling edge of SCLK (Table 1). 9 CS Chip-Select Input (active low). Data is shifted in and out when CS is low. Programming commands are executed when CS returns high. 10 SCLK Serial Clock Input. Data is clocked in on the rising edge and clocked out on the falling (default) or rising edge (A0 = A1 = 1, see Table 1). 11 DGND 13 VDD 14 AGND Analog Ground 15 OUTD DAC D Voltage Output 16 6 DIN 12 Serial Data Input. Data is clocked in on the rising edge of SCLK. OUTC DAC C Voltage Output Digital Ground Power Supply, +4.5V to +5.5V _ +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers MAX534 MAX534 INSTRUCTION EXECUTED CS ··· ··· SCLK ··· DIN A1 A0 C1 C0 A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0 MSB D7 D6 D5 D4 D3 D2 MSB LSB LSB DACD DACA ··· DOUT MODE 1 A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0 A1 A1 A0 C1 C0 DATA FROM PREVIOUS DATA INPUT DOUT MODE 0 (DEFAULT) D1 D0 D6 D5 D4 D3 D2 D1 D0 D7 A1 DATA FROM PREVIOUS DATA INPUT ··· A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0 A1 A1 A0 C1 C0 D6 D5 D4 D3 D2 D1 D0 D7 A1 Figure 1. 3-Wire Interface Timing CS tCSW tCS0 tCSS tCH tCSH tCP tCS1 tCL SCLK tDS tDH DIN tD02 tD01 DOUT tCLL tLDAC LDAC Figure 2. Detailed Serial-Interface Timing Diagram _ 7 MAX534 MAX534 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers _Detailed Description Serial Interface At power-on, the serial interface and all digital-toanalog converters (DACs) are cleared and set to code zero. The serial data output (DOUT) is set to transition on SCLK's falling edge. The MAX534 MAX534 communicates with microprocessors through a synchronous, full-duplex, 3-wire interface (Figure 1). Data is sent MSB first and can be transmitted in one 4-bit and one 8-bit (byte) packet or in one 12-bit word. If a 16-bit word is used, the first four bits are ignored. A 4-wire interface adds a line for LDAC and allows asynchronous updating. The serial clock (SCLK) synchronizes the data transfer. Data is transmitted and received simultaneously. Figure 2 shows the detailed serial-interface timing. Please note that the clock should be low if it is stopped between updates. DOUT does not go into a highimpedance state if the clock idles or CS is high. Serial data is clocked into the data registers in MSB-first format, with the address and configuration information preceding the actual DAC data. Data is clocked in on SCLK's rising edge while CS is low. Data at DOUT is clocked out 12 clock cycles later, either at SCLK's falling edge (default or mode 0) or rising edge (mode 1). Chip select (CS) must be low to enable the DAC. If CS is high, the interface is disabled and DOUT remains unchanged. CS must go low at least 40ns before the first rising edge of the clock pulse to properly clock in the first bit. With CS low, data is clocked into the MAX534 MAX534's internal shift register on the rising edge of the external serial clock. Always clock in the full 12 bits because each time CS goes high the bits currently in the input shift register are interpreted as a command. SCLK can be driven at rates up to 10MHz. Serial Input Data Format and Control Codes The 12-bit serial input format shown in Figure 3 comprises two DAC address bits (A1, A0), two control bits (C1, C0), and eight bits of data (D7.D0). The 4-bit address/control code configures the DAC as shown in Table 1. Load Input Register, DAC Registers Unchanged (Single Update Operation) A1 A0 Address C1 0 C0 1 D7 D6 D5 D4 D3 D2 8-Bit Data D1 D0 (LDAC = H) When performing a single update operation, A1 and A0 select the respective input register. At the rising edge of CS, the selected input register is loaded with the current shift-register data. All DAC outputs remain unchanged. This preloads individual data in the input register without changing the DAC outputs. Load Input and DAC Registers A1 A0 Address C1 1 C0 1 D7 D6 D5 D4 D3 D2 8-Bit Data D1 D0 (LDAC = H) This command directly loads the selected DAC register at CS's rising edge. A1 and A0 set the DAC address. Current shift-register data is placed in the selected input and DAC registers. For example, to load all four DAC registers simultaneously with individual settings (DAC A = 1V, DAC B = 2V, DAC C = 3V, and DAC D = 4V), four commands are required. First, perform three single input register update operations for DACs A, B, and C (C1 = 0). The final command loads input register D and updates all four DAC registers from their respective input registers. Software "LDAC " Command A1 THIS IS THE FIRST BIT SHIFTED IN MSB DOUT A1 A0 C1 C0 D7 D6 CONTROL AND ADDRESS BITS . D1 D0 8-BIT DAC DATA DIN A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0 0 LSB 1 0 0 x x x x x x x x (LDAC = 1) When this command is initiated, all DAC registers are updated with the contents of their respective input registers at CS's rising edge. With the exception of using CS to execute, this performs the same function as the asynchronous LDAC. Figure 3. Serial Input Format 8 _ +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers MAX534 MAX534 Table 1. Serial-Interface Programming Commands 12-BIT 12-BIT SERIAL WORD A1 A0 C1 C0 D7 . . . . . . . . D0 LDAC 0 0 1 1 0 1 0 1 0 0 0 0 1 1 1 1 8-bit DAC data 8-bit DAC data 8-bit DAC data 8-bit DAC data 1 1 1 1 Load input register A; all DAC outputs unchanged. Load input register B; all DAC outputs unchanged. Load input register C; all DAC outputs unchanged. Load input register D; all DAC outputs unchanged. 0 0 1 1 0 1 0 1 1 1 1 1 1 1 1 1 8-bit DAC data 8-bit DAC data 8-bit DAC data 8-bit DAC data 1 1 1 1 Load input register A; all DAC outputs updated Load input register B; all DAC outputs updated Load input register C; all DAC outputs updated Load input register D; all DAC outputs updated. 0 1 0 0 XXXXXXXX 1 Software LDAC commands. Update all DACs from their respective input registers. Also bring the part out of shutdown mode. 1 0 0 0 8-bit DAC data X Load all DACs with shift-register data. Also bring the part out of shutdown mode. 1 1 0 0 XXXXXXXX X Software shutdown (provided PDE is high) 0 0 1 0 XXXXXXXX X UPO goes low. 0 1 1 0 XXXXXXXX X UPO goes high. 0 0 0 0 XXXXXXXX X No operation (NOP); shift data in shift registers. 1 1 1 0 XXXXXXXX X Set DOUT phase-SCLK rising (mode 1). DOUT clocked out on rising edge of SCLK. All DACs updated from their respective input registers. 1 0 1 0 XXXXXXXX X Set DOUT phase-SCLK falling (mode 0). DOUT clocked out on falling edge of SCLK. All DACs updated from their respective registers (default). FUNCTION Load All DACs with Shift-Register Data A1 1 A0 0 C1 0 C0 0 D7 D6 D5 D4 D3 D2 8-Bit Data D1 D0 User-Programmable Output (UPO) A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0 0 0 (LDAC = X) When this command is initiated, all four DAC registers are updated with shift-register data. This command allows all DACs to be set to any analog value within the reference range. It can be used to substitute CLR if code 00 hex is programmed, which clears all DACs. Software Shutdown A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 1 0 0 x x x x x x x x 1 1 0 0 x x x x x x x x (LDAC = X, PDE = H) This command shuts down all output buffer amplifiers, reducing supply current to 10µA max. x x x x x x x x Low High (LDAC = X) This command initiates the user-programmable logic output for controlling another device across an isolated interface. Example devices are gain control of an amplifier and a polarity output for a motor speed control. No Operation (NOP) D0 1 0 1 UPO Output A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 x x x x x x x x (LDAC = X) The NOP command (no operation) allows data to be shifted through the MAX534 MAX534 shift register without affecting the input or DAC registers. This is useful in daisy chaining (also see the Daisy Chaining Devices section). _ 9 MAX534 MAX534 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers For this command, the data bits are "Don't Cares." As an example, three MAX534s are daisy chained (A, B, and C), and devices A and C need to be updated. The 36-bit-wide command would consist of one 12-bit word for device C, followed by an NOP instruction for device B and a third 12-bit word with data for device A. At CS's rising edge, device B will not change state. Set DOUT Phase-SCLK Rising (Mode 1) A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0 1 1 1 0 x x x x x x x Serial Data Output DOUT is the internal shift register's output. DOUT can be programmed to clock out data on SCLK's falling edge (mode 0) or rising edge (mode 1). In mode 0, output data lags input data by 12.5 clock cycles, maintaining compatibility with Microwire and SPI. In mode 1, output data lags input data by 12 clock cycles. On power-up, DOUT defaults to mode 0 timing. DOUT never three-states; it always actively drives either high or low and remains unchanged when CS is high. x (LDAC = x) The mode 1 command resets the serial-output DOUT to transition at SCLK's rising edge. Once this command is issued, DOUT's phase is latched and will not change except on power-up or if the specific command to set the phase to falling edge is issued. This command also loads all DAC registers with the contents of their respective input registers, and is identical to the "LDAC" command. SCLK SK MAX534 MAX534 DIN SO MICROWIRE PORT CS I/0 Set DOUT Phase-SCLK Falling (Mode 0, Default) A1 A0 C1 C0 D7 D6 D5 D4 D3 D2 D1 D0 1 0 1 0 x x x x x x x x (LDAC = x) This command resets DOUT to transition at SCLK's falling edge. The same command also updates all DAC registers with the contents of their respective input registers, identical to the "LDAC" command. LDAC Operation (Hardware) LDAC is typically used in 4-wire interfaces (Figure 7). This command is level sensitive, and allows asynchronous hardware control of the DAC outputs. With LDAC low the DAC registers are transparent, and any time an input register is updated, the DAC output immediately follows. Clear DACs with CLR Strobing the CLR pin low causes an asynchronous clear of input and DAC registers and sets all DAC outputs to zero. Similar to the LDAC pin, CLR can be invoked at any time, typically when the device is not selected (CS = H). When the DAC data is all zeros, this function is equivalent to the "Update all DACs from Shift Registers" command. 10 Figure 4. Connections for Microwire MAX534 MAX534 DIN SCLK CS MOSI SCK I/0 Figure 5. Connections for SPI/QSPI _ SPI/QSPI PORT +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers Daisy-Chaining Devices Any number of MAX534s can be daisy-chained by connecting DOUT of one device to DIN of the following device in the chain. The NOP instruction (Table 1) allows data to be passed from DIN to DOUT without changing the input or DAC registers of the passing device. A 3-wire interface updates daisy-chained or individual MAX534s simultaneously by bringing CS high (Figure 6). SCLK DIN DIN CS DOUT DIN DIN MAX534 MAX534 SCLK DOUT DIN DOUT CS DEVICE B DEVICE C TO OTHER SERIAL DEVICES MAX534 MAX534 DIN CS VOUT = (NB x VREF) / 256 where NB is the numerical value of the DAC's binary input code. CS DEVICE A SCLK Reference Input The voltage at REF sets the full-scale output voltage for all four DACs. The 460k typical input impedance at REF is code independent. The output voltage for any DAC can be represented by a digitally programmable voltage source as follows: SCLK CS SCLK DAC Operation The MAX534 MAX534 uses a matrix decoding architecture for the DACs, which saves power in the overall system. The external reference voltage is divided down by a resistor string placed in a matrix fashion. Row and column decoders select the appropriate tab from the resistor string to provide the needed analog voltages. The resistor string presents a code-independent input impedance to the reference and guarantees a monotonic output. Figure 8 shows a simplified diagram of the four DACs. MAX534 MAX534 MAX534 MAX534 SCLK Analog Section CS Figure 6. Daisy-chained or individual MAX534s are simultaneously updated by bringing CS high. Only three wires are required. _ 11 MAX534 MAX534 Interfacing to the Microprocessor The MAX534 MAX534 is MicrowireTM and SPITM/QSPITM compatible (Figures 4 and 5). For SPI and QSPI, clear the CPOL and CPHA configuration bits (CPOL = CPHA = 0). The SPI/QSPI CPOL = CPHA = 1 configuration can also be used if the DOUT output is ignored. The MAX534 MAX534 can interface with Intel's 80C5X/80C3X 80C5X/80C3X family in mode 0 if the SCLK clock polarity is inverted. More universally, if a serial port is not available, three lines from one of the parallel ports can be used for bit manipulation. Digital feedthrough at the voltage outputs is greatly minimized by operating the serial clock only to update the registers. The clock idle state is low. MAX534 MAX534 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers DIN SCLK LDAC CS1 TO OTHER SERIAL DEVICES CS2 CS3 CS CS CS LDAC MAX534 MAX534 LDAC MAX534 MAX534 LDAC MAX534 MAX534 SCLK SCLK SCLK DIN DIN DIN Figure 7. Multiple MAX534s sharing one DIN line. Simultaneously update by strobing LDAC, or specifically update by enabling an individual CS. REF R0 R1 R15 D7 D5 MSB DECODER R16 D6 Output Buffer Amplifiers All MAX534 MAX534 voltage outputs are internally buffered by precision unity-gain followers that slew at about 0.6V/µs. The outputs can swing from GND to VDD. With a 0V to +4V (or +4V to 0V) output transition, the amplifier outputs will typically settle to 1/2LSB in 8µs when loaded with 10k in parallel with 100pF. The buffer amplifiers are stable with any combination of resistive (10k) or capacitive loads. D4 R255 LSB DECODER D3 D2 D1 D0 DAC A Figure 8. DAC Simplified Circuit Diagram 12 _ +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers DAC Linearity and Voltage Offset The output buffer can have a negative input offset voltage that would normally drive the output negative, but since there is no negative supply the output stays at 0V (Figure 9). When linearity is determined using the endpoint method, it is measured between zero code (all inputs 0) and full-scale code (all inputs 1) after offset and gain error are calibrated out. However, in singlesupply operation the next code after zero may not change the output, so the lowest code that produces a positive output is the lower endpoint. Power Sequencing The voltage applied to REF should not exceed VDD at any time. If proper power sequencing is not possible, connect an external Schottky diode between REF and VDD to ensure compliance with the absolute maximum ratings. Do not apply signals to the digital inputs before the device is fully powered up. Careful PC board layout minimizes crosstalk among DAC outputs and digital inputs. Figure 10 shows suggested circuit board layout to minimize crosstalk. Unipolar-Output, Two-Quadrant Multiplication In unipolar operation, the output voltages and the reference input are the same polarity. Figure 11 shows the MAX534 MAX534 unipolar configuration, and Table 2 shows the unipolar code. SYSTEM GND OUTC OUTB OUTD OUTA AGND REF Power-Supply Bypassing and Ground Management Connect AGND and DGND together at the IC. This ground should then return to the highest-quality ground available. Bypass VDD with a 0.1µF capacitor, located as close to VDD and DGND as possible. Figure 10. Suggested PC Board Layout for Minimizing Crosstalk (Bottom View) REFERENCE INPUT 3 REFAB +3V 13 VDD MAX534 MAX534 2 DAC A OUTPUT VOLTAGE OUTA 1 OUTB DAC B SERIAL INTERFACE NOT SHOWN 16 0V NEGATIVE OFFSET DAC CODE DAC C OUTC 15 DAC D OUTD AGND 14 Figure 9. Effect of Negative Offset (Single Supply) DGND 12 Figure 11. Unipolar Output Circuit _ 13 MAX534 MAX534 _Applications Information MAX534 MAX534 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers Table 2. Unipolar Code Table DAC CONTENTS ANALOG OUTPUT MSB LSB 1111 1111 255 +VREF 256 1000 0001 129 +VREF 256 1000 0000 0111 1111 127 +VREF 256 0000 0001 1 +VREF 256 0000 0000 0V ( ) ( ) VREF 128 +VREF = + 256 2 ( ) ( ) ( ) 1 Note: 1LSB = (VREF) (2-8) = +VREF () 256 _Functional Diagram DOUT CLR LDAC UPO PDE DECODE CONTROL VDD REF DGND AGND MAX534 MAX534 OUTA INPUT REGISTER A DAC REGISTER A DAC A INPUT REGISTER B DAC REGISTER B DAC B INPUT REGISTER C DAC REGISTER C DAC C INPUT REGISTER D DAC REGISTER D DAC D OUTB 12-BIT 12-BIT SHIFT REGISTER OUTC OUTD SR CONTROL CS 14 DIN SCLK _ +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers TRANSISTOR COUNT: 6821 _Package Information DIM A A1 A2 B C D E e H h L N S D A e A1 B S E INCHES MILLIMETERS MAX MIN MIN MAX 0.068 0.061 1.55 1.73 0.004 0.0098 0.127 0.25 0.061 0.055 1.40 1.55 0.012 0.008 0.20 0.31 0.0075 0.0098 0.19 0.25 SEE VARIATIONS 0.157 0.150 3.81 3.99 0.25 BSC 0.635 BSC 0.244 0.230 5.84 6.20 0.016 0.010 0.25 0.41 0.035 0.016 0.41 0.89 SEE VARIATIONS SEE VARIATIONS 8° 0° 0° 8° H h x 45° A2 N E C DIM PINS D S D S D S D S 16 16 20 20 24 24 28 28 INCHES MILLIMETERS MIN MAX MIN MAX 0.189 0.196 4.80 4.98 0.0020 0.0070 0.05 0.18 0.337 0.344 8.56 8.74 0.0500 0.0550 1.27 1.40 0.337 0.344 8.56 8.74 0.0250 0.0300 0.64 0.76 0.386 0.393 9.80 9.98 0.0250 0.0300 0.64 0.76 21-0055A QSOP QUARTER SMALL-OUTLINE PACKAGE L _ 15 MAX534 MAX534 _Chip Information MAX534 MAX534 +5V, Low-Power, 8-Bit Quad DAC with Rail-to-Rail Output Buffers _Package Information DIM E1 E D A A B B1 C E E1 e L L1 Q S S1 0°-15° Q L L1 e C B1 B S1 S CERDIP CERAMIC DUAL-IN-LINE PACKAGE (0.300 in.) INCHES MIN MAX 0.200 0.014 0.023 0.038 0.065 0.008 0.015 0.220 0.310 0.290 0.320 0.100 0.125 0.200 0.150 0.015 0.070 0.098 0.005 DIM PINS D D D D D D 8 14 16 18 20 24 MILLIMETERS MIN MAX 5.08 0.36 0.58 0.97 1.65 0.20 0.38 5.59 7.87 7.37 8.13 2.54 3.18 5.08 3.81 0.38 1.78 2.49 0.13 INCHES MILLIMETERS MIN MAX MIN MAX 0.405 10.29 0.785 19.94 0.840 21.34 0.960 24.38 1.060 26.92 1.280 32.51 21-0045A E E1 D DIM A A1 A2 A3 B B1 C D1 E E1 e eA eB L A3 A A2 L A1 0° - 15° C e B1 B eA eB D1 Plastic DIP PLASTIC DUAL-IN-LINE PACKAGE (0.300 in.) INCHES MAX MIN 0.200 0.015 0.175 0.125 0.080 0.055 0.022 0.016 0.065 0.045 0.012 0.008 0.080 0.005 0.325 0.300 0.310 0.240 0.100 0.300 0.400 0.150 0.115 PKG. DIM PINS P P P P P N D D D D D D 8 14 16 18 20 24 INCHES MIN MAX 0.348 0.390 0.735 0.765 0.745 0.765 0.885 0.915 1.015 1.045 1.14 1.265 MILLIMETERS MIN MAX 5.08 0.38 3.18 4.45 1.40 2.03 0.41 0.56 1.14 1.65 0.20 0.30 0.13 2.03 7.62 8.26 6.10 7.87 2.54 7.62 10.16 2.92 3.81 MILLIMETERS MIN MAX 8.84 9.91 18.67 19.43 18.92 19.43 22.48 23.24 25.78 26.54 28.96 32.13 21-0043A 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. 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.