Preliminary Technical Data 256-Position One-Time Programmable Dual-Channel I2C Digital Potentiometer AD5172/AD5173 FEATURES 2-Channel, 256-position OTP(One-Time Programmable) Set-and-Forget Resistance Setting -- low cost alternative over EEMEM Unlimited adjustments prior to OTP activation OTP overwriting function allows temporary adjustments1 End-to-end resistance 2.5 k, 10 k, 50 k, 100 k Compact MSOP-10 (3 mm x 4.9 mm) Package Low tempco 5 ppm/oC in potentiometer mode Low tempco 35 ppm/C in rheostat mode Fast Settling Time: tS = 5s Typ in Power-Up Full read/write of wiper register Power-on preset to midscale1 Extra package address decode pins AD0 and AD1(AD5173) Computer Software Replaces C in Factory Programming Applications 6 V one-time programming voltage Single supply 2.7 V to 5.5 V Low power, IDD = 5 A Wide operating temperature -40C to +125C APPLICATIONS Systems Calibrations Mechanical Potentiometers and Trimmers(R) Replacements Transducer adjustment RF amplifier biasing Automotive electronics adjustment Gain control and offset adjustment Electronics Level Settings The AD5172/73 are programmed using a 2-wire I2C compatible digital control. They allow unlimited adjustments before permanently setting the resistance value. During the OTP activation, a permanent fuse blown command is sent after the final value is determined; therefore freezing the wiper position at a given setting (analogous to placing epoxy on a mechanical trimmer). Unlike other OTP digital potentiometers in the same family, AD5172/73 have unique temporary OTP overwriting feature that new adjustments if desired but the OTP setting is restored during subsequent power up conditions. To verify the success of permanent programming, Analog Devices patterned the OTP validation such that the fuse status can be discerned from two validation bits in read mode. For applications that program AD5172/73 in the factories, Analog Devices offers a device programming software, which operates across Windows(R) 95 to XP(R) platforms including Windows NT(R). This software application effectively replaces the need for external I2C controllers or host processors and therefore significantly reduces users' development time. An AD5172/73 evaluation kit is available, which include the software, connector, and cable that can be converted for the factory programming applications. The AD5172/73 are available in a MSOP-10 package. All parts are guaranteed to operate over the automotive temperature range of -40C to +125C. Besides their unique OTP features, the AD5172/73 lend themselves well to other general-purpose digital potentiometer applications due to their programmable preset, superior temperature stability, and small form factor. FUNCTIONAL BLOCK DIAGRAMS A1 W1 B1 A2 W2 B2 GENERAL OVERVIEW The AD5172/73 are dual channel 256-position, one-time programmable (OTP) digital potentiometers2, which employ fuse link technology to achieve the memory retention of resistance setting function. OTP is a cost-effective alternative over the EEMEM approach for users who do not need to program the digital potentiometer setting in memory for more than once. These devices perform the same electronic adjustment functions like most mechanical trimmers and variable resistors do but offer enhanced resolution, solid-state reliability, and superior low temperature coefficient performance. VDD GND 1 FUSE LINKS RDAC REGISTER 1 2 RDAC REGISTER 2 8 SDA SCL SERIAL INPUT REGISTER Figure 1. AD5172 Rev. PrF 8/14/03 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. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective companies. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. www.analog.com Tel: 781.329.4700 Fax: 781.326.8703 (c) 2003 Analog Devices, Inc. All rights reserved. Preliminary Technical Data AD5172/AD5173 W1 RDAC REGISTER 2 RDAC REGISTER 1 ADDRESS DECODE 8 SERIAL INPUT REGISTER Figure 2. AD5173 B2 2 1 SDA SCL W2 FUSE LINKS VDD GND AD0 AD1 B1 Note: 1. New adjustments are allowed even after OTP is achieved but the permanent setting will always be restored during subsequent power up cycles. This feature allows users to use these digital potentiometers as volatile pots with programmable preset. 2. The terms digital potentiometer, VR, and RDAC are used interchangeably. Purchase of licensed I2C components of Analog Devices or one of its sublicensed Associated Companies conveys a license for the purchaser under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. Rev. PrF 8/14/03 | Page 2 of 19 Preliminary Technical Data AD5172/AD5173 TABLE OF CONTENTS Electrical Characteristics--2.5 k Version....................................4 ESD Protection .........................Error! Bookmark not defined. Electrical Characteristics--10 k, 50 k, 100 k Versions ........5 Terminal Voltage Operating Range .......Error! Bookmark not defined. Timing Characteristics--2.5 k, 10 k, 50 k, 100 k Versions ..............................................................................................................6 Absolute Maximum Ratings1 ...........................................................7 Typical Performance Characteristics ..............................................8 Test Circuits .....................................................................................18 I2C Interface .......................................................................................8 Operation ...........................................................................................9 Programming the Variable Resistor.......Error! Bookmark not defined. Programming the Potentiometer Divider....Error! Bookmark not defined. Power-Up Sequence.................Error! Bookmark not defined. POWER supply Considerations.............Error! Bookmark not defined. Layout and Power Supply Bypassing........................................11 Pin Configuration and Function Descriptions ...........................18 Pin Configuration .........................................................................7 Pin Function Descriptions...........................................................7 Outline Dimensions........................................................................19 Ordering Guide ...........................................................................19 ESD Caution ................................................................................19 I2C Compatible 2-Wire Serial Bus ............................................13 Level Shifting for Bidirectional Interface.....Error! Bookmark not defined. REVISION HISTORY Revision Pr F: Initial Version Rev. PrF 8/14/03 | Page 3 of 19 Preliminary Technical Data AD5172/AD5173 ELECTRICAL CHARACTERISTICS--2.5 k VERSION (VDD = 5 V 10%, or 3 V 10%; VA = +VDD; VB = 0 V; -40C < TA < +125C; unless otherwise noted.) Table 1. Parameter Symbol Conditions DC CHARACTERISTICS--RHEOSTAT MODE Resistor Differential Nonlinearity2 R-DNL RWB, VA = no connect Resistor Integral Nonlinearity2 R-INL RWB, VA = no connect Nominal Resistor Tolerance3 RAB/RAB TA = 25C Resistance Temperature Coefficient (RAB/RAB)/T VAB = VDD, Wiper = no connect Wiper Resistance RW DC CHARACTERISTICS--POTENTIOMETER DIVIDER MODE (Specifications apply to all RDACs) Resolution N Differential Nonlinearity4 DNL Integral Nonlinearity4 INL Voltage Divider Temperature Coefficient (VW/VW)/T Code = 0x80 Full-Scale Error VWFSE Code = 0xFF Zero-Scale Error VWZSE Code = 0x00 RESISTOR TERMINALS Voltage Range5 VA,B,W Capacitance6 A, B CA,B f = 1 MHz, measured to GND, Code = 0x80 Capacitance6 W CW f = 1 MHz, measured to GND, Code = 0x80 Shutdown Supply Current7 IDD_SD VDD = 5.5 V Common-Mode Leakage ICM VA = VB = VDD/2 DIGITAL INPUTS AND OUTPUTS Input Logic High VIH Input Logic Low VIL Input Logic High VIH VDD = 3 V Input Logic Low VIL VDD = 3 V Input Current IIL VIN = 0 V or 5 V 6 Input Capacitance CIL POWER SUPPLIES Normal Operating Supply Voltage VDD OTP Supply Voltage8 VDD_OTP TA = 25C Supply Current IDD VIH = 5 V or VIL = 0 V OTP Supply Current9 IDD_OTP VDD_OTP=6V, TA = 25C Power Dissipation10 PDISS VIH = 5 V or VIL = 0 V, VDD = 5 V Power Supply Sensitivity PSS VDD = +5 V 10%, Code = Midscale DYNAMIC CHARACTERISTICS6, 10, 11 Bandwidth -3dB BW_2.5K RAB = 2.5 k, Code = 0x80 Total Harmonic Distortion THDW VA = 1 V rms, VB = 0 V, f = 1 kHz VW Settling Time tS VA= 5 V, VB = 0 V, 1 LSB error band, RWB = 2.5 k Resistor Noise Voltage Density eN_WB RWB = 2.5 k, RS = 0 Rev. PrF 8/14/03 | Page 4 of 19 Min Typ1 Max Unit -1.5 -4 -30 0.1 0.75 +1.5 +4 +30 LSB LSB % ppm/C 35 50 -1.5 -1.5 -6 0 0.1 0.6 15 -2.5 +2 GND 120 8 +1.5 +1.5 0 +6 VDD Bits LSB LSB ppm/C LSB LSB 45 V pF 60 pF 0.01 1 1 2.4 0.8 2.1 0.6 1 5 2.7 A nA V V V V A pF 5.5 V 3 5 0.02 0.2 0.05 A mA mW %/% 100 2.4 0.05 1 MHz % s 4.5 nV/Hz Preliminary Technical Data AD5172/AD5173 ELECTRICAL CHARACTERISTICS--10 k, 50 k, 100 k VERSIONS (VDD = 5 V 10%, or 3 V 10%; VA = VDD; VB = 0 V; -40C < TA < +125C; unless otherwise noted.) Table 2. Parameter DC CHARACTERISTICS--RHEOSTAT MODE Resistor Differential Nonlinearity2 Resistor Integral Nonlinearity2 Nominal Resistor Tolerance3 Resistance Temperature Coefficient Symbol Conditions R-DNL R-INL RAB/RAB (RAB/RAB)/T RWB, A = no connect RWB, A = no connect TA = 25C VAB = VDD, Wiper = no connect Wiper Resistance RW VDD = 5 V DC CHARACTERISTICS--POTENTIOMETER DIVIDER MODE (Specifications apply to all VRs) Resolution N Differential Nonlinearity4 DNL RWB, A = no connect Integral Nonlinearity4 INL RWB, A = no connect Voltage Divider Temperature Coefficient (VW/VW)/T Code = 0x80 Full-Scale Error VWFSE Code = 0xFF Zero-Scale Error VWZSE Code = 0x00 RESISTOR TERMINALS Voltage Range5 VA,B,W Capacitance6 A, B CA,B f = 1 MHz, measured to GND, Code = 0x80 Capacitance6 W CW f = 1 MHz, measured to GND, Code = 0x80 Shutdown Supply Current7 IDD_SD VDD = 5.5 V Common-Mode Leakage ICM VA = VB = VDD/2 DIGITAL INPUTS AND OUTPUTS Input Logic High VIH Input Logic Low VIL Input Logic High VIH VDD = 3 V Input Logic Low VIL VDD = 3 V Input Current IIL VIN = 0 V or 5 V Input Capacitance6 CIL POWER SUPPLIES Normal Operating Supply Voltage VDD OTP Supply Voltage8 VDD_OTP TA = 25C Supply Current IDD VIH = 5 V or VIL = 0 V OTP Supply Current9 IDD_OTP VDD_OTP=6V, TA = 25C Power Dissipation10 PDISS VIH = 5 V or VIL = 0 V, VDD = 5 V Power Supply Sensitivity PSS VDD = +5 V 10%, Code = Midscale DYNAMIC CHARACTERISTICS6, 10, 11 Bandwidth -3dB BW RAB = 10 k/50 k/100 k, Code = 0x80 Total Harmonic Distortion THDW VA =1 V rms, VB = 0 V, f = 1 kHz, RAB = 10 k VW Settling Time (10 k/50 k/100 k) tS VA = 5 V, VB = 0 V, 1 LSB error band, RWB = 5 k Resistor Noise Voltage Density eN_WB RWB = 5 k, RS = 0 Rev. PrF 8/14/03 | Page 5 of 19 Min Typ1 Max Unit -1 -2 -30 0.1 0.25 +1 +2 +30 LSB LSB % ppm/C 120 8 +1 +1 Bits LSB LSB ppm/C LSB LSB 35 50 -1 -1 -3 0 0.1 0.3 15 -1 +1 GND 0 +3 45 VDD V pF 60 pF 0.01 1 1 2.4 0.8 2.1 0.6 1 5 2.7 6 3 5.5 6.5 5 V V V V A pF 0.2 V V A mA mW 0.05 %/% 100 0.02 A nA 600/100/40 kHz 0.05 % 2 s 9 nV/Hz Preliminary Technical Data AD5172/AD5173 TIMING CHARACTERISTICS--2.5 k, 10 k, 50 k, 100 k VERSIONS (VDD = +5V 10%, or +3V 10%; VA = VDD; VB = 0 V; -40C < TA < +125C; unless otherwise noted.) Table 3. Parameter Symbol Conditions I2C INTERFACE TIMING CHARACTERISTICS6, 11 (Specifications Apply to All Parts) SCL Clock Frequency fSCL tBUF Bus Free Time between STOP and START t1 tHD;STA Hold Time (Repeated START) t2 After this period, the first clock pulse is generated. tLOW Low Period of SCL Clock t3 tHIGH High Period of SCL Clock t4 tSU;STA Setup Time for Repeated START Condition t5 tHD;DAT Data Hold Time t6 tSU;DAT Data Setup Time t7 tF Fall Time of Both SDA and SCL Signals t8 tR Rise Time of Both SDA and SCL Signals t9 tSU;STO Setup Time for STOP Condition t10 Min Typ1 Max Unit 400 kHz s s 1.3 0.6 1.3 0.6 0.6 50 0.9 100 300 300 0.6 NOTES 1 Typical specifications represent average readings at +25C 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 positions. R-DNL measures the relative step change from ideal between successive tap positions. Parts are guaranteed monotonic. 3 VAB = VDD, Wiper (VW) = no connect. 4 INL and DNL are measured at VW with the RDAC configured as a potentiometer divider similar to a voltage output D/A converter. VA = VDD and VB = 0 V. DNL specification limits of 1 LSB maximum are guaranteed monotonic operating conditions. 5 Resistor terminals A, B, W have no limitations on polarity with respect to each other. 6 Guaranteed by design and not subject to production test. 7 Measured at the A terminal. The A terminal is open circuited in shutdown mode. 8 Different from operating power supply, power supply for OTP is used one-time only. 9 Different from operating current, supply current for OTP lasts approximately 400 ms for one-time needed only. 10 Bandwidth, noise, and settling time are dependent on the terminal resistance value chosen. The lowest R value results in the fastest settling time and highest bandwidth. The highest R value result in the minimum overall power consumption. 11 All dynamic characteristics use VDD = 5 V. 12 Different from settling time after fuse is blown. The OTP settling time occurs once only t8 t2 t9 SCL t6 t2 t3 t4 t8 t7 t5 t10 t9 SDA t1 P S S Figure 3. I2C Interface Detailed Timing Diagram Rev. PrF 8/14/03 | Page 6 of 19 P s s s s ns ns ns s Preliminary Technical Data AD5172/AD5173 ABSOLUTE MAXIMUM RATINGS1 (TA = +25C, unless otherwise noted.) Table 4. Parameter VDD to GND VA, VB, VW to GND IMAX1 Digital Inputs and Output Voltage to GND Operating Temperature Range Maximum Junction Temperature (TJMAX) Storage Temperature Lead Temperature (Soldering, 10 sec) Thermal Resistance2 JA: MSOP-10 Value -0.3 V to +7 V VDD 20 mA 0 V to +7 V -40C to +125C 150C -65C to +150C 300C 230C/W NOTES 1 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. 2 Package power dissipation = (TJMAX - TA)/JA. Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. PIN CONFIGURATION AND FUNCTION DESCRIPTIONS PIN CONFIGURATION 1 B1 2 A1 W1 10 B2 9 3 W2 A2 8 4 GND SDA 7 5 VDD SCL 6 Figure 4.- AD5172 Pin Configuration 1 B1 2 AD0 B2 9 3 W2 AD1 8 4 GND SDA 7 5 VDD SCL 6 W1 10 PIN FUNCTION DESCRIPTIONS Table 5. Name B1 A1 W2 GND 5 VDD SCL 7 SDA 8 9 10 A2 B2 W1 driving capability. Serial Clock Input. Positive edge triggered. Requires pull-up resistor Serial Data Input/Output. Requires pull-up resistor A2 Terminal. GND VA2 VDD B2 Terminal. GND VB2 VDD W1 Terminal. GND VW1 VDD Table 6. Figure 5. - AD5173 Pin Configuration Pin 1 2 3 4 6 Description B1 Terminal. GND VB1 VDD A1 Terminal. GND VA1 VDD W2 Terminal. GND VW2 VDD Digital Ground. Positive Power Supply. Specified for operation from 2.7 V to 5.5 V. For OTP programming, VDD needs to be a minimum of 6 V and 100 mA Pin 1 2 Name B1 AD0 3 4 W2 GND 5 VDD 6 SCL 7 SDA 8 AD1 9 10 B2 W1 Rev. PrF 8/14/03 | Page 7 of 19 Description B1 Terminal. GND VB1 VDD Programmable address bit 0 for multiple package decoding. AD0 and AD1 allow maximum of four AD5173s to be addressed W2 Terminal. GND VW2 VDD Digital Ground. Positive Power Supply. Specified for operation from 2.7 V to 5.5 V. For OTP programming, VDD needs to be a minimum of 6 V and 100 mA driving capability. Serial Clock Input. Positive edge triggered. Requires pull-up resistor Serial Data Input/Output. Requires pull-up resistor Programmable address bit 1 for multiple package decoding. AD0 and AD1 allow maximum of four AD5173s to be addressed B2 Terminal. GND VB2 VDD W1 Terminal. GND VW1 VDD Preliminary Technical Data AD5172/AD5173 TYPICAL PERFORMANCE CHARACTERISTICS Figures 6 to 25 Rev. PrF 8/14/03 | Page 8 of 19 AD5172/AD5173 Preliminary Technical Data THEORY OF OPERATION A SCL SDA B FUSES EN Table 7. Validation Status 0 1 FUSE REG. ONE-TIME PROGRAM/TEST CONTROL BLOCK DETERMINING THE VARIABLE RESISTANCE AND VOLTAGE Rheostat Mode Operation If only the W-to-B or W-to-A (AD5172 only) terminals are used as variable resistors, the unused terminal can be opened or shorted with W. This operation is called rheostat mode (Figure27). Status Ready for Programming Test Fuse Not Blown Successfully. (For factory setup checking purpose only. Users should not see these combinations.) Error. Some fuses are not blown. Try again. Successful. No further programming is possible. When the OTP T bit is set, the internal clock is enabled. The program will attempt to blow a test fuse. The operation stops if this fuse is not blown properly. The validation Bits E1 and E0 show 01, and the users should check the setup. If the test fuse is blown successfully, the data fuses will be programmed next. The eight data fuses will be programmed in eight clock cycles. The output of the fuses is compared with the code stored in the DAC register. If they do not match, E1 and E0 = 10 is issued as a error and the operation stops. Users may retry with the same codes. If the output and stored code match, the programming lock fuse will be blown so that no further programming is possible. In the meantime, E1 and E0 will issue 11 indicating the lock fuse is blown successfully. All the fuse latches are enabled at power-on and therefore the output corresponds to the stored setting from this point on. Figure26 shows a detailed functional block diagram. A A W B A W W B B 03437-0-050 The device control circuit has two validation bits, E1 and E0, that can be read back in the read mode for checking the programming status as shown in Table 7. 1 1 W Figure26. Detailed Functional Block Diagram Prior to OTP activation, the AD5172/73 preset to midscale during power on. After the wiper is set at the desired position, the resistance can be permanently set by programming the T bit to high along with the proper coding (Tables 10 and 11). E0 0 1 DECODER MUX COMPARATOR ONE-TIME PROGRAMMING (OTP) E1 0 0 DAC REG. I2C INTERFACE 03437-0-025 The AD5172/73 allow unlimited 8-bit adjustments, except for one-time programmable, set-and-forget resistance setting. OTP technology is a proven cost-effective alternative over EEMEM in one-time memory programming applications. AD5172/73 employ fuse link technology to achieve the memory retention of the resistance setting function. It comprises eight data fuses, which control the address decoder for programming the RDAC, one user mode test fuse for checking setup error, and one programming lock fuse for disabling any further programming once the data fuses are blown. Figure27. Rheostat Mode Configuration The nominal resistance (RAB) of the RDAC has 256 contact points accessed by the wiper terminal, plus the B terminal contact if RWB is considered. The 8-bit data in the RDAC latch is decoded to select one of the 256 settings. Assuming that a 10 k part is used, the wiper's first connection starts at the B terminal for data 0x00. Such connection yields a minimum of 60 resistance between terminals W and B because of the 60 wiper contact resistance. The second connection is the first tap point, which corresponds to 219 (RWB = (1) x RAB/256 + RW) for data 0x01, and so on. Each LSB data value increase moves the wiper up the resistor ladder until the last tap point is reached at 10060 ((256) x RAB/256 + RW). Figure 28 shows a simplified diagram of the equivalent RDAC circuit. The general equation determining RWB is RWB ( D) = D R AB + RW 256 (1) where: D is the decimal equivalent of the 8-bit binary code. RAB is the end-to-end resistance. RW is the wiper resistance contributed by the on-resistance of the internal switch. Rev. PrF 8/14/03 | Page 9 of 19 Preliminary Technical Data AD5172/AD5173 potentiometer mode. The most common configuration is the voltage divider operation (Figure 29). D (Dec) 255 128 1 0 RWB () 9,961 5,060 99 60 Output State Full Scale (RAB - 1 LSB + RW) Midscale 1 LSB Zero Scale (Wiper Contact Resistance) VI A W VO 03437-0-051 Table 8. RWB vs. Codes; RAB = 10 k and the A Terminal Is Opened B Since a finite wiper resistance of 60 is present in the zeroscale condition, care should be taken to limit the current flow between W and B in this state to a maximum pulse current of no more than 20 mA. Otherwise, degradation or possible destruction of the internal switch contact can occur. Similar to the mechanical potentiometer, the resistance of the RDAC between the wiper W and terminal A also produces a complementary resistance RWA (AD5172 only). When these terminals are used, the B terminal can be opened or shorted to W. Setting the resistance value for RWA starts at a maximum value of resistance and decreases as the data loaded in the latch increases in value. The general equation for this operation is RWA ( D) = 256 - D R AB + RW 256 (AD5172 only) (2) Table 9. RWA vs. Codes; RAB =10 k and B Terminal Is Opened D (Dec) 255 128 1 0 RWA () 99 5,060 9,961 10,060 The transfer function can be found as D R AB + RW VW ( D) = 256 VA R AB + 2 RW The typical distribution of the resistance tolerance from device to device is process lot dependent, and it is possible to have 30% tolerance. A SD BIT RS If we ignore the effect of the wiper resistance, the transfer function is simply VW ( D) = D VA 256 (AD5172 only) (4) almost cancelled. Although the thin film step resistor RS and CMOS switches resistance RW have very different temperature coefficients, the ratio-metric adjustment also reduces the overall temperature coefficient effect to 5 ppm/oC, except at low value codes where RW dominates. Potentiometer mode operations include others such as op amp input, feedback resistor networks, and other voltage scaling applications. A, W, and B terminals can in fact be input or output terminals provided that |VAB|, |VWA|, and |VWB| do not exceed VDD to GND. ESD PROTECTION Digital inputs SDA and SCL are protected with a series input resistor and parallel Zener ESD structures (Figure30). RS RS 340 LOGIC 03437-0-027 W RDAC LATCH RS AND DECODER (AD5172 only) (3) Unlike in rheostat mode operation where the absolute tolerance is high, potentiometer mode operation yields an almost ratiometric function of D/256 with a relatively small error contributed by the RW terms, and therefore the tolerance effect is Output State Full Scale Midscale 1 LSB Zero Scale D7 D6 D5 D4 D3 D2 D1 D0 Figure 29. Potentiometer Mode Configuration Figure30. ESD Protection of Digital Pins B TERMINAL VOLTAGE OPERATING RANGE Figure 28. Equivalent RDAC Circuit (A terminal for AD5172 only) Potentiometer Mode Operation (AD5172 only) If all three terminals are used, the operation is called the There are also ESD protection diodes between VDD and the RDAC terminals. The VDD of AD5172/73 therefore defines their voltage boundary conditions, see Figure31. Supply signals Rev. PrF 8/14/03 | Page 10 of 19 Preliminary Technical Data AD5172/AD5173 present on terminals A, B, and W that exceed VDD will be clamped by the internal forward-biased diodes and should be avoided. V DD Figure 32. Power Supply Requirement An alternate approach in 3.5V to 5.5V systems adds a signal diode between the system supply and the OTP supply for isolation as shown in Figure 33. A (AD5172 only) W B GND Figure31. Maximum Terminal Voltages Set by VDD POWER-UP/POWER-DOWN SEQUENCES Similarly, because of the ESD protection diodes, it is important to power VDD first before applying any voltages to terminals A, B, and W. Otherwise, the diode will be forward-biased such that VDD will be powered unintentionally and may affect the rest of the users' circuits. The ideal power-up sequence is in the following order: GND, VDD, digital inputs, and VA/VB/VW. The order of powering VA, VB, VW, and digital inputs is not important as long as they are powered after VDD. Similarly, VDD should be powered down last. Figure 33. Isolate 6 V OTP supply from 3.5V-5.5V normal operating supply. The 6V supply must be removed once OTP is completed POWER SUPPLY CONSIDERATIONS To minimize the package pin count, both the one-time programming and normal operating voltages are applied to the same VDD terminal of the AD5172/73. The AD5172/73 employs fuse link technology that requires 6V to blow the internal fuses to achieve a given setting. On the other hand, it operates at 2.7V-5.5V once the programming is completed. Such dual voltage requirement requires isolation between the supplies. The fuse programming supply (either an on-board regulator or rack-mount power supply) must be rated at 6 V and be able to handle 400 ms and 100 mA of transient current for one-time programming. Once programming completes, the 6 V, supply must be removed to allow normal operation at 2.7 V to 5.5 V. Figure 32 shows the simplest implementation using a jumper. This approach saves one voltage supply but draws additional current and requires manual configuration. Figure 34. Isolate 6 V OTP Supply from 2.7V normal operating supply. The 6V supply must be removed once OTP is completed For users who operate their systems at 2.7V, it is recommended to use the bi-directional low-threshold P-Ch MOSFETs for the supplies isolation. As shown in Figure 34, assumes the 2.7V system voltage is applied first but not the 6V, the gates of P1 and P2 are pulled to ground thus turns on P1 and subsequently P2. As a result, VDD of AD5172/73 becomes 2.7V minus few tenths of mV drop across P1 and P2. When the AD5172/73 setting is found, the factory tester applies the 6V to VDD and also the gates of P1 and P2 to turn them off. While the OTP command is executed at this time to program AD5172/73, the 2.7V source is therefore protected. Once the OTP is completed, the tester withdraws the 6V and AD5172/73's setting is permanently fixed. LAYOUT AND POWER SUPPLY BYPASSING It is a good practice to employ compact, minimum lead length layout design. The leads to the inputs should be as direct as possible with a minimum conductor length. Ground paths should have low resistance and low inductance. Rev. PrF 8/14/03 | Page 11 of 19 Preliminary Technical Data AD5172/AD5173 Similarly, it is also a good practice to bypass the power supplies with quality capacitors for optimum stability. Supply leads to the device should be bypassed with disc or chip ceramic capacitors of 0.01 F to 0.1 F. Low ESR 1 F to 10 F tantalum or electrolytic capacitors should also be applied at the supplies to minimize any transient disturbance and low frequency ripple (see Figure 35). Note that the digital ground should also be joined remotely to the analog ground at one point to minimize the ground bounce. V DD VDD C3 + C1 10 F 0.1 F AD5172/ AD5173 GND Figure 35. Power Supply Bypassing Rev. PrF 8/14/03 | Page 12 of 19 Preliminary Technical Data AD5172/AD5173 FIGURE 36. AD5172/73 COMPUTER SOFTWARE INTERFACE There are two ways of controlling the AD5172/73. Users can either program the devices with computer software or external I2C controllers. data to the device is shown in Error! Reference source not found.. Once the desirable setting is found, the user may press the Program Permanent button to blow the internal fuse links for permanent setting. The user may also set the programming bit pattern in the upper screen and press the Run button to achieve the same result. Software Programming Read Due to the advantage of the one-time programmable feature, users may consider programming the device in the factory before shipping to end users. ADI offers a device programming software, which can be implemented in the factory on PCs that run Windows 95 to XP platforms. As a result, external controllers are not required, which significantly reduces development time. The program is an executable file that does not require any programming languages or user programming skills. It is easy to set up and use. Figure 36 shows the software interface. The software can be downloaded from www.analog.com. To read the validation bits and data out from the device, the user may simply press the Read button. The user may also set the bit pattern in the upper screen and press the Run button. The format of reading data out from the device is shown in Error! Reference source not found.. CONTROLLING THE AD5172/73 Write To apply the device programming software in the factory, users need to modify a parallel port cable and configure Pins 2, 3, 15, and 25 for SDA_write, SCL, SDA_read, and DGND, respectively for the control signals (Figure 37). Users should also layout the PCB of the AD5172/73 with SCL and SDA pads, as shown in Figure 38, such that pogo pins can be inserted for the factory programming. The AD5172/73 start at midscale after power-up prior to the OPT programming. To increment or decrement the resistance, the user may simply move the scrollbar on the left. To write any specific values, the user should use the bit pattern control in the upper screen and press the Run button. The format of writing Rev. PrF 8/14/03 | Page 13 of 19 Preliminary Technical Data AD5172/AD5173 Figure 37. Parallel Port Connection. Pin 2 = SDA_write, Pin 3 = SCL, Pin 15 = SDA_read, and Pin 25 = DGND. AD5172 B1 A1 W2 GND VDD AD5173 W1 B2 A2 SDA SCL B1 AD0 W2 GND VDD W1 B2 AD1 SDA SCL Figure 38. Recommended AD5172/73 PCB Layout. The SCL and SDA pads allow pogo pins to be inserted so that signals can be communicated through the parallel port for programming (Figure 37). R3 100 R2 READ 100 SCL SDA R1 WRITE 100 03437-0-033 13 25 12 24 11 23 10 22 9 21 8 20 7 19 6 18 5 17 4 16 3 15 2 14 1 Rev. PrF 8/14/03 | Page 14 of 19 Preliminary Technical Data AD5172/AD5173 I2C INTERFACE Table 10. Write Mode AD5172 S 0 1 0 1 1 1 1 W A A0 SD T Slave Address Byte 0 OW X X X A D7 D6 D5 D4 D3 D2 D1 D0 Instruction Byte A P A P Data Byte AD5173 S 0 1 0 1 1 AD1 AD0 W A A0 SD Slave Address Byte T 0 OW X X X A D7 D6 D5 D4 D3 D2 D1 D0 Instruction Byte Data Byte Table 11. Read Mode AD5172 S 0 1 0 1 1 1 1 Slave Address Byte R A D7 D6 D5 D4 D3 D2 D1 D0 Instruction Byte A E1 E0 X X X X Data Byte X X A P 1 0 1 1 AD1 AD0 R Slave Address Byte A D7 D6 D5 D4 D3 D2 D1 D0 Instruction Byte A E1 E0 X X X X Data Byte X X A P AD5173 S 0 S = Start Condition A = Acknowledge OW = Overwrite fuse setting and program digital pot to different setting. Note that upon power up, digital pot will preset to either midscale or fuse setting depending on whether or not the fuse link has been blown. X = Don't Care D7, D6, D5, D4, D3, D2, D1, D0 = Data Bits W = Write E1, E0 = OTP Validation Bits P = Stop Condition 0 , 0 = Ready to program R = Read 0 , 1 = Test fuse not blown successfully(check setup) A0 = RDAC sub address select bit SD = Shutdown connects wiper to B terminal and open circuits A terminal. It does not change contents of wiper register. T = OTP Programming Bit. Logic 1 programs wiper permanently. Rev. PrF 8/14/03 | Page 15 of 19 1 , 0 = Fatal error. Retry. 1 , 1 =Programmed Successfully. No further adjustments possible. Preliminary Technical Data AD5172/AD5173 1 9 1 9 1 9 SCL SDA 0 1 0 1 1 1 1 R/W FRAME 1 SLAVE ADDRESS BYTE START BY MASTER A0 SD ACK BY AD5172 T 0 OW X X X D7 D6 D5 ACK BY AD5172 FRAME 2 INSTRUCTION BYTE D4 D3 D2 D1 D0 ACK BY AD5172 STOP BY MASTER FRAME 3 DATA BYTE Figure 39. Writing to the RDAC Register - AD5172 1 9 1 9 1 9 SCL SDA 0 1 0 1 1 AD1 AD0 R/W FRAME 1 SLAVE ADDRESS BYTE START BY MASTER A0 SD ACK BY AD5173 T 0 OW X X X D7 D6 D5 ACK BY AD5173 FRAME 2 INSTRUCTION BYTE D4 D3 D2 D1 D0 ACK BY AD5173 STOP BY MASTER FRAME 3 DATA BYTE Figure 40. Writing to the RDAC Register - AD5173 1 9 1 9 1 9 SCL SDA 0 1 0 1 1 1 1 R/W FRAME 1 SLAVE ADDRESS BYTE START BY MASTER D7 D6 D5 ACK BY AD5172 D4 D3 D2 D1 D0 E1 E0 ACK BY MASTER FRAME 2 DATA BYTE X X X X X X NO ACK BY MASTER STOP BY MASTER FRAME 3 VERIFICATION BYTE Figure 41. Reading Data from a Previously Selected RDAC Register in Write Mode - AD5172 1 9 1 9 1 9 SCL SDA START BY MASTER 0 1 0 1 1 AD1 AD0 R/W FRAME 1 SLAVE ADDRESS BYTE D7 D6 D5 ACK BY AD5173 D4 D3 D2 D1 D0 E1 ACK BY MASTER FRAME 2 DATA BYTE E0 X X X X X X FRAME 3 VERIFICATION BYTE NO ACK BY MASTER STOP BY MASTER Figure 42 Reading Data from a Previously Selected RDAC Register in Write Mode - AD5173 2. 2 I C COMPATIBLE 2-WIRE SERIAL BUS The 2-wire I2C serial bus protocol operates as follows: 1. The master initiates data transfer by establishing a START condition, which is when a high-to-low transition on the SDA line occurs while SCL is high (see Figure 399 and 40). The following byte is the slave address byte, which consists of the slave address followed by an R/W bit (this bit determines whether data will be read from or written to the slave device). The AD5172 has a fixed slave address byte whereas the AD5173 has two configurable address bits AD0 and AD1 (see Table 10). The slave whose address corresponds to the transmitted address responds by pulling the SDA line low during the ninth clock pulse (this is termed the acknowledge bit). At this stage, all other devices on the bus remain idle while the selected device waits for data to be written to or read from its serial register. If the R/W bit is high, the master will read from the slave device. On the other hand, if the R/W bit is low, the master will write to the slave device. In the write mode, the second byte is the instruction byte. The first bit (MSB) of the instruction byte is the RDAC sub address select bit. A logic low will select channel-1 and a logic high will select channel-2. The second MSB, SD, is a shutdown bit. A logic high causes an open circuit at terminal A while shorting the wiper to terminal B. This operation yields almost 0 in rheostat mode or 0 V in potentiometer mode. It is important to note that the shutdown operation does not disturb the contents of the register. When brought out of shutdown, the previous setting will be applied to the RDAC. Also, during shutdown, new settings can be programmed. When the part is returned from shutdown, the corresponding VR setting will be applied to the RDAC. The third MSB, T, is the OTP(One Time Programmable) programming bit. A logic high blows the poly fuses and programs the resistor setting permanently. The fourth MSB must always be at a logic zero. The fifth MSB, OW, is an overwrite bit. When raised to a logic high, this bit allows the RDAC setting to be changed Rev. PrF 8/14/03 | Page 16 of 19 Preliminary Technical Data AD5172/AD5173 even after the internal fuses have been blown. However, once the OW bit is returned to a logic zero, the position of the RDAC will return to the setting prior to overwrite. Because OW is not static, if the device is powered off and on, the RDAC will preset to midscale or to the setting at which the fuses were blown depending on whether or not the fuses have been permanently set already. instructing the part only once. For example, after the RDAC has acknowledged its slave address and instruction bytes in the write mode, the RDAC output will update on each successive byte. If different instructions are needed, the write/read mode has to start again with a new slave address, instruction, and data byte. Similarly, a repeated read function of the RDAC is also allowed. The remainder of the bits in the instruction byte are don't cares(see Table 10). Table 12. Validation Status After acknowledging the instruction byte, the last byte in write mode is the data byte. Data is transmitted over the serial bus in sequences of nine clock pulses (eight data bits followed by an acknowledge bit). The transitions on the SDA line must occur during the low period of SCL and remain stable during the high period of SCL (see Figures 39 and 40). 3. In the read mode, the data byte follows immediately after the acknowledgment of the slave address byte. Data is transmitted over the serial bus in sequences of nine clock pulses(a slight difference with the write mode, where there are eight data bits followed by an acknowledge bit). Similarly, the transitions on the SDA line must occur during the low period of SCL and remain stable during the high period of SCL (see Figure 41 and Figure 42). Note that the channel of interest is the one that is previously selected in the Write Mode. In the case where users need to read the RDAC values of both channels, they need to program the first channel in the Write Mode and then change to the Read Mode to read the first channel value. After that, they need to change back to the Write Mode with the second channel selected and read the second channel value in the Read Mode again. It is not necessary for users to issue the Frame 3 data byte in the write mode for subsequent readback operation. Users should refer to Figure 41 for the programming format. E1 E0 Status 0 0 Ready for Programming 0 1 Test Fuse Not Blown Successfully (Check Setup) 1 0 Fatal Error. Some Fuses are not Blown. Retry Again 1 1 Successful. No Further Programming is Possible Multiple Devices on One Bus( AD5173 only) Figure 44 shows four AD5173 devices on the same serial bus. Each has a different slave address since the states of their AD0 and AD1 pins are different. This allows each device on the bus to be written to or read from independently. The master device output bus line drivers are open-drain pull-downs in a fully I2C compatible interface. +5V Rp SDA MASTER Following the data byte, the validation byte contains two validation bits, E0 and E1. These bits signify the status of the One Time Programming (see Table ). 4. Rp After all data bits have been read or written, a STOP condition is established by the master. A STOP condition is defined as a low-to-high transition on the SDA line while SCL is high. In write mode, the master will pull the SDA line high during the tenth clock pulse to establish a STOP condition (see Figure 39) In read mode, the master will issue a No Acknowledge for the ninth clock pulse (i.e., the SDA line remains high). The master will then bring the SDA line low before the tenth clock pulse which goes high to establish a STOP condition (see Figure 41). A repeated write function gives the user flexibility to update the RDAC output a number of times after addressing and Rev. PrF 8/14/03 | Page 17 of 19 SCL +5 V +5 V D +5 V SDA S CL AD1 SD A S CL AD1 SDA SCL AD1 S DA SCL AD1 AD0 AD0 AD0 AD0 AD51 73 AD 5 173 A D517 3 Figure 44. Multiple AD5173 Devices on One I2C Bus AD5 17 3 Preliminary Technical Data AD5172/AD5173 TEST CIRCUITS 5V Figure 4 5 to Figure 53 illustrate the test circuits that define the test conditions used in the product specification tables. OP279 VIN V+ = VDD 1LSB = V+/2N DUT A OFFSET GND W A W V+ VOUT DUT B OFFSET BIAS B VMS Figure 50. Test Circuit for Noninverting Gain Figure 4 5. Test Circuit for Potentiometer Divider Nonlinearity Error (INL, DNL) A NO CONNECT DUT A DUT OFFSET GND IW W +15V W VIN AD8610 B 2.5V VOUT -15V B VMS Figure 51. Test Circuit for Gain vs. Frequency Figure 46. Test Circuit for Resistor Position Nonlinearity Error (Rheostat Operation; R-INL, R-DNL) RSW = DUT CODE = 0x00 W DUT A W VMS2 B I W = VDD /R NOMINAL VW 0.1V ISW 0.1V ISW VSS TO VDD B VMS1 RW = [VMS1 - VMS2]/I W Figure 52. Test Circuit for Incremental ON Resistance Figure 47. Test Circuit for Wiper Resistance NC VA V+ = VDD 10% VDD PSRR (dB) = 20 LOG A V+ W PSS (%/%) = B V MS% V MS (V DD ) V DD% VDD DUT A VSS GND B NC VMS W ICM VCM NC = NO CONNECT Figure 53. Test Circuit for Common-Mode Leakage current Figure 48. Test Circuit for Power Supply Sensitivity (PSS, PSSR) A DUT B 5V VIN OFFSET GND W OP279 VOUT OFFSET BIAS Figure 49. Test Circuit for Inverting Gain Rev. PrF 8/14/03 | Page 18 of 19 AD5172/AD5173 Preliminary Technical Data OUTLINE DIMENSIONS 3.00 BSC 10 6 4.90 BSC 3.00 BSC 1 5 PIN 1 0.50 BSC 0.95 0.85 0.75 1.10 MAX 0.15 0.00 0.27 0.17 SEATING PLANE 0.23 0.20 0.17 8 0 0.80 0.40 COPLANARITY 0.10 COMPLIANT TO JEDEC STANDARDS MO-187BA Figure 54. 10-Lead Mini Small Outline Package [MSOP] (RM-10) Dimensions shown in millimeters ORDERING GUIDE Model AD5172BRM2.5-R2 AD5172BRM2.5-RL7 AD5172BRM10-R2 AD5172BRM10-RL7 AD5172BRM50-R2 AD5172BRM50-RL7 AD5172BRM100-R2 AD5172BRM100-RL7 AD5172EVAL RAB () 2.5k 2.5k 10k 10k 50k 50k 100k 100k See Note 1 Temperature -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C Package Description MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 Evaluation Board Package Option RM-10 RM-10 RM-10 RM-10 RM-10 RM-10 RM-10 RM-10 Branding D0U D0U D0V D0V D10 D10 D11 D11 Model AD5173BRM2.5-R2 AD5173BRM2.5-RL7 AD5173BRM10-R2 AD5173BRM10-RL7 AD5173BRM50-R2 AD5173BRM50-RL7 AD5173BRM100-R2 AD5173BRM100-RL7 AD5173EVAL RAB () 2.5k 2.5k 10k 10k 50k 50k 100k 100k See Note 1 Temperature -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C Package Description MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 MSOP-10 Evaluation Board Package Option RM-10 RM-10 RM-10 RM-10 RM-10 RM-10 RM-10 RM-10 Branding D1K D1K D1L D1L D1M D1M D1N D1N 1 The evaluation board is shipped with the 10 k RAB resistor option; however, the board is compatible with all available resistor value options. ESD 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 this product 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. NOTES Rev. PrF 8/14/03 | Page 19 of 19