ChipFind - документация

Электронный компонент: DS1867

Скачать:  PDF   ZIP
1 of 14
102199
FEATURES
Nonvolatile version of the popular DS1267
Low power consumption, quiet, pumpless
design
Operates from single 5V or
5V supplies
Two digitally controlled, 256-position
potentiometers
Wiper position is maintained in the absence of
power
Serial port provides means for setting and
reading both potentiometers
Resistors can be connected in series to
provide increased total resistance
16-pin SOIC and 20-pin TSSOP for surface
mount applications
Standard resistance values:
-
DS1867-10 ~ 10 k
-
DS1867-50 ~ 50 k
-
DS1867-100 ~ 100 k
Operating Temperature Range:
-
Industrial: -40
C to +85
C
PIN DESCRIPTION
L0, L1
- Low End of Resistor
H0, H1
- High End of Resistor
W1, W2
- Wiper End of Resistor
V
B
- Substrate Bias
S
OUT
- Wiper for Stacked Configuration
RST
- Serial Port Reset Input
DQ
- Serial Port Data Input
CLK
- Serial Port Clock Input
C
OUT
- Cascade Serial Port Output
V
CC
- +5-Volt Supply Input
GND
- Ground
NC
- No Internal Connection
DNC
- Do Not Connect
PIN ASSIGNMENT
DS1867
Dual Digital Potentiometer with EEPROM
www.dalsemi.com
V
B
1
14
V
CC
H1
2
13
S
OUT
L1
3
12
WO
W1
4
11
HO
RST 5
10
LO
CLK
6
9
C
OUT
GND
7
8
DQ
14-Pin DIP (300-mil)
See Mech. Drawings Section
V
B
1
16
V
CC
NC
2
15
NC
H1
3
14
S
OUT
L1
4
13
WO
W1
5
12
HO
RST
6
11
LO
CLK
7
10
C
OUT
GND
8
9
DQ
16-Pin SOIC (300-mil)
See Mech. Drawings Section
V
B
1
20
V
CC
NC
2
19
DNC
H1
3
18
DNC
L1
4
17
S
OUT
W1
5
16
WO
RST
6
15
HO
CLK
7
14
LO
DNC
8
13
C
OUT
DNC
9
12
DNC
GND
10
11
DQ
20-Pin TSSOP (173-mil)
See Mech. Drawings Section
DS1867
2 of 14
102199
DESCRIPTION
The DS1867 Dual Digital Potentiometer with EEPROM is the nonvolatile version of the popular DS1267
Dual Digital Potentiometer. The DS1867 consists of two digitally controlled potentiometers having 256-
position wiper settings. Wiper position is maintained in the absence of power through the use of
EEPROM memory cell arrays. Communication and control of the device are accomplished over a 3-wire
serial port which allows reads and writes of the wiper position. Both potentiometers can be stacked for
increased total resistance with the same resolution. For multiple-device, single-processor environments,
the DS1867 can be cascaded for control over a single 3-wire bus. The DS1867 is offered in three standard
resistance values.
OPERATION
The DS1867 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 which is used to store wiper position and
the stack select bit when the device is powered. An additional memory area, the shadow memory, stores
the 17-bit I/O shift register during a power-down sequence which provides for wiper nonvolatility. A
block diagram of the DS1867 is presented in Figure 1.
Communication and control of the DS1867 is 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 3-wire serial port operation of the device. The
RST
signal is an
active high input and is required to begin any communication to the DS1867. 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
DS1867.
Figure 2(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 DS1867 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 latched into the part on the low to
high transition of the CLK signal input. Three-wire serial timing requirements are provided in the timing
diagrams of Figure 2(b) and (c).
Data written to the DS1867 over the 3-wire serial interface is stored in the 17-bit I/O shift register (see
Figure 3). 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 3. Bit 0 of the I/O shift
register contains the stack select bit. This bit 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 will contain 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.
DS1867
3 of 14
102199
DS1867 BLOCK DIAGRAM Figure 1
DS1867
4 of 14
102199
TIMING DIAGFRAMS Figure 2
(
a) 3-Wire Serial Interface General Overview
DS1867
5 of 14
102199
I/O SHIFT REGISTER Figure 3
17-BIT I/O SHIFT REGISTER
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 (see Figure 2(a)).
When wiper position data is to be written to the DS1867, 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 desired wiper position. 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 pending a
RST
transition to the low state. The wiper position for the high-end terminals H0
and H1 will have data values FF (hex), while the low-end terminals will have data values 00 (hex).
STACKED CONFIGURATION
The potentiometers of the DS1867 can be connected in series as shown in Figure 4. This is referred to as
the stacked configuration and allows the user to double the total end-to-end resistance of the part. The
resolution of the combined potentiometers will remain the same as a single potentiometer but with a total
of 512 wiper positions available. Device resolution is defined as R
TOT
/256 (per potentiometer); where
R
TOT
is equal to the device resistance value. The wiper output for the combined stacked potentiometer will
be taken at the S
out
pin, which is the multiplexed output of the wiper of potentiometer-0 (W0) or
potentiometer-1 (W1). The potentiometer wiper selected at the S
out
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, S
out
, will be that of the potentiometer-0 wiper. If the stack select bit has value 1, the multiplexed
output, S
out
, will be that of the potentiometer-1 wiper.
STACKED CONFIGURATION Figure 4
CASCADE OPERATION
A feature of the DS1867 is the ability to control multiple devices from a single processor. Multiple
DS1867s can be linked or daisy-chained as shown in Figure 5. As a data bit is entered into the I/O shift
register of the DS1867 it will appear at the C
out
output after a maximum delay of 70 nanoseconds.
DS1867
6 of 14
102199
The C
out
output of the DS1867 can be used to drive the DQ input of another DS1867. When connecting
multiple devices, the total number of bits sent is always 17 times the number of DS1867s in the daisy
chain.
An optional feedback resistor can be placed between the C
out
terminal of the last device and the DQ input
of the first DS1867, 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 10 kohms.
When reading data via the C
OUT
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 C
OUT
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 C
OUT
and DQ of the next device. After 17
bits (or 17 times the number of DS1867s 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.
CASCADING MULTIPLE DEVICES Figure 5
NONVOLATILE WIPER SETTINGS
The DS1867 maintains the position of the wiper in the absence of power. This feature is provided through
the use of EEPROM type memory cell arrays. During normal operation, the position of the wiper is
determined by the device multiplexers and stored in the shadow memory (EEPROM). The manner in
which an update occurs has been optimized for reliability, durability, and performance. Additionally, the
update operation is totally transparent to the user.
When power is applied to the DS1867, wiper settings will be the last recorded in the EEPROM memory
cells or shadow memory before the last power-down. Changes to the EEPROM memory cells occur
during a predefined power-down sequence. If the DS1867 detects a voltage transition to 4.5 volts or less,
on the power supply input, the part initiates an automatic wiper storage sequence. This storage sequence
will save in EEPROM memory the contents of the I/O shift register before a total power-shutdown;
provided specific power-down timing requirements are met. The minimum total power-down time is
specified at 4 milliseconds. Power-down timing requirements on V
CC
are shown in Figure 6.
The EEPROM memory cells are specified to accept greater than 25,000 writes before a wear-out
condition. If the EEPROM memory cells do reach a wear-out condition, the DS1867 will still function
properly while power is applied. A minimum time of 4 ms between 4.5V and 3V is required to perform
the proper position storage of the wiper.
DS1867
7 of 14
102199
POWER-DOWN EEPROM TIMING REQUIREMENTS Figure 6
TYPICAL APPLICATION CONFIGURATIONS
Figures 7 and 8 show two typical application configurations for the DS1867. 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 400 to 1000 ohms 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
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
DS1867
DS1867
8 of 14
102199
FIXED GAIN ATTENUATOR Figure 8
ABSOLUTE AND RELATIVE LINEARITY
Absolute linearity is defined as the difference between the actual measured output voltage and the
expected output voltage. Figure 9 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 position is moved
one position. In the case of the test circuit, a minimum increment (MI) would equal 10/512volts. The
equation for absolute linearity is given in equation (1).
Eq: (1) Absolute Linearity
AL = {Vo(actual)- Vo(expected)}/MI
Relative linearity is a measure of error between two adjacent wiper position points and is given in terms
of MI by equation (2).
Eq: (2) Relative Linearity
RL = {Vo(n+1) - Vo(n)}/MI
Figure 10 is a plot of absolute linearity and relative linearity versus wiper position for the DS1867 at
25
C. The specification for absolute linearity of the DS1867 is
0.75 MI typical. The specification for
relative linearity of the DS1867 is
0.30 MI typical.
LINEARITY MEASUREMENT CONFIGURATION Figure 9
DS1867
9 of 14
102199
DS1867
10 of 14
102199
ABSOLUTE MAXIMUM RATINGS*
Voltage on Any Pin Relative to Ground (V
B
=GND)
-1.0V to +5.5V
Voltage on Resistor Pins when V
B
=-5.5V
-5.5V to +5.5V
Operating Temperature
-40 to +85C
Storage Temperature
-55C to +125C
Soldering Temperature
260C for 10 seconds
* 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
(-40
C to +85
C)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
Supply Voltage
V
CC
4.5
5.5
V
Input Logic 1
V
IH
2.0
V
CC
+0.5
V
1
Input Logic 0
V
IL
-0.5
+0.8
V
1
Substrate Bias
V
B
-5.5
GND
V
Resistor Inputs
L,H,W
V
B
V
CC
+0.5
V
2
DC ELECTRICAL CHARACTERISTICS
(-40
C to +85
C; V
CC
=5V 10%)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
Supply Current
I
CC
250
900
A
Input Leakage
I
LI
-1
+1
A
Wiper Resistance
R
W
400
1000
Wiper Current
I
W
1
mA
Logic 1 Output @2.4Volts
I
OH
-1.0
mA
8
Logic 0 Output @0.4Volts
I
OL
4
mA
8
Standby Current
I
STBY
250
A
Power-Down Time
t
PU
t
PU1
4
2.5
ms
ms
9
10
Power Trip Point
3.9
4.2
4.5
V
Recovery Time
t
REC
2
5
10
ms
11,14
DS1867
11 of 14
102199
ANALOG RESISTOR CHARACTERISTICS
(-40
C to +85
C;V
CC
= 5V 10%)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
End-to-End Resistor Tolerance
-20
+20
%
17
Absolute Linearity
0.75
LSB
4
Relative Linearity
0.30
LSB
5
-3 dB Cutoff Frequency
f
CUTOFF
Hz
7
Noise Figure
120
dB/(Hz)1/2
Temperature Coefficient
750
ppm/
C
CAPACITANCE
(T
A
= 25
C)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
Input Capacitance
C
IN
5
pF
3
Output Capacitance
C
OUT
7
pF
3
AC ELECTRICAL CHARACTERISTICS
(-40
C to +85
C; V
CC
= 5V 10%)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
CLK Frequency
f
CLK
DC
10
MHz
15
Width of CLK Pulse
t
CH
50
ns
15
Data Setup Time
t
DC
30
ns
15
Data Hold Time
t
CDH
10
ns
15
Propagation Delay Time
Low to High Level
Clock to Output
t
PLH
70
ns
13,15
Propagation Delay Time
High to Low Level
Clock to Output
t
PHL
70
ns
13,15
RST
High to Clock Input High
t
CC
50
ns
15
RST
Low
to Clock Input High
t
HLT
50
ns
15
CLK Rise Time
t
CR
50
ns
15
RST
Inactive
t
RLT
200
ns
15
NONVOLATILE MEMORY CHARACTERISTICS
(-40
C to +85
C; V
CC
= 5V 10%)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
Writes
25000
16
DS1867
12 of 14
102199
NOTES:
1.
All voltages are referenced to ground.
2.
Resistor inputs cannot exceed the substrate bias voltage, V
B
, in the negative direction.
3.
Capacitance values apply at 25
C.
4.
Absolute linearity is used to determine wiper voltage versus expected voltage as determined by wiper
position. Test limits for absolute linearity are
1.6 LSB.
5.
Relative linearity is used to determine the change in voltage between successive tap positions. Test
limits for relative linearity are
0.5 LSB.
6.
Typical values are for t
A
=25
C and nominal supply voltage.
7.
-3 dB cutoff frequency characteristics for the DS1867 depend on potentiometer total resistance:
DS1867-010; 1 MHz, DS1867-050; 200 kHz, DS1867-100; 100 kHz.
8.
C
OUT
is active regardless of the state of
RST
.
9.
Power-down time is specified at a minimum of 4 ms. It is the time required for the DS1867 to
guarantee wiper position storage as V
CC
moves from 4.5V to 3.0V.
10.
This is the time from power trip-point min (3.9V) to 3.0V to guarantee wiper storage.
11.
t
REC
is the time required before the DS1867 stored wiper position becomes valid on power-up.
12.
Power trip points reference required voltage necessary for DS1867 to restore the stored wiper position
setting.
13.
See Figure 11.
14.
During power-up the wiper position will be set at 80H.
15.
See Figure 2.
16.
A device write is specified as being a controlled power-down providing enough time to complete an
EEPROM write. It is also defined as a complete bit change from one value to another, i.e., 0 to 1.
Power-downs which do not change the wiper value can be expected have 200,000-write durability.
17.
Valid at 25
C only.
DS1867
13 of 14
102199
ABSOLUTE AND RELATIVE LINEARITY Figure 10
Absolute and Relative Linearity
(Normalized to 1 LSB)
DIGITAL OUTPUT LOAD SCHEMATIC Figure 11
DS1867
14 of 14
102199
TYPICAL SUPPLY CURRENT VS. SERIAL CLOCK RATE Figure 12
Serial Clock Rate (bits/second)