DS1802
DS1802
DS1802
FEATURES
PIN ASSIGNMENT
GND
20
VCC
COUT
19
VU (UC1)
CLK
18
VD (DC1)
17
B0 (UC0)
RST
16
B1 (DC0)
ZCEN
15
MUTE
MODE
14
AGND
W0
13
H1
L0
12
L1
H0
10
11
W1
PIN DESCRIPTION
L0, L1
H0, H1
W1,W2
VCC
D
CLK
MODE
UC0, UC1
DC0, DC1
VU, VD
B0, B1
GND
MUTE
AGND
RST
ZCEN
COUT
1 of 17
DS1802
DESCRIPTION
The DS1802 is a dual audio taper-potentiometer having logarithmic resistive characteristics over the
device range. Each potentiometer provides 65 wiper positions with a 1 dB increment per step and device
mute. The DS1802 has two methods of device control, which include contact closure (pushbutton) inputs
and a 3-wire serial interface for wiper positioning. The pushbutton control inputs provide a simple
interface for device control without the need for a CPU. While the 3-wire serial interface, using a CPU,
provides the user the ability of reading or writing exact wiper positions of the two potentiometers. The
DS1802 can also be configured to operate in either independent or stereo modes when using pushbutton
control. Independent mode of operation allows for independent wiper control, and stereo mode of
operation provides single input control over both potentiometer wiper positions. The DS1802 is offered in
commercial temperature versions. Packages for the part include a 20-pin DIP, 20-pin SOIC, and 20-pin
TSSOP.
OPERATION
The DS1802 provides two 65-position potentiometers per package, each having a logarithmic resistive
characteristic as shown in Table 1. The DS1802 can be controlled either digitally or mechanically using a
3-wire serial interface or contact closure input, respectively. The pushbutton interface allows for a simple
mechanical control method for incrementing or decrementing wiper position. The 3-wire serial interface
is designed for CPU controlled applications and allows the potentiometers exact wiper position to be
read or written. Additionally, the DS1802 can be daisy-chained for multi-device environments.
Figure 1 presents a block diagram of the DS1802. As shown, the inputs from the 3-wire serial interface
and contact closure inputs drive a command/control unit. The command/control unit interprets these
inputs for control of the two potentiometers.
The MODE input is used for contact closure operation. This input allows the user to choose between
independent mode control and stereo mode control. The MODE input is discussed in detail under the
contact closure interface control.
On power-up the serial port is stable and active within 10 microseconds. The contact closure control
interface inputs are active after 50 ms. The wiper position on power-up will be at position 63, the low end
of the potentiometer. Position 64 is the mute level.
63
64(mute)
-63
<-90
2 of 17
DS1802
DESCRIPTION
Up contact potentiometer-0
Up contact potentiometer-1
DC0*
DC1*
VU**
VD**
B0**
Volume-up
Volume-down
Balance Pot-0
B1**
Balance Pot-1
* independent mode control
** stereo mode control
The MODE input terminal is used to select the mode of wiper control using contact closure. There exist
two modes of wiper control, which include independent mode control and stereo mode control. As shown
in the pin assignment diagram, the contact closure inputs share pins. Input functionality is determined by
the state of the MODE input at power- up.
3 of 17
DS1802
Independent mode control allows the user to independently control each potentiometer's wiper position.
For independent mode control, the MODE input should be in a high state. For stereo mode control, the
MODE input should be in a low state. The input should always be tied to a well-defined logic state.
The contact closure inputs which affect independent mode control include UC0, UC1, DC0, and DC1. As
outlined in Table 2, the UC0 and UC1 inputs are used to move the potentiometers wipers towards the
high end of the potentiometer (H0, H1) terminals. The DC0 and DC1 inputs control movement towards
the low-end terminals (L0, L1). Note that UC0 and DC0 control potentiometer-0 wiper movement while
UC1 and DC1 control potentiometer-1 movement.
An additional feature of the contact closure interface is the ability to control both directions of wiper
movement with only the UC0 and UC1 contact closure inputs. This feature is referred to as single
pushbutton operation. Figure 2(a) and (b) illustrates both configurations for single pushbutton and dual
pushbutton operation.
4 of 17
DS1802
Contact closure is defined as the transition from a high level to a low level on the contact closure input
terminals. The DS1802 interprets input pulse widths as the means of controlling wiper movement. A
single pulse input over the UCx or DCx input terminals will cause the wiper to move one position. A
transition from high to low on these inputs is considered the beginning of pulse activity or contact
closure. A single pulse is defined as being greater than 1 ms but lasting no lo nger than a second. This is
shown is Figure 4(a).
Repetitive pulsed inputs can be used to step through each resistive position of the device in a relatively
fast manner (see Figure 4(b)). The requirement for repetitive pulsed inputs is that pulses must be
separated by a minimum time of 1 ms. If not, the DS1802 will interpret repetitive pulses as a single pulse.
5 of 17
DS1802
Pulse inputs lasting longer than 1 second will cause the wiper to move one position every 100 ms
following the initial 1 second hold time. The total time to transcend the entire potentiometer using a
continuous input pulse is given by the formula below:
1 (second) + 63 X 100 ms =7.3 (seconds)
6 of 17
DS1802
7 of 17
DS1802
All contact closure control inputs, UC0, UC1, DC0, DC1, VU, VD, B0 and B1 are internally pulled up by
a 50 kO resistance. The UC0, UC1, DC0 DC1, VU, VD, B0, and B1 inputs are internally debounced and
require no external components for input signal conditioning.
8 of 17
DS1802
9 of 17
DS1802
CASCADE OPERATION
A feature of the DS1802 is the ability to control multiple devices from a single processor. Multiple
DS1802s can be linked or daisy-chained as shown in Figure 7. As a bit is entered in to the I/O shift
registeroftheDS1802 it will appear at the COUT out put after a maximum delay of 50 nanoseconds.
The COUT output of the DS1802 can be used to drive the D input of another DS1802. When connecting
multiple devices, the total number of bits sent is always 16 times the number of DS1802s in the daisy
chain.
An optional feedback resistor can be placed between the COUT terminal of the last device and the D input
of the first DS1802, thus allowing the controlling processor to circularly clock data through the daisy
chain. The value of the feedback or isolation resistor should be in the range from 2 k to 10 k.
When reading data via the COUT pin and isolation resistor, the D line is left floating by the reading device.
When RST is driven high, bit 0 is present on the COUT pin, which is fed back to the input D pin through
the isolation resistor. When the CLK input transitions low to high, bit 0 is loaded into the first position of
the I/O shift register and bit 1 becomes present on COUT and D of the next device. After 16 bits (or 16
times the number of DS1802s 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 and wiper-1.
Zero-Crossing Detection
The DS1802 provides a zero-crossing detection capability when using the 3-Wire Serial interface. Zerocrossing detection provides a means for minimizing any audible noise that may result from sizable
discrete wiper transitions when using the part in audio applications. The zero-crossing detect feature
allows independent wiper changes only when the two terminals of the potentiometer have equal potentials
and within a 50 ms time window from the fall of the RST signal. If at 50 ms the DS1802 has not detected
a zero-crossing, the wiper position of the potentiometer(s) will change regardless of the state of the input
signal. Zero-crossing detection is activated when the ZCEN input level is in a low state. When high, the
ZCEN input deactivates both the 50 ms time requirement and zero-crossing detection.
Zero-crossing detection is also available when using the part in pushbutton operation. When a pushbutton
is activated, the part will change wiper position during the first detected zero-crossing or at the end of a
50 ms time window.
When operating in pushbutton operation with a continuous input pulse, the wiper position will change
once during the initial 1-second time period. This change is dictated by a detected zero-crossing or 50 ms
10 of 17
DS1802
time window. Subsequent changes when operating with continuous input pulse occur on 100 ms time
intervals and are dependent on zero-crossing or 50 ms timeouts.
MUTE CONTROL
The DS1802 provides a mute control feature which can be accessed by the user through hardware or
software. Hardware control of the device is achieved through the MUTE input pin. This pin is internally
pulled up through a 50 k resistor. When this input is driven low, the wiper outputs of both
potentiometers will be internally connected to the low terminal of their respective potentiometers. This
input performs as a toggle input, with the first activity on this pin connecting the wiper outputs to the low
end of the resistive array on each potentiometer. The next input activity on this pin will return the wiper
position to the previous state before the muting occurred. Also, if operating in pushbutton mode, mute
will be deactiva ted if an input is received over the VU, VD, UC0, UC1, DC0, DC1 inputs. This input, like
the pushbutton inputs, is internally debounced and requires no external circuitry. When the device
powers up, the first activity on the mute pin will internally connect the wipers to the low end of the
resistor array.
Software mute control was briefly discussed in 3-wire protocol and operation. Bits 6 and 14 of the 16-bit
I/O shift register are reserved for mute control of potentiometer-0 and potentiometer-1, respectively.
Unlike hardware mute control, software muting allows the user individual control of each potentiometer
(i.e., potentiometer-0 and potentiometer-1 can be independently muted). Software muting of
potentiometer-0 would require bit 6 to have a value of 1 while for potentiometer-1, bit 14 should have a
value 1. When the user desires to release the mute of any potentiometer through software the complete
16-bit I/O shift register must be rewritten with the desired potentiometer wiper settings and bits 6 and 14
having 0 value.
11 of 17
DS1802
12 of 17
DS1802
-0.7V to +7.0V
-40 to +85C
-55C to +125C
See J-STD-020A Specification
* 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.
SYMBOL
MIN
Supply Voltage
VCC
Input Logic 1
MAX
UNITS
NOTES
+2.7
5.5
VIH
2.0
VCC+0.5
1,2
Input Logic 0
VIL
-0.5
+0.8
1,2
Resistor Inputs
L,H,W
GND-0.5
VCC+0.5
Analog Ground
AGND
GND-0.5
GND+0.5
14
DC ELECTRICAL CHARACTERISTICS
PARAMETER
SYMBOL
Supply Current
ICC
Input Leakage
ILI
Wiper Resistance
RW
Wiper Current
IW
IOH
IOL
Standby Current:
Power-Up Time
TYP
(-40C to +85C)
MIN
TYP
-1
400
MAX
UNITS
NOTES
2000
12
+1
1000
mA
-1.0
4
3 Volts
22
5 Volts
42
tPU
50
13 of 17
80
mA
mA
15
A
ms
DS1802
SYMBOL
MAX
UNITS
NOTES
+20
+1
%
dB
17
Absolute Tolerance
-20
-1
Inter-channel Matching
-0.5
+0.5
dB
Tap-to-Tap Tolerance
-0.25
+0.25
dB
7,16
-3 dB Cutoff Frequency
MIN
fCUTOFF
Temperature Coefficient
Total Harmonic Distortion
(VIN=1VRMS, 1 kHz, Tap = -6
dB)
THD
Mute
CAPACITANCE
PARAMETER
Input Capacitance
Output Capacitance
TYP
11
700 kHz
kHz
750
ppm/C
0.002
2.2
VRMS
-90
dB
16
-100
dB
16
-90
dB
16
MIN
MAX
UNITS
NOTES
CIN
pF
COUT
pF
14 of 17
TYP
DS1802
AC ELECTRICAL CHARACTERISTICS
PARAMETER
SYMBOL
MIN
CLK Frequency
fCLK
DC
tCH
TYP
MAX
UNITS
NOTES
10
MHz
10,13
50
ns
10,13
tDC
30
ns
10,13
tCDH
10
ns
10,13
tPLH
50
ns
10,13
tPLH
50
ns
10,13
tCC
50
ns
10,13
tHLT
50
ns
10,13
tCR
ns
10,13
RST Inactive
tRLT
ns
10,13
50
200
SYMBOL
MIN
tCPW
TYP
MAX
UNITS
NOTES
DC
ms
3,5,13
tHPW
DC
ms
3,5,13
tCCP
DC
3,5,13
NOTES:
1. All voltages are referenced to ground.
2. Valid for VCC =5V only.
3. Both UCx and DCx inputs are internally pulled up with a 50K resistance.
4. Capacitance values apply at 25C.
5. Input pulse width is the minimum time required for an input to cause an increment or decrement. If
the UCx or DCx inputs is held active for longer than 1 second, subsequent increments or decrements
will occur on 100 ms intervals until the inputs UCx, DCx are released to VIH. Timing tolerances for
pushbutton control is 30%.
6. Inter-channel matching is used to determine the relative voltage difference in dB between the same
tap position on each potentiometer. The DS1802 is specified for 0.5 dB inter-channel matching.
15 of 17
DS1802
7. Tap-to-tap tolerance is used to determine the change in voltage between successive tap positions. The
DS1802 is specified for 0.25 dB tap-to-tap tolerance.
8. Typical values are for tA =25C and no minal supply voltage.
9. Power-up time is the time for all pushbutton inputs to be stable and active once power has reached a
valid level, 2.7V min.
10. See Figure 6.
11. Absolute tolerance is used to determine measured wiper voltage vs. expected wiper voltage as
determined by wiper position. The DS1802 is bounded by a 1 dB absolute tolerance.
12. Maximum current specifications are based on clock rate, active zero-crossing detection, and
pushbutton activation. See Figure 8 for clock rate vs. current specification.
13. Valid for VCC =3V or 5V.
14. See Figure 10.
15. Standby current levels apply when all inputs are driven to appropriate supply levels.
16. These parameters are characterized and not 100% tested.
17. Valid at 25C only.
16 of 17
DS1802
NOTE: GND and AGND must be tied to the same voltage level.
17 of 17