An external RC network, shown in Figure 3, is required to en-
able the effect. The amount of the effect is set by the 20 kΩ
resistor. A 0.1 µF capacitor is used to reduce the effect at fre-
quencies below 80 Hz. Decreasing the resistor size will
make the 3D effect more pronounced and decreasing the ca-
pacitor size will raise the cutoff frequency for the effect.
Application Information (Continued)
I2C INTERFACE
The LM4832 uses a serial bus, which conforms to the I2C
protocol, to control the chip’s functions with two wires: clock
and data. The clock line is uni-directional. The data line is bi-
directional(open-collector) with a pullup resistor (typically
10 kΩ).The maximum clock frequency specified by the I2C
standard is 400 kHz. In this discussion, the master is the
controlling microcontroller and the slave is the LM4832.
The 680 kΩ resistor across the 0.1 µF capacitor reduces
switching noise by discharging the capacitor when the effect
is not in use.
The I2C address for the LM4832 is determined using the Ad-
dress Bit 1 and Address Bit 2 TTL/CMOS inputs on the chip.
The LM4832’s four possible I2C chip addresses are of the
form 10000X2X10 (binary), where the X2 and X1bits are de-
termined by the voltage levels at the Address Bit 2 and Ad-
dress Bit 1 pins, respectively. If the I2C interface is used to
address a number of chips in a system and the LM4832’s
chip address can be changed to avoid address conflicts.
DS100014-28
The timing diagram for the I2C is shown in Figure 2. The data
is latched in on the stable high level of the clock and the data
line should be held high when not in use. The timing diagram
is broken up into six major sections:
FIGURE 5. 3D Effect Components
TONE CONTROL RESPONSE
Bass and treble tone controls are included in the LM4832.
The tone controls use two external capacitors for each ste-
reo channel. Each has a corner frequency determined by the
value of C2 and C3 (see Figure 4) and internal resistors in
the feedback loop of the internal tone amplifier.
The “start” signal is generated by lowering the data signal
while the clock signal is high. The start signal will alert all de-
vices attached to the I2C bus to check the incoming address
against their own chip address.
Typically, C2 = C3 and for 100 Hz and 10 kHz corner fre-
quencies, C2 = C3 = 0.0082 µF. Altering the ratio between
C2 and C3, changes the midrange gain. For example, if C2
= 2(C3), then the frequency response will be flat at 20 Hz
and 20 kHz, but will have a 6 dB peak at 1 kHz.
The 8-bit chip address is sent next, most significant bit first.
Each address bit must be stable while the clock level is high.
After the last bit of the address is sent, the master checks for
the LM4832’s acknowledge. The master releases the data
line high (through a pullup resistor). Then the master sends
a clock pulse. If the LM4832 has received the address cor-
rectly, then it holds the data line low during the clock pulse.
If the data line is not low, then the master should send a
“stop” signal (discussed later) and abort the transfer.
With C = C2 = C3, the treble turn-over frequency is nominally
fTT = 1/(2πC(14 kΩ))
and the bass turn-over frequency is nominally
fBT = 1/(2πC(30.4 kΩ)),
The 8 bits of data are sent next, most significant bit first.
Each data bit should be valid while the clock level is stable
high.
when maximum boost is chosen. The inflection points (the
frequencies where the boost or cut is within 3 dB of the final
value) are, for treble and bass respectively,
After the data byte is sent, the master must generate another
acknowledge to see if the LM4832 received the data.
fTI = 1/(2πC(1.9 kΩ))
fBI = 1/(2πC(169.6 kΩ))
If the master has more data bytes to send to the LM4832,
then the master can repeat the previous two steps until all
data bytes have been sent.
Increasing the values of C2 and C3 decreases the turnover
and inflection frequencies: i.e., the Tone Control Response
Curves shown in Typical Performance Section will shift left
when C2 and C3 are increased and shift right when C2 and
C3 are decreased. With C2 = C3 = 0.0082 µF, 2 dB steps are
achieved at 100 Hz and 10 kHz. Changing C2 and C3 to
0.01 µF shifts the 2 dB step frequency to 72 Hz and 8.3
kHz.If the tone control capacitors’ size is decreased these
frequencies will increase.With C2 = C3 = 0.0068 µF the 2 dB
steps take place at 130 Hz and 11.2 kHz.
The “stop” signal ends the transfer. To signal “stop”, the data
signal goes high while the clock signal is high.
3D AUDIO ENHANCEMENT
The LM4832 has a 3D audio enhancement effect that helps
improve the apparent stereo channel separation when, be-
cause of cabinet or equipment limitations, the left and right
speakers are closer to each other than optimal.
www.national.com
14