DS1267B Dual Digital Potentiometer FEATURES Two digitally controlled, 256-position potentiometers Serial port provides means for setting and reading both potentiometers Resistors can be connected in series to provide increased total resistance 16-pin SO and 20-pin TSSOP packages Resistive elements are temperature compensated to 0.3 LSB relative linearity Standard resistance values: - DS1267B-10 ~ 10k - DS1267B-50 ~ 50k - DS1267B-100 ~ 100k Operating Temperature Range: - Industrial: -40C to +85C PIN ASSIGNMENT VB 1 16 VCC NC 2 15 NC H1 3 14 SOUT L1 4 13 W0 W1 5 12 H0 RST 6 11 L0 CLK 7 10 COUT GND 8 9 DQ 16-Pin SO (300-mil) See Mech. Drawings Section PIN DESCRIPTIONS L0, L1 H0, H1 W0, W1 VB SOUT RST DQ CLK COUT VCC GND NC - Low End of Resistor High End of Resistor Wiper Terminal of Resistor Substrate Bias Voltage Stacked Configuration Output Serial Port Reset Input Serial Port Data Input Serial Port Clock Input Cascade Port Output +5V Supply Ground No Internal Connection VB 1 20 VCC NC 2 19 NC H1 3 18 NC L1 4 17 SOUT W1 5 16 W0 RST 6 15 H0 CLK 7 14 L0 NC 8 13 COUT NC 9 12 NC 10 11 DQ GND 20-Pin TSSOP (173-mil) PART NO. DS1267BE-010+ DS1267BE-050+ DS1267BE-100+ DS1267BS-010+ DS1267BS-050+ DS1267BS-100+ 19-6589; Rev 1; 1/14 PINPACKAGE 20 TSSOP 20 TSSOP 20 TSSOP 16 SO 16 SO 16 SO END-TO-END RESISTANCE (k) 10 50 100 10 50 100 Maxim Integrated 1 DS1267B DESCRIPTION The DS1267B Dual Digital Potentiometer Chip consists of two digitally controlled, solid-state potentiometers. Each potentiometer is composed of 256 resistive sections. Between each resistive section and both ends of the potentiometer are tap points which are accessible to the wiper. The position of the wiper on the resistive array is set by an 8-bit value that controls which tap point is connected to the wiper output. Communication and control of the device are accomplished via a 3-wire serial port interface. This interface allows the device wiper position to be read or written. Both potentiometers can be connected in series (or stacked) for an increased total resistance with the same resolution. For multiple-device, single-processor environments, the DS1267B can be cascaded or daisy-chained. This feature provides for control of multiple devices over a single 3-wire bus. The DS1267B is offered in three standard resistance values which include 10k, 50k, and 100k versions. Available packages for the device include a 16-pin SO and 20-pin TSSOP. OPERATION The DS1267B contains two 256-position potentiometers whose wiper positions are set by an 8-bit value. These two 8-bit values are written to a 17-bit I/O shift register that is used to store the two wiper positions and the stack select bit when the device is powered. A block diagram of the DS1267B is presented in Figure 1. Communication and control of the DS1267B are accomplished through a 3-wire serial port interface that drives an internal control logic unit. The 3-wire serial interface consists of the three input signals: RST , CLK, and DQ. The RST control signal is used to enable the 3-wire serial port operation of the device. The chip is selected when RST is high; RST must be high to begin any communication to the DS1267B. The CLK signal input is used to provide timing synchronization for data input and output. The DQ signal line is used to transmit potentiometer wiper settings and the stack select bit configuration to the 17-bit I/O shift register of the DS1267B. Figure 9(a) presents the 3-wire serial port protocol. As shown, the 3-wire port is inactive when the RST signal input is low. Communication with the DS1267B requires the transition of the RST input from a low state to a high state. Once the 3-wire port has been activated, data is entered into the part on the low to high transition of the CLK signal inputs. Three-wire serial timing requirements are provided in the timing diagrams of Figure 9(b)-(c). Data written to the DS1267B over the 3-wire serial interface is stored in the 17-bit I/O shift register (see Figure 2). The 17-bit I/O shift register contains both 8-bit potentiometer wiper position values and the stack select bit. The composition of the I/O shift register is presented in Figure 2. Bit 0 of the I/O shift register contains the stack select bit, which will be discussed in the section entitled Stacked Configuration. Bits 1 through 8 of the I/O shift register contain the potentiometer-1 wiper position value. Bit 1 contains the MSB of the wiper setting for potentiometer-1 and bit 8 the LSB for the wiper setting. Bits 9 through 16 of the I/O shift register contain the value of the potentiometer-0 wiper position, with the MSB for the wiper position occupying bit 9 and the LSB bit 16. DS1267B DS1267B BLOCK DIAGRAM Figure 1 I/O SHIFT REGISTER Figure 2 Transmission of data always begins with the stack select bit followed by the potentiometer-1 wiper position value and lastly the potentiometer-0 wiper position value. When wiper position data is to be written to the DS1267B, 17 bits (or some integer multiple) of data should always be transmitted. Transactions which do not send a complete 17 bits (or multiple) will leave the register incomplete and possibly an error in the desired wiper positions. After a communication transaction has been completed, the RST signal input should be taken to a low state to prevent any inadvertent changes to the device shift register. Once RST has reached a low state, the contents of the I/O shift register are loaded into the respective multiplexers for setting wiper position. A new wiper position will only engage after a RST transition to the inactive state. On device power-up the DS1267B wiper positions will be set at 50% of the total resistance or binary value 1000 0000. Maxim Integrated ............................................................................................................................................................................................. 3 DS1267B STACKED CONFIGURATION The potentiometers of the DS1267B can be connected in series as shown in Figure 3. This is referred to as the stacked configuration. The stacked configuration allows the user to double the total end-to-end resistance of the part and the number of steps to 512 (or 9 bits of resolution). The wiper output for the combined stacked potentiometer will be taken at the SOUT pin, which is the multiplexed output of the wiper of potentiometer-0 (W0) or potentiometer-1 (W1). The potentiometer wiper selected at the SOUT output is governed by the setting of the stack select bit (bit 0) of the 17-bit I/O shift register. If the stack select bit has value 0, the multiplexed output, SOUT, will be that of the potentiometer-0 wiper. If the stack select bit has value 1, the multiplexed output, SOUT, will be that of the potentiometer-1 wiper. STACKED CONFIGURATION Figure 3 CASCADE OPERATION A feature of the DS1267B is the ability to control multiple devices from a single processor. Multiple DS1267Bs can be linked or daisy-chained as shown in Figure 4. As a data bit is entered into the I/O shift register of the DS1267B a bit will appear at the COUT output within a maximum delay of 50 nanoseconds. The stack select bit of the DS1267B will always be the first out the part at the beginning of a transaction. Additionally the COUT pin is always active regardless of the state of RST . This allows one to read the I/O shift register without changing its value. CASCADING MULTIPLE DEVICES Figure 4 Maxim Integrated ............................................................................................................................................................................................. 4 DS1267B The COUT output of the DS1267B can be used to drive the DQ input of another DS1267B. When connecting multiple devices, the total number of bits transmitted is always 17 times the number of DS1267Bs in the daisy chain. An optional feedback resistor can be placed between the COUT terminal of the last device and the first DS1267B DQ input, thus allowing the controlling processor to read as well as write data or circularly clock data through the daisy chain. The value of the feedback or isolation resistor should be in the range from 2 to 10k. When reading data via the COUT pin and isolation resistor, the DQ line is left floating by the reading device. When RST is driven high, bit 17 is present on the COUT pin, which is fed back to the input DQ pin through the isolation resistor. When the CLK input transitions low to high, bit 17 is loaded into the first position of the I/O shift register and bit 16 becomes present on COUT and DQ of the next device. After 17 bits (or 17 times the number of DS1267Bs in the daisy chain), the data has shifted completely around and back to its original position. When RST transitions to the low state to end data transfer, the value (the same as before the read occurred) is loaded into the wiper-0, wiper-1, and stack select bit I/O register. ABSOLUTE AND RELATIVE LINEARITY Absolute linearity, also known as integral nonlinearity, is defined as the difference between the actual measured output voltage and the expected output voltage. Figure 5 presents the test circuit used to measure absolute linearity. Absolute linearity is given in terms of a minimum increment or expected output when the wiper is moved one position. In the case of the test circuit, a minimum increment (MI) or one LSB would equal 10/512 volts. The equation for absolute linearity is given as follows: (1) ABSOLUTE LINEARITY (INL) AL={VO (actual) - VO (expected)}/MI Relative Linearity, also known as differential nonlinearity, is a measure of error between two adjacent wiper position points and is given in terms of MI by equation (2). (2) RELATIVE LINEARITY (DNL) RL={VO (n+1) - VO (n)}/MI Figure 6 is a plot of absolute linearity and relative linearity versus wiper position for the DS1267B at 25C. The specification for absolute linearity of the DS1267B is 0.75 MI typical. The specification for relative linearity of the DS1267B is 0.3 MI typical. Maxim Integrated ............................................................................................................................................................................................. 5 DS1267B LINEARITY MEASUREMENT CONFIGURATION Figure 5 NOTE: In this setup, a 2% delta in total resistance R0 to R1 would cause a 2.5 MI error. DS1267B ABSOLUTE AND RELATIVE LINEARITY Figure 6 Linearity vs. Tap Position 0.5 0.4 DS1267B 10k 0.3 0.2 DNL LSB 0.1 0 -0.1 -0.2 -0.3 INL -0.4 -0.5 0 32 64 96 128 160 192 224 256 Tap Position TYPICAL APPLICATION CONFIGURATIONS Figures 7 and 8 show two typical application configurations for the DS1267B. By connecting the wiper terminal of the part to a high-impedance load, the effects of the wiper resistance is minimized, since the wiper resistance can vary from 900 to 2000 depending on wiper voltage. Figure 7 presents the device connected in an inverting variable gain amplifier. The gain of the circuit on Figure 7 is given by the following equation: AV = -n/(255-n); where n = 0 to 255 Maxim Integrated ............................................................................................................................................................................................. 6 DS1267B Figure 8 shows the device operating in a fixed gain attenuator where the potentiometer is used to attenuate an incoming signal. Note the resistance R1 is chosen to be much greater than the wiper resistance to minimize its effect on circuit gain. INVERTING VARIABLE GAIN AMPLIFIER Figure 7 FIX GAIN ATTENUATOR Figure 8 Maxim Integrated ............................................................................................................................................................................................. 7 DS1267B ABSOLUTE MAXIMUM RATINGS* Voltage on Any Pin Relative to Ground (VB = GND).......................................................... -0.5V to +7.0V Voltage on Resistor Pins when VB = -5.5V ............................................................... -5.5V to (VCC + 0.5V) Voltage on VB ..................................................................................................................................................................................-5.5V to GND Operating Temperature ........................................................................................................... -40 to +85C Storage Temperature .......................................................................................................... -55C to +125C Soldering Temperature ........................................................................................................... 260C for 10s * This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods of time may affect reliability. RECOMMENDED DC OPERATING CONDITIONS PARAMETER (-40C to +85C; VCC = 5.0V 10%) TYP MAX UNITS NOTES SYMBOL MIN Supply Voltage VCC 4.5 5.5 V 1 Input Logic 1 VIH 0.7 x VCC VCC + 0.5 V 1 Input Logic 0 VIL -0.5 +0.3 x VCC V 1 Substrate Bias VB -5.5 GND V 1 Resistor Inputs L,H,W VB - 0.5 VCC + 0.5 V 2 DC ELECTRICAL CHARACTERISTICS PARAMETER SYMBOL Supply Current ICC Input Leakage ILI Wiper Resistance RW Wiper Current IW Logic 1 Output at 2.4V IOH Logic 0 Output at 0.4V IOL Standby Current ISTBY MIN (-40C to +85C; VCC = 5.0V 10%) TYP MAX UNITS NOTES 2.1 5 mA 7 +1 A 9 2000 1 mA -1 900 -1 0.6 mA 5 4 mA 5 2 A Maxim Integrated ............................................................................................................................................................................................. 8 DS1267B ANALOG RESISTOR CHARACTERISTICS PARAMETER SYMBOL MIN (-40C to +85C; VCC = 5.0V 10%) TYP MAX UNITS NOTES +20 % 8 End-to-End Resistor Tolerance -20 Integral Nonlinearity (INL) -1.6 .75 +1.6 LSB 3 Differential Nonlinearity (DNL) -0.5 0.3 +0.5 LSB 4 Temperature Coefficient 750 ppm/C CAPACITANCE PARAMETER Input Capacitance Output Capacitance (TA = +25C) SYMBOL MIN TYP UNITS CIN 5 pF COUT 7 pF AC ELECTRICAL CHARACTERISTICS PARAMETER MAX NOTES (-40C to +85C; VCC = 5.0V 10%) SYMBOL MIN CLK Frequency fCLK DC Width of CLK Pulse tCH Data Setup Time TYP MAX UNITS NOTES 3.5 MHz 6 50 ns 6 tDC 30 ns 6 Data Hold Time tCDH 10 ns 6 Propagation Delay Time Low to High Level Clock to Output tPLH 250 ns 6 Propagation Delay Time High to Low Level tPHL 250 ns 6 RST High to Clock Input High tCC 50 ns 6 RST Low to Clock Input High tHLT 50 ns 6 RST Inactive tRLT 125 ns 6 NOTES: 1. 2. 3. 4. 5. 6. 7. 8. 9. All voltages are referenced to ground. Resistor inputs cannot exceed the substrate bias voltage, VB, in the negative direction. INL is used to determine wiper voltage versus expected voltage as determined by wiper position. DNL is used to determine the change in voltage between successive tap positions. COUT is active regardless of the state of RST . See Figures 9(a), (b), and (c). See Figure 11. Valid at +25C only. Digital Inputs Maxim Integrated ............................................................................................................................................................................................. 9 DS1267B TIMING DIAGRAMS Figure 9 (A) 3-WIRE SERIAL INTERFACE GENERAL OVERVIEW (B) START OF COMMUNICATION TRANSACTION Maxim Integrated ........................................................................................................................................................................................... 10 DS1267B (C) END OF COMMUNICATION TRANSACTION TYPICAL SUPPLY CURENT VS. SERIAL CLOCK RATE Figure 11 Maxim Integrated ........................................................................................................................................................................................... 11 DS1267B PACKAGE INFORMATION For the latest package outline information and land patterns (footprints), go to www.maximintegrated.com/packages. Note that a "+", "#", or "-" in the package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the package regardless of RoHS status. PACKAGE TYPE PACKAGE CODE DOCUMENT NO. 16 SO 20 TSSOP W16+6 U20+2 21-0042 21-0066 LAND PATTERN NO. 90-0107 90-0116 Maxim Integrated ........................................................................................................................................................................................... 12 DS1267B REVISION HISTORY REVISION DATE 1/13 1/14 DESCRIPTION Initial Release Removed future product notation in Ordering Information PAGES CHANGED -- 1 13 Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circuit patent licenses are implied. Maxim Integrated reserves the right to change the circuitry and specifications without notice at any time. The parametric values (min and max limits) shown in the Electrical Characteristics table are guaranteed. Other parametric values quoted in this data sheet are provided for guidance. Maxim Integrated, 160 Ri o Robles, San Jose, CA 95134 1-408-601-1000 2014 Maxim Integrated Products, Inc. The Maxim logo and Maxim Integrated are trademarks of Maxim Integrated Products, Inc. Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Maxim Integrated: DS1267BE-010+ DS1267BS-010+ DS1267BE-010+T/R DS1267BS-010+T/R DS1267BS-100+ DS1267BS-050+ DS1267BE-050+ DS1267BE-050+T/R DS1267BE-100+ DS1267BE-100+T/R DS1267BS-050+T/R DS1267BS100+T/R