The TFA9812 is a high-efficiency Bridge Tied Load (BTL) stereo Class-D audio amplifier
with a digital I2S audio input. It is available in a HVQFN48 package with exposed die
paddle. The exposed die paddle technology enhances the thermal and electrical
performances of the device.
The TFA9812 features digital sound processing and audio poweramplification.Itsupports
I2C control mode and Legacy mode. In Legacy mode I2C involvement is not needed
because the key features are controlled by hardware pin connections.
2.Features
2.1 General features
A continuous time output power of 2 × 12W(RL=8Ω,V
an external heat sink. Due to the implementation of a programmable thermal foldback
even for high supply voltages, higher ambient temperatures, and/or lower load
impedances, the device operates without sound interrupting behavior.
TFA9812 is designed in such a way that it starts up easily (no special power-up sequence
required). It features various soft and hard impact protection mechanisms to ensure an
application that is both user friendly and robust.
A modulation technique is applied for the TFA9812, which supports common mode choke
approach (1 common mode choke only per BTL amplifier stage). This minimizes the
number of external components.
n 3.3 V and 8 V to 20 V external power supply
n High efficiency and low power dissipation
n Speaker outputs fully short circuit proof across load, to supply lines and ground
n Pop noise free at power-up/power-down and sample rate switching
n Low power Sleep mode
n Overvoltage and undervoltage protection on the 8 V to 20 V power supply
n Undervoltage protection on the 3.3 V power supply
n Overcurrent protection (no audible interruptions)
n Overdissipation protection
n Thermally protected and programmable thermal foldback
n Clock error protection
n I2C mode control or Legacy mode (i.e. no I2C) control
n Four different I2C addresses supported
n Internal Phase-Locked Loop (PLL) without using external components
= 15 V) is supported without
DDP
NXP Semiconductors
n No high system clock required (PLL is able to lock on BCK)
n No external heat sink required
n 5 V tolerant digital inputs
n Supports dual coil inductor application
n Easy application and limited external components required
2.2 DSP features
n Digital parametric 10-band equalizer
n Digital volume control per channel
n Selectable +24 dB gain boost
n Analog interface to digital volume control in Legacy mode
n Digital clip level control
n Soft and hard mute
n Thermal foldback threshold temperature control
n De-emphasis
n Output power limiting control
n Polarity switch
n Four Pulse Width Modulation (PWM) switching frequency settings
TFA9812
BTL stereo Class-D audio amplifier with I2S input
2.3 Audio data input interface format support
n Master or slave Master Clock (MCLK), Bit Clock (BCK) and Word Select (WS) signals
n Philips I2S, standard I2S
n Japanese I2S, Most Significant Bit (MSB) justified
n Sony I2S, Least Significant Bit (LSB) justified
n Sample rates from 8 kHz to 192 kHz
3.Applications
n Digital-in Class-D audio amplifier applications
n CRT and flat-panel television sets
n Flat-panel monitors
n Multimedia systems
n Wireless speakers
n Docking stations for MP3 players
Preliminary data sheetRev. 02 — 22 January 20094 of 66
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
PNegative power supply voltage for channel 1 and channel 2
PNegative power supply voltage for channel 1 and channel 2
28STAB1ODecoupling of internal 11 V regulator for channel 1 drivers
29DIAGOFault mode indication output (open-drain pin)
30CDELAYITiming reference
31POWERUPIPower-up pin to switch betweenSleep and other operational
modes
32AVOLIAnalog volume control (Legacy mode)
33ENABLEIEnable input to switch between 3-state and other
operational modes
34GAINIGain selection input to select between 0 dB and +24 dB
gain (Legacy mode)
35CSELIControl selection input to select between Legacy mode
2
C bus control) and I2C bus control
(no I
2
36ADSEL2/PLIM2 IAddress selection in I
C mode input 2, power limiter
selection input 2 in Legacy mode
2
37ADSEL1/PLIM1 IAddress selection in I
C mode input 1, power limiter
selection input 1 in Legacy mode
2
38SCL/SFORII
C bus clock input in I2C mode, I2S serial data format
selection input in Legacy mode
2
39SDA/MSI/OI
C bus data input and output in I2C mode, master/slave
selection input in Legacy mode
40V
DDD(3V3)
PDigital supply voltage (3.3 V)
41STABDO1.8 V digital stabilizer output
42REFDPDigital reference voltage
43TEST2ITest signal input 2; for test purposes only (connect to V
2
44DATAII
45WSI/OI
S bus data input
2
S bus word select input (I2S slave mode) or output (I2S
SS
master mode)
2
46BCKI/OI
S bus bit clock input (I2S slave mode) or output (I2S
Preliminary data sheetRev. 02 — 22 January 20097 of 66
NXP Semiconductors
TFA9812
BTL stereo Class-D audio amplifier with I2S input
Table 3.Pinning description TFA9812
PinSymbolType Description
47MCLKI/OMaster clock input (I2S slave mode) or output (I2S master
48V
Exposed
die-paddle
SS2
-PPCB ground reference
8.Functional description
8.1 General
The TFA9812 is a high-efficiency stereo BTL Class-D amplifier with a digital I2S audio
input. It supports all commonly used I2S formats.
Figure 1 shows the functional block diagram, which includes the key function blocks of the
TFA9812. In the digital domain the audio signal is processed and converted to a pulse
width modulated signal using BD modulation. A BTL configured power comparator carries
out power amplification.
The audio signal processing path is as follows:
1. The Digital Audio Input (DAI) block translates the I2S (-like) input signal into a
standard internal stereo audio stream.
2. The 10-band parametric equalizer can optionally equalize the stereo audio stream.
Both channels have separate equalization streams. It can be used forspeaker transfer
curve compensation to optimize the audio performance of applied speakers.
3. Volume control in the TFA9812 is done by attenuation. The attenuation depends on
the volume control settings and the thermal foldbackvalue. Soft mute is also arranged
at this part. In Legacy mode the volume control is done by an on-board
Analog-to-Digital Converter (ADC) which measures the analog voltage on pin 32.
4. The interpolation filter interpolates from 1 fs to the PWM controller sample rate
(2048 fs at 44.1 kHz) by cascading FIR filters.
5. The gain block can boost the signal with 0 dB or +24 dB. Four specific gain settings
are also provided in this block. These specific gain settings are related to maximum
clip levels of < 0.5 %, 10 %, 20 % or 30 % THD at the TFA9812 output. These
maximum clip levels are only valid with the gain boost set to 0 dB and a 0 dBFS input
signal.
6. The power limiter limits the maximum output signal of the TFA9812. The power limiter
settings are 0 dB, −1.5 dB, −3 dB, and −4.5 dB. This function can be used to reduce
the maximum output power delivered to the speakers at a fixed supply voltage and
speaker impedance.
7. The PWM controller block transforms the audio signal into a BD-modulated PWM
signal. The BD-modulation provides a high signal-to-noise performance and
eliminates clock jitter noise.
8. Via four differential comparators the PWM signals are amplified by two BTL power
output stages. By default the left audio signal is connected to channel 1 and the right
audio signal to channel 2.
Preliminary data sheetRev. 02 — 22 January 20098 of 66
NXP Semiconductors
The block control defines the operational control settings of the TFA9812 in line with the
actual I2C settings and the pin-controlled settings.
The PLL block creates the system clock and can take the I2S BCK, the MCLK or an
external crystal as reference source.
The following protections are built into the TFA9812:
• Thermal Foldback (TF)
• OverTemperature Protection (OTP)
• OverCurrent Protection (OCP)
• OverVoltage Protection (OVP)
• UnderVoltage Protection (UVP)
• Window Protection (WP)
• Lock Protection (LP)
• UnderFrequency Protection (UFP)
• OverFrequency Protection (OFP)
• Invalid BCK Protection (IBP)
• DC-blocking
• ElectroStatic Discharge (ESD)
TFA9812
BTL stereo Class-D audio amplifier with I2S input
8.2 Functional modes
8.2.1 Control modes
The two control modes of the TFA9812 are I2C and legacy.
2
• In I
C mode the I2C format control is enabled.
• In Legacy mode a pin-based subset of the control options is available. The control
settings for features which are not available in Legacy mode are set to the default I2C
register settings.
The control mode is selected via pin CSEL as shown in Table 4.
Table 4.Control mode selection
CSEL Pin valueControl mode
0Legacy (no I
2
1I
In the functional descriptions below the control for the various functions will be described
for each control mode. Section 9.6 summarizes the support given by each control mode
for the various TFA9812 functions.
8.2.2 Key operating modes
There are six key operating modes:
C
2
C)
• InSleep mode the voltage supplies are present, but power consumption for the whole
device is reduced to the minimum level. The output stages in Sleep mode are 3-state
and I2C communication is disabled.
Preliminary data sheetRev. 02 — 22 January 20099 of 66
NXP Semiconductors
TFA9812
BTL stereo Class-D audio amplifier with I2S input
• In Soft mute mode the I
2
S input signal is overruled with a soft mute.
– In Legacy control mode the analog input pin AVOL controls Soft mute mode.
– In I2C control mode I2C control can be used to enable an automatic soft mute
function. See also Section 8.5.3.
• In Hard mute mode the PWM controller is overruled with a 50 % duty cycle square
pulse. The Hard mute mode is only available in I2C control mode.
• In Operating mode the TFA9812 amplifies the I
2
S audio input signal in line with the
actual control setting.
• In 3-state mode the output stages are switched off.
• Fault mode is entered when a fault condition is detected by one or more of the
protection mechanisms implemented in the TFA9812. In Fault mode the actual device
configuration depends on the fault detected: see Section 8.7 for more information.
Fault mode is for a subset of the faults flagged on the DIAG output pin. When the
DIAG pin is flagged the output stages will be forced to enter 3-state mode. In Sleep
mode the DIAG pin will not flag fault modes.
Table 5.Operational mode selection
Pin:DIAG OutputOperational mode
selected:
POWERUP ENABLECSELAVOL
0---floatingSleep mode
1---0 / floatingFault mode (enabled by
[1] Clocking faults do not trigger DIAG output.
[2] Under these conditions soft mute still has to be enabled by the appropriate I2C setting.
8.2.3 I2S master/slave modes and MCLK/BCK clock modes
The I2S interface can be set in master or in slave.
2
• In I
S master mode the PLL locks to the output signal of the internal crystal oscillator
circuit which uses an external crystal. The BCK, WS and MCLK signals are generated
by the TFA9812. On the MCLK pin the TFA9812 delivers a master clock running at the
crystal frequency.
2
• In I
S slave mode the PLL can lock to:
– The external MCLK signal on the MCLK pin called MCLK clock mode.
– The I2S input BCK signal on the BCK pin called BCK clock mode.
The I2S master or slave mode can be selected:
2
• In I
C control mode by selecting the right I2C setting.
• In legacy control mode by selecting the right setting on the SDA/MS pin.
Preliminary data sheetRev. 02 — 22 January 200910 of 66
NXP Semiconductors
Table 6.I2S master/slave mode selection
Pin valueClock modeI2S mode
CSELSDA/MS
00legacyslave
01legacymaster
1- I
[1] Under these conditions the mode is enabled by the appropriate I2C setting.
In I2S slave mode selection between BCK and MCLK clock modes is automatic.
MCLK clock mode is given higher priority than BCK. If the MCLK clock is judged valid by
the protection circuit then MCLK clock mode is enabled. BCK clock mode is enabled when
the MCLK clock is invalid (e.g. not available) and the BCK clock is judged valid by the
protection circuit (see Section 8.7.11).
Table 7 shows the supported crystal frequencies in I2S master mode.
Table 8 shows the supported MCLK frequencies in MCLK mode (I2S slave mode).
TFA9812
BTL stereo Class-D audio amplifier with I2S input
2
Cslave or master
[1]
Table 9 shows the supported BCK frequencies in BCK mode (I2S slave mode).
Table 7.Valid crystal frequencies in I2S master mode
Preliminary data sheetRev. 02 — 22 January 200913 of 66
NXP Semiconductors
In I2C control mode communication is enabled after 4 ms. The preferred I2C settings can
be made within 66 ms before the PLL starts running. Finally, the output stages are
enabled and the audio level is increased via a demute sequence if mute has previously
been disabled.
Remark: In I2C mode soft mute is enabled by default. It can be disabled at any time while
I2C communication is valid. In order to prevent audio clicks volume control (default setting
is 0 dB) should be set before soft mute is disabled.
Remark: For a proper start-up in I2S master mode and I2C mode the following sequence
should be followed:
1. The I2S master setting should be set and keep the default sample rate setting active.
2. Next, another sample rate setting than the default one should be selected.
3. Finally, when the default sample rate is used the default sample rate setting should be
8.3.2 Power-down
Figure 3 includes the power-down timing while Table 11 shows the pin control for enabling
power-down.
TFA9812
BTL stereo Class-D audio amplifier with I2S input
selected again.
Table 11. Power-up/power-down selection
Power-up pin
value
0Power-down (Sleep mode)
1Power-up
Description
Putting the TFA9812 into power-down is equivalent to enabling Sleep mode
(see Section 8.2.2). This mode is entered immediately and no additional clock cycles are
required.
In order to prevent audible clicks, soft mute should be enabled at least T
d(soft_mute)
seconds before enabling Sleep mode.
The specified low current and power conditions in Table 1 are valid within 10 µs after
enabling Sleep mode.
8.4 Digital audio data input
8.4.1 Digital audio data format support
The TFA9812 supports a commonly used range of I2S and I2S-like digital audio data input
formats. These are listed in Table 12.
Table 12. Supported digital audio data formats
BCK frequency Interface format (MSB first)Supported in I2C
Preliminary data sheetRev. 02 — 22 January 200914 of 66
I2S up to 16-bit datayesyes
MSB-justified 16-bit datayesyes
LSB-justified 16-bit datayesyes
I2S up to 24-bit datayesyes
MSB-justified up to 24-bit datayesyes
Supported in Legacy
control mode
NXP Semiconductors
Table 12. Supported digital audio data formats
BCK frequency Interface format (MSB first)Supported in I2C
48 f
48 f
48 f
48 f
64 f
64 f
64 f
64 f
64 f
64 f
Remark: Only MSB-first formats are supported.
TFA9812
BTL stereo Class-D audio amplifier with I2S input
Supported in Legacy
control mode
s
s
s
s
s
s
s
s
s
s
LSB-justified 16-bit datayesno
LSB-justified 18-bit datayesno
LSB-justified 20-bit datayesno
LSB-justified 24-bit datayesyes
I2S up to 24-bit datayesyes
MSB-justified up to 24-bit datayesyes
LSB-justified 16-bit datayesno
LSB-justified 18-bit datayesno
LSB-justified 20-bit datayesno
LSB-justified 24-bit datayesno
Preliminary data sheetRev. 02 — 22 January 200915 of 66
NXP Semiconductors
In I2C control mode the following sample frequency fs can be used: 8 kHz, 11.025 kHz,
12 kHz, 16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz, 48 kHz, 64 kHz, 88.2 kHz, 96 kHz,
128 kHz, 176.4 kHz or 192 kHz. The I2C control for fs selection can be found in
Section 9.5.7.
In Legacy control mode the following sample frequencies (fs) can be used: 32 kHz,
44.1 kHz or 48 kHz.
8.4.2 Digital audio data format control
The BCK-to-WS and MCLK-to-WS frequency ratios are automatically detected, so no
control settings need to be configured for these.
In I2C control mode all the formats listed in Table 12 are supported. The appropriate I2C
controls for selecting the supported formats can be found in Section 9. In the Legacy
control mode only a subset of the supported formats can be used. These are shown in
Table 12 and the required pin control is given in Table 13.
See Section 8.2.1 for details of how to enable Legacy control mode.
Table 13. Digital audio data format selection in Legacy control mode
SCL/SFOR pin valueInterface formats (MSB-first)
0I
1MSB-justified
TFA9812
BTL stereo Class-D audio amplifier with I2S input
2
S
8.5 Digital signal-processing features
8.5.1 Equalizer
8.5.1.1 Equalizer options
The equalizer function can be bypassed and the equalizer can be configured to either a
5-band or 10-band function. These settings are for both audio channels simultaneously.
There are 20 bands in the equalizer. These are distributed as follows:
• Bands A1 to A5 are bands 1 to 5 of output 1 (used in 5-band and 10-band
configuration).
• Bands B1 to B5 are bands 1 to 5 of output 2 (used in 5-band and 10-band
configuration).
• Bands C1 to C5 are bands 6 to 10 of output 1 (used in 10-band configuration only).
• Bands D1 to D5 are bands 6 to 10 of output 2 (used in 10-band configuration only).
In I2C control mode each band can be configured separately using I2C register settings.
In Legacy control mode the equalizer is bypassed.
8.5.1.2 Equalizer band function
The shape of each parametric equalizer band is determined by the three filter parameters:
Preliminary data sheetRev. 02 — 22 January 200916 of 66
NXP Semiconductors
In the above equation fcis the center frequency and fs is the sample frequency.
The definition of the quality factor is the center frequency divided by the 3 dB bandwidth,
see Equation 1. In parametric equalizers this is only valid when the gain is set very small
(−30 dB).
Q
Each band filter can be programmed to perform a band-suppression (G < 1) or a
band-amplification (G > 1) function around the center frequency.
Each band of the TFA9812 equalizer has a second-order Regalia-Mitra all-pass filter
structure. The structure is shown in Figure 5.
f
c
-----------------
f2f1–
;=
f1:20
f2:20
BTL stereo Class-D audio amplifier with I2S input
A
10
10
f
1
log3dB fcf1>=
--------
A
f
c
A
f
2
log3dB f2fc>,=
--------
A
f
c
TFA9812
(1)
s
X(z)
A(z)
Fig 5.Regalia filter flow-diagram
+
+
−
½
+
K0/2
Y(z)
010aaa406
The transfer function of this all-pass filter is shown in Equation 2:
Hz() 12⁄1Az()+()K02⁄1Az()–()⋅+⋅=
A(z) is the second-order filter structure. The transfer function of A(z) is shown in
Preliminary data sheetRev. 02 — 22 January 200917 of 66
NXP Semiconductors
TFA9812
BTL stereo Class-D audio amplifier with I2S input
K0G=
K
1
K
2Qωsin–()2Qωsin+()⁄=
2
ωcos–=
G1≥
The ranges of the TFA9812 parametric equalizer settings for each band are:
• The Gain, G is from −30 dB to +12 dB.
• The center frequency, f
is from 0.0004 * fs to 0.49 * fs.
c
• The quality factor Q is from 0.001 to 8.
Using I2C control, filter coefficients need to be entered for each filter stage to configure it
as desired.
Figure 6, Figure 7 and Figure 8 show some of the possible transfer functions of the
equalizer bands. The relations are symmetrical for the suppression and amplification
functions. A skewing effect can be observed for the higher frequencies.
Different configurations are available for the same filter transfer function, thus allowing
optimum numerical noise performance. The binary filter configuration parameters t1and t
control the actual configuration and should be chosen according to Equation 6.
0ω<=π 2⁄
t
=
1ω>π 2⁄
1
0k2>=0
1k2<0
=
t
2
(5)
2
(6)
A maximum of 12 dB amplification per equalizer stage can be achievedwith respect to the
input signal. Each band of the equalizer is provided with a −6 dB amplification, so in order
to prevent numerical clipping for some filter settings with over 6 dB of amplification, band
filters can be scaled by 0 dB or −6 dB. For optimum numerical noise performance steps of
−6 dB amplification should be applied to the highest possible sections that are still within
scale signal processing safeguards. Band filters can be scaled with the binary parameters
listed in Table 14.
Table 14. Equalizer scale factor coding
sscale factor (dB)
00
1−6
8.5.1.3 Equalizer band control
For compact representation with positive signed parameters, parameters k1’ and k2’ are
introduced in Equation 7.
The parameters k0, k1', k2', t1, t2 and s must be combined in two 16-bit control words,
word1 and word2, and must fit within the representation given in Table 15. Parameters k1'
and k2' are unsigned floating-point representations in Equation 8.
Preliminary data sheetRev. 02 — 22 January 200918 of 66
NXP Semiconductors
k1′
k2′
1k
–t11=
=
1k
+t
1k
–t20=
=
1k
+t
TFA9812
BTL stereo Class-D audio amplifier with I2S input
1
1
2
2
0=
1
(7)
1=
2
kxM2E–⋅
=
M1<
In Equation 8, M is the unsigned mantissa and E the negative signed exponent. For
example, in word2 bits [14:8] = [0111 010] represent k2' = (7/24) × 2−2 = 1.09375 10−1.
Table 15. Equalizer control word construction
WordSectionData
word115t
1
word1[14:4]11 mantissa bits of k1’
word1[3:0]Four exponent bits of k
word215t
2
’
1
word2[14:11]Four mantissa bits of k2’
word2[10:8]Three exponents bits of k
word2[7:1]k
0
’
2
word20s
Section 9.5.4 shows the I2C address locations of the controls for various bands of the
equalizer.
010aaa222
Gain
(dB)
12
8
Q1 = 0.27
Q2 = 0.61
Q3 = 1.65
(8)
4
0
1
10
2
10
3
10
4
10
Frequency (Hz)
5
10
Fig 6.Transfer functions for several quality factors Q
Preliminary data sheetRev. 02 — 22 January 200919 of 66
NXP Semiconductors
TFA9812
BTL stereo Class-D audio amplifier with I2S input
12
Gain
(dB)
8
4
0
1
10
2
10
3
10
Fig 7.Transfer functions for several center frequencies f
12
Gain
(dB)
6
10
c
4
Frequency (Hz)
010aaa223
010aaa224
5
10
0
-6
-12
1
10
Fig 8.Transfer functions for several gain factors G
8.5.2 Digital volume control
In I2C control mode both audio channels have separate digital volume control. In Legacy
control mode the volume control of both channels is common and the volume control
setting depends on the supply voltage on the pin AVOL (32).
8-bit volume control is availableper channel. This is dB-linear down to −124 dB in steps of
0.5 dB. The last step of the volume control is mute.
Table 16 shows the various settings and their related channel suppression:
Preliminary data sheetRev. 02 — 22 January 200920 of 66
NXP Semiconductors
Table 16. Volume control channel suppression table
[7:0] control value (hexadecimal)Gain (dB)
000
01−0.5
...steps of 0.5 dB
F7−123.5
F8−124
F9mute
Section 9 shows the I2C address locations for the digital gain control for both channels.
In Legacy mode the pin AVOL (32) can be used to control the volume.
Voltage levels of 0.8 V to 2.8 V correspond linearly to control values of 00h (0 dB) to F9h
(mute). See Table 16.
TFA9812
BTL stereo Class-D audio amplifier with I2S input
An external pull-up resistor connected to the V
DDD(3V3)
volume of 0 dB. Pin AVOL has no function in I2C mode.
8.5.3 Soft mute and mute
Soft mute is available in I2C and in Legacy control modes: hard mute can be enabled only
in I2C control mode.
In I2C control mode the soft mute function smoothly reduces the gain setting for both
channels to mute level over a duration of 128/fs seconds. The smooth shape is
implemented as a raised cosine function. Soft demute results in a similar gain increase.
This implementation avoids audible plops.
A differentsoft mute and soft demute function is implemented in Legacy mode. This works
via the analog gain control under the control of pin AVOL. The analog volumecontrol input
signal is first-order low-pass filtered with a time constant of 10 ms in the digital domain.
Suddenly switching on or switching off volume by setting the control voltage to
> 2.8 Vor < 0.8 V respectively will result in a fading which lasts approximately 15 ms
(switching between 0 V and 3.3 V at AVOL).
In Legacy mode the soft demute function that is part of the automatic power-up sequence
is similar to the I2C mode soft demute function described above. The I2C control for the
soft and hard mute functions can be found In Section 9.
8.5.4 Output signal and word-select polarity control
can be applied to provide a default
In I2C control mode the TFA9812 can switch the polarity of the stereo output signal. The
effect is a 180 degree phase shift of both output signals.
The TFA9812 also has the option of switching the polarity of the WS signal. Without
polarity inversion the left audio signal is connected to channel 1 and the right audio signal
is connected to channel 2.
The I2C control for the polarity switch can be found in Section 9.5.1.
8.5.5 Gain boost and clip level control
An additional gain boost of +24 dB can be selected in the TFA9812. In Legacy mode this
feature can be selected with the GAIN pin, see Table 17.
Preliminary data sheetRev. 02 — 22 January 200921 of 66
NXP Semiconductors
Table 17. GAIN pin functionality
GAIN pin valueFunction
00 dB gain
1+24 dB gain
The I2C controls for selecting the +24 dB gain can be found in Section 9.5.6. The GAIN
pin has no function In I2C mode.
The TFA9812 featuresalso specific gain settings which are related to < 0.5 %, 10 %, 20 %
or 30 % clipping at the output of the TFA9812. These clipping values are only valid under
the following conditions:
• The volume control is set to 0 dB.
• The gain boost is set to 0 dB.
• A 0 dBFs I
The I2C controls for selecting a specific clip level can be found in Section 9.5.6. In Legacy
mode the clip level is set to 10 %.
BTL stereo Class-D audio amplifier with I2S input
2
S input signal is obtained.
TFA9812
8.5.6 Output power limiter
Output power can be limited to three discrete levels with respect to the maximum power.
The maximum power output value is determined by the value of the high voltage supply.
Clipping levels (see Section 8.5.5) still apply to the maximum levels of reduced output
voltage swings.
In I2C control mode the same output power limiting levels can be selected, see
Section 9.5.6. In Legacy control mode two pins can be used to select the output power
limit level as shown in Table 18.
Table 18. Legacy mode output power limiter control
Pin valueFunction
ADSEL2/PLIM2ADSEL1/PLIM1
00Maximum power
01Maximum power − 1.5 dB
10Maximum power − 3.0 dB
11Maximum power − 4.5 dB
8.5.7 PWM control for performance improvement
The PWM switching frequency of the TFA9812 is dependent on:
• The sampling frequency, f
• The sampling frequency setting, f
• The PWM switching frequency setting, f
.
s
(selected) (see Section 9.5.7).
s
(selected) (see Section 9.5.6).
sw
Equation 9 shows the relationship between these settings and the PWM carrier
Preliminary data sheetRev. 02 — 22 January 200922 of 66
s
----------------------------
f
s selected)()
f
⋅=
sw selected()
(9)
NXP Semiconductors
The selected PWM switching frequency is 400 kHz by default and can be set to 350 kHz,
700 kHz and 750 kHz in I2C control mode. In Legacy mode 400 kHz is the only option and
this scales linearly if 32 kHz or 48 kHz is used as fs.
Remark: The selected sample frequency, fs (selected) must be equal to the sample
frequency (fs) in I2C control mode.
Remark: The performance of AM radio reception can sometimes be improved by
selecting non-interfering frequencies for the PWM signal.
8.6 Class-D amplification
The Class-D power amplification of the PWM signal is carried out in two BTL power
stages. The output signal voltage level is determined by the values on the V
The power amplifiers can be explicitly put into 3-state mode by using the pin ENABLE as
shown in Table 19. The ENABLE pin is functional in Legacy mode and in I2C mode.
Table 19. ENABLE pin functionality
ENABLE pin valueFunction
0Output stages in 3-state mode.
1Switching enabled
TFA9812
BTL stereo Class-D audio amplifier with I2S input
pins.
DDP
[1]
.
[1] Can be overruled by a forced 3-state in Sleep or Fault mode.
8.7 Protection mechanisms
The TFA9812 has a wide range of protection mechanisms to facilitate optimal and safe
application. All of these are active in both I2C and Legacy control modes.
The following protections are included in the TFA9812:
• Thermal Foldback (TF)
• OverTemperature Protection (OTP)
• OverCurrent Protection (OCP)
• OverVoltage Protection (OVP)
• UnderVoltage Protection (UVP)
• Window Protection (WP)
• Lock Protection (LP)
• UnderFrequency Protection (UFP)
• OverFrequency Protection (OFP)
• Invalid BCK Protection (IBP)
• DC-blocking
• ESD
The reaction of the device to the different fault conditions differs per protection.
Preliminary data sheetRev. 02 — 22 January 200923 of 66
NXP Semiconductors
8.7.1 Thermal foldback
If the junction temperature of the TFA9812 exceeds the programmable Thermal foldback
threshold temperature the gain of the amplifier is decreased gradually to a level where the
combination of dissipation (P) and the thermal resistance from junction to ambient (R
results in a junction temperature around the threshold temperature.
This means that the device will not completely switch off, but remains operational at lower
output power levels. Especially with music output signals this feature enables high peak
output power while still operating without any external heat sink other than the
printed-circuit board area. If the junction temperature still increases due to external
causes, the OTP switches the amplifier to 3-state mode.
Under I2C control the Thermal foldback threshold temperature value can be lowered
(see Section 9.5.8): In Legacy control mode the default threshold value of 125 °C is fixed.
8.7.2 Overtemperature protection
This is a ‘hard’ protection to prevent heat damage to the TFA9812. The overtemperature
threshold level is the 160 °C junction temperature.
TFA9812
BTL stereo Class-D audio amplifier with I2S input
th(j-a)
)
When the threshold temperature is exceeded the output stages are set to 3-state mode.
The temperature is then checked at 1 µs intervals and the output stages will operate
normally again once the temperature has dropped below the threshold level.
OTP is flagged by a low DIAG pin. The TFA9812 temperature is an I2C reading, see
Section 9.5.9.
Under normal conditions thermal foldback prevents the overtemperature protection from
being triggered.
8.7.3 Overcurrent protection
The output current of the power amplifiers is current-limited. When an output stage
exceeds a current of 3 A typical, the output stages are set to 3-state mode and after 1 µs
the stages will start operating normally again. These interruptions are not audible.
OCP is flagged by a low DIAG pin and by a high DIAG I2C status bit, see Section 9.5.10.
I2C settings remain valid.
8.7.4 Overvoltage protection
The supply for the power stages (V
supply voltage exceeds 20 V the device will enter Sleep mode. When the supply voltage
has fallen below 20 V again the power-up sequence is started.
OVP is flagged by a low DIAG pin and by a high DIAG I2C status bit, see Section 9.5.10.
I2C settings remain valid.
DDA
, V
) is protected against overvoltage. When a
DDP
8.7.5 Undervoltage protections
The supplies are protected against undervoltage. When this is detected the device will
enter Sleep mode. When the supply voltage has risen to a sufficient level again the
power-up sequence is started.
Preliminary data sheetRev. 02 — 22 January 200924 of 66
DDA
and V
DDA(3V3)
supplies:
NXP Semiconductors
Table 20. Undervoltage trigger levels
Pin nameUVP levelDIAG pin (protection active)
V
DDA
V
DDA(3V3)
8.7.6 Overdissipation protection
When the output current of the power amplifiers exceeds a current value of 3 A and the
temperature is above 140 °C, overdissipation protection is activated and the device enters
Sleep mode. A restart will be initiated automatically when the two overdissipation
conditions are both changed to ‘false’.
Overdissipation is flagged by a low DIAG pin and by a high DIAG I2C status bit, see
Section 9.5.10.
Under normal conditions thermal foldback prevents overdissipation protection from being
triggered. I2C settings remain valid.
8.7.7 Window protection
TFA9812
BTL stereo Class-D audio amplifier with I2S input
MinMax
≥ 7 V< 8 VLOW
≥ 1.6 V< 3 V-
Window protection is a feature for protecting the device against shorts from the outputs to
the ground or supply lines. If during power-up one of the outputs is shorted to V
V
, power-up does not proceed any further. The trigger levels for these conditions are:
DDP
• OUTxx > V
DDA
− 1 V, or
• OUTxx < REFA + 1 V.
The WP alarm is flagged by a low DIAG pin and by a high DIAG I2C status bit, see
Section 9.5.10.
8.7.8 Lock protection
When the selected clockinput source (MCLK, BCK or crystal) stops running, the TFA9812
is able to detect this and set the output stages to 3-state mode. Without this protection
peripheral devices in an application might be damaged.
The PLL lock indication is an I2C reading and will be ‘false’ in the event of a clock
interruption, see Section 9.5.10.
8.7.9 Underfrequency protection
UFP sets the output stages to 3-state mode when the clock input source is too low. The
PWM switching frequency can becomes critically low when the clock input source is lower
than specified. Without UFP peripheral devices in an application might be damaged.
The status of the UFP is shown in I2C reading register, see Section 9.5.10.
SSPx
or
8.7.10 Overfrequency protection
OFP sets the output stages to 3-state mode when the clock input source is too high. The
PWM controller can become unstable when the clock input source is higher than
specified. Without OFP peripheral devices in an application might be damaged.
The status of the OFP is shown in I2C reading register, see Section 9.5.10.
Preliminary data sheetRev. 02 — 22 January 200925 of 66
NXP Semiconductors
8.7.11 Invalid BCK protection
The BCK clock signal is verified as being at one of the allowed relative frequencies: 32 fs,
48 fsor 64 fs. If it is not at one of these frequencies the TFA9812will set the output stages
to 3-state mode to prevent audible effects.
The MCLK clock signal is also verified as being valid, see Section 8.2.3.
Detection of violation results in an automatic internal overruling of the MCLK assignment
to BCK.
8.7.12 DC blocking
The TFA9812features a high pass filter after the I2S input to block DC signals. DC values
at the output can damage the peripheral devices. The high pass filter is always enabled.
8.7.13 Overview protections
Table 21 shows the overview of the protections.
Table 21. Overview protections
Protections
Symbol ConditionsDIAG
TFprogrammable
OTPT
OCPI
OVPV
UVPV
ODPT
WP
LPPLL out of lockFloating LPFloatingRestart (fault to operating
UFPPLL frequency < 45 MHzFloating UFPFloatingRestart (fault to operating
Preliminary data sheetRev. 02 — 22 January 200926 of 66
NXP Semiconductors
TFA9812
BTL stereo Class-D audio amplifier with I2S input
Table 21. Overview protections
Protections
Symbol ConditionsDIAG
OFPPLL frequency > 140 MHz Floating OFPFloatingRestart (fault to operating
IBPBCK/WS is not 32 ± 2,
48 2 or 64 2
[1] See, Section 9.5.10.
[2] Window Protection is only checked at power-up.
…continued
pin
Floating -FloatingRestart (fault to operating
9.I2C bus interface and register settings
9.1 I2C bus interface
The TFA9812 supports the 400 kHz I2C bus microcontroller interfacemode standard. This
can be used to control the TFA9812 and to exchange data with it when in I2C control
mode, see Section 8.2.1.
The TFA9812 can operate in I2C slave mode only as slave receiver or a slave transmitter.
I2C
flag
OutputRecovering
[1]
when
PLL frequency < 140 MHz)
when BCK/WS is 32 ± 2,
48 2 or 64 2)
The serial hardware interface involves the pins of the TFA9812 as described in Table 22.
Table 22. I2C pins in I2C control mode
Pin nameDescription
2
SCL/SFORI
SDA/MSI
ADSEL2/PLIM2I
ADSEL1/PLIM1I
C bus clock input
2
C bus data input and output
2
C bus device address bit A2
2
C bus device address bit A1
Voltage values applied to the I2C bus device address pins are interpreted as described in
Table 23.
2
Table 23. I
Logic valueVoltage A2/A1
0< V
1> V
C pin voltages in I2C control mode
IL
IH
9.2 I2C bus TFA9812 device addresses
Table 24 shows the register address options for the TFA9812 as part of the 8-bit byte that
contains the device address as well as the bit indicator read/write_not R/!W. The TFA9812
supports four different addresses, each of which can be configured using the pins
ADSEL1/PLIM1 and ADSEL2/PLIM2, see Table 22.
Preliminary data sheetRev. 02 — 22 January 200927 of 66
NXP Semiconductors
9.3 I2C write cycle description
Table 25 shows the cycle required for writing data to the I2C registers of the TFA9812. The
byte size is 8 bits. The I2C registers of the TFA9812 store two data bytes. Data is always
written in pairs of two bytes. Data transfer is always MSB first.
The cycle format for writing to the TFA9812 using SDA is as follows:
1. The microcontroller asserts a start condition (S).
2. The microcontroller sends the device address (7 bits) of the TFA9812 followed by the
3. The TFA9812 asserts an acknowledge (A).
4. The microcontroller writes the 8-bit TFA9812 register address to which the first data
5. The TFA9812 asserts an acknowledge.
6. The microcontroller sends the first byte. This is the most significant byte of the
7. The TFA9812 asserts an acknowledge.
8. The microcontroller sends the second byte.
9. The TFA9812 asserts an acknowledgement.
10. The microcontroller can either assert the stop condition (P) or continue with a further
TFA9812
BTL stereo Class-D audio amplifier with I2S input
R/!W bit set to 0.
byte will be written.
register.
pair of data bytes,repeating step 6. In the latter case the targeted register address will
have been auto-increased by the TFA9812.
Table 25. I2C write cycle
Start TFA9812
Address
S11010A
R/!WTFA9812 first
register address
0A ADDRAMS1ALS1<....>P
2A1
MS
databyte
LS
databyte
9.4 I2C read cycle description
Table 26 shows the cycle required for reading data from the I2C registers of the TFA9812.
The byte size is 8 bits. The I2C registers of the TFA9812 store two data bytes. Data is
always read in pairs of two bytes. Data transfer is always MSB-first.
The read cycle format for writing to the TFA9812 using SDA is as follows:
1. The microcontroller asserts a start condition (S).
2. The microcontroller sends the device address (7 bits) of the TFA9812 followed by the
R/!W bit set to 0.
3. The TFA9812 asserts an acknowledge (A).
4. The microcontroller writes the 8-bit TFA9812register address from which the first data
byte will be read.
5. The TFA9812 asserts an acknowledge.
6. The microcontroller asserts a repeated start (Sr).
7. The microcontroller resends the device address (7 bits) of the TFA9812 followed by
the R/!W bit set to 1.
Table 29. Bit description of register 00h: miscellaneous I2C interpolator settings
BitSymbolDescription
6INV_POLEnable polarity inversion:
0 = No polarity inversion (left audio signal connected to
channel 1; right signal to channel 2)
1 = Polarity inversion enabled
5 to 4ROFF[1:0]Filter roll-off sharpness:
0 = Slow filter roll-off (2 to 8 f
1 = Slow filter roll-off (2 to 8 fs) ≥ stop band > 0.7619 f
2 = Fast filter roll-off (2 to 8 fs) ≥ stop band > 0.6094 f
3 = Fast filter roll-off (2 to 8 fs) ≥ stop band > 0.6094 f
3 to 1FDEMP[2:0]Digital de-emphasis setting:
0 = No digital de-emphasis
1 = Digital de-emphasis for f
2 = Digital de-emphasis for f
3 = Digital de-emphasis for f
4 = Digital de-emphasis for f
5 to 8 = No digital de-emphasis
0S_MUTESoft mute:
0 = Soft mute disabled using raised cosine (default in
Legacy control mode)
1 = Soft mute enabled using raised cosine (default in
Preliminary data sheetRev. 02 — 22 January 200937 of 66
NXP Semiconductors
TFA9812
BTL stereo Class-D audio amplifier with I2S input
Table 50. Bit description of register 30h: miscellaneous status
…continued
BitSymbolDescription
3UVP3V3Undervoltage detector for pins 3 and 40:
0 = No UVP has been detected
1 = A UVP has been detected since the last read-out of
the register
[1]
2DIAGDiagnostic pin flagging status
:
0 = Diagnostic pin has not been flagged low
1 = Diagnostic pin has been flagged low since the last
read-out of the register
1LPPLL lock protection indicator:
0 = PLL is in locked status
1 = PLL is not in locked status
0MUTESoft mute status:
0 = No soft-mute or soft mute/demute in progress
1 = Audio signal muted as result of a soft mute
[1] The diagnostic pin 30 DIAG is flagged when several protection mechanisms have been active, see
Section 8.7.
9.6 Overview of functional control in each control mode
Table 51 shows the control level supported by either I2C or Legacy control mode for all
functions described in Section 9. It summarizes the information provided in the detailed
description of each function.
Table 51. Functional control support in I2C and Legacy control modes
D = fixed control setting, determined by default I2C register setting; N = not supported; Y = fully
supported (i.e. all options implemented in the TFA9812).
Control functionReferenceI2C modeLegacy mode
2
C register contentSection 9YN/D
I
Sleep mode enable
Operating mode enable
3-state mode enable
2
Master/Slave I
SSection 8.2.3YY
MCLK/BCK master input clock selection
Digital audio input format selection
Selection f
= 8 kHz to192 kHzSection 8.4.1YD
s
Equalizer enable and configurationSection 8.5.1YD
Section 8.2.2YY
Section 8.2.2YY
Section 8.2.2YY
Section 8.2.3AutoAuto
Section 8.4YSubset
[1]
[2]
Detailed equalizer settingsSection 8.5.1YN
Digital volume control per channel
Analog volumecontrol (shared for two channels)
De-emphasis for subset of allowed f
Preliminary data sheetRev. 02 — 22 January 200938 of 66
NXP Semiconductors
TFA9812
BTL stereo Class-D audio amplifier with I2S input
Table 51. Functional control support in I
D = fixed control setting, determined by default I2C register setting; N = not supported; Y = fully
supported (i.e. all options implemented in the TFA9812).
Control functionReferenceI2C modeLegacy mode
Clip level controlSection 8.5.5YD
Output power limit level controlSection 8.5.6YY
PWM signal frequency selection
Thermal foldback threshold temperature control Section 8.7.1YN
electrostatic discharge voltageaccording to the human body model
STAB1 and STAB2 with
VSS− 0.5VSS + 4.6V
−1750+1750V
respect to other pins
all other pins−2+2 kV
according to the charge
−500+500V
device model
[1] Vss = V
SS1
= V
= REFA = REFD
SS2
12. Thermal characteristics
Table 54. Thermal Characteristics
SymbolParameterConditionMin Typ Max Unit
R
th(j-a)
R
th(j-c)
R
th(j-lead)
thermal resistance
from junction to
ambient
thermal resistance
from junction to case
thermal resistance
from junction to lead
No air flow, JEDEC board
No air flow; typical 4L board in
the NXP 4L reference
application
No air flow; typical 2L board in
the NXP 2L reference
application
Worst-case pin5--K/W
[1][2]
-- 42K/W
[2]
-- 36K/W
[2]
--42K/W
[3]
5--K/W
[1] Measured in a JEDEC high K-factor test board (standard EIA/JESD 51-7).
[2] Measured in free air with natural convection.
[3] Strongly depends on where measurement is made on the case: worst-case value stated.
[1] IP is the current through the analog supply voltage (V
[2] Thermal foldback temperature sensor is not located at hottest spot. Hottest spot is 12 °C higher.
[3] Current limiting concept: in overcurrent condition no interruption of the audio signal in case of impedance drop.
[4] PLL output frequency not external available.
drain-source on-state resistanceper output MOSFET, for low and high
-0.280.35 Ω
side
δ
max
maximum duty factor--0.96 -
[1] Rs is the series resistance of inductor of low-pass LC filter in the application.
[2] Output power measured across the loudspeaker load. This is based on indirect measurement of R
DSon
.
13.3 Timing
Table 57. Characteristics I2C bus interface; see Figure 10
V
DDD(3V3)=VDDA(3V3)
unless otherwise specified.
SymbolParameterConditionsMinTypMaxUnit
f
SCL
t
LOW
t
HIGH
t
r
t
f
t
HD;STA
SCL clock frequency--400kHz
LOW period of the SCL clock1.3--µs
HIGH period of the SCL clock0.6--µs
rise timeSDA and SCL signals
fall timeSDA and SCL signals
hold time (repeated) START
Preliminary data sheetRev. 02 — 22 January 200948 of 66
= 2.7 V to 3.6 V; V
DDA=VDDP
= 8 V to 20 V;T
=−20°C to +85°C; all voltages referenced to ground;
amb
[1]
20 + 0.1 C
[1]
20 + 0.1 C
[2]
0.6--µs
-- ns
b
-- ns
b
0.6--µs
NXP Semiconductors
TFA9812
BTL stereo Class-D audio amplifier with I2S input
Table 57. Characteristics I
V
DDD(3V3)=VDDA(3V3)
= 2.7 V to 3.6 V; V
2
C bus interface; see Figure 10
DDA=VDDP
= 8 V to 20 V;T
…continued
=−20°C to +85°C; all voltages referenced to ground;
amb
unless otherwise specified.
SymbolParameterConditionsMinTypMaxUnit
t
SU;STO
t
BUF
set-up time for STOP condition0.6--µs
busfree timebetween a STOPand
1.3--µs
START condition
t
SU;DAT
t
HD;DAT
t
SP
data set-up time100--ns
data hold time0--µs
pulse width of spikes that must be
[3]
0-50ns
suppressed by the input filter
C
b
[1] Cb is the total capacitance of one bus line in pF. The maximum capacitive load for each bus line is 400 pF.
[2] After this period, the first clock pulse is generated.
[3] To be suppressed by the input filter.
capacitive load for each bus line--400pF
SDA
t
t
BUF
LOW
t
r
t
f
t
HD;STA
t
SP
SCL
PSSrP
Fig 10. Timing
14. Application information
14.1 Output power estimation
The output power just before clipping can be estimated using Equation 10:
Preliminary data sheetRev. 02 — 22 January 200949 of 66
NXP Semiconductors
δ
max
The output power at 10 % THD can be estimated using Equation 11:
TFA9812
BTL stereo Class-D audio amplifier with I2S input
= Maximum duty factor (0.96).
PO(10%)1.25 PO(0.5%)⋅=
Figure 11 and Figure 12 show the estimated output power at THD = 0.5 % and
THD = 10 % as a function of BTL supply voltage for different load impedances.
30
PO (0.5 %)
(W/channel)
20
10
0
824201216
(1) 6 Ω
(2) 8 Ω
(3) 16 Ω
Fig 11. BTL PO (0.5 %) as a function of V
010aaa347
(1)
(2)
(3)
VP (V)
P
45
PO (10 %)
W/channel
30
15
0
824201216
(1) 6 Ω
(2) 8 Ω
(3) 16 Ω
(1)
(2)
(3)
Fig 12. BTL PO (10 %) as a function of V
010aaa348
(V)
V
P
P
(11)
14.2 Output current limiting
The peak output current is internally limited above a level of 3 A minimum. During normal
operation the output current should not exceed this threshold level of 3 A otherwise the
output signal will be distorted. The peak output current in BTL can be estimated using
Preliminary data sheetRev. 02 — 22 January 200950 of 66
(12)
NXP Semiconductors
Remark: A 4.8 Ω speaker (6 Ω speaker with 20 % spread) in BTL configuration can be
used up to a supply voltage of 17 V without running into current limiting. Current limiting
(clipping) will avoid audio holes, but it causes a distortion comparable to voltage clipping.
14.3 Speaker configuration and impedance
For a flat-frequency response (second-order Butterworth filter) it is necessary to change
the low pass filter components LLC and CLC according to the speaker configuration and
impedance.
Preliminary data sheetRev. 02 — 22 January 200952 of 66
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
14.4.1 I2S slave mode and Legacy control mode
NXP Semiconductors
DIAGNOSTIC
POWERUP
DC-VOLUME CONTROL
ENABLE
V
DDD
C
vddd
100 nF
I2S DATA
2
I
S WS
2
I
S BCK
2
S MLCK (optional)
I
C
STABD
1 µF
37
ADSEL1/PLIM1
38
SCL/SFOR
39
SDA/MS
40
V
DDD(3V3)
41
STABD
42
REFD
43
TEST2
44
DATA
45
WS
46
BCK
47
MCLK
48
V
SS2
EXPOSED DIE PADDLE
C
DELAY
1 nF
353433323130 29 2827 26 25
36
CSEL
ENABLE
24 dB GAIN
AVOL
DIAG
CDELAY
POWERUP
ADSEL2/PLIM2
TFA9812
C
STAB
100 nF
STAB1
SSP1VSSP1
V
BOOT1N
OUT1N
OUT1N
BOOT2P
OUT2P
OUT2P
V
DDP
V
DDP
OUT1P
OUT1P
BOOT1P
OUT2N
OUT2N
R
POWER IN
C
BOOT
15 nF
VP = 8 V to 20 V
GND
VDDA
10 Ω
C
VDDP
220 µF / 25 V
VPA
VP
24
C
VP
C
15 nF
470 pF
470 pF
C
15 nF
BOOT
15 nF
BOOT
C
C
BOOT
SN
SN
RSN 10 Ω
RSN 10 Ω
C
VDDP
100 nF
C
VDDP
100 nF
RSN 10 Ω
RSN 10 Ω
C
SN
470 pF
C
SN
470 pF
Lic
S1 F1
15 µH
Lic
F2 S2
15 µH
S2F2
C
LC
680 nF
C
LC
680 nF
−
+
OUT1
6 Ω to 8 Ω
BTL stereo Class-D audio amplifier with I
C
LC
680 nF
F1S1
C
LC
680 nF
+
−
OUT2
6 Ω to 8 Ω
23
22
21
20
19
18
17
16
15
14
13
XTALIN
XTALOUT
DDA(3V3)
V
STABA
DDA
REFA
V
TEST1
V
SS1
STAB2
SSP2VSSP2
V
12 34 56789 101112
3.3 VVP A
R
STABA
C
VDDA
100 nF
1 kΩ
C
STAB
100 nF
C
VPA
100 nF
C
STAB
100 nF
Fig 13. Simplified application diagram for I2S slave mode and Legacy control mode
Preliminary data sheetRev. 02 — 22 January 200953 of 66
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
14.4.2 I2S slave mode and I2C control mode
NXP Semiconductors
DIAGNOSTIC
POWERUP
ENABLE
I2C SCL
2
C SDA
I
VDDD
2
S DATA
I
2
I
S WS
2
I
S BCK
2
S MLCK
I
C
VDDD
100 nF
C
STABD
1 µF
37
ADSEL1/PLIM1
38
SCL/SFOR
39
SDA/MS
40
V
DDD(3V3)
41
STABD
42
REFD
43
TEST2
44
DATA
45
WS
46
BCK
47
MCLK
48
V
SS2
EXPOSED DIE PADDLE
3.3 V
353433323130 2928 27 26 25
36
GAIN
CSEL
ENABLE
C
DELAY
AVOL
1 nF
POWERUP
C
STAB
100 nF
DIAG
CDELAY
ADSEL2/PLIM2
TFA9812
STAB1
SSP1VSSP1
V
BOOT1N
BOOT2P
BOOT1P
POWER IN
OUT1N
OUT1N
OUT2P
OUT2P
V
DDP
V
DDP
OUT1P
OUT1P
OUT2N
OUT2N
VP = 8 V to 20 V
24
23
22
21
20
19
18
17
16
15
14
13
C
BOOT
15 nF
VP
C
BOOT
15 nF
C
BOOT
15 nF
C
470 pF
C
470 pF
C
BOOT
15 nF
SN
SN
C
100 nF
C
100 nF
GND
RSN 10 Ω
C
470 pF
C
470 pF
RSN 10 Ω
VDDP
VDDP
RSN 10 Ω
RSN 10 Ω
SN
SN
R
VDDA
10 Ω
C
VDDP
220 µF / 25 V
Lic
S1 F1
15 µH
Lic
F2 S2
15 µH
VPA
VP
S2F2
C
LC
680 nF
C
LC
680 nF
−
+
OUT1
6 Ω to 8 Ω
BTL stereo Class-D audio amplifier with I
C
LC
680 nF
F1S1
C
LC
680 nF
+
−
OUT2
6 Ω to 8 Ω
XTALIN
XTALOUT
DDA(3V3)
V
STABA
DDA
REFA
V
TEST1
V
SS1
STAB2
1 2 345 67 8910 11 12
3.3 VVPA
R
C
VDDA
100 nF
STABA
1 kΩ
C
STAB
100 nF
C
VPA
100 nF
C
STAB
100 nF
Fig 14. Simplified application diagram for I2S slave mode and I2C control mode
Preliminary data sheetRev. 02 — 22 January 200954 of 66
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
14.4.3 I2S master mode and Legacy control mode
NXP Semiconductors
DIAGNOSTIC
POWERUP
DC-VOLUME CONTROL
ENABLE
V
DDD
C
vddd
100 nF
I2S DATA
2
I
S WS
2
I
S BCK
2
S MLCK (optional)
I
3.3 V
C
STABD
1 µF
37
ADSEL1/PLIM1
38
SCL/SFOR
39
SDA/MS
40
V
DDD(3V3)
41
STABD
42
REFD
43
TEST2
44
DATA
45
WS
46
BCK
47
MCLK
48
V
SS2
EXPOSED DIE PADDLE
C
DELAY
1 nF
353433323130 29 2827 26 25
36
CSEL
ENABLE
24 dB GAIN
AVOL
DIAG
STAB1
CDELAY
POWERUP
ADSEL2/PLIM2
TFA9812
C
STAB
100 nF
SSP1VSSP1
V
BOOT1N
OUT1N
OUT1N
BOOT2P
OUT2P
OUT2P
V
DDP
V
DDP
OUT1P
OUT1P
BOOT1P
OUT2N
OUT2N
R
POWER IN
C
BOOT
15 nF
VP = 8 V to 20 V
GND
VDDA
10 Ω
C
VDDP
220 µF / 25 V
VPA
VP
24
VP
C
BOOT
15 nF
C
BOOT
15 nF
470 pF
470 pF
C
BOOT
15 nF
RSN 10 Ω
C
SN
470 pF
C
SN
470 pF
RSN 10 Ω
C
VDDP
100 nF
C
VDDP
100 nF
RSN 10 Ω
C
SN
C
SN
RSN 10 Ω
Lic
S1 F1
15 µH
Lic
F2 S2
15 µH
S2F2
C
LC
680 nF
C
LC
680 nF
−
+
OUT1
6 Ω to 8 Ω
BTL stereo Class-D audio amplifier with I
C
LC
680 nF
F1S1
C
LC
680 nF
+
−
OUT2
6 Ω to 8 Ω
23
22
21
20
19
18
17
16
15
14
13
XTALOUT
C
XTALL
18 pF
DDA(3V3)
V
STABA
3.3 VVP A
R
C
VDDA
100 nF
STABA
1 kΩ
C
100 nF
XTALIN
12 34 56 789 101112
XTALL
C
XTALL
18 pF
STAB
DDA
REFA
V
C
VPA
100 nF
SS1
TEST1
V
STAB2
C
STAB
100 nF
SSP2VSSP2
V
Fig 15. Simplified application diagram for I2S master mode and Legacy control mode
Preliminary data sheetRev. 02 — 22 January 200955 of 66
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
14.4.4 I2S master mode and I2C control mode
NXP Semiconductors
DIAGNOSTIC
POWERUP
ENABLE
I2C SCL
2
C SDA
I
VDDD
2
S DATA
I
2
I
S WS
2
I
S BCK
2
S MLCK
I
C
VDDD
100 nF
C
STABD
1 µF
37
ADSEL1/PLIM1
38
SCL/SFOR
39
SDA/MS
40
V
DDD(3V3)
41
STABD
42
REFD
43
TEST2
44
DATA
45
WS
46
BCK
47
MCLK
48
V
SS2
EXPOSED DIE PADDLE
3.3 V
353433323130 29 2827 26 25
36
GAIN
CSEL
ENABLE
C
DELAY
1 nF
AVOL
DIAG
CDELAY
POWERUP
ADSEL2/PLIM2
TFA9812
C
STAB
100 nF
STAB1
SSP1VSSP1
V
BOOT1N
BOOT2P
BOOT1P
POWER IN
OUT1N
OUT1N
OUT2P
OUT2P
V
DDP
V
DDP
OUT1P
OUT1P
OUT2N
OUT2N
VP = 8 V to 20 V
24
23
22
21
20
19
18
17
16
15
14
13
C
BOOT
15 nF
VP
C
BOOT
15nF
C
BOOT
105 nF
C
470 pF
C
470 pF
C
BOOT
15 nF
SN
SN
C
100 nF
C
100 nF
GND
RSN 10 Ω
C
470 pF
C
470 pF
RSN 10 Ω
VDDP
VDDP
RSN 10 Ω
RSN 10 Ω
SN
SN
R
VDDA
10 Ω
C
VDDP
220 µF / 25 V
Lic
S1 F1
15 µH
Lic
F2 S2
15 µH
VPA
VP
S2F2
C
LC
680 nF
C
LC
680 nF
−
+
OUT1
6 Ω to 8 Ω
BTL stereo Class-D audio amplifier with I
C
LC
680 nF
F1S1
C
LC
680 nF
+
−
OUT2
6 Ω to 8 Ω
XTALIN
12 3456789101112
XTALL
C
XTALL
18 pF
DDA(3V3)
XTALOUT
V
3.3 VVP A
R
C
XTALL
18 pF
C
100 nF
VDDA
1 kΩ
STABA
STABA
C
STAB
100 nF
DDA
REFA
V
C
VPA
100 nF
TEST1
V
SS1
STAB2
C
100 nF
V
STAB
Fig 16. Simplified application diagram for I2S master mode and I2C control mode
Preliminary data sheetRev. 02 — 22 January 200963 of 66
NXP Semiconductors
18. Legal information
18.1Data sheet status
TFA9812
BTL stereo Class-D audio amplifier with I2S input
Document status
Objective [short] data sheetDevelopmentThis document contains data from the objective specification for product development.
Preliminary [short] data sheet QualificationThis document contains data from the preliminary specification.
Product [short] data sheetProductionThis document contains the product specification.
[1] Please consult the most recently issued document before initiating or completing a design.
[2] The term ‘short data sheet’ is explained in section “Definitions”.
[3] The product status of device(s) described in this document mayhave changed since this document was published and may differ in case of multiple devices.The latest product status
information is available on the Internet at URL
[1][2]
Product status
18.2Definitions
Draft — The document is a draft version only. The content is still under
internal review and subject to formal approval, which may result in
modifications or additions. NXP Semiconductors does not give any
representations or warranties as to the accuracy or completeness of
information included herein and shall have no liability for the consequences of
use of such information.
Short data sheet — A short data sheet is an extract from a full data sheet
with the same product type number(s) and title. A short data sheet is intended
for quick reference only and should not be relied upon to contain detailed and
full information. For detailed and full information see the relevant full data
sheet, which is available on request via the local NXP Semiconductors sales
office. In case of any inconsistency or conflict with the short data sheet, the
full data sheet shall prevail.
18.3Disclaimers
General — Information in this document is believed to be accurate and
reliable. However, NXP Semiconductors does not give any representations or
warranties, expressedor implied, as to the accuracy or completeness of such
information and shall have no liability for the consequences of use of such
information.
Right to make changes — NXP Semiconductors reserves the right to make
changes to information published in this document, including without
limitation specifications and product descriptions, at any time and without
notice. This document supersedes and replaces all information supplied prior
to the publication hereof.
Suitability for use — NXP Semiconductors products are not designed,
authorized or warranted to be suitable for use in medical, military, aircraft,
space or life support equipment, nor in applications where failure or
malfunction of an NXP Semiconductors product can reasonably be expected
to result in personal injury, death or severe property or environmental
[3]
http://www.nxp.com.
Definition
damage. NXP Semiconductors accepts no liability for inclusion and/or use of
NXP Semiconductors products in such equipment or applications and
therefore such inclusion and/or use is at the customer’s own risk.
Applications — Applications that are described herein for any of these
products are for illustrative purposes only. NXP Semiconductors makes no
representation or warranty that such applications will be suitable for the
specified use without further testing or modification.
Quick reference data — The Quick reference data is an extract of the
product data given in the Limiting values and Characteristics sections of this
document, and as such is not complete, exhaustive or legally binding.
Limiting values — Stress above one or more limiting values (as defined in
the Absolute Maximum Ratings System of IEC 60134) may cause permanent
damage to the device. Limiting values are stress ratings only and operation of
the device at these or any other conditions above those given in the
Characteristics sections of this document is not implied. Exposure to limiting
values for extended periods may affect device reliability.
Terms and conditions of sale — NXP Semiconductors products are sold
subject to the general terms and conditions of commercial sale, as published
at
http://www.nxp.com/profile/terms, including those pertaining to warranty,
intellectual property rights infringement and limitation of liability, unless
explicitly otherwise agreed to in writing by NXP Semiconductors. In case of
any inconsistency or conflict between information in this document and such
terms and conditions, the latter will prevail.
No offer to sell or license — Nothing in this document may be interpreted
or construed as an offer to sell products that is open for acceptance or the
grant, conveyanceor implication of any license under any copyrights, patents
or other industrial or intellectual property rights.
18.4Trademarks
Notice: All referenced brands,product names,service names and trademarks
are the property of their respective owners.
I2C-bus — logo is a trademark of NXP B.V.
19. Contact information
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.