Rainbow Electronics DS1667 User Manual

DS1667
DS1667
Digital Resistor with OP AMP
Two digitally controlled 256-position potentiometers
Serial port provides means for setting and reading
both potentiometers
Resistors can be connected in series to provide addi-
tional resolution
Default wiper position on power up is 50%
Resistive elements are temperature compensated to
20% end to end
+
Two high gain wide bandwidth operational amplifiers
Low power CMOS design
Applications include analog–to–digital and digital–to–
analog converters, variable oscillators, and variable gain amplifiers
20–pin DIP package or optional 20–pin SOIC surface
mount package
Operating temperature range of 0°C to 70°C
Resistance Values
DS1667-10: 10K 39 ohms 1.1 MHz DS1667-50: 50K 195 ohms 200 kHz DS1667-100: 100K 390 ohms 100 kHz
DESCRIPTION
The DS1667 is a dual–solid state potentiometer that is adjustable by digitally selected resistive elements. Each potentiometer is composed of 256 resistive ele­ments. Between each resistive section of each poten­tiometer are tap points accessible to the wiper. The po­sition of the wiper on the resistive array is set by an 8–bit register that controls which tap point is connected to the wiper output. Each 8–bit register can be read or written by sending or receiving data bits over a 3–wire serial port. In addition, the resistors can be stacked such that
RESOLUTION -3 dB POINT
PIN ASSIGNMENT
NINV0
OUT1
1 2
INV0
3
V
B
4
W1
5
H1
6
L1
7
RST
8
CLK
9 10
GND
20-Pin DIP (300 Mil) and 20-Pin SOIC
20
V
CC
19
OUT0
18
SOUT
17
W0
16
H0
15
L0
14
COUT
13
DQ
12
INVI
11
NINVI
PIN DESCRIPTION
V
CC
GND - Ground L0, L1 - Low End of Resistor H0, H1 - High End of Resistor W0, W1 - Wiper End of Resistor V
B
SOUT - Wiper for Stacked
RST DQ - Serial Port Input/Output CLK - Serial Port Clock Input COUT - Cascade Serial Port Output NINV0, NINVI - Noninverting OP AMP Input INV0, INVI - Inverting OP AMP Input OUT0, OUT1 - OP AMP Outputs
a single potentiometer of 512 sections results. When two separate potentiometers are used, the resolution of the DS1667 is equal to the resistance value divided by
256. When the potentiometers are stacked end to end, the resistance value is doubled while the resolution re­mains the same. The DS1667 also contains two high gain wide bandwidth operational amplifiers. Each am­plifier has both the inverting and non-inverting inputs and the output available for user configuration. The op­erational amplifiers can be paired with the resistive ele-
- +5 Volt Supply
- Substrate Bias and OP AMP Negative Supply
Configuration
- Serial Port Reset Input
Copyright 1995 by Dallas Semiconductor Corporation. All Rights Reserved. For important information regarding patents and other intellectual property rights, please refer to Dallas Semiconductor databooks.
021492 1/11
DS1667
ments to perform such functions as analog to digital conversion, digital to analog conversion, variable gain amplifiers, and variable oscillators.
OPERATION - DIGITAL RESISTOR SECTION
The DS1667 contains two potentiometers, each of which has its wiper set by a value contained in an 8 bit register (see Figure 1). Each potentiometer consists of 256 resistors of equal value with tap points between each resistor and at the low end.
In addition, the potentiometer can be stacked by con­necting them in series such that the high end of poten-
BLOCK DIAGRAM Figure 1
RESISTOR SECTION
L0 H0 L1 H1
256–TO–1 MULTIPLEXER 256–TO–1 MULTIPLEXER
WIPER 0–8 BITS WIPER 1–8 BITS
tiometer 0 is connected to the low end of potentiometer
1. When stacking potentiometers, the stack select bit is used to select which potentiometer wiper will appear at the stack multiplexer output (SOUT). A zero written to the stack multiplexer will connect wiper 0 to the SOUT pin. This wiper will determine which of the 256 bottom taps of the stacked potentiometer is selected. When a 1 is written to the stack multiplexer, wiper 1 is selected and one of the upper 256 taps of the stacked potentiometer is presented at the SOUT pin.
STACK SELECT
BIT
W1
1 BIT
RST
CONTROL LOGIC
CLK
DQ
OP AMP SECTION
INV0
NINV0
INV1
NINV1
021492 2/11
W0
STACK MULTI–
PLEXER
LSB SSWIPER0 MSB WIPER1 MSBLSB
07816
V
CC
+
V
B
I/O SHIFT REGISTER
V
CC
+
V
B
SOUT
COUT
OUT0
OUT1
DS1667
Information is written to and read from the wiper 0 and wiper 1 registers and the stack select bit via the 17-bit I/O shift register. The I/O shift register is serially loaded by a 3 wire serial port consisting of RST
, DQ, and CLK. It is updated by transferring all 17 bits (Figure 2). Data can be entered into the 17 bit shift register only when the
input is at a high level. While at a high level, the
RST RST function allows serial entry of data via the D/Q pin. The potentiometers always maintain their previous val­ue until RST is taken to a low level, which terminates data transfer. While RST input is low, the DQ and CLK inputs are ignored.
Valid data is entered into the I/O shift register while RST is high on the low-to-high transition of the CLK input. Data input on the DQ pin can be changed while the clock input is high or low, but only data meeting the setup re­quirements will enter the shift register. Data is always entered starting with the value of the stack select bit. The next 8 bits to be entered are those specifying the wiper 1 setting. The MSB of these 8 bits is sent first. The next 8 bits to be entered are those specifying the wiper 0 setting, sent MSB first. The 17th bit to be entered, there­fore, will be the least significant bit of the wiper 0 setting. If fewer than 17 bits are entered, the value of the poten­tiometer settings will result from the number of bits that were entered plus the remaining bits of the old value shifted over by the number of bits sent. If more than 17 bits are sent, only the last 17 bits are left in the shift regis­ter. Therefore, sending other than 17 bits can produce indeterminate potentiometer settings.
As bits are entered into the shift register, the previous value is shifted out bit by bit on the cascade serial port
pin (COUT). By connecting the COUT pin to the DQ pin of a second DS1667, multiple devices can be daisy chained together as shown in Figure 3.
When connecting multiple devices, the total number of bits sent is always 17 times the number of DS1667s in the daisy chain. In applications where it is desirable to read the settings of potentiometers, the COUT pin of the last device connected in a daisy chain must be con­nected back to the DQ input of the first device through a resistor with a value of 1K to 10K. This resistor provides isolation between COUT and DQ when writing to the de­vice (see Figure 3).
When reading data, the DQ line is left floating by the reading device. When RST
is held low, bit 17 is always present on the COUT pin, which is fed back to the input DQ pin through the resistor (see Figure 4).This data bit can now be read by the reading device. The RST
pin is then transitioned high to initiate a data transfer. 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 be­comes present on COUT and DQ. After 17 bits (or 17 times the number of devices for a daisy chain), the data has shifted completely around and back to its original position. When RST
is transitioned back low to end data transfer, the value (the same as before the read oc­curred) is loaded into the wiper 0 and wiper 1 registers and the stack select bit.
When power is applied to the DS1667, the device al­ways has the wiper settings at half position and the stack select bit is at zero.
021492 3/11
DS1667
WRITING DATA Figure 2
RST
DQ
CLK
PREVIOUS
I/O SR
WIPER 0 & 1 STACK SELECT
CONTROL
REG.
PREVIOUS VALUE
CASCADING MULTIPLE DEVICES Figure 3
DQ DQ DQ
DS1667
#1
C
OUT
DS1667
#2
DON’T CAREDON’T CARE BIT 16 BIT 15 BIT 14 BIT 0
NEW CONTROL REG.+0, 1+0
NEW VALUE
C
DS1667
C
OUT
#3
OUT
021492 4/11
OPTIONAL FEEDBACK RESISTOR FOR READING DATA
Loading...
+ 7 hidden pages