
P95020 / Preliminary Datasheet
Revision 0.7.10
32
2010 Integrated Device Technology, Inc.
2.12
AUDIO - CLASS-D BTL AMPLIFIER
P95020 implements a digital Class-D 2.5W (4
) BTL amplifier which supports both 8 and 4 loads. Gain for the BTL
amplifier is programmable from -91 dB to +36 dB in 0.5 dB steps using the Volume 0/1 registers. Gain changes and mute
may be applied immediately, on zero crossing or ramped from the current to target value slowly. These settings are
controlled using the Gain Control HI/LO registers.
2.12.1 AUDIO - EQ
There are 5 bands of parametric EQ (bi-quad) per channel. Due to the flexibility of the bi-quad implementation, each filter
band may be configured as a high-pass, low-pass, band-pass, high shelving, low shelving or other function.
Each band has an independent set of coefficients. A bi-quad filter has 6 coefficients. One coefficient is normalized to 1
and 5 are programmed into the core. Each band supports up to +15 dB boost or up to -36 dB cut.
2.12.2 AUDIO - Coefficients
The following equations describe each filter band. The fundamental equation is a bi-quadratic of the form:
2
1
2
1
2
1
0
2
1
0
)
(
z
a
z
a
z
b
z
b
z
H
Rearranging slightly we can see that normalizing a0 or b0 can reduce the number of stored coefficients.
2
1
2
1
0
2
0
1
0
2
0
1
0
)
(
z
a
z
a
z
b
z
b
a
b
z
H
Implementation generally takes the form:
2
0
2
1
0
1
2
0
2
1
0
1
0
n
y
a
n
y
a
n
x
a
b
n
x
a
b
n
x
a
b
n
y
It can be seen that 5 coefficients are needed, and if a0 is set to 1 then only b0, b1, b2, a1, and a2 are needed. To
compensate for the total gain realized from all 5 bands the EQ amplitude is adjusted to prevent saturation. Each channel
has an inverse gain coefficient that is used to compensate for the gain in the EQ bands. So, for 5 bands/channel with 5
coefficients/band + inverse gain/channel, there are a total of 52 values needed.
These values are pre-calculated and programmed into RAM before use. The default values should be benign such as an
all-pass implementation, but it is permissible to implement other transfer functions.
2.12.3 AUDIO - Software Requirements
The EQ must be programmed before enabling (bypass turned off). {Coefficients are random at power-on.}
When changing coefficients, the EQ must be bypassed before programming. Muting the path is not sufficient and may not
prevent issues. Changing coefficients while the filter is in use may cause stability issues, clicks and pops, or other
problems.
All coefficients are calculated by software. Software must verify amplifier stability. Programming incorrect coefficients can
cause oscillation, clipping, or other undesirable effects. After calculating coefficients, software must calculate the inverse
gain (normalize the response) for each channel (Left and Right) to prevent saturation or inadequate output levels. All
values are then either programmed directly into the device or stored in a table for use in a configuration file or firmware.
2.13
AUDIO CLASS_D - REGISTERS
The Audio Class-D Module can be controlled and monitored by writing 8-bit control words to the various Registers.
The Base addresses are defined in Table 3 – Register Address Global Mapping on page
20. 2.13.1 AUDIO CLASS_D
– RESERVED Registers
These registers are reserved. Do not write to them.