19-3379; Rev 5; 11/11 KIT ATION EVALU E L B A IL AVA Dual, 256-Tap, Nonvolatile, Digital Potentiometers I2C-Interface, Features o Power-On Recall of Wiper Position from Nonvolatile Memory o EEPROM Write Protection o Tiny 3mm x 3mm x 0.8mm Thin QFN Package o 70ppm/C End-to-End Resistance Temperature Coefficient o 10ppm/C Ratiometric Temperature Coefficient o Fast 400kbps I2C-Compatible Serial Interface o 1A (max) Static Supply Current o Single-Supply Operation: +2.7V to +5.25V o 256 Tap Positions per Potentiometer o 0.5 LSB DNL in Voltage-Divider Mode o 1 LSB INL in Voltage-Divider Mode Functional Diagram VDD GND HA 8-BIT SHIFT REGISTER 8 16-BIT LATCH 8 256 POSITION DECODER 256 WA POR SDA SCL I2C INTERFACE LA 16-BIT NV MEMORY WP Applications A1 A2 Volume Control Liquid-Crystal Display (LCD) Contrast Control 8 256 WB MAX5477 MAX5478 MAX5479 A0 Mechanical Potentiometer Replacement Low-Drift Programmable-Gain Amplifiers HB 256 POSITION DECODER LB Pin Configurations appear at end of data sheet. Ordering Information/Selector Guide PART TEMP RANGE MAX5477ETE+T -40C to +85C PIN-PACKAGE 16 TQFN-EP* END-TO-END RESISTANCE (k) TOP MARK 10 ABO MAX5477EUD+ -40C to +85C 14 TSSOP 10 -- MAX5478ETE+T -40C to +85C 16 TQFN-EP* 50 ABP MAX5478EUD+ -40C to +85C 14 TSSOP 50 -- MAX5479ETE+T -40C to +85C 16 TQFN-EP* 100 ABQ MAX5479EUD+ -40C to +85C 14 TSSOP 100 -- +Denotes a lead(Pb)-free/RoHS-compliant package. T = Tape and reel. *EP = Exposed pad. ________________________________________________________________ Maxim Integrated Products For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com. 1 MAX5477/MAX5478/MAX5479 General Description The MAX5477/MAX5478/MAX5479 nonvolatile, dual, linear-taper, digital potentiometers perform the function of a mechanical potentiometer, but replace the mechanics with a simple 2-wire digital interface. Each device performs the same function as a discrete potentiometer or variable resistor and has 256 tap points. The devices feature an internal, nonvolatile EEPROM used to store the wiper position for initialization during power-up. A write-protect feature prevents accidental overwrites of the EEPROM. The fast-mode I2C-compatible serial interface allows communication at data rates up to 400kbps, minimizing board space and reducing interconnection complexity in many applications. Three address inputs allow a total of eight unique address combinations. The MAX5477/MAX5478/MAX5479 provide three nominal resistance values: 10k (MAX5477), 50k (MAX5478), or 100k (MAX5479). The nominal resistor temperature coefficient is 70ppm/C end-to-end and 10ppm/C ratiometric. The low temperature coefficient makes the devices ideal for applications requiring a lowtemperature-coefficient variable resistor, such as lowdrift, programmable gain-amplifier circuit configurations. The MAX5477/MAX5478/MAX5479 are available in 16pin 3mm x 3mm x 0.8mm TQFN and 14-pin 4.4mm x 5mm TSSOP packages. These devices operate over the extended -40C to +85C temperature range. MAX5477/MAX5478/MAX5479 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers ABSOLUTE MAXIMUM RATINGS SDA, SCL, VDD to GND .........................................-0.3V to +6.0V All Other Pins to GND.................................-0.3V to (VDD + 0.3V) Maximum Continuous Current into H_, L_, and W_ MAX5477......................................................................5.0mA MAX5478......................................................................1.3mA MAX5479......................................................................0.6mA Continuous Power Dissipation (TA = +70C) 16-Pin TQFN (derate 17.5mW/C above +70C) .......1398mW 14-Pin TSSOP (derate 9.1mW/C above +70C) .........727mW Operating Temperature Range ...........................-40C to +85C Maximum Junction Temperature .....................................+150C Storage Temperature Range .............................-65C to +150C Lead Temperature (soldering, 10s) .................................+300C Soldering Temperature (reflow) .......................................+260C 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. PACKAGE THERMAL CHARACTERISTICS (Note 1) TQFN Junction-to-Ambient Thermal Resistance (JA) ........57.2C/W Junction-to-Case Thermal Resistance (JC) ................40C/W TSSOP Junction-to-Ambient Thermal Resistance (JA) ......100.4C/W Junction-to-Case Thermal Resistance (JC) ................30C/W Note 1: Package thermal resistances were obtained using the method described in JEDEC specification JESD51-7, using a four-layer board. For detailed information on package thermal considerations, refer to www.maxim-ic.com/thermal-tutorial. ELECTRICAL CHARACTERISTICS (VDD = +2.7V to +5.25V, H_ = VDD, L_ = GND, TA = -40C to +85C, unless otherwise noted. Typical values are at VDD = +5V, TA = +25C.) (Note 2) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS DC PERFORMANCE (VOLTAGE-DIVIDER MODE) Resolution 256 Taps Integral Nonlinearity INL (Note 3) 1 LSB Differential Nonlinearity DNL (Note 3) 0.5 LSB 1 LSB Dual Code Matching End-to-End Resistance Temperature Coefficient R0 and R1 set to same code (all codes) TCR Ratiometric Resistance Temperature Coefficient Full-Scale Error Zero-Scale Error 70 ppm/C 10 ppm/C MAX5477 -4 MAX5478 -0.6 MAX5479 -0.3 MAX5477 4 MAX5478 0.6 MAX5479 0.3 LSB LSB DC PERFORMANCE (VARIABLE-RESISTOR MODE) Integral Nonlinearity (Note 4) INL VDD = 3V 3 VDD = 5V 1.5 MAX5477 Differential Nonlinearity (Note 4) 2 DNL LSB 1 MAX5478 1 MAX5479 1 _______________________________________________________________________________________ LSB Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers (VDD = +2.7V to +5.25V, H_ = VDD, L_ = GND, TA = -40C to +85C, unless otherwise noted. Typical values are at VDD = +5V, TA = +25C.) (Note 2) PARAMETER SYMBOL CONDITIONS MIN TYP R0 and R1 set to same code (all codes), VDD = 3V or 5V Dual Code Matching MAX UNITS 3 LSB 675 DC PERFORMANCE (RESISTOR CHARACTERISTICS) Wiper Resistance RW Wiper Capacitance CW End-to-End Resistance RHL (Note 5) 325 10 pF MAX5477 7.5 10 12.5 MAX5478 37.5 50 62.5 MAX5479 75 100 125 k DIGITAL INPUTS VDD = 3.4V to 5.25V Input High Voltage (Note 6) VIH Input Low Voltage VIL (Note 6) Output Low Voltage VOL I SINK = 3mA WP Pullup Resistance IWP Input Leakage Current ILEAK 2.4 VDD < 3.4V V 0.7 x VDD 0.8 0.4 255 V k 1 Input Capacitance V A 5 pF HA = 1kHz (0 to VDD), LA = GND, LB = GND, measure WB -75 dB MAX5477 400 MAX5478 100 MAX5479 50 DYNAMIC CHARACTERISTICS Crosstalk 3dB Bandwidth (Note 7) Total Harmonic Distortion Plus Noise THD+N H_ = 1VRMS, f = 1kHz, L_ = GND, measure W_ kHz 0.003 % TA = +85C 50 Years TA = +25C 200,000 TA = +85C 50,000 NONVOLATILE MEMORY RELIABILITY Data Retention Endurance Stores POWER SUPPLY Power-Supply Voltage VDD 2.70 Writing to EEPROM, digital inputs at GND or VDD, TA = +25C (Note 8) Supply Current IDD Normal operation, digital inputs at GND or VDD, TA = +25C 5.25 250 400 WP = GND 15 20.6 WP = VDD 0.5 1 V A _______________________________________________________________________________________ 3 MAX5477/MAX5478/MAX5479 ELECTRICAL CHARACTERISTICS (continued) MAX5477/MAX5478/MAX5479 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers TIMING CHARACTERISTICS (VDD = +2.7V to +5.25V, H_ = VDD, L_ = GND, TA = -40C to +85C, unless otherwise noted. Typical values are at VDD = +5V, TA = +25C. See Figure 1.) (Notes 9 and 10) PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS ANALOG SECTION MAX5477 Wiper Settling Time (Note 11) tWS 325 MAX5478 500 MAX5479 1000 ns DIGITAL SECTION SCL Clock Frequency f SCL 400 kHz Setup Time for START Condition t SU:STA 0.6 s Hold Time for START Condition tHD:STA 0.6 s SCL High Time tHIGH 0.6 s SCL Low Time tLOW 1.3 s Data Setup Time t SU:DAT 100 ns Data Hold Time tHD:DAT 0 0.9 s SDA, SCL Rise Time tR 300 ns SDA, SCL Fall Time tF 300 ns Setup Time for STOP Condition t SU:STO Bus Free Time Between STOP and START Condition tBUF Pulse Width of Spike Suppressed t SP Capacitive Load for Each Bus Line CB Write NV Register Busy Time Minimum power-up rate = 0.2V/s 0.6 s 1.3 s 50 ns (Note 12) 400 pF (Note 13) 12 ms Note 2: All devices are production tested at TA = +25C and are guaranteed by design and characterization for -40C < TA < +85C. Note 3: The DNL and INL are measured with the potentiometer configured as a voltage-divider with H_ = VDD and L_ = GND. The wiper terminal is unloaded and measured with a high-input-impedance voltmeter. Note 4: The DNL and INL are measured with the potentiometer configured as a variable resistor. H_ is unconnected and L_ = GND. For VDD = +5V, the wiper is driven with 400A (MAX5477), 80A (MAX5478), or 40A (MAX5479). For VDD = +3V, the wiper is driven with 200A (MAX5477), 40A (MAX5478), or 20A (MAX5479). Note 5: The wiper resistance is measured using the source currents given in Note 3. Note 6: The devices draw current in excess of the specified supply current when the digital inputs are driven with voltages between (VDD - 0.5V) and (GND + 0.5V). See Supply Current vs. Digital Input Voltage in the Typical Operating Characteristics. Note 7: Wiper at midscale with a 10pF load (DC measurement). L_ = GND, an AC source is applied to H_, and the W_ output is measured. A 3dB bandwidth occurs when the AC W_/H_ value is 3dB lower than the DC W_/H_ value. Note 8: The programming current exists only during power-up and EEPROM writes. Note 9: The SCL clock period includes rise and fall times (tR = tF). All digital input signals are specified with tR = tF = 2ns and timed from a voltage level of (VIL + VIH) / 2. Note 10: Digital timing is guaranteed by design and characterization, and is not production tested. Note 11: This is measured from the STOP pulse to the time it takes the output to reach 50% of the output step size (divider mode). It is measured with a maximum external capacitive load of 10pF. Note 12: An appropriate bus pullup resistance must be selected depending on board capacitance. Refer to the I2C-bus specification document linked to this web address: www.semiconductors.philips.com/acrobat/literature/9398/39340011.pdf Note 13: The idle time begins from the initiation of the STOP pulse. 4 _______________________________________________________________________________________ Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers SUPPLY CURRENT vs. TEMPERATURE 0.6 VCC = 5V 0.4 VCC = 3V WP = GND VCC = 5V 13 11 9 0.2 7 0 5 VCC = 3V 500 MAX5477/78/79 toc02 SUPPLY CURRENT (A) 0.8 15 MAX5477/78/79 toc1a WP = VDD SUPPLY CURRENT (A) MAX5477/78/79 toc01 1.0 WIPER RESISTANCE vs. INPUT CODE 450 400 WIPER RESISTANCE () SUPPLY CURRENT vs. TEMPERATURE (MAX5477) 350 300 250 200 150 100 50 -40 -15 10 35 60 0 -40 85 -15 10 35 60 85 TEMPERATURE (C) TEMPERATURE (C) MAX5477 CL = 10pF H_ = VDD FROM TAP 00 TO TAP 04 SDA 2V/div W_ 20mV/div MAX5478 CL = 10pF H_ = VDD FROM TAP 00 TO TAP 04 MAX5479 CW_ = 10pF H_ = VDD FROM TAP 00 TO TAP 04 WIPER TRANSIENT AT POWER-ON MAX5477/78/79 toc07 MAX5477/78/79 toc06 W_ 20mV/div 400ns/div WIPER TRANSIENT AT POWER-ON WIPER TRANSIENT AT POWER-ON 128 160 192 224 256 MAX5477/78/79 toc05 1s/div 200ns/div 96 SDA 2V/div SDA 2V/div W_ 50mV/div 64 TAP-TO-TAP SWITCHING TRANSIENT MAX5477/78/79 toc04 MAX5477/78/79 toc03 32 INPUT CODE TAP-TO-TAP SWITCHING TRANSIENT TAP-TO-TAP SWITCHING TRANSIENT 0 VDD 2V/div MAX5477/78/79 toc08 VDD 2V/div VDD 2V/div W_ 1V/div W_ 1V/div W_ 1V/div 2s/div MAX5479 TAP = 128 MAX5478 TAP = 128 MAX5477 TAP = 128 4s/div 2s/div _______________________________________________________________________________________ MAX5477/MAX5478/MAX5479 Typical Operating Characteristics (VDD = +5V, H_ = VDD, L_ = GND, TA = +25C, unless otherwise noted.) 5 Typical Operating Characteristics (continued) (VDD = +5V, H_ = VDD, L_ = GND, TA = +25C, unless otherwise noted.) 0.2 MAX5478 0.2 0.1 0.15 0.05 INL (LSB) 0.20 0.10 0 -0.1 -0.2 -0.2 32 64 96 -0.3 0 128 160 192 224 256 32 64 96 0 128 160 192 224 256 32 64 96 128 160 192 224 256 CODE CODE CODE DIFFERENTIAL NONLINEARITY vs. CODE (VDM MODE) INTEGRAL NONLINEARITY vs. CODE (VRM MODE) DIFFERENTIAL NONLINEARITY vs. CODE (VRM MODE) MAX5478 0.2 MAX5478 0.10 0.2 0.04 0.02 DNL (LSB) INL (LSB) 0 0 0 -0.02 -0.1 -0.1 -0.2 -0.2 -0.3 -0.3 MAX5478 0.08 0.06 0.1 0.1 MAX5477/78/79 toc14 0.3 MAX5477/78/79 toc12 0.3 MAX5477/78/79 toc13 0 0 -0.1 -0.3 0 DNL (LSB) 0.3 0.1 DNL (LSB) INL (LSB) 0.25 MAX5477 MAX5477/78/79 toc11 0.30 0.3 MAX5477/78/79 toc10 MAX5477 MAX5477/78/79 toc09 0.35 INTEGRAL NONLINEARITY vs. CODE (VDM MODE) DIFFERENTIAL NONLINEARITY vs. CODE (VDM MODE) INTEGRAL NONLINEARITY vs. CODE (VDM MODE) -0.04 -0.06 -0.08 32 64 96 32 64 96 128 160 192 224 256 64 96 128 160 192 224 256 INTEGRAL NONLINEARITY vs. CODE (VDM MODE) DIFFERENTIAL NONLINEARITY vs. CODE (VDM MODE) INTEGRAL NONLINEARITY vs. CODE (VRM MODE) 0 -0.04 -0.08 -0.12 -0.16 -0.20 64 96 128 160 192 224 256 CODE 0.20 MAX5477/78/79 toc17 MAX5479 DNL (LSB) 0.04 0.14 0.12 0.10 0.08 0.06 0.04 0.02 0 -0.02 -0.04 -0.06 -0.08 -0.10 -0.12 -0.14 MAX5479 0.16 0.12 0.08 INL (LSB) MAX5477/78/79 toc15 0.08 32 32 CODE MAX5479 0 0 CODE 0.12 6 0 128 160 192 224 256 CODE 0.20 0.16 -0.10 MAX5477/78/79 toc16 0 INL (LSB) MAX5477/MAX5478/MAX5479 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers 0.04 0 -0.04 -0.08 -0.12 -0.16 -0.20 0 32 64 96 128 160 192 224 256 0 32 64 96 CODE _______________________________________________________________________________________ 128 160 192 224 256 CODE Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers 0 -0.04 -20 -40 -50 -60 -30 -40 -50 -60 -0.08 -70 -70 -0.12 -80 -80 -0.16 -90 -90 -0.20 -100 -100 32 64 96 128 160 192 224 256 0.1 1 10 100 1000 FREQUENCY (kHz) CODE CROSSTALK vs. FREQUENCY (MAX5479) -20 CW_ = 10pF 0 -1 GAIN (dB) -50 -60 CW_ = 50pF -3 -4 -2 -3 -4 -6 -7 -7 -100 -8 -8 10 100 1000 10,000 0.1 1 FREQUENCY (kHz) MIDSCALE WIPER RESPONSE vs. FREQUENCY (MAX5479) 1 1 10 100 1000 FREQUENCY (kHz) 1 MIDSCALE TOTAL HARMONIC DISTORTION PLUS NOISE vs. FREQUENCY (MAX5478) 10 MIDSCALE 1 THD+N (%) 0.1 THD+N (%) GAIN (dB) 0 0.1 1000 TOTAL HARMONIC DISTORTION PLUS NOISE vs. FREQUENCY (MAX5477) MAX5477/78/79 toc24 2 10 100 FREQUENCY (kHz) MAX5477/78/79 toc25 1 CW_ = 50pF -5 -90 0.1 CW_ = 10pF 0 -6 -80 1000 -1 -5 -70 100 1 -2 -40 10 2 GAIN (dB) CROSSTALK (dB) -30 1 MIDSCALE WIPER RESPONSE vs. FREQUENCY (MAX5478) 1 MAX5477/78/79 toc21 CW_ = 10pF 0.1 FREQUENCY (kHz) MIDSCALE WIPER RESPONSE vs. FREQUENCY (MAX5477) 0 -10 0.01 10,000 MAX5477/78/79 toc22 0 MAX5477/78/79 toc26 0.04 CW_ = 10pF -10 CROSSTALK (dB) -30 MAX5477/78/79 toc20 -20 CROSSTALK (dB) 0.08 CW_ = 10pF -10 0 MAX5477/78/79 toc19 MAX5479 0.12 DNL (LSB) 0 MAX5477/78/79 toc18 0.20 0.16 CROSSTALK vs. FREQUENCY (MAX5478) CROSSTALK vs. FREQUENCY (MAX5477) MAX5477 toc23 DIFFERENTIAL NONLINEARITY vs. CODE (VRM MODE) -1 -2 CW_ = 10pF -3 0.1 0.01 0.01 0.001 -4 CW_ = 50pF 0.0001 0.001 -5 0.1 1 10 FREQUENCY (kHz) 100 1000 0.01 0.1 1 10 FREQUENCY (kHz) 100 0.01 0.1 1 10 100 FREQUENCY (kHz) _______________________________________________________________________________________ 7 MAX5477/MAX5478/MAX5479 Typical Operating Characteristics (continued) (VDD = +5V, H_ = VDD, L_ = GND, TA = +25C, unless otherwise noted.) Typical Operating Characteristics (continued) (VDD = +5V, H_ = VDD, L_ = GND, TA = +25C, unless otherwise noted.) 0.1 0.01 0.001 0.0001 0.4 0.2 0 -0.2 -0.4 -0.6 0.1 1 10 100 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 -0.4 -0.5 -15 -40 FREQUENCY (kHz) 10 35 60 -40 85 -15 0.3 0.2 0.1 0 -0.1 -0.2 600 550 500 SUPPLY CURRENT (A) 0.4 35 SUPPLY CURRENT vs. DIGITAL INPUT VOLTAGE MAX5477/78/79 toc30 0.5 10 TEMPERATURE (C) TEMPERATURE (C) END-TO-END RESISTANCE % CHANGE vs. TEMPERATURE (MAX5479) END-TO-END RESISTANCE CHANGE (%) 0.4 MAX5477/78/79 toc31 0.01 WP = GND 450 400 350 300 250 200 -0.3 150 100 -0.4 50 VCC = 5V VCC = 3V 0 -0.5 -40 -15 10 35 TEMPERATURE (C) 8 0.5 END-TO-END RESISTANCE CHANGE (%) 1 END-TO-END RESISTANCE CHANGE (%) MIDSCALE MAX5477/78/79 toc28 0.6 MAX5477/78/79 toc27 10 END-TO-END RESISTANCE % CHANGE vs. TEMPERATURE (MAX5478) END-TO-END RESISTANCE % CHANGE vs. TEMPERATURE (MAX5477) MAX5477/78/79 toc29 TOTAL HARMONIC DISTORTION PLUS NOISE vs. FREQUENCY (MAX5479) THD+N (%) MAX5477/MAX5478/MAX5479 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers 60 85 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 DIGITAL INPUT VOLTAGE (V) _______________________________________________________________________________________ 60 85 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers PIN NAME FUNCTION TSSOP THIN QFN 1 15 HA Potentiometer A High Terminal 2 14 WA Potentiometer A Wiper Terminal 3 13 LA Potentiometer A Low Terminal 4 12 HB Potentiometer B High Terminal 5 11 WB Potentiometer B Wiper Terminal 6 10 LB Potentiometer B Low Terminal 7 9 WP Write-Protect Input. Connect to GND to allow changes to the wiper position and the data stored in the EEPROM. Connect to VDD or leave unconnected to enable the write protection of the EEPROM. See the Write Protect (WP) section for operating instructions. 8 7 GND 9 6 A2 Address Input 2. Connect to VDD or GND (see Table 1). 10 5 A1 Address Input 1. Connect to VDD or GND (see Table 1). 11 4 A0 12 3 SDA Address Input 0. Connect to VDD or GND (see Table 1). I2C Serial Data 13 2 SCL I2C Clock Input 14 1 VDD Power-Supply Input. Connect a +2.7V to +5.25V power supply to VDD and bypass VDD to GND with a 0.1F capacitor installed as close to the device as possible. -- 8, 16 N.C. No Connection. Do not connect. -- EP EP Ground Exposed Paddle. Do not connect. SDA tBUF tSU:DAT tSU:STA tHD:DAT tLOW tHD:STA tSU:STO SCL tHIGH tHD:STA tR tF START CONDITION (S) REPEATED START CONDITION (SR) ACKNOWLEDGE (A) STOP CONDITION (P) START CONDITION (S) PARAMETERS ARE MEASURED FROM 30% TO 70%. Figure 1. I2C Serial-Interface Timing Diagram _______________________________________________________________________________________ 9 MAX5477/MAX5478/MAX5479 Pin Description MAX5477/MAX5478/MAX5479 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers Detailed Description The MAX5477/MAX5478/MAX5479 contain two resistor arrays with 255 elements in each array. The MAX5477 has a total end-to-end resistance of 10k, the MAX5478 has an end-to-end resistance of 50k, and the MAX5479 has an end-to-end resistance of 100k. The MAX5477/MAX5478/MAX5479 provide access to the high, low, and wiper terminals for a standard voltage-divider configuration. Connect H_, L_, and W_ in any desired configuration as long as their voltages remain between GND and VDD. A simple 2-wire I2C-compatible serial interface moves the wiper among the 256 tap points (Figure 2). A nonvolatile memory stores the wiper position and recalls the stored wiper position upon power-up. The nonvolatile memory is guaranteed for 50 years for wiper data retention and up to 200,000 wiper store cycles. Analog Circuitry The MAX5477/MAX5478/MAX5479 consist of two resistor arrays with 255 resistive elements; 256 tap points are accessible to the wipers, along the resistor string between H_ and L_. The wiper tap point is selected by programming the potentiometer through the I2C interface. An address byte, a command byte, and 8 data bits program the wiper position for each potentiometer. The H_ and L_ terminals of the MAX5477/MAX5478/ MAX5479 are similar to the two end terminals of a mechanical potentiometer. The MAX5477/MAX5478/ MAX5479 feature power-on reset circuitry that loads the wiper position from the nonvolatile memory at power-up. Table 1. Slave Addresses ADDRESS INPUTS A2 H_ SLAVE ADDRESS A1 A0 GND GND GND 0101000 GND GND VDD 0101001 GND VDD GND 0101010 GND VDD VDD 0101011 VDD GND GND 0101100 VDD GND VDD 0101101 VDD VDD GND 0101110 VDD VDD VDD 0101111 S256 R255 S255 R254 S254 RW 256-POSITION DECODER W_ S3 R2 WIPER CODE 02h S2 R1 S1 L_ Figure 2. Potentiometer Configuration 10 ______________________________________________________________________________________ Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers COMMAND WP = 0 WP = 1 I2C data is written to VREG. Wiper position updates with I2C data. No change to NVREG. Copy NVREG to VREG. Wiper position updates with NVREG data. No change to NVREG. Write to NVREG No change to VREG or wiper position. I2C data is written to NVREG. No change to VREG or wiper position. No change to NVREG. Copy NVREG to VREG Copy NVREG to VREG. Wiper position updates with NVREG data. No change to NVREG. Copy NVREG to VREG. Wiper position updates with NVREG data. No change to NVREG. Copy VREG to NVREG Copy VREG to NVREG. No change to VREG or wiper position. No change to VREG or wiper position. No change to NVREG. Write to VREG Table 3. Command Byte Summary ADDRESS BYTE 1 SCL CYCLE NUMBER 2 3 4 5 6 7 COMMAND BYTE 8 START (S) A6 A5 A4 A3 A2 A1 A0 9 DATA BYTE 10 11 12 13 14 15 16 17 18 ACK (A) 19 20 21 22 23 24 25 26 27 ACK ACK TX NV V R3 R2 R1 R0 D7 D6 D5 D4 D3 D2 D1 D0 (A) (A) VREG 0 1 0 1 A2 A1 A0 0 0 0 0 1 0 0 0 1 D7 D6 D5 D4 D3 D2 D1 D0 NVREG 0 1 0 1 A2 A1 A0 0 0 0 1 0 0 0 0 1 D7 D6 D5 D4 D3 D2 D1 D0 NVREGxVREG 0 1 0 1 A2 A1 A0 0 0 1 1 0 0 0 0 1 D7 D6 D5 D4 D3 D2 D1 D0 VREGxNVREG 0 1 0 1 A2 A1 A0 0 0 1 0 1 0 0 0 1 D7 D6 D5 D4 D3 D2 D1 D0 VREG 0 1 0 1 A2 A1 A0 0 0 0 0 1 0 0 1 0 D7 D6 D5 D4 D3 D2 D1 D0 NVREG 0 1 0 1 A2 A1 A0 0 0 0 1 0 0 0 1 0 D7 D6 D5 D4 D3 D2 D1 D0 NVREGxVREG 0 1 0 1 A2 A1 A0 0 0 1 1 0 0 0 1 0 D7 D6 D5 D4 D3 D2 D1 D0 VREGxNVREG 0 1 0 1 A2 A1 A0 0 0 1 0 1 0 0 1 0 D7 D6 D5 D4 D3 D2 D1 D0 VREG 0 1 0 1 A2 A1 A0 0 0 0 0 1 0 0 1 1 D7 D6 D5 D4 D3 D2 D1 D0 NVREG 0 1 0 1 A2 A1 A0 0 0 0 1 0 0 0 1 1 D7 D6 D5 D4 D3 D2 D1 D0 NVREGxVREG 0 1 0 1 A2 A1 A0 0 0 1 1 0 0 0 1 1 D7 D6 D5 D4 D3 D2 D1 D0 VREGxNVREG 0 1 0 1 A2 A1 A0 0 0 1 0 1 0 0 1 1 D7 D6 D5 D4 D3 D2 D1 D0 STOP NOTES (P) WIPER A ONLY WIPER B ONLY WIPERS A AND B Digital Interface Write Protect (WP) The MAX5477/MAX5478/MAX5479 feature an internal, nonvolatile EEPROM that stores the wiper state for initialization during power-up. The shift register decodes the command and address bytes, routing the data to the proper memory registers. Data written to a volatile memory register immediately updates the wiper position, or writes data to a nonvolatile register for storage (see Table 3). The volatile register retains data as long as the device is powered. Removing power clears the volatile register. The nonvolatile register retains data even after power is removed. Upon power-up, the power-on reset circuitry controls the transfer of data from the nonvolatile register to the volatile register. A write-protect feature prevents accidental overwriting of the EEPROM. Connect WP to VDD or leave unconnected to prevent any EEPROM write cycles. Writing to the volatile register (VREG) while WP = 1 updates the wiper position with the protected data stored in the nonvolatile register (NVREG). Connect WP to GND to allow write commands to the EEPROM and to update the wiper position from either the value in the EEPROM or directly from the I2C interface (Table 2). Connecting WP to GND increases the supply current by 19.6A (max). To ensure a fail-safe, write-protect feature, write the data to be protected to both the nonvolatile and volatile registers before pulling WP high. Releasing WP (WP = 0) and sending partial or invalid I2C commands (such as single-byte address polling) can load the volatile ______________________________________________________________________________________ 11 MAX5477/MAX5478/MAX5479 Table 2. Write-Protect Behavior of VREG and NVREG MAX5477/MAX5478/MAX5479 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers register with input shift register data and change the wiper position. Use valid 3-byte I 2C commands for proper operation. This precautionary operation is necessary only when transitioning from write protected (WP = 1) to not write protected (WP = 0). Serial Addressing The MAX5477/MAX5478/MAX5479 operate as slave devices that send and receive data through an I2C-/ SMBusTM-compatible 2-wire serial interface. The interface uses a serial data access (SDA) line and a serial clock line (SCL) to achieve bidirectional communication between master(s) and slave(s). A master, typically a microcontroller, initiates all data transfers to the MAX5477/MAX5478/MAX5479, and generates the SCL clock that synchronizes the data transfer (Figure 1). The MAX5477/MAX5478/MAX5479 SDA line operates as both an input and an open-drain output. The SDA line requires a pullup resistor, typically 4.7k. The MAX5477/MAX5478/MAX5479 SCL line operates only as an input. The SCL line requires a pullup resistor (typically 4.7k) if there are multiple masters on the 2-wire interface, or if the master in a single-master system has an open-drain SCL output. SCL and SDA should not exceed VDD in a mixed-voltage system, despite the open-drain drivers. Each transmission consists of a START (S) condition (Figure 3) sent by a master, followed by the MAX5477/MAX5478/MAX5479 7-bit slave address plus the NOP/W bit (Figure 4), 1 command byte and 1 data byte, and finally a STOP (P) condition (Figure 3). START and STOP Conditions Both SCL and SDA remain high when the interface is not busy. A master controller signals the beginning of a transmission with a START condition by transitioning SDA from high to low while SCL is high. The master controller issues a STOP condition by transitioning the SDA from low to high while SCL is high, when it finishes SDA 0 START 1 MSB 0 1 SDA SCL S P START CONDITION STOP CONDITION Figure 3. START and STOP Conditions communicating with the slave. The bus is then free for another transmission (Figure 3). Bit Transfer One data bit is transferred during each clock pulse. The data on the SDA line must remain stable while SCL is high (Figure 5). Acknowledge The acknowledge bit is a clocked 9th bit that the recipient uses to handshake receipt of each byte of data (Figure 6). Thus, each byte transferred effectively requires 9 bits. The master controller generates the 9th clock pulse, and the recipient pulls down SDA during the acknowledge clock pulse, so the SDA line remains stable low during the high period of the clock pulse. Slave Address The MAX5477/MAX5478/MAX5479 have a 7-bit-long slave address (Figure 4). The 8th bit following the 7-bit slave address is the NOP/W bit. Set the NOP/W bit low for a write command and high for a no-operation command. The MAX5477/MAX5478/MAX5479 provide three address inputs (A0, A1, and A2), allowing up to eight devices to share a common bus (Table 1). The first 4 bits (MSBs) of the MAX5477/MAX5478/MAX5479 slave addresses are always 0101. A2, A1, and A0 set the next A2 A1 A0 NOP/W LSB SCL Figure 4. Slave Address SMBus is a trademark of Intel Corporation. 12 ______________________________________________________________________________________ ACK Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers SDA MAX5477/MAX5478/MAX5479 CLOCK PULSE FOR ACKNOWLEDGMENT START CONDITION SCL 1 2 8 9 NOT ACKNOWLEDGE SCL SDA DATA STABLE, DATA VALID CHANGE OF DATA ALLOWED ACKNOWLEDGE Figure 5. Bit Transfer Figure 6. Acknowledge D15 COMMAND BYTE IS STORED ON RECEIPT OF STOP CONDITION D14 D13 D12 D11 D10 D9 D8 ACKNOWLEDGE FROM MAX5477/MAX5478/MAX5479 S SLAVE ADDRESS 0 COMMAND BYTE A A P ACKNOWLEDGE FROM MAX5477/MAX5478/MAX5479 NOP/W Figure 7. Command Byte Received ACKNOWLEDGE FROM MAX5477/MAX5478/MAX5479 HOW CONTROL BYTE AND DATA BYTE MAP INTO MAX5477/MAX5478/MAX5479 REGISTERS D15 D14 D13 D12 D11 D10 D9 ACKNOWLEDGE FROM MAX5477/MAX5478/MAX5479 D8 D7 D6 D5 D4 D3 D2 D1 D0 ACKNOWLEDGE FROM MAX5477/MAX5478/MAX5479 S SLAVE ADDRESS 0 A COMMAND BYTE NOP/W A DATA BYTE A P 1 BYTE Figure 8. Command and Single Data Byte Received 3 bits in the slave address. Connect each address input to VDD or GND to set these 3 bits. Each device must have a unique address to share a common bus. Message Format for Writing Write to the MAX5477/MAX5478/MAX5479 by transmitting the device's slave address with NOP/W (8th bit) set to zero, followed by at least 1 byte of information (Figure 7). The 1st byte of information is the command byte. The bytes received after the command byte are the data bytes. The 1st data byte goes into the internal register of the MAX5477/MAX5478/MAX5479 as selected by the command byte (Figure 8). Command Byte Use the command byte to select the source and destination of the wiper data (nonvolatile or volatile memory registers) and swap data between nonvolatile and volatile memory registers (see Table 3). Command Descriptions VREG: The data byte writes to the volatile memory register and the wiper position updates with the data in the volatile memory register. NVREG: The data byte writes to the nonvolatile memory register. The wiper position is unchanged. NVREGxVREG: Data transfers from the nonvolatile memory register to the volatile memory register (wiper position updates). ______________________________________________________________________________________ 13 MAX5477/MAX5478/MAX5479 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers 5V 5V H_ 30V 30V W_ MAX5477 MAX5478 MAX5479 MAX480 H_ VOUT L_ MAX5477 MAX5478 MAX5479 MAX480 VOUT W_ L_ Figure 9. Positive LCD Bias Control Using a Voltage-Divider VREGxNVREG: Data transfers from the volatile memory register into the nonvolatile memory register. Nonvolatile Memory The internal EEPROM consists of a 16-bit nonvolatile register that retains the value written to it prior to power down. The nonvolatile register is programmed with the midscale value at the factory. The nonvolatile memory is guaranteed for 50 years for wiper position retention and up to 200,000 wiper write cycles. A write-protect feature prevents accidental overwriting of the EEPROM. Connect WP to VDD or leave open to enable the writeprotect feature. The wiper position only updates with the value in the EEPROM when WP = VDD. Connect WP to GND to allow EEPROM write cycles and to update the wiper position from nonvolatile memory or directly from the I2C serial interface. Power-Up Upon power-up, the MAX5477/MAX5478/MAX5479 load the data stored in the nonvolatile memory register into the volatile memory register, updating the wiper position with the data stored in the nonvolatile memory register. This initialization period takes 10s. Standby The MAX5477/MAX5478/MAX5479 feature a low-power standby mode. When the device is not being programmed, it enters into standby mode and supply current drops to 500nA (typ). Applications Information The MAX5477/MAX5478/MAX5479 are ideal for circuits requiring digitally controlled adjustable resistance, such as LCD contrast control (where voltage biasing adjusts the display contrast), or for programmable filters with adjustable gain and/or cutoff frequency. 14 Figure 10. Positive LCD Bias Control Using a Variable Resistor Positive LCD Bias Control Figures 9 and 10 show an application where the MAX5477/MAX5478/MAX5479 provide an adjustable, positive LCD bias voltage. The op amp provides buffering and gain to the resistor-divider network made by the potentiometer (Figure 9) or by a fixed resistor and a variable resistor (see Figure 10). Programmable Filter Figure 11 shows the MAX5477/MAX5478/MAX5479 in a 1st-order programmable application filter. Adjust the gain of the filter with R2, and set the cutoff frequency with R3. Use the following equations to calculate the gain (A) and the -3dB cutoff frequency (fC): R1 R2 1 fC = 2 x R 3 x C A = 1+ Offset Voltage and Gain Adjustment Connect the high and low terminals of one potentiometer of a MAX5477 between the NULL inputs of a MAX410 and the wiper to the op amp's positive supply to nullify the offset voltage over the operating temperature range. Install the other potentiometer in the feedback path to adjust the gain of the MAX410 (Figure 12). Adjustable Voltage Reference Figure 13 shows the MAX5477/MAX5478/MAX5479 used as the feedback resistors in multiple adjustable voltage reference applications. Independently adjust the output voltages of the MAX6160 parts from 1.23V to V IN - 0.2V by changing the wiper positions of the MAX5477/MAX5478/MAX5479. ______________________________________________________________________________________ Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers V+ VIN R3 C 1/2 MAX5477 WA LA HA MAX5477/MAX5478/MAX5479 5V WA MAX410 LA HA VOUT 7 3 1 8 MAX5477 MAX5478 MAX5479 VR1 2 4 HB R2, R3 = RHL x D / 256 WHERE RHL = END-TO-END RESISTANCE AND D = DECIMAL VALUE OF WIPER CODE R2 = RHL x D / 256 WHERE RHL = END-TO-END RESISTANCE AND = D DECIMAL VALUE OF WIPER CODE R1 HB WB R2 6 MAX410 1/2 MAX5477 R2 WB LB LB Figure 11. Programmable Filter Figure 12. Offset Voltage Adjustment Circuit 5V IN IN V OUT1 OUT OUT 10k FOR THE MAX5477 R 50k VOUT_ = 1.23V x FOR THE MAX5478 R 100k VOUT_ = 1.23V x FOR THE MAX5479 R VOUT_ = 1.23V x VOUT2 HB HA MAX6160 MAX6160 ADJ 1/2 MAX5477 1/2 MAX5478 1/2 MAX5479 WA R GND ADJ GND LA 1/2 MAX5477 1/2 MAX5478 1/2 MAX5479 WB R WHERE R = RHL x D / 256 AND D = DECIMAL VALUE OF WIPER CODE LB Figure 13. Adjustable Voltage Reference Pin Configurations Chip Information PROCESS: BiCMOS TOP VIEW + VDD HA WA LA 16 15 14 13 1 SCL 2 SDA 3 A0 N.C. MAX5477 MAX5478 MAX5479 Package Information + HA 1 14 VDD 12 HB WA 2 13 SCL 11 WB LA 3 10 LB 4 9 5 A1 6 A2 7 8 GND WP HB 4 MAX5477 MAX5478 MAX5479 11 A0 WB 5 10 A1 LB 6 9 A2 WP 7 8 GND N.C. THIN QFN (3mm x 3mm) 12 SDA For the latest package outline information and land patterns (footprints), go to www.maxim-ic.com/packages. Note that a "+", "#", or "-" in the package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the package regardless of RoHS status. PACKAGE TYPE PACKAGE CODE OUTLINE NO. LAND PATTERN NO. 16 TQFN-EP T1633F+3 21-0136 90-0033 14 TSSOP U14+1 21-0066 90-0113 TSSOP (4.4mm x 5mm) ______________________________________________________________________________________ 15 MAX5477/MAX5478/MAX5479 Dual, 256-Tap, Nonvolatile, I2C-Interface, Digital Potentiometers Revision History REVISION NUMBER REVISION DATE DESCRIPTION 0 8/04 Initial release 4 1/09 Updated Ordering Information for lead-free information. 5 11/11 Released TQFN packages, revised Ordering Information. PAGES CHANGED -- 1 1-4, 15, 16 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. The parametric values (min and max limits) shown in the Electrical Characteristics table are guaranteed. Other parametric values quoted in this data sheet are provided for guidance. 16 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 (c) 2011 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.