FEATURES Nonvolatile Memory Preset Maintains Wiper Settings Dual Channel, 256-Position Resolution Full Monotonic Operation DNL < 1 LSB 10 k, 50 k, 100 k Terminal Resistance Linear or Log Taper Settings Push-Button Increment/Decrement Compatible SPI-Compatible Serial Data Input with Readback Function 3 V to 5 V Single Supply or 2.5 V Dual Supply Operation 14 Bytes of User EEMEM Nonvolatile Memory for Constant Storage Permanent Memory Write Protection 100-Year Typical Data Retention TA = 55C APPLICATIONS Mechanical Potentiometer Replacement Instrumentation: Gain, Offset Adjustment Programmable Voltage-to-Current Conversion Programmable Filters, Delays, Time Constants Line Impedance Matching Power Supply Adjustment DIP Switch Setting GENERAL DESCRIPTION The AD5232 device provides a nonvolatile, dual-channel, digitally controlled variable resistor (VR) with 256-position resolution. These devices perform the same electronic adjustment function as a potentiometer or variable resistor. The AD5232’s versatile programming via a microcontroller allows multiple modes of operation and adjustment. In the direct program mode a predetermined setting of the RDAC register can be loaded directly from the microcontroller. Another key mode of operation allows the RDAC register to be refreshed with the setting previously stored in the EEMEM register. When changes are made to the RDAC register to establish a new wiper position, the value of the setting can be saved into the EEMEM by executing an EEMEM save operation. Once the settings are saved in the EEMEM register these values will be automatically transferred to the RDAC register to set the wiper position at system power ON. Such operation is enabled by the internal preset strobe and the preset can also be accessed externally. All internal register contents can be read out of the serial data output (SDO). This includes the RDAC1 and RDAC2 registers, the corresponding nonvolatile EEMEM1 and EEMEM2 registers, and the 14 spare USER EEMEM registers available for constant storage. FUNCTIONAL BLOCK DIAGRAM AD5232 CS VDD ADDR DECODE CLK RDAC1 REGISTER RDAC1 A1 SDI SDI W1 SERIAL INTERFACE GND SDO EEMEM1 RDAC2 REGISTER SDO WP B1 RDAC2 A2 EEMEM CONTROL RDY W2 14 BYTES USER EEMEM PR B2 EEMEM2 VSS The basic mode of adjustment is the increment and decrement command controlling the present setting of the Wiper position setting (RDAC) register. An internal scratch pad RDAC register can be moved UP or DOWN one step of the nominal terminal resistance between terminals A and B. This linearly changes the wiper to B terminal resistance (RWB) by one position segment of the devices’ end-to-end resistance (RAB). For exponential/logarithmic changes in wiper setting, a left/right shift command adjusts levels in ± 6 dB steps, which can be useful for audio and light alarm applications. The AD5232 is available in a thin TSSOP-16 package. All parts are guaranteed to operate over the extended industrial temperature range of –40°C to +85°C. An evaluation board is available, Part Number: AD5232EVAL. 100 PERCENT OF NOMINAL END-TO-END RESISTANCE – % RAB a 8-Bit Dual Nonvolatile Memory Digital Potentiometer AD5232 * 75 50 25 RWB 0 0 64 RWA 128 CODE – Decimal 192 256 Figure 1. Symmetrical RDAC Operation *Patent pending. REV. 0 Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 © Analog Devices, Inc., 2001 AD5232–SPECIFICATIONS ELECTRICAL CHARACTERISTICS, 10 k, 50 k, 100 k VERSIONS ( VDD = 3 V 10% or 5 V 10% and VSS = 0 V, VA = +VDD, VB = 0 V, –40C < TA < +85C unless otherwise noted.) Parameter Symbol DC CHARACTERISTICS RHEOSTAT MODE – Specifications Apply to All VRs Resistor Differential Nonlinearity2 R-DNL Resistor Nonlinearity2 R-INL Nominal Resistor Tolerance ⌬RAB Resistance Temperature Coefficient ⌬RAB/⌬T Wiper Resistance RW RW Conditions Min Typ1 Max Unit RWB, VA = NC RWB, VA = NC –1 –0.4 –40 ± 1/2 +1 +0.4 +20 LSB % FS % ppm/°C Ω Ω POTENTIOMETER DIVIDER MODE — Specifications Apply to All VRs Resolution N Differential Nonlinearity3 DNL INL Integral Nonlinearity3 Voltage Divider Temperature Coefficient ⌬VW/⌬T Code = Half-Scale Full-Scale Error VWFSE Code = Full-Scale Code = Zero-Scale Zero-Scale Error VWZSE RESISTOR TERMINALS Terminal Voltage Range4 Capacitance5 Ax, Bx VA,B,W CA,B Capacitance5 Wx CW Common-Mode Leakage Current5, 6 ICM DIGITAL INPUTS AND OUTPUTS Input Logic High Input Logic Low Input Logic High Input Logic Low Input Logic High VIH VIL VIH VIL VIH Input Logic Low VIL Output Logic High (SDO and RDY) Output Logic Low Input Current Input Capacitance5 VOH VOL IIL CIL POWER SUPPLIES Single-Supply Power Range Dual-Supply Power Range Positive Supply Current Programming Mode Current Read Mode Current7 Negative Supply Current Power Dissipation8 Power Supply Sensitivity5 VDD VDD/VSS IDD IDD(PG) IDD(XFR) ISS PDISS PSS 600 5 200 IW = 100 µA, VDD = 5.5 V, Code = 1EH IW = 100 µA, VDD = 3 V, Code = 1EH 8 –1 –0.4 –3 0 0 +3 Bits LSB % FS ppm/°C % FS % FS VSS VDD V ± 1/2 +1 +0.4 15 f = 1 MHz, Measured to GND, Code = Half-Scale f = 1 MHz, Measured to GND, Code = Half-Scale VW = VDD/2 With Respect to GND, VDD = 5 V With Respect to GND, VDD = 5 V With Respect to GND, VDD= 3 V With Respect to GND, VDD = 3 V With Respect to GND, VDD = +2.5 V, VSS = –2.5 V With Respect to GND, VDD = +2.5 V, VSS = –2.5 V RPULL-UP = 2.2 kΩ to 5 V IOL = 1.6 mA, VLOGIC = 5 V VIN = 0 V or VDD 100 45 60 0.01 pF 1 2.4 0.8 2.1 0.6 2.0 0.5 4.9 0.4 ± 2.5 VIH = VDD or VIL = GND VIH = VDD or VIL = GND VIH = VDD or VIL = GND VIH = VDD or VIL = GND, VDD = +2.5 V, VSS = –2.5 V VIH = VDD or VIL = GND ⌬VDD = 5 V ± 10% –2– 2.7 ± 2.25 0.9 V V V V V V 4 VSS = 0 V pF µA V V µA pF 3.5 35 3 5.5 V ± 2.75 V 10 µA mA 9 mA 3.5 0.018 0.002 10 0.05 0.01 µA mW %/% REV. 0 AD5232 Parameter Symbol Conditions Min Typ1 Max Unit 5, 9 DYNAMIC CHARACTERISTICS Bandwidth Total Harmonic Distortion THDW THDW VW Settling Time tS Resistor Noise Voltage eN_WB Analog Crosstalk (CW1/CW2) CTA –3 dB, BW_10 kΩ, R = 10 kΩ VA = 1 V rms, VB = 0 V, f = 1 kHz, RAB = 10 kΩ VA =1 V rms, VB = 0 V, f = 1 kHz, RAB = 50 kΩ, 100 kΩ VDD = 5 V, VSS = 0 V, VA = VDD, VB = 0 V, VW = 0.50% Error Band, Code 00H to 80H For RAB = 10 kΩ/50 kΩ/100 kΩ RWB = 5 kΩ, f = 1 kHz Crosstalk (CW1/CW2) CT VA = VDD, VB = 0 V, Measure VW with Adjacent VR Making Full-Scale Code Change VA1 = VDD, VB1 = 0 V, Measure VW1 with VW2 = 5 V p-p @ f = 10 kHz, Code1 = 80H; Code2 = FFH INTERFACE TIMING CHARACTERISTICS – Applies to All Parts5, 10 Clock Cycle Time (tCYC) t1 CS Setup Time t2 CLK Shutdown Time to CS Rise t3 Input Clock Pulsewidth t 4, t 5 Clock Level High or Low From Positive CLK Transition Data Setup Time t6 Data Hold Time t7 From Positive CLK Transition CS to SDO-SPI Line Acquire t8 CS to SDO-SPI Line Release t9 CLK to SDO Propagation Delay11 t 10 RP = 2.2 kΩ, CL < 20 pF CLK to SDO Data Hold Time t 11 RP = 2.2 kΩ, CL < 20 pF t 12 CS High Pulsewidth12 CS High to CS High12 t 13 RDY Rise to CS Fall t 14 CS Rise to RDY Fall Time t 15 Read/Store to Nonvolatile EEMEM13 t 16 Applies to Command 2H, 3H, 9H CS Rise to Clock Rise/Fall Setup t 17 Not Shown in Timing Diagram Preset Pulsewidth (Asynchronous) tPRW Preset Response Time to RDY High tPRESP PR Pulsed Low to Refreshed Wiper Positions FLASH/EE MEMORY RELIABILITY CHARACTERISTICS Endurance14 Data Retention15 500 kHz 0.022 % 0.045 % 0.65/3/6 9 µs nV/√Hz –5 nV-s –70 dB 20 10 1 10 5 5 40 50 50 0 10 4 0 0.1 10 50 0.15 25 ns ns tCYC ns ns ns ns ns ns ns ns tCYC ns ms ms ns ns 70 µs 100 K Cycles Years 100 NOTES 1 Typical parameters represent average readings at 25°C and VDD = 5 V. 2 Resistor position nonlinearity error R-INL is the deviation from an ideal value measured between the maximum resistance and the minimum resistance wiper postions. R-DNL measures the relative step change from ideal between successive tap positions. Parts are guaranteed monotonic. I W ~ 50 µA @ VDD = 2.7 V and IW ~ 400 µA @ VDD = 5 V for the R AB = 10 kΩ version, I W ~ 50 µA for the RAB = 50 kΩ and I W ~ 25 µA for the RAB = 100 kΩ version. See Figure 13. 3 INL and DNL are measured at V W with the RDAC configured as a potentiometer divider similar to a voltage output D/A converter. V A = VDD and VB = VSS. DNL specification limits of ± 1 LSB maximum are Guaranteed Monotonic operating conditions. See Figure 14. 4 Resistor terminals A, B, W have no limitations on polarity with respect to each other. Dual Supply Operation enables ground-referenced bipolar signal adjustment. 5 Guaranteed by design and not subject to production test. 6 Common-mode leakage current is a measure of the dc leakage from any terminal A, B, W to a common-mode bias level of VDD/2. 7 Transfer (XFR) Mode current is not continuous. Current consumed while EEMEM locations are read and transferred to the RDAC register. See TPC 9. 8 PDISS is calculated from (I DD VDD) + (ISS VSS). 9 All dynamic characteristics use V DD = +2.5 V and VSS = –2.5 V unless otherwise noted. 10 See timing diagram for location of measured values. All input control voltages are specified with t R = tF = 2.5 ns (10% to 90% of 3 V) and timed from a voltage level of 1.5 V. Switching characteristics are measured using both V DD = 3 V or 5 V. 11 Propagation delay depends on value of V DD, RPULL_UP, and C L. See applications text. 12 Valid for commands that do not activate the RDY pin. 13 RDY pin low only for instruction commands 8, 9, 10, 2, 3, and the PR hardware pulse: CMD_8 ~ 1 ms; CMD_9,10 ~ 0.12 ms; CMD_2,3 ~ 20 ms. Device operation at TA = –40°C and VDD < 3 V extends the save time to 35 ms. 14 Endurance is qualified to 100,000 cycles as per JEDEC Std. 22 method A117 and measured at V DD = 2.7 V, TA = –40°C to +85°C, typical endurance at 25°C is 700,000 cycles. 15 Retention lifetime equivalent at junction temperature (T J) = 55°C as per JEDEC Std. 22, Method A117. Retention lifetime based on an activation energy of 0.6eV will derate with junction temperature as shown in Figure 23 in the Flash/EE Memory description section of this data sheet. The AD5232 contains 9,646 transistors. Die size: 69 mil 115 mil, 7,993 sq. mil. Specifications subject to change without notice REV. 0 –3– AD5232 CPHA = 1 CS t12 t13 t3 t1 t2 CLK CPOL = 1 t5 t17 t4 t10 t8 SDO t11 t9 MSB * LSB OUT t7 t6 SDI MSB LSB t14 t15 t16 RDY *NOT DEFINED, BUT NORMALLY LSB OF CHARACTER PREVIOUSLY TRANSMITTED. THE CPOL = 1 MICROCONTROLLER COMMAND ALIGNS THE INCOMING DATA TO THE POSITIVE EDGE OF THE CLOCK. Figure 2a. CPHA = 1 Timing Diagram CPHA = 0 CS t12 t1 t3 t2 t13 t5 CLK CPOL = 0 t17 t4 t8 t10 t11 t9 SDO MSB OUT LSB * t7 t6 SDI LSB MSB IN t14 t15 t16 RDY *NOT DEFINED, BUT NORMALLY MSB OF CHARACTER JUST RECEIVED. THE CPOL = 0 MICROCONTROLLER COMMAND ALIGNS THE INCOMING DATA TO THE POSITIVE EDGE OF THE CLOCK. Figure 2b. CPHA = 0 Timing Diagram –4– REV. 0 AD5232 ABSOLUTE MAXIMUM RATINGS 1 (TA = 25°C, unless otherwise noted) VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V, +7 V VSS to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . +0.3 V, –7 V VDD to VSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V VA, VB, VW to GND . . . . . . . . . . . . . VSS – 0.3 V, VDD + 0.3 V AX – BX, AX – WX, BX – WX Intermittent2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ± 20 mA Continuous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ± 2 mA Digital Inputs and Output Voltage to GND . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V, VDD +0.3 V Operating Temperature Range3 . . . . . . . . . . . –40°C to +85°C Maximum Junction Temperature (TJ Max) . . . . . . . . 150°C Storage Temperature . . . . . . . . . . . . . . . . . . –65°C to +150°C Lead Temperature, Soldering Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . 215°C Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . 220°C Package Power Dissipation . . . . . . . . . . . . . (TJ Max – TA)/JA Thermal Resistance Junction-to-Ambient JA, TSSOP-16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150°C/W Thermal Resistance Junction-to-Case JC, TSSOP-16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28°C/W NOTES 1 Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those listed in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 Maximum terminal current is bounded by the maximum current handling of the switches, maximum power dissipation of the package, and maximum applied voltage across any two of the A, B, and W terminals at a given resistance. 3 Includes programming of nonvolatile memory. CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the AD5232 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high-energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. WARNING! ESD SENSITIVE DEVICE ORDERING GUIDE Model Number of Channels End-to-End R AB (k) Temperature Package Package Range (°C) Description Option Number of Devices per Container Branding* Information AD5232BRU10 AD5232BRU10-REEL7 AD5232BRU50 AD5232BRU50-REEL7 AD5232BRU100 AD5232BRU100-REEL7 2 2 2 2 2 2 10 10 50 50 100 100 –40 to +85 –40 to +85 –40 to +85 –40 to +85 –40 to +85 –40 to +85 96 1,000 96 1,000 96 1,000 5232B10 5232B10 5232B50 5232B50 5232BC 5232BC TSSOP-16 TSSOP-16 TSSOP-16 TSSOP-16 TSSOP-16 TSSOP-16 RU-16 RU-16 RU-16 RU-16 RU-16 RU-16 *Line 1 contains ADI logo symbol and the data code YYWW, line 2 contains detail model number listed in this column. REV. 0 –5– AD5232 PIN CONFIGURATION 16 RDY CLK 1 15 CS SDI 2 14 PR SDO 3 AD5232 13 WP TOP VIEW VSS 5 (Not to Scale) 12 VDD GND 4 A1 6 11 A2 W1 7 10 W2 B1 8 9 B2 PIN FUNCTION DESCRIPTIONS Pin Number Mnemonic Description 1 2 3 CLK SDI SDO 4 5 6 7 8 9 10 11 12 13 GND VSS A1 W1 B1 B2 W2 A2 VDD WP 14 PR 15 16 CS RDY Serial Input Register Clock Pin. Shifts in one bit at a time on positive clock edges. Serial Data Input Pin. MSB Loaded First. Serial Data Output Pin. Open Drain Output requires external pull-up resistor. Commands 9 and 10 activate the SDO output. See Table II. Other commands shift out the previously loaded SDI bit pattern delayed by 16 clock pulses. This allows daisy-chain operation of multiple packages. Ground Pin, Logic Ground Reference. Negative Supply. Connect to zero volts for single supply applications. A Terminal of RDAC1 Wiper Terminal of RDAC1, ADDR(RDAC1) = 0H B Terminal of RDAC1 B Terminal of RDAC2 Wiper Terminal of RDAC2, ADDR(RDAC2) = 1H A Terminal of RDAC2 Positive Power Supply Pin Write Protect Pin. When active low, WP prevents any changes to the present register contents, except PR and CMD 1 and 8 will refresh RDAC register from EEMEM. Execute a NOP instruction before returning WP to logic high. Hardware Override Preset Pin. Refreshes the scratch pad register with current contents of the EEMEM register. Factory default loads midscale 80H until EEMEM is loaded with a new value by the user (PR is activated at the logic high transition). Serial Register Chip Select Active Low. Serial register operation takes place when CS returns to logic high. Ready. Active-high open drain output, requires pull-up resistor. Identifies completion of commands 2, 3, 8, 9, 10, and PR. –6– REV. 0 AD5232 OPERATIONAL OVERVIEW The AD5232 digital potentiometer is designed to operate as a true variable resistor replacement device for analog signals that remain within the terminal voltage range of VSS < VTERM < VDD. The basic voltage range is limited to a |VDD – VSS| < 5.5 V. The digital potentiometer wiper position is determined by the RDAC register contents. The RDAC register acts as a scratch pad, register allowing as many value changes as necessary to place the potentiometer wiper in the correct position. The scratch pad register can be programmed with any position value using the standard SPI serial interface mode by loading the complete representative data word. Once a desirable position is found, this value can be saved into a corresponding EEMEM register. Thereafter the wiper position will always be set at that position for any future ON-OFF-ON power supply sequence. The EEMEM save process takes approximately 25 ms, during this time the shift register is locked preventing any changes from taking place. The RDY pin indicates the completion of this EEMEM save. SCRATCH PAD AND EEMEM PROGRAMMING The scratch pad register (RDAC register) directly controls the position of the digital potentiometer wiper. When the scratch pad register is loaded with all zeros, the wiper will be connected to the B-Terminal of the variable resistor. When the scratch pad register is loaded with midscale code (1/2 of full-scale position), the wiper will be connected to the middle of the variable resistor. And when the scratch pad is loaded with full-scale code, all 1s, the wiper will connect to the A-Terminal. Since the scratch pad register is a standard logic register, there is no restriction on the number of changes allowed. The EEMEM registers have a program erase/write cycle limitation described in the Flash/ EEMEM Reliability section. BASIC OPERATION The basic mode of setting the variable resistor wiper position (programming the scratch pad register) is accomplished by loading the serial data input register with the command instruction #11, which includes the desired wiper position data. When the desired wiper position is found, the user loads the serial data input register with the command instruction #2, which copies the desired wiper position data into the corresponding nonvolatile EEMEM register. After 25 ms the wiper position will be permanently stored in the corresponding nonvolatile EEMEM location. Table I provides an application-programming example listing the sequence of serial data input (SDI) words and the corresponding serial data output appearing at the SDO pin in hexadecimal format. At system power-on, the scratch pad register is refreshed with the value last saved in the EEMEM register. The factory preset EEMEM value is midscale. The scratch pad (wiper) register can be refreshed with the current contents of the nonvolatile EEMEM register under hardware control by pulsing the PR pin. REV. 0 Table I. Set Two Digital POTs to Independent Data Values then Save Wiper Positions in Corresponding Nonvolatile EEMEM Registers SDI SDO Action B040H XXXXH 20xxH B040H B180H 20xxH 21xxH B180H Loads 40H data into RDAC1 register, Wiper W1 moves to 1/4 full-scale position. Saves copy of RDAC1 register contents into corresponding EEMEM0 register. Loads 80H data into RDAC2 register, Wiper W2 moves to 1/2 full-scale position. Saves copy of RDAC2 register contents into corresponding EEMEM1 register. Be aware that the PR pulse first sets the wiper at midscale when brought to logic zero, and then on the positive transition to logic high, it reloads the DAC wiper register with the contents of EEMEM. Many additional advanced programming commands are available to simplify the variable resistor adjustment process. For example, the wiper position can be changed one step at a time by using the software-controlled Increment/Decrement instruction or, by 6 dB at a time, with the Shift Left/Right instruction command. Once an Increment, Decrement, or Shift command has been loaded into the shift register, subsequent CS strobes will repeat this command. This is useful for push-button control applications. See the Advanced Control Modes description following Table I. A serial data output SDO pin is available for daisy chaining and for readout of the internal register contents. The serial input data register uses a 16-bit [instruction/address/data] WORD. EEMEM PROTECTION Write protect (WP) disables any changes of the scratch pad register contents regardless of the software commands, except that the EEMEM setting can be refreshed using commands 8 and PR. Therefore, the write-protect (WP) pin provides a hardware EEMEM protection feature. Execute a NOP command before returning WP to logic high. DIGITAL INPUT/OUTPUT CONFIGURATION All digital inputs are ESD-protected high input impedance that can be driven directly from most digital sources. PR and WP, which are active at logic low, must be biased to VDD if they are not being used. No internal pull-up resistors are present on any digital input pins. The SDO and RDY pins are open-drain digital outputs where pull-up resistors are needed only if using these functions. A resistor value in the range of 1 kΩ to 10 kΩ optimizes the power and switching speed trade-off. –7– AD5232 SERIAL DATA INTERFACE VDD The AD5232 contains a 4-wire SPI-compatible digital interface (SDI, SDO, CS, and CLK), and uses a 16-bit serial data word loaded MSB first. The format of the SPI-compatible word is shown in Table II. The chip select (CS) pin needs to be held low until the complete data word is loaded into the SDI pin. When CS returns high, the serial data word is decoded according to the instructions in Table III. The Command Bits (Cx) control the operation of the digital potentiometer. The Address Bits (Ax) determine which register is activated. The Data Bits (Dx) are the values that are loaded into the decoded register. Table IV provides an address map of the EEMEM locations. The last instruction executed prior to a period of no programming activity should be the No Operation (NOP) instruction. This will place the internal logic circuitry in a minimum power dissipation state. VALID COMMAND COUNTER AD5232 GND Figure 4b. Equivalent WP Input Protection DAISY CHAINING OPERATION The serial data output pin (SDO) serves two purposes. It can be used to read out the contents of the wiper setting and EEMEM values using instruction 10 and 9 respectively. The remaining instructions (#0–8, #11–15) are valid for daisychaining multiple devices in simultaneous operations. Daisy-chaining minimizes the number of port pins required from the controlling IC (see Figure 5). The SDO pin contains an open drain N-Channel FET that requires a pull-up resistor if this function is used. As shown in Figure 5, users need to tie the SDO pin of one package to the SDI pin of the next package. Users may need to increase the clock period because the pull-up resistor and the capacitive loading at the SDO-SDI interface may require additional time delay between subsequent packages. If two AD5232’s are daisy-chained, 32 bits of data are required. The first 16 bits go to U2 and the second 16 bits with the same format go to U1. The 16 bits are formatted to contain the 4-bit instruction, followed by the 4-bit address, then the 8 bits of data. The CS should be kept low until all 32 bits are locked into their respective serial registers. The CS is then pulled high to complete the operation. WP PR COMMAND PROCESSOR AND ADDRESS DECODE 5V RPULLUP CLK SERIAL REGISTER SDO CS GND SDI AD5232 Figure 3. Equivalent Digital Input-Output Logic The equivalent serial data input and output logic is shown in Figure 3. The open-drain output SDO is disabled whenever chip select CS is logic high. The SPI interface can be used in two slave modes CPHA = 1, CPOL = 1 and CPHA = 0, CPOL = 0. CPHA and CPOL refer to the control bits, which dictate SPI timing in these MicroConverters® and microprocessors: ADuC812/ADuC824, M68HC11, and MC68HC16R1/916R1. +V AD5232 C ESD protection of the digital inputs is shown in Figures 4a and 4b. SDI U1 CS VDD INPUTS 300 LOGIC PINS INPUT 300 WP AD5232 RP 2k SDI SDO CLK U2 CS SDO CLK Figure 5. Daisy-Chain Configuration Using SDO AD5232 GND Figure 4a. Equivalent ESD Digital Input Protection Table II. 16-Bit Serial Data Word AD5232 MSB B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 LSB C3 C1 C0 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 C2 Command bits are identified as Cx, address bits are Ax, and data bits are Dx. Command instruction codes are defined in Table III. MicroConverter is a registered trademark of Analog Devices, Inc. –8– REV. 0 AD5232 Table III. Instruction/Operation Truth Table Inst No. Instruction Byte 1 B15 B8 C3 C2 C1 C0 A3 A2 A1 A0 Data Byte 0 B7 B0 D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 X X X X X X X X X X X X No Operation (NOP). Do nothing. 1 0 0 0 1 0 0 0 A0 X X X X X X X X Write contents of EEMEM(A0) to RDAC(A0) Register. This command leaves device in the Read Program power state. To return part to the idle state, perform NOP instruction #0. 2 0 0 1 0 0 0 0 A0 X X X X X X X X SAVE WIPER SETTING. Write contents of RDAC(ADDR) to EEMEM(A0) 3 0 0 1 1 << ADDR >> D7 D6 D5 D4 D3 D2 D1 D0 Write contents of Serial Register Data Byte 0 to EEMEM(ADDR). 4 0 1 0 0 0 0 0 A0 X X X X X X X X Decrement 6 dB right shift contents of RDAC(A0), stops at all “Zeros.” 5 0 1 0 1 X X X X X X X X X X X X Decrement All 6 dB right shift contents of all RDAC Registers, stops at all “Zeros.” 6 0 1 1 0 0 0 0 A0 X X X X X X X X Decrement contents of RDAC(A0) by “One,” stops at all “Zeros.” 7 0 1 1 1 X X X X X X X X X X X X Decrement contents of all RDAC Registers by “One,” stops at all “Zeros.” 8 1 0 0 0 0 0 0 0 X X X X X X X X RESET. Load all RDACs with their corresponding EEMEM previously-saved values. 9 1 0 0 1 << ADDR >> X X X X X X X X Write contents of EEMEM(ADDR) to Serial Register Data Byte 0. 10 1 0 1 0 0 0 0 A0 X X X X X X X X Write contents of RDAC(A0) to Serial Register Data Byte 0. 11 1 0 1 1 0 0 0 A0 D7 D6 D5 D4 D3 D2 D1 D0 Write contents of Serial Register Data Byte 0 to RDAC(A0). 12 1 1 0 0 0 0 0 A0 X X X X X X X X Increment 6 dB left shift contents of RDAC(A0), stops at all “Ones.” 13 1 1 0 1 X X X X X X X X X X X X Increment all 6 dB left shift contents of all RDAC Registers, stops at all “Ones.” 14 1 1 1 0 0 0 0 A0 X X X X X X X X Increment contents of RDAC(A0) by “One,” stops at all “Ones.” 15 1 1 1 1 X X X X X X X X X X X X Increment contents of all RDAC Registers “One,” stops at all “Ones.” Operation NOTES 1. The SDO output shifts out the last eight bits of data clocked into the serial register for daisy-chain operation. Exception: following Instruction #9 or #10 the selected internal register data will be present in data byte 0. Instructions following #9 and #10 must be a full 16-bit data word to completely clock out the contents of the serial register. 2. The RDAC register is a volatile scratch pad register that is refreshed at power-on from the corresponding nonvolatile EEMEM register. 3. The increment, decrement, and shift commands ignore the contents of the shift register Data Byte 0. 4. Execution of the Operation column noted in the table takes place when the CS strobe returns to logic high. 5. Execution of a NOP instruction minimizes power dissipation. REV. 0 –9– AD5232 Also the left shift commands were modified so that if the data in the RDAC register is greater than or equal to midscale and the data is left shifted then the data in the RDAC register is set to full-scale. This makes the left shift function as close to ideally logarithmic as is possible. ADVANCED CONTROL MODES The AD5232 digital potentiometer contains a set of user programming features to address the wide applications available to these universal adjustment devices. Key programming features include: Independently Programmable Read and Write to all registers. The right shift #4 and #5 commands will be ideal only if the LSB is zero (i.e., ideal logarithmic–no error). If the LSB is a one then the right shift function generates a linear half LSB error, which translates to a code dependent logarithmic error for odd codes only as shown in the attached plots, (see Figure 5). The plot shows the errors of the odd codes for the AD5232. • Simultaneous refresh of all RDAC wiper registers from corresponding internal EEMEM registers. • Increment and Decrement instructions for each RDAC wiper register. • Left and right bit shift of all RDAC wiper registers to achieve 6 dB level changes. • Nonvolatile storage of the present scratch pad RDAC register values into the corresponding EEMEM register. • Fourteen extra bytes of user-addressable electrical-erasable memory. LEFT SHIFT (+6 dB) Increment and Decrement Commands Logarithmic Taper Mode Adjustment Programming instructions allow a decrement and an increment wiper position control by individual POT or in a ganged POT arrangement where both wiper positions are changed at the same time. These settings are activated by the 6 dB decrement and 6 dB increment instructions #4 and #5 and #12 and #13 respectively. For example, starting with the wiper connected to Terminal B executing nine increment instructions (#12) would move the wiper in +6 dB steps from the 0% of RBA (B terminal) position to the 100% of RBA position of the AD5232 8-Bit potentiometer. The 6 dB increment instruction doubles the value of the RDAC register contents each time the command is executed. When the wiper position is greater than midscale, the last 6 dB increment instruction will cause the wiper to go to the Full-Scale 255 code position. Any additional +6 dB instruction will no longer change the wiper position from full scale (RDAC register code = 255). Figure 6 illustrates the operation of the 6 dB shifting function on the individual RDAC register data bits for the 8-bit AD5232 example. Each line going down the table represents a successive shift operation. Very important: the left shift #12 and #13 commands were modified so that if the data in the RDAC register is equal to zero and the data is left shifted, it is then set to code 1. RIGHT SHIFT 0000 0000 0000 0001 0000 0010 0000 0100 0000 1000 0001 0000 0010 0000 0100 0000 1000 0000 1111 1111 1111 1111 1111 1111 0111 1111 0011 1111 0001 1111 0000 1111 0000 0111 0000 0011 0000 0001 0000 0000 0000 0000 0000 0000 RIGHT SHIFT (–6 dB) Figure 6. Detail Left and Right Shift Function for the 8-Bit AD5232 Actual conformance to a logarithmic curve between the data contents in the RDAC register and the wiper position for each Right Shift #4 and #5 command execution contains an error only for the odd codes. Even codes are ideal except zero right shift or greater than half-scale left shift. The graph in Figure 7 shows plots of Log_Error [i.e., 20 × log 10 (error/code)]. For example, code 3 Log_Error = 20 × log 10 (0.5/3) = –15.56 dB, which is the worst case. The plot of Log_Error is more significant at the lower codes. 0 –10 LOG_ERROR (CODE) FOR 8-BIT –20 dB The increment and decrement commands (#14, #15, #6, #7) are useful for the basic servo adjustment application. This command simplifies microcontroller software coding by eliminating the need to perform a readback of the current wiper position, then add one to the register contents using the microcontroller’s adder. The microcontroller simply sends an increment command (#14) to the digital POT, which will automatically move the wiper to the next resistance segment position. The master increment command (#15) will move all POT wipers by one position from their present position to the next resistor segment position. The direction of movement is referenced to Terminal B. Thus each increment #15 command will move the wiper tap position farther away from Terminal B. LEFT SHIFT –30 –40 –50 –60 0 20 40 60 80 100 120 140 160 180 200 220 240 260 CODE, FROM 1 TO 255 BY 2 Figure 7. Plot of Log_Error Conformance for Odd Codes Only (Even Codes Are Ideal) –10– REV. 0 AD5232 USING ADDITIONAL INTERNAL NONVOLATILE EEMEM VDD The AD5232 contains additional internal user storage registers (EEMEM) for saving constants and other 8-bit data. Table IV provides an address map of the internal nonvolatile storage registers shown in the functional block diagram as EEMEM1, EEMEM2, and bytes of USER EEMEM. A W Table IV. EEMEM Address Map EEMEM Address (ADDR) EEMEM Contents of Each Device EEMEM (ADDR) AD5232 (8B) 0000 0001 0010 0011 0100 0101 *** 1111 RDAC1 RDAC2 USER 1 USER 2 USER 3 USER 4 *** USER 14 B VSS Figure 8. Maximum Terminal Voltages Set by VDD and VSS DETAIL POTENTIOMETER OPERATION The actual structure of the RDAC is designed to emulate the performance of a mechanical potentiometer. The patent-pending RDAC contains multiple strings of connected resistor segments, with an array of analog switches that act as the wiper connection to several points along the resistor array. The number of points is the resolution of the device. For example, the AD5232 has 256 connection points allowing it to provide better than 0.5% setability resolution. Figure 9 provides an equivalent diagram of the connections between the three terminals that make up one channel of the RDAC. The SWA and SWB will always be ON, while one of the switches SW(0) to SW(2N–1) will be ON one at a time depending upon the resistance step decoded from the Data Bits. The resistance contributed by RW must be accounted for in the output resistance. The SWA and SWB will always be ON while one of the switches SW(0) to SW(2 N–1) will be ON one at a time, depending upon the resistance step decoded from the Data Bits. The resistance contributed by RW must be accounted for in the output resistance. NOTES 1 RDAC data stored in EEMEM locations are transferred to their corresponding RDAC REGISTER at Power ON, or when instructions Inst#1 and Inst#8 are executed. 2 USER <data> is internal nonvolatile EEMEM registers available to store and retrieve constants using Inst#3 and Inst#9 respectively. 3 AD5232 EEMEM locations are 1 byte each (8 bits). 4 Execution of instruction #1 leaves the device in the Read Mode power consumption state. After the last Instruction #1 is executed, the user should perform a NOP, Instruction #0 com mand to return the device to the low power idle state. Table V. RDAC and Digital Register Address Map Register Address (ADDR) Name of Register* AD5232 (8B) 0000 0001 RDAC1 RDAC2 *RDACx registers contain data determining the position of the variable resistor wiper. SWA TERMINAL VOLTAGE OPERATING RANGE The digital potentiometer’s positive VDD and negative VSS power supply defines the boundary conditions for proper three-terminal programmable resistance operation. Signals present on terminals A, B, W that exceed VDD or VSS will be clamped by a forward biased diode; see Figure 8. The ground pin of the AD5232 device is primarily used as a digital ground reference, which needs to be tied to the PCBs’ common ground. The digital input logic signals to the AD5232 must be referenced to the devices’ ground pin (GND), and satisfy the logic minimum input high level and the maximum low level defined in the specification table of this data sheet. AX SW(2N – 1) RDAC WIPER REGISTER AND DECODER RS WX SW(2N – 2) RS SW(1) RS SW(0) RS = RAB / 2N An internal level-shift circuit between the digital interface and the wiper switch control ensures that the common-mode voltage range of the three-terminals A, W, and B extends from VSS to VDD. DIGITAL CIRCUITRY OMITTED FOR CLARITY SWB BX Figure 9. Equivalent RDAC Structure (Patent Pending) REV. 0 –11– AD5232 100 Table VI. Nominal Individual Segment Resistor Values () 10 k Version 50 k Version 100 k Version 8-Bit 78.10 390.5 PERCENT OF NOMINAL END-TO-END RESISTANCE – % RAB Segment Resistor Size for RAB End-to-End Values Device Resolution 781.0 PROGRAMMING THE VARIABLE RESISTOR Rheostat Operation The nominal resistances of the RDAC between terminals A and B are available with values of 10 kΩ, 50 kΩ, and 100 kΩ. The final digits of the part number determine the nominal resistance value, e.g., 10 kΩ = 10; 100 kΩ = 100. The nominal resistance (RAB) of the AD5232 VR has 256 contact points accessed by the wiper terminal, plus the B terminal contact. The 8-bit data word in the RDAC latch is decoded to select one of the 256 possible settings. RWB(Dx) = (Dx)/2 × RBA + RW 50 25 RWB 0 0 64 RWA 128 CODE – Decimal 256 192 Figure 10. Symmetrical RDAC Operation The general transfer equation, which determines the digitally programmed output resistance between Wx and Bx, is: N 75 (1) Where N is the resolution of the VR, Dx is the data contained in the RDACx latch, and RBA is the nominal end-to-end resistance. For example, the following output resistance values will be set for the following RDAC latch codes (applies to the 8-bit, 10 kΩ potentiometers): Like the mechanical potentiometer the RDAC replaces, the AD5232 parts are totally symmetrical. The resistance between the wiper W and terminal A also produces a digitally controlled resistance RWA. Figure 10 shows the symmetrical programmability of the various terminal connections. When these terminals are used the B–terminal should be tied to the wiper. Setting the resistance value for RWA starts at a maximum value of resistance and decreases as the data loaded in the latch is increased in value. The general transfer equation for this operation is: RWA(Dx) = (2N-Dx)/2N × RBA + RW Table VII. Nominal Resistance Value at Selected Codes for RAB = 10 k D (DEC) RWB (V) Output State 255 128 1 0 10011 5050 89 50 Full-Scale Midscale 1 LSB Zero-Scale*(Wiper Contact Resistance) (2) where N is the resolution of the VR, Dx is the data contained in the RDACx latch, and RBA is the nominal end-to-end resistance. For example, the following output resistance values will be set for the following RDAC latch codes (applies to 8-bit, 10 kΩ potentiometers). *Note that in the zero-scale condition a finite wiper resistance of 50 Ω is present. Care should be taken to limit the current flow between W and B in this state to a maximum continuous value of 2 mA to avoid degradation or possible de struction of the internal switch metalization. Intermittent current operation to 20 mA is allowed. Table VIII. Nominal Resistance Value at Selected Codes for RAB = 10 k D (DEC) RWA (W) Output State 255 128 1 0 89 5050 10011 10050 Full-Scale Midscale 1 LSB Zero-Scale The multichannel AD5232 has a ± 0.2% typical distribution of internal channel-to-channel RBA match. Device-to-device matching is process-lot-dependent and exhibits a –40% to +20% variation. The change in RBA with temperature has a 600 ppm/°C temperature coefficient. –12– REV. 0 AD5232 PROGRAMMING THE POTENTIOMETER DIVIDER Voltage Output Operation The digital potentiometer easily generates an output voltage proportional to the input voltage applied to a given terminal. For example, connecting A-terminal to 5 V and B-terminal to ground produces an output voltage at the wiper which can be any value starting at zero volts up to 5 V. Each LSB of voltage is equal to the voltage applied across terminal AB divided by the 2N position resolution of the potentiometer divider. The general equation defining the output voltage with respect to ground for any given input voltage applied to terminals AB is: VW(Dx) = Dx/2N × VAB + VB (3) Operation of the digital potentiometer in the divider mode results in more accurate operation over temperature. Here the output voltage is dependent on the ratio of the internal resistors, not the absolute value; therefore, the drift improves to 15 ppm/°C. There is no voltage polarity restriction between terminals A, B, and W, as long as the terminal voltage (VTERM) stays within VSS < VTERM < VDD. OPERATION FROM DUAL SUPPLIES The AD5232 can be operated from dual supplies enabling control of ground-referenced ac signals. See Figure 11 for a typical circuit connection. +2.75V VDD CS CLK SDI SS SCLK MOSI C 2V p-p 1V p-p Listing I. Macro Model Net List for RDAC .PARAM DW=255, RDAC=10E3 * .SUBCKT DPOT (A,W,B) * CA A 0 {45E-12} RAW A W {(1-DW/256)*RDAC+50} CW W 0 60E-12 RBW W B {DW/256*RDAC+50} CB B 0 {45E-12} * .ENDS DPOT APPLICATION PROGRAMMING EXAMPLES The following command sequence examples have been developed to illustrate a typical sequence of events for the various features of the AD5232 nonvolatile digital potentiometer. VDD GND The internal parasitic capacitances and the external capacitive loads dominate the ac characteristics of the RDACs. Configured as a potentiometer divider the –3 dB bandwidth of the AD5232BRU10 (10 kΩ resistor) measures 500 kHz at half scale. Figure TPC 10 provides the large signal BODE plot characteristics of the three resistor versions 10 kΩ, 50 kΩ, and 100 kΩ. A parasitic simulation model has been developed, and is shown in Figure 12. Listing I provides a macro model net list for the 10 kΩ RDAC: ~ [PCB = Printed Circuit Board containing the AD523x part]. Instruction numbers (Commands), addresses and data appearing at SDI and SDO pins are listed in hexadecimal. GND VSS AD5232 Table IX. Set Two Digital POTs to Independent Data Values –2.5V Figure 11. Operation from Dual Supplies SDI SDO Action B140H XXXXH B080H B140H Loads 40H data into RDAC2 register, Wiper W2 moves to 1/4 full-scale position. Loads 80H data into RDAC1 register, Wiper W1 moves to 1/2 Full-Scale position. RDAC 10k A B CA CW 60pF CA = 45pF CB CB = 45pF W Figure 12. RDAC Circuit Simulation Model for RDAC = 10 kΩ REV. 0 –13– AD5232 Analog Devices offers the AD5232EVAL board for sale to simplify evaluation of these programmable devices controlled by a personal computer via the printer port. Table X. Active Trimming of One POT Followed by a Save to Nonvolatile Memory (PCB Calibrate) SDI SDO Action B040H XXXXH Loads 40H data into RDAC1 register, Wiper W1 moves to 1/4 full-scale position. Increments RDAC1 register by one to 41H, Wiper W1 moves one resistor segment away from terminal B. Increments RDAC1 register by one to 42H, Wiper W1 moves one more resistor segment away from terminal B. Continue until desired wiper position reached. Saves RDAC1 register data into corresponding nonvolatile EEMEM1 memory ADDR = 0H. E0XXH E0XXH 20XXH B040H E0XXH E0XXH TEST CIRCUITS Figures 13 to 22 define the test conditions used in the product specification’s table. NC DUT A W B VMS NC = NO CONNECT Figure 13. Resistor Position Nonlinearity Error (Rheostat Operation; R-INL, R-DNL) A B Action C1XXH XXXXH C1XXH XXXXH Moves Wiper W2 to double the present data value contained in RDAC2 register, in the direction of the A terminal. Moves Wiper W2 to double the present data value contained in RDAC2 register, in the direction of the A terminal. B 3340H XXXXH Figure 15. Wiper Resistance Test Circuit VA V+ = V DD 10% V+ SDO Action 94XXH XXXXH 00XXH XX80H Prepares data read from USER3 location. Assumption: USER3 previously loaded with 80H. NOP instruction #0 sends 16-bit word out of SDO where the last 8 bits contain the contents of USER3 location. NOP command ensures device returns to idle power dissipation state. A ~ PSRR (dB) = 20 LOG W B PSS (%/%) = VMS ( VMS VDD ) VMS% VDD% Figure 16. Power Supply Sensitivity Test Circuit (PSS, PSRR) A DUT B ~ W 5V Table XIII. Reading Back Data from Various Memory Locations SDI RW = [V MS1 – V MS2] / IW VMS1 VDD Table XII. Storing Additional Data in Nonvolatile Memory Stores 80H data into spare EEMEM location USER1. Stores 40H data into spare EEMEM location USER2. VW W VMS2 SDO XXXXH IW DUT A SDI 3280H VMS Figure 14. Potentiometer Divider Nonlinearity Error Test Circuit (INL, DNL) Table XI. Using Left Shift by One to Change Circuit Gain in 6 dB Steps Action W V+ PCB setting: Tie WP to GND [prevents changes in PCB wiper set position] Power VDD and VSS with respect to GND Optional: Strobe PR pin [ensures full power ON preset of wiper register with EEMEM contents in unpredictable supply sequencing environments] SDO V+ = V DD 1LSB = V+/2N DUT EQUIPMENT CUSTOMER STARTUP SEQUENCE FOR A PCB CALIBRATED UNIT WITH PROTECTED SETTINGS SDI IW VIN OFFSET GND OP279 VOUT OFFSET BIAS Figure 17. Inverting Gain Test Circuit –14– REV. 0 AD5232 5V OP279 ~ VIN OFFSET GND VOUT Endurance quantifies the ability of the Flash/EE memory to be cycled through many Program, Read, and Erase cycles. In real terms, a single endurance cycle is composed of four independent, sequential events. These events are defined as: W A a. Initial page erase sequence DUT B b. Read/verify sequence OFFSET BIAS c. Byte program sequence d. Second read/verify sequence Figure 18. Noninverting Gain Test Circuit +15V A VIN During reliability qualification Flash/EE memory is cycled from 00H to FFH until a first fail is recorded, signifying the endurance limit of the on-chip Flash/EE memory. W ~ DUT OP42 B OFFSET GND 2.5V VOUT –15V Figure 19. Gain vs. Frequency Test Circuit 0.1V ISW CODE = OOH RSW = DUT W + B ISW _ 0.1V VSS TO VDD Figure 20. Incremental ON Resistance Test Circuit NC VDD DUT A VSS GND B As indicated in the specification pages of this data sheet, the AD5232 Flash/EE Memory Endurance qualification has been carried out in accordance with JEDEC Specification A117 over the industrial temperature range of –40°C to +85°C. The results allow the specification of a minimum endurance figure over supply and temperature of 100,000 cycles, with an endurance figure of 700,000 cycles being typical of operation at 25°C. Retention quantifies the ability of the Flash/EE memory to retain its programmed data over time. Again, the AD5232 has been qualified in accordance with the formal JEDEC Retention Lifetime Specification (A117) at a specific junction temperature (TJ = 55°C). As part of this qualification procedure, the Flash/EE memory is cycled to its specified endurance limit described above, before data retention is characterized. This means that the Flash/EE memory is guaranteed to retain its data for its full-specified retention lifetime every time the Flash/EE memory is reprogrammed. It should also be noted that retention lifetime, based on an activation energy of 0.6 eV, will derate with TJ as shown in Figure 23. ICM W 300 VCM 250 RETENTION – Years NC NC = NO CONNECT Figure 21. Common-Mode Leakage Current Test Circuit VIN ~ NC A1 A2 VDD RDAC2 RDAC1 W2 W1 B1 VSS ADI TYPICAL PERFORMANCE AT TJ = 55C 200 150 100 VOUT B2 50 CTA = 20 log [ V OUT / V IN ] 0 40 Figure 22. Analog Crosstalk Test Circuit 50 60 70 80 90 TJ JUNCTION TEMPERATURE – C 100 110 Flash/EEMEM Reliability Figure 23. Flash/EE Memory Data Retention The Flash/EE Memory array on the AD5232 is fully qualified for two key Flash/EE memory characteristics, namely Flash/EE Memory Cycling Endurance and Flash/EE Memory Data Retention. REV. 0 –15– AD5232–Typical Performance Characteristics 2.00 2000 1.50 1.25 INL TA = –40C IINL ERROR – LSB 1.00 INL TA = +25C 0.75 0.50 0.25 0 –0.25 –0.50 –0.75 INL TA = +85C –1.00 –1.25 –1.50 –1.75 –2.00 64 0 128 DIGITAL CODE VDD = 5V TA = –40C/+85C RHEOSTAT MODE TEMPCO – ppm/C VDD = 2.7V VSS = 0V 1.75 192 1000 500 0 256 32 64 96 160 128 224 256 70 1.50 1.25 POTENTIOMETER MODE TEMPCO – ppm/C VDD = 2.7V VSS = 0V 1.75 DNL TA = –40C 1.00 0.75 DNL TA = +25C 0.50 0.25 0 –0.25 –0.50 –0.75 DNL TA = +85C –1.00 –1.25 –1.50 –1.75 1 64 128 DIGITAL CODE VDD = 5V TA = –40C/+85C 60 VA = 2.00V 50 VB = 0V 40 30 20 10 0 –10 256 192 TPC 2. DNL vs. Code, TA = –40⬚C, +25⬚C, +85⬚C Overlay 0 32 160 96 128 CODE – Decimal 64 192 224 256 TPC 5. ∆VWB/∆T vs. Code RAB = 10 kΩ, VDD = 5 V 0.20 1 VDD = 5.5V, VSS = 0V VDD = +2.5V TA = 25C 0.15 VSS = –2.5V VCM = 0V 0.10 SEE FIGURE 21 0.1 0.05 ICM – A R-DNL – LSB 192 TPC 4. ∆RWB/∆T vs. Code RAB = 10 kΩ, VDD = 5 V 2.00 DNL ERROR – LSB 0 CODE – Decimal TPC 1. INL vs. Code, TA = –40⬚C, +25⬚C, +85⬚C Overlay –2.00 VA = NO CONNECT RWB MEASURED 1500 0.00 –0.05 0.01 –0.10 –0.15 –0.20 0 32 64 96 128 160 192 224 0.001 –50 256 –35 –20 –5 10 25 40 55 70 85 TEMPERATURE – C CODE – Decimal TPC 3. R-DNL vs. Code RAB = 10 kΩ, 50 kΩ, 100 kΩ Overlay –16– TPC 6. ICM vs. Temperature REV. 0 AD5232 4 12 f–3dB = 500kHz, R = 10k 6 VDD = 5.5V 0 f–3dB = 45kHz, R = 100k GAIN – dB IDD – A –6 2 –12 –18 f–3dB = 95kHz, R = 50k VDD = 2.7V –24 VIN = 100mV rms VDD = +2.5V, V SS = –2.5V RL = 1M TA = 25C –30 –36 –50 –35 –20 25 40 –5 10 TEMPERATURE – C 55 70 –42 85 TPC 7. IDD vs. Temperature 100k 10k FREQUENCY – Hz 1k 1M TPC 10. –3 dB Bandwidth vs. Resistance 10 VDD = 5V TA = 25C FILTER = 22kHz THD + NOISE – % 1 0.1 RAB = 10k 0.01 RAB = 50k, 100k 0.001 10 TPC 8. IDD vs. Time (Save) Program Mode 100 1k FREQUENCY – Hz 10k 100k TPC 11. Total Harmonic Distortion vs. Frequency 110 100 TA = 25C VDD = 2.7V 90 80 Rw – 70 60 50 40 30 20 10 0 1 64 128 192 CODE TPC 12. Wiper On-Resistance vs. Code TPC 9. IDD vs. Time Read Mode REV. 0 –17– 256 AD5232 0 80 DATA = 80 H –6 –12 RAB = 50k PSRR REJECTION – dB DATA = 20 H –18 GAIN – dB RAB = 100k DATA = 40 H DATA = 10 H –24 DATA = 08 H –30 DATA = 04 H –36 DATA = 02 H –42 DATA = 01 H –54 –60 1k RAB = 10k 40 20 VDD = +2.7V VA VSS = –2.7V VA = 100mV rms TA = 25C –48 60 RAB = 10k 10k 100k FREQUENCY– Hz 0 1k 1M 120 DATA = 40 H –12 DATA = 20 H –18 GAIN – dB CTA ANALOG CROSSTALK REJECTION – dB DATA = 80 H DATA = 10 H –24 DATA = 08 H –30 DATA = 04 H –36 DATA = 02 H –42 DATA = 01 H VDD = +2.7V VA VSS = –2.7V VA = 100mV rms TA = 25C –60 1k 1M 100k TPC 16. PSRR vs. Frequency 0 –6 –54 10k FREQUENCY – Hz TPC 13. Gain vs. Frequency vs. Code, RAB = 10 kΩ –48 VDD = 5.5V 100mV ac VSS = 0V, VB = 5V, VA = 0V MEASURE at VW WITH CODE = 80 H TA = 25C RAB = 50k 100 RAB = 10k RAB = 50k 80 RAB = 100k 60 VDD = V A2 = +2.75V VSS = V B2 = –2.75V VIN = +2.5VP TA = 25C 40 SEE TEST CIRCUIT, FIGURE 22 20 10k 100k FREQUENCY – Hz 1 1M 10 100 FREQUENCY – kHz TPC 14. Gain vs. Frequency vs. Code, RAB = 50 kΩ TPC 17. Analog Crosstalk vs. Frequency 0 DATA = 80 H –6 DATA = 40 H –12 DATA = 20 H GAIN – dB –18 DATA = 10 H –24 DATA = 08 H –30 DATA = 04 H –36 DATA = 02 H –42 DATA = 01 H VDD = +2.7V VA VSS = –2.7V VA = 100mV rms TA = 25C –48 –54 –60 1k RAB = 100k 10k 100k 1M FREQUENCY – Hz TPC 15. Gain vs. Frequency vs. Code, RAB = 100 kΩ –18– REV. 0 AD5232 DIGITAL POTENTIOMETER FAMILY SELECTION GUIDE Number of VRs Terminal Part per Voltage Number Package Range (V) Interface Nominal Data Resistance Control (k) Resolution (Number of Wiper Positions) Power Supply Current (IDD)(A) Packages AD5201 1 ± 3, +5.5 3-wire 10, 50 33 40 µSOIC-10 AD5220 1 5.5 10, 50, 100 128 40 AD7376 1 ± 15 , +28 UP/ DOWN 3-wire 10, 50, 100, 1000 128 100 AD5200 1 ± 3 , +5.5 3-wire 10, 50 256 40 PDIP, SO-8, µSOIC-8 PDIP-14, SOL-16, TSSOP-14 µSOIC-10 AD8400 1 AD5260 1 5.5 ± 5, +15 3-wire 3-wire 1, 10, 50, 100 20, 50, 200 256 256 5 60 SO-8 TSSOP-14 AD5241 1 ± 3, +5.5 2-wire 10, 100, 1000 256 50 AD5231 1 ±2.75, +5.5 3-wire 10, 50, 100 1024 10 SO-14, TSSOP-14 TSSOP-16 ± 3, +5.5 UP/ DOWN 10, 50, 100, 1000 128 80 SO-14, TSSOP-14 AD8402 2 5.5 3-wire 1, 10, 50, 100 256 5 AD5207 2 ± 3, +5.5 3-wire 10, 50, 100 256 40 PDIP, SO-14, TSSOP-14 TSSOP-14 AD5232 2 ±2.75, +5.5 3-wire 10, 50, 100 256 10 TSSOP-16 AD5235* 2 ±2.75, +5.5 3-wire 25, 250 1024 20 TSSOP-16 AD5242 2 ± 3, +5.5 2-wire 10, 100, 1000 256 50 AD5262* 2 ± 5, +15 3-wire 20, 50, 200 256 60 SO-16, TSSOP-16 TSSOP-16 AD5203 4 5.5 3-wire 10, 100 64 5 AD5233 4 ±2.75, +5.5 3-wire 10, 50, 100 64 10 AD5204 4 ± 3, +5.5 3-wire 10, 50, 100 256 60 PDIP, SOL-24, TSSOP-24 AD8403 4 5.5 3-wire 1, 10, 50, 100 256 5 AD5206 6 ± 3, +5.5 3-wire 10, 50, 100 256 60 PDIP, SOL-24, TSSOP-24 PDIP, SOL-24, TSSOP-24 AD5222 2 *Future Product, consult factory for latest status. Latest Digital Potentiometer Information located at: www.analog.com/DigitalPotentiometers REV. 0 –19– PDIP, SOL-24, TSSOP-24 TSSOP-16 Comments Full ac Specs, Dual Supply, Pwr-On-Reset, Low Cost No Rollover, Pwr-On-Reset Single 28 V or Dual ± 15 V Supply Operation Full ac Specs, Dual Supply, Pwr-On-Reset Full ac Specs +5 V to +15 V or ±5 V Operation, TC < 50 ppm/°C I2C Compatible, TC < 50 ppm/°C Nonvolatile Memory, Direct Program, I/D, ±6 dB Settability No Rollover, Stereo, Pwr-On-Reset, TC < 50 ppm/°C Full ac Specs, nA Shutdown Current Full ac Specs, Dual Supply, Pwr-OnReset, SDO Nonvolatile Memory, Direct Program, I/D, ± 6 dB Settability Nonvolatile Memory, Direct Program, TC < 50 ppm/°C I2C Compatible, TC < 50 ppm/°C +5 V to +15 V or ±5 V Operation, TC < 50 ppm/°C Full ac Specs, nA Shutdown Current Nonvolatile Memory, Direct Program, I/D, ±6 dB Settability Full ac Specs, Dual Supply, Pwr-On-Reset Full ac Specs, nA Shutdown Current Full ac Specs, Dual Supply, Pwr-On-Reset AD5232 OUTLINE DIMENSIONS Dimensions shown in inches and (mm). 16-Lead TSSOP C02618–1–10/01(0) (RU-16) 0.201 (5.10) 0.193 (4.90) 16 9 0.177 (4.50) 0.169 (4.30) 0.256 (6.50) 0.246 (6.25) 1 8 PIN 1 0.006 (0.15) 0.002 (0.05) 8 0.0256 (0.65) 0.0118 (0.30) 0.0079 (0.20) 0 BSC 0.0075 (0.19) 0.0035 (0.090) 0.028 (0.70) 0.020 (0.50) PRINTED IN U.S.A. SEATING PLANE 0.0433 (1.10) MAX –20– REV. 0