The MAX5440 dual, 40kΩ logarithmic taper volume control features a debounced up/down interface for use
with a simple rotary encoder without using a microcontroller (µC). Each potentiometer has 32 log-spaced tap
points with a buffered wiper output and replaces
mechanical potentiometers. An integrated bias generator provides the required ((VDD+ VSS) / 2) bias voltage,
eliminating the need for costly external op-amp circuits
in unipolar audio applications. A mode-indicator LED
output specifies volume or balance control. Five integrated LED drivers indicate volume level or balance settings, depending on the status of the mode indicator.
The MAX5440 includes debounced pushbutton inputs
for mute and mode. The mute input allows a single
pushbutton to change between volume control and the
-90dB (typ) mute setting. The mode input toggles
between volume and balance control. A click-and-pop
suppression feature minimizes the audible noise generated by wiper transitions. The MAX5440 provides a
nominal temperature coefficient of 35ppm/°C end-toend and 5ppm/°C, ratiometrically. The MAX5440 is
available in a 24-pin SSOP package and is specified for
operation over the -40°C to +85°C extended temperature range.
For price, delivery, and to place orders, please contact Maxim Distribution at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
PARTTEMP RANGEPIN-PACKAGE
MAX5440EAG-40°C to +85°C24 SSOP
TOP VIEW
V
LOGIC
RENCODEB
RENCODEA
2
3
MUTE
4
MODE
SHDN
GND
H0
L0
W0
MIDBIAS
BIAS
MAX5440
5
6
7
8
9
11
12
SSOP
1
24
23
22
21
20
19
18
17
16
1510W1
14
13
GND
MODEIND
LEDIND4
LEDIND3
LEDIND2
LEDIND1
LEDIND0
H1
L1
V
SS
V
DD
MAX5440
Stereo Volume Control
with Rotary Encoder Interface
ABSOLUTE MAXIMUM RATINGS
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
SHDN, MUTE, RENCODEA, RENCODEB,
and MODE to GND............................-0.3V to (V
LOGIC
+ 0.3V)
H_, L_, and W_ to V
SS
...............................-0.3V to (VDD+ 0.3V)
LEDIND_, MODEIND to GND................-0.3V to (V
LOGIC
+ 0.3V)
MIDBIAS, BIAS to V
SS
......................(VSS- 0.3V) to (VDD+ 0.3V)
V
LOGIC
to GND...........................................-0.3V to (VDD+ 0.3V)
V
DD
to GND..............................................................-0.3V to +6V
V
DD
to VSS................................................................-0.3V to +6V
V
SS
to GND...............................................................-3V to +0.3V
Input and Output Latchup Immunity...............................±200mA
, unless otherwise specified. Typical values are at TA= +25°C.) (Note 1)
Note 1: Parameters are 100% production tested at +85°C and limits through temperature are guaranteed by design.
Note 2: The device draws current in excess of the specified supply current when the digital inputs are driven with voltages between
(V
DD
- 0.5V) and (GND + 0.5V). See Digital Supply Current vs. Digital Input Voltage in the
Typical Operating Characteristics
.
Note 3: Shutdown refers to the SHDN input being asserted low. Standby refers to SHDN not being asserted and all I/O inactive.
Note 4: Supply current measured with the wiper position fixed.
8H0Potentiometer 0 High Terminal. H0 and L0 terminals can be reversed.
9L0Potentiometer 0 Low Terminal. L0 and H0 terminals can be reversed.
10W0Potentiometer 0 Wiper Buffered Output
11MIDBIASMidbias Voltage Output. V
12BIASBias Generator Input. Bypass with a 1µF capacitor to system ground.
13V
14V
15W1Potentiometer 1 Wiper Buffered Output
16L1Potentiometer 1 Low Terminal. L1 and H1 terminals can be reversed.
17H1Potentiometer 1 High Terminal. H1 and L1 terminals can be reversed.
18–22
LEDIND0–
LEDIND4
LOGIC
DD
SS
Digital Logic Power Supply. Bypass V
as possible.
Rotary Encoder Input B. With RENCODEA, this input provides the rotary encoder control for the
potentiometer (see Figure 1). RENCODEB is internally pulled up to V
Rotary Encoder Input A. With RENCODEB, this input provides the rotary encoder control for the
potentiometer (see Figure 1). RENCODEA is internally pulled up to V
Mute Input. Pull MUTE low to toggle the wiper between the mute setting (see Table 1) and the current
setting. MUTE is pulled up to V
Volume/Balance Control Input. Each high-to-low transition on MODE toggles between the volume and
balance modes. MODE is pulled high internally with a 45kΩ resistor to V
MAX5440 is in volume-control mode.
Active-Low Shutdown Input. Drive SHDN low to place the device in shutdown mode. In shutdown
mode, the MAX5440 stores the last wipers settings. The wipers move to the L_ end of the resistor
string. Terminating shutdown mode restores the wipers to their previous settings.
MIDBIAS
Analog Power Supply. Bypass VDD to ground with a 0.1µF capacitor as close to the device as
possible.
Negative Power Supply. Bypass VSS to ground with a 0.1µF capacitor as close to the device as
possible. Connect to GND for single-supply operation.
LE D Ind i cator O p en- D r ai n Outp ut 0 thr oug h LE D Ind i cator O p en- D r ai n Outp ut 4. LE D IN D 0–LE D IN D 4 for m a
b ar g r ap h i nd i cati on of the cur r ent vol um e or b al ance. In vol um e m od e, al l LE D s off i nd i cates m ute and al l
LE D s on i nd i cates m axi m um vol um e. In b al anced m od e, LE D 2 on i nd i cates center ed or b al anced .
LOGIC
with an internal 45kΩ resistor.
LOGIC
= (VDD + VSS) / 2.
to ground with a 0.1µF capacitor as close to the device
with a 45kΩ resistor.
LOGIC
with a 45kΩ resistor.
LOGIC
. On power-up, the
LOGIC
Volume-Control/Balance-Control Mode Indicator Open-Drain Output. Connect to an LED through a
23MODEIND
resistor to V
off, the MAX5440 is in volume-control mode.
. When the LED is on, the MAX5440 is in balance-control mode. When the LED is
LOGIC
MAX5440
Stereo Volume Control
with Rotary Encoder Interface
Detailed Description
The MAX5440 dual, 40kΩ logarithmic taper digital
potentiometer features a debounced up/down interface
for use with a simple rotary encoder without using a
microcontroller. Each potentiometer has 32 log-spaced
tap points with a buffered wiper output and replaces
mechanical potentiometers.
Mode Control (
MODE
)
The MAX5440 MODE input toggles between volume
and balance modes. Force MODE low to toggle
between volume and balance modes. For example, driving MODE low once while in volume-control mode
switches the MAX5440 to balance mode. Driving MODE
low again switches the MAX5440 back to volume mode.
MODE is internally pulled high with a 45kΩ resistor to
V
LOGIC
. The MAX5440 powers up in volume-control
mode. Leave unconnected or connect to V
LOGIC
if bal-
ance mode is not required.
Rotary Encoder Interface
The MAX5440 interfaces with rotary encoder switches.
The rotary encoder is a contact closure type switch with
two outputs that connect to RENCODEA and
RENCODEB on the device. As the shaft is rotated,
RENCODEA and RENCODEB produce a gray code
count. Figure 1 shows a typical rotary encoder interface.
State changes trigger a wiper movement and the direction of the count dictates the direction of wiper movement. An increasing gray code count moves the wiper
up to a lower attenuation setting in volume mode and
towards a full right channel (CH1) in balance mode. A
decreasing gray code count moves the wiper down to a
higher attenuation in volume mode and towards a full left
channel (CH0) in balance mode. Both switch inputs are
internally pulled up to V
LOGIC
by internal 45kΩ resistors.
During rapid rotation, the inputs must be stable for at
least 20ms and have separation between state
changes by at least 40ms for the debounce circuitry to
accurately detect the input states.
In volume-control mode, the MAX5440’s wipers move
simultaneously, maintaining the balance separation
between each wiper (Figure 2a).
When either wiper reaches the maximum tap position
(position closest to H_), further commands to increase
the volume are ignored. Balance separation is maintained in the maximum volume configuration (Figure 2b).
When either wiper reaches the minimum tap position
(position closest to L_), further commands to decrease
the volume adjust the other wiper until it also reaches
the minimum tap position (Figure 2c).
Increasing the volume from this minimum position
restores the original balance separation of the wipers
(Figure 2d).
When both wipers are in the tap 31 position (-62dB
attenuation), further decreasing rotations place the
wipers in the mute position (see Table 1). Rotating the
encoder to a lower attenuation or a pulse to MUTE
returns the wipers to tap 31.
Figure 2. Volume-Control Operation
H_
L_
H_
W0
W0W1W0W1W0W1
W1W0
ROTATE CW
TWICE
ROTATE CW
ONCE
BALANCE SEPARATION
W1W0W1
ROTATE CCW
ONCE
a
ROTATE CW
MAINTAINED
NO CHANGE
FROM C
L_
H_
L_
H_
L_
W0W1W0W1W0W1
ROTATE CCW
ONCE
W0W1W0W1W0W1
ROTATE CW
ONCE
b
ROTATE CCW
c
ORIGINAL BALANCE SEPARATION
MAINTAINED
ROTATE CW
ONCE
d
TO D
Balance Control
In balance-control mode, the MAX5440 adjusts the balance between channel 0 and channel 1 while maintaining the set volume. For example, if the volume of
channel 0 equals the volume of channel 1, forcing the
balance towards channel 1 increases the attenuation of
channel 0 (Figure 3a). If channel 1 is at a higher attenuation than channel 0, adjusting the balance to channel
1 moves channel 1’s wiper up to the same wiper position as channel 0 before it was attenuated (Figure 3b).
Click-and-Pop Suppression
The click-and-pop suppression feature reduces the
audible noise (clicks and pops) that results from wiper
transitions. The MAX5440 minimizes this noise by allowing the wiper to change position only when VH= VL.
Each wiper has its own suppression and timeout circuitry. The MAX5440 changes wiper position when V
H
= VL, or after 32ms, whichever occurs first (see Figures
4a and 4b).
The suppression circuitry monitors left and right channels separately. In volume-control mode, when the first
wiper changes position, the second wiper has 32ms to
change or it will be forced to change.
The power-on comparators monitor (VDD- VSS) and
(V
LOGIC
- GND). A power-on reset is initiated when
either of the supplies is brought back to the normal
operating voltage. The power-on reset feature sets both
wipers to -12dB. The wipers initially wake up in mute
mode (-90dB) and move to the -12dB position when V
H
= VLto eliminate clicks and pops during power-up.
With DC inputs at VHand VL, the wipers move after
exceeding the timeout period. A power-on reset places
the MAX5440 in volume-control mode.
Shutdown (
SHDN
)
Upon entering shutdown, the MAX5440 stores the last
wiper settings. The wipers move to the L_ end of the
resistor string. The wipers move to the L_ end of the
resistor string when V
H
= VL to eliminate clicks and pops
during shutdown. With DC inputs at V
H
and VL, the
wipers move after exceeding the timeout period. Exiting
shutdown restores the wipers to their previous settings.
Mute Function (
MUTE
)
The MAX5440 features a mute function input, MUTE.
Successive low pulses on MUTE toggle its setting.
Activating the mute function forces both wipers to maximum attenuation (-90dB typ). Deactivating the mute
function returns the wipers to their previous settings.
Rotating the encoder clockwise (increasing gray code
count) also deactivates mute, setting the wipers to their
previous positions. MUTE is internally pulled high with a
45kΩ resistor to V
LOGIC
. When both wipers are in the
tap 31 position (-62dB attenuation) further commands
to lower the volume (decreasing gray code count)
place the wipers in the mute position (see Table 1).
Rotating the encoder to a lower attenuation or a pulse
to MUTE returns the wipers to tap 31.
Mode Indicator (
MODEIND
)
The open-drain MODEIND indicates volume-control
mode or balance-control mode for the MAX5440.
Connect MODEIND to an LED with a series resistor to
V
LOGIC
. When the LED is on, the MAX5440 is in balancecontrol mode. When the LED is off, the MAX5440 is in
volume-control mode. See the
Mode Control (MODE)
section for more detail on switching between modes.
Level Indicator LEDs
The MAX5440 includes five indicator LED drivers to display the current wiper settings in either volume or balance mode. Connect the LEDIND_ outputs to the LEDs
and to V
LOGIC
through a series resistor as shown in the
typical application circuits.
In volume-control mode, all LEDs are off when the
wipers reach the highest attenuation levels (mute). All
LEDs are on at the lowest attenuation levels (0dB).
Table 2 shows the LED display as the wipers transition
through various attenuation levels.
In balance-control mode, only one LED is on at a time
to indicate the current balance setting. Figure 5 shows
the LEDs display for the current balance setting. When
LED2 is on, the display indicates that the channels are
centered or balanced at a set volume level. Turning the
encoder clockwise (an increasing gray code count)
turns LED3 on to represent a balance shift towards
channel 1. When LED4 turns on, the balance shifts
completely toward channel 1 and channel 0 is fully
attenuated. From a balanced position, turning the
encoder counterclockwise (a decreasing gray code
count) turns on LED1, and then LED0 to indicate a balance shift towards channel 0.
Stereo Volume Control
with Rotary Encoder Interface
The MAX5440 does not respond to simultaneous button
pushes. Pushing more than one button at the same
time stops the wipers in their present states. Only a single button push configures the device.
Applications Information
Typical Application Circuit
The
Typical Operating Circuit
shows the MAX5440 in a
typical volume/balance application using a single-supply configuration. Figure 6 shows a typical volume/balance application circuit using the MAX5440 in a
dual-supply configuration. The MAX5440 does not
require external op amps because the bias is generated internally, and the wipers have internal low-power
buffers for low distortion. Connect the W_ outputs of the
MAX5440 to the left and right inputs of a stereo audio
amplifier, such as the MAX9761. The rotary encoder
controls the potentiometer attenuation levels without
using a microcontroller. Use the MODE input to switch
between volume-control and balance-control modes.
Chip Information
PROCESS: BiCMOS
Stereo Volume Control
with Rotary Encoder Interface
For the latest package outline information and land patterns, go
to www.maxim-ic.com/packages
.
PACKAGE TYPEPACKAGE CODEDOCUMENT NO.
24 SSOPA24-1
21-0056
V
LOGIC
MAX5440
H0
0
1
2
3
4
W0
28
SHDN
MODEIND
BIAS
CLICK-AND-POP
SUPPRESSION
CIRCUITRY
POSITION COUNTERPOSITION COUNTER
UP/DOWNUP/DOWN
VDDV
BIAS GENERATOR
SS
CLICK-AND-POP
SUPPRESSION
MIDBIAS
CIRCUITRY
LEDIND0
LEDIND1
LEDIND2
LEDIND4
LEDIND3
H1
0
1
2
3
4
W1
28
29
30
DEBOUNCEDEBOUNCEDEBOUNCEDEBOUNCEDEBOUNCE
31
45kΩ45kΩ45kΩ45kΩ
L0
MUTE
GND
RENCODEARENCODEBMUTE
TIMING AND CONTROL
MODE
29
30
MUTE
31
L1
V
LOGIC
MAX5440
Stereo Volume Control
with Rotary Encoder Interface
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
16
____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600