Rainbow Electronics DS1802 User Manual

DS1802
www.dalsemi.com
Dual Audio Taper Potentiometer
FEATURES
§ Ultra-low power consumption
§ Operates from 3V or 5V supplies
§ Two digitally controlled, 65-position
§ Logarithmic resistive characteristics (1 dB per step)
§ Zero-crossing detection eliminates noise caused by wiper movement
§ Digital or mechanical pushbutton wiper control
§ Serial port provides means for setting and reading both potentiometers wipers
§ 20-pin SOIC and 20-pin TSSOP for surface mount applications
§ Operating Temperature Range:
-40°C to +85°C
§ Software and hardware mute
§ Resistance Available: 45 k
With Pushbutton Control
PIN ASSIGNMENT
GND 1 20 VCC COUT 2 19 VU (UC1) CLK 3 18 VD (DC1) D 4 17 B0 (UC0) RST 5 16 B1 (DC0) ZCEN 6 15 MUTE MODE 7 14 AGND W0 8 13 H1 L0 9 12 L1 H0 10 11 W1
20-Pin DIP (300-mil) 20-Pin SOIC (300-mil) 20-Pin TSSOP (173-mil) See Mech. Drawings Section
PIN DESCRIPTION
L0, L1 - Low End of Resistor H0, H1 - High End of Resistor W1,W2 - Wiper End of Resistor VCC - 3V/5V Power Supply Input
1 of 17 051401
RST - Serial Port Reset Input
D - Serial Port Data Input CLK - Serial Port Clock Input MODE - Mode Select Input UC0, UC1 - Up Control Pushbutton Inputs DC0, DC1 - Down Control Pushbutton Inputs VU, VD - Volume-Up/Volume-Down Inputs B0, B1 - Balance Pot-0, Pot-1 Inputs GND - Digital Ground MUTE - Mute AGND - Analog Ground
ZCEN - Zero-Crossing Detect Input
C
- Cascade Output
OUT
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 potentiometer’s 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.
RESISTANCE CHARACTERISTICS Table 1
POSITION OUTPUT LEVEL (dB)
0 0 1 -1 2 -2 3 -3 4 -4 5 -5
63 -63
64(mute) <-90
2 of 17
DS1802 BLOCK DIAGRAM Figure 1
DS1802
CONTACT CLOSURE INTERFACE CONTROL
The DS1802 can be configured to operate from contact closure inputs sometimes referred to as pushbutton control. There exists a total of four physical contact closure terminals on the device package. When combined with the MODE input, these contact closure inputs provide a total of eight different contact closure functions. These eight contact closure functions are listed in Table 2.
CONTACT CLOSURE INPUTS Table 2
CONTACT INPUT DESCRIPTION
UC0* Up contact potentiometer-0 UC1* Up contact potentiometer-1 DC0* Down contact potentiometer-0 DC1* Down contact potentiometer-1 VU** Volume-up VD** Volume-down
B0** 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.
Stereo Mode Control
Stereo mode control allows for the simultaneous positioning of both potentiometer wipers from a single control input. Stereo mode control is entered when the MODE select input is in a low state at power-up. The functionality available when operating in stereo mode control includes: 1) volume-up, 2) volume­down, 3) balance-0, and 4) balance-1.
Volume Control Inputs
Volume-up and volume-down allow the user to move both wipers either up or down the resistor array without changing the relative balance or distance between the wipers. For example, if potentiometer-0’s wiper is set at position 28 and potentiometer-1’s wiper is set at position 20, the position distance of eight is maintained when using either of these functions. Additionally, the balance between both wipers is preserved if either reaches the end of its resistor array.
Balance Control Inputs
Balance control inputs allow the user to control the distance or offset between potentiometer-0 and potentiometer-1 wiper position settings. The two input controls for balance include B0 and B1. The balance control inputs attempt to minimize their respective wiper’s attenuation. When the DS1802 first receives a balance control input, the position of the wiper closest to the high end terminal, H X , is stored. Wiper position movement is then governed by this stored value.
For example, if the B0 input is used, the attenuation of potentiometer-0 will change only if it is greater than the attenuation of potentiometer-1. The direction of movement for the potentiometer-0 wiper will be towards the high end of the resistor array. Movement of wiper-0 will only stop once its value is equal to that of wiper-1. At this point, continued input activity on the B0 input will cause an increase in attenuation of potentiometer-1. Note that if the wiper of potentiometer-1 peaks at the bottom of its array, continued B0 input activity will cause no change in the wiper positions of the device. A B1 input will be required to change the balance of the two wipers if the potentiometer wiper peaks in this case.
In the case where both wiper positions are at position 63, no movement of the wipers will take place when using the balance controlled inputs. A volume-up control input is required to move the wiper positions from the bottom of the resistor arrays. Balance control operation is presented in Figure 3.
4 of 17
SINGLE PUSHBUTTON CONFIGURATION Figure 2(a)
DUAL PUSHBUTTON CONFI GURATION Figure 2(b)
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)
Single Contact Closure
Single contact closure operation allows the user to control wiper movement in either direction from a single pushbutton input. Figure 2(a), as mentioned, presents a typical single pushbutton configuration.
In independent mode control, the UC0 and UC1 inputs are used to increment and decrement each respective wiper position for single pushbutton mode of operation. The DC0 and DC1 inputs provide no functionality in the single pushbutton configuration but must be connected to the positive supply voltage (VCC). In stereo mode control, the VU and B0 inputs are used to control volume and balance. The VD and B1 inputs provide no functionality in the single pushbutton configuration but must be connected to the
positive supply voltage (VCC). The 3-wire serial port inputs ( RST, CLK, and D) must be ground ed when not used.
On device power-up, the configuration shown in Figure 2(a) must exist in order to enter the single contact closure mode of operation; especially and specifically, the (DC0, DC1, VD, and B1) input’s connection to the positive supply volta ge (VCC).
The direction of wiper movement in single pushbutton operation is determined by prior activity; with the direction of wiper movement being opposite to that of the previous activity.
Changing the direction of wiper movement in single pushbutton configuration is accomplish by a period of inactivity on the controlling input of a (minimum) 1 second or greater. For example, when operating from independent mode control, an inactivity of 1 second or greater on the UC0 input will cause the direction of the potentiometer-0 wiper to reverse. The same is true for the UC1 input. Also, in independent mode control and single pushbutton configuration, as the wiper reaches the end of the potentiometer range its direction of movement reverses. This will occur regardless of whether the input is a continuous pulse, a sequence of repetitive pulses or a single pulse.
In stereo mode control, the VU input is responsible for both directions of wiper movement. Again, a period of inactivity will allow the direction of volume to be reversed. Additionally, if either wiper reaches a peak position, the direction of movement will automatically reverse.
For balance mode control, the B0 input will be responsible for wiper movement. A period of inactivity lasting 1 second or more will cause a switch in balance movement (i.e., balance-0 to balance-1).
6 of 17
Loading...
+ 11 hidden pages