–Programmable Channel Mapping
–Can Drive an External PWM Amplifier,
Headphone Amplifier, or Line-Out Amplifier
–Integrated Headphone Detection
Flexible Power Output Configurations
Thermal Foldback for Interruption-Free
Power-Stage Protection
–Supports Internal and External Power
Stages
Operation from On-Chip Oscillator Driver or
Applied Systems Clock
Supports I²C
®
Host Control Interface
Hardware Mode System Features
2-Channel Stereo Full-Bridge Power Outputs
Analog and Digital Inputs
I²S and Left-Justified Serial Input Formats
Thermal Foldback for Interruption-Free
Protection of Internal Power Stage
Operation from Applied Systems Clock
External Mute Input
Common Applications
Integrated Digital TV’s
Flat Panel TV Monitors
Computer/TV Monitors
Mini/Micro Shelf Systems
Digital Powered Speakers
Portable Docking Stations
Computer Desktop Audio
General Description
The CS4525 is a stereo analog or digital input PWM
high efficiency Class D amplifier audio system with an
integrated stereo analog-to-digital (A/D) converter. The
stereo power amplifiers can deliver up to 15 W per
channel into 8 Ω speakers from a small space-saving
48-pin QFN package. The PWM amplifier can achieve
greater than 85% efficiency. The package is thermally
enhanced for optimal heat dis sipation which eliminat es
the need for a heatsink.
The power stage outputs can be con fig ur ed as t w o fu llbridge channels for 2 x 15 W operation, two half-bridge
channels and one full-bridge channel for
2 x 7 W + 1 x 15 W operation, or one parallel full-bridge
channel for 1 x 30 W operation. The CS4525 integrates
on-chip over-current, under-voltage, and over-temperature protection and error reporting as well as a thermal
warning indicator and programmable foldback of the
output power to allow cooling.
The main digital serial port on the CS4525 can support
asynchronous operation with the integrated on-chip
sample rate converter (SRC) which eases system integration. The SRC allows for a fixed PWM switching
frequency regardless of incoming sample rate as well
as optimal clocking for the A/D modulators.
An on-chip oscillator driver eliminates the need for an
external crystal oscillator circuit, reducing overall design
cost and conserving circuit board space. The CS4525
automatically uses the on-chip oscillator driver in the
absence of an applied master clock.
The CS4525 is available in a 48-pin QFN package in
Commercial grade (-10° to +70° C). The CRD4525-Q1
4-layer, 1 oz. copper and CRD4525-D1 2-layer, 1 oz.
copper customer reference designs are also available.
Please refer to “Ordering Information” on page 97 for
complete ordering information.
INT 1Interrupt (Output) - Indicates an interrupt condition has occurred.
SCL2Serial Control Port Clock (Input) - Serial clock for the I²C control port.
SDA3Serial Control Data (Input/Output) - Bi-directional data I/O for the I²C control port.
LRCK4
Left Right Clock (Input) - Determines which channel, Left or Right, is currently active on the serial
audio data line.
SCLK5Serial Clock (Input) - Serial bit clock for the serial audio interface.
SDIN6Serial Audio Data Input (Input) - Input for two’s complement serial audio data.
HP_DETECT/
MUTE
8
RST
Headphone Detect / Mute (Input) - Headphone detection or mute input signal as configured via the
7
I²C control port.
Reset (Input) - The device enters a low power mode and all internal registers are reset to their
default settings when this pin is driven low.
8DS726PP2
CS4525
VD Voltage Level Indicator (Input) - Identifies the voltage level attached to VD. When applying
LVD9
DGND10Digital Ground (Input) - Ground for the internal logic and digital I/O.
VD_REG11Core Logic Power (Output) - Internally generated low voltage power supply for digital logic.
VD12Power (Input) - Positive power supply for the internal regulators and digital I/O.
VA_REG13Analog Power (Output) - Internally generated positive power for the analog section and I/O.
AGND14Analog Ground (Input) - Ground reference for the internal analog section and I/O.
FILT+15
VQ16Common Mode Voltage (Output) - Filter connection for internal common mode voltage.
AFILTL
AFILTR
AINL
AINR
OCREF21Over Current Reference Setting (Input) - Sets the reference for over current detection.
22,23
PGND
RAMP_CAP24
VP
OUT4
OUT3
OUT2
OUT1
PWM_SIG2
PWM_SIG1
DL Y_SDOUT41Delay Serial Audio Data Out (Output) - Output for two’s complement serial audio data.
DL Y_SDIN/
EX_TWR
AUX_SDOUT43
AUX_SCLK44Auxiliary Port Serial Clock (Output) - Serial clock for the auxiliary port serial interface.
AUX_LRCK/
Delay Serial Audio Data Input (Input) - Input for two’s complement serial audio data.
42
External Thermal Warning (Input) - Input for an external thermal warning signal. Configurable via
the I²C control port.
Auxiliary Port Serial Audio Data Out (Output) - Output for two’s complement auxiliary port serial
data.
Auxiliary Port Left Right Clock (Output) - Determines which channel, Left or Right, is currently
45
active on the serial audio data line.
AD0 (Input) - Sets the LSB of the I²C device address. Sensed on the release of RST
System Clock (Input/Output) -Clock source for the internal logic, processing, and modulators. This
pin should be connected to through a 10kΩ to ground when unused.
Thermal Pad - Thermal relief pad for optimized heat dissipation. See “QFN Thermal Pad” on
page 65 for more information.
.
DS726PP29
2. PIN DESCRIPTIONS - HARDWARE MODE
EN_TFB
ERROC
TSTI
474846
TSTO
SYS_CLK
I2S/LJ
45
44434241
ERRUVTE
TWR
TSTO
TSTO
40393837
PGND
PGND
CS4525
CLK_FREQ0
CLK_FREQ1
ADC/SP
LRCK
SCLK
SDIN
MUTE
RST
LVD
DGND
VD_REG
VD
1
2
3
4
5
6
Thermal Pad
7
8
9
10
11
12
141315
AGND
VA_REG
Top-Down (Through Package) View
48-Pin QFN Package
17181920
16
VQ
FILT+
AFILTL
AINL
AFILTR
21222324
AINR
OCREF
PGND
PGND
36
35
34
33
32
31
30
29
28
27
26
25
VP
OUT1
PGND
PGND
OUT2
VP
VP
OUT3
PGND
PGND
OUT4
VP
RAMP_CAP
Pin NamePin #Pin Description
CLK_FREQ0
CLK_FREQ1
ADC/SP3
LRCK4
SCLK5Serial Clock (Input) - Serial bit clock for the serial audio interface.
SDIN6Serial Audio Data Input (Input) - Input for two’s complement serial audio data.
7
MUTE
8
RST
12Clock Frequency (Input) - Determines the frequency of the clock expected to be driven into the
SYS_CLK pin.
ADC/Serial Port(Input) - Selects between the Analog to Digital Converter and the Serial Port for
audio input. Selects the ADC when high or the serial port when low.
Left Right Clock (Input) - Determines which channel, Left or Right, is currently active on the serial
audio data line.
Mute (Input) - The PWM outputs will output silence as a 50% duty cycle signa l when this pin is
driven low.
Reset (Input) - The device enters a low power mode and all internal registers are reset to their
default settings when this pin is driven low.
10DS726PP2
CS4525
VD Voltage Level Indicator (Input) - Identifies the voltage level attached to VD. When applying
LVD9
DGND10Digital Ground (Input) - Ground for the internal logic and I/O.
VD_REG11Core Logic Power (Output) - Internally generated low voltage power supply for digital logic.
VD12Digital Power (Input) - Positive power supply for the internal regulators and digital I/O.
VA_REG13Analog Power (Output) - Internally generated positive power for the analog section and I/O.
AGND14Analog Ground (Input) - Ground reference for the internal analog section and I/O.
FILT+15
VQ16Common Mode Voltage (Output) - Filter connection for internal common mode voltage.
AFILTL
AFILTR
AINL
AINR
OCREF21Over Current Reference Setting (Input) - Sets the reference for over current detection.
22,23
PGND
RAMP_CAP24Output Ramp Capacitor (Input) - This pin should be connected directly to VP in hardware mode.
VP
OUT4
18
1920Analog Input (Input) - The full-scale input level is specified in the ADC Analog Characteristics
specification table.
Power Ground (Input) - Ground for the individual output power half-bridge devices.
High Voltage Power (Input) - High voltage power supply for the individual half-bridge devices.
26
29
PWM Output (Output) - Amplified PWM power outputs.
32
35
3940Test Output (Output) - These pins are outputs used for the Logic Level PWM switching signals
available only in software mode. They must be left unconnected for hardware mode operation.
Thermal and Undervoltage Error Outp ut (Output) - Error flag for thermal shutdown and under-
voltage.
I²S/Left Justified(Input) - Selects between I²S and Left-Justified data format for the serial input
45
port. Selects I²S when high and LJ when low.
Test Output(Output) - This pin is an output used for the crystal oscillator driver available only in
software mode. It must be left unconnected for normal hardware mode operation.
Test Input (Input) - This pin is an input used for the crystal oscillator driver available only in soft-
ware mode. It must be tied to digital ground for normal hardware mode operation.
Thermal Pad - Thermal relief pad for optimized heat dissipation. See “QFN Thermal Pad” on
page 65 for more information.
DS726PP211
CS4525
2.1Digital I/O Pin Characteristics
The logic level for each input is set by its corresponding power su pply and should not exceed the maximum ratings.
Power
Supply
Pin
Number
Pin NameI/ODriverReceiver
Software Mode
VD1INTOutput2.5 V-5.0 V, Open Drain
2SCLInput-2.5 V-5.0 V, with Hysteresis
3 SDA Input/Output2.5 V-5.0 V, Open Drain2.5 V-5.0 V, with Hysteresis
7HP_DETECT
Notes:1.For VD = 2.5 V, VA_REG and VD_REG must be connected to VD. See section 6.7 on page 63 for
details.
ABSOLUTE MAXIMUM RATINGS
AGND = DGND = PGND = 0 V; all voltages with respect to ground.
ParametersSymbolMinMaxUnits
DC Power Supply
Power StageOutputs Switching and Under Load
Power StageNo Output Switching
Digital and Analog Core
VP
VP
VD
-0.3
-0.3
-0.3
19.8
23.0
6.0
V
V
V
Inputs
Input Current (Note 2)I
Analog Input Voltage(Note 3)V
Digital Input Voltage(Note 3)V
in
INA
IND
-±10mA
AGND - 0.7VA_REG + 0.7V
-0.3VD + 0.4V
Temperature
Ambient Operating Temperature - Power Applied
CommercialT
Storage TemperatureT
A
stg
-20+85°C
-65+150°C
WARNING:Operation beyond these limits may result in permanent damage to the device. Normal operation is not
guaranteed at these extremes.
Notes:2.Any pin except supplies. Transie nt currents of up to ±100 mA on the analog input pins wi ll not cause
SCR latch-up.
3. The maximum over/under voltage is limited by the input current.
18DS726PP2
CS4525
ANALOG INPUT CHARACTERISTICS
Test Conditions (unless otherwise specified): AGND = DGND = PGND = 0 V; All voltages with respect to ground;
T
= 25°C; VD = 3.3 V; Input Signal: 1 kHz sine wave through the recommended passive input filter shown in Fig-
A
ure 28 on page 61; Capacitor values connected to AFILTA, AFILTB, FILT+, VQ, VD_REG, and VA_REG as shown
in Figure 1 on page 13; Sample Frequency = 48 kHz; 10 Hz to 20 kHz Measurement Bandwidth; Power outputs in
power-down state (PDnOut1 = 1, PDnOut2 = 1, PDnOut3/4 = 1).
ParameterMinTypMaxUnit
Dynamic Range (Note 4)A-weighted
unweighted
Total Harmonic Distortion + Noise -1 dB
-20 dB
-60 dB
DC Accuracy
Interchannel Gain Mismatch-0.05-dB
Gain Drift-±100-ppm/°C
Interchannel Isolation-90-dB
Full-scale Input Voltage VD = 2.5V (Note 5)
VD = 3.3V
VD = 5.0V
Input Impedance(Note 6)40--kΩ
90
87
-
-
-
0.786*VD
0.590*VD
0.398*VD
95
92
-86
-72
-32
0.827*VD
0.621*VD
0.419*VD
-
-
-77
-
-
0.868*VD
0.652*VD
0.440*VD
dB
dB
dB
dB
dB
Vpp
Vpp
Vpp
Notes:4. Referred to the typical full-scale voltage
5. For VD = 2.5 V, VA_REG and VD_REG must be connected to VD. See section 6.7 on page 63 for
details.
6. Measured between AINx and AGND.
ADC DIGITAL FILTER CHARACTERISTICS
ParameterMinTypMaxUnit
Passband (Frequency Response) (Note 7) to -0.1 dB corner0-0.4948Fs
Passband Ripple-0.09-0dB
Stopband(Note 7) 0.6677--Fs
Stopband Attenuation48.4--dB
Total Group Delay-2.7/Fs-s
High-Pass Filter Characteristics
Frequency Response-3.0 dB
-0.13 dB
Phase Deviation20 Hz-10-Deg
Passband Ripple--0.17dB
Filter Settling Time-10
Notes:7. Filter response is clock dependent and scales with the ADC sampling frequency (Fs). With a
27.000 MHz or 24.576 MHz XTAL/SYS_CLK, Fs is equal to the applied clock divided by 512. With an
18.432 MHz XTAL/SYS_CLK, Fs is equal to the applied clock divided by 384.
-
-
3.7
24.2
5
/Fs-s
-
-
Hz
Hz
DS726PP219
CS4525
PWM POWER OUTPUT CHARACTERISTICS
Test Conditions (unless otherwise specified): AGND = DGND = PGND = 0 V; All voltages with respect to ground;
T
= 25°C; VD = 3.3 V; VP = 18 V; RL = 8 Ω for full-bridge, RL = 4 Ω for half-bridge and parallel full-bridge;
A
OutputDly[3:0] = 1111; PhaseShift = 1 for half-bridge, PhaseShift = 0 for full-bridge and parallel full-bridge;
Input Signal: full-scale 997 Hz sine wave through serial audio input port, 48 kHz sample rate; Capacitor values
connected to AFILTA, AFILTB, FILT+, VQ, VD_REG, and VA_REG as shown in Figur e 1 on page 13; PWM Switch
Rate = 384 kHz; 10 Hz to 20 kHz Measurement Bandwidth; Performance measurements taken through AES17 filter.
ParametersSymbol ConditionsMin TypMaxUnits
Power Output per Channel
Stereo Full-Bridge
Half-Bridge
Parallel Full-Bridge
Total Harmonic Distortion + Noise
Stereo Full-Bridge
Half-Bridge
Parallel Full-Bridge
Dynamic Range
Stereo Full-Bridge
Half-Bridge
Parallel Full-Bridge
MOSFET On ResistanceR
P
O
THD+N
DYR
DS(ON)
THD+N < 10%
THD+N < 1%
THD+N < 10%
THD+N < 1%
THD+N < 10%
THD+N < 1%
= 1 W
P
O
PO = 0 dBFS = 11.3 W
= 1 W
P
O
PO = 0 dBFS = 5.0 W
PO = 1 W
= 0 dBFS = 22.6 W
P
O
= -60 dBFS, A-Weighted
P
O
= -60 dBFS, Unweighted
P
O
PO = -60 dBFS, A-Weighted
PO = -60 dBFS, Unweighted
= -60 dBFS, A-Weighted
P
O
PO = -60 dBFS, Unweighted
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
15
12
7
5.5
30
23.5
0.05
0.10
0.12
0.28
0.1
0.3
102
99
99
96
102
99
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Id= 0.5 A, TJ=50°C-280-mΩ
W
W
W
W
W
W
%
%
%
%
%
%
dB
dB
dB
dB
dB
dB
EfficiencyhPO = 2 x 15 W, RL = 8 Ω-85-%
Minimum Output Pulse WidthPW
Rise Time of OUTxt
Fall Time of OUTxt
PWM Output Over-Current Error Trigger Point
LRCK Duty Cycle45-55%
SCLK Frequency (Note 8),(Note 9)1/t
SCLK Duty Cycle45-55%
LRCK Setup Time Before SCLK Rising Edget
SDIN Setup Time Before SCLK Rising Edget
SDIN Hold Time After SCLK Rising Edget
RST
pin Low Pulse Width(Note 10)1--ms
SI
p
s(LK-SK)
s(SD-SK)
h
39.5
39.5
86.4
FSI*2*N
bits
40--ns
25--ns
10--ns
32
44.1
48
96
-F
35.2
52.8
52.8
105.6
/3Hz
CLK
kHz
kHz
kHz
kHz
Notes:8. F
9.
10. After powering up the CS4525, RST
is the frequency of the crystal connected to the XTI/XTO pins or the input SYS_CLK signal.
CLK
N
is the number of bits per sample of the serial digital input.
bits
should be held low until the power supplies and clocks are stab le.
//
LRCK
//
t
P
//
t
t
r
f
t
h
//
//
MSBMSB-1
//
SCLK
SDIN
t
s(LK-SK)
t
s(SD-SK)
Figure 7. Serial Audio Input Port Timing
DS726PP221
CS4525
g
AUX SERIAL AUDIO I/O PORT SWITCHING SPECIFICATIONS
Input Source: Analog Inputs or Serial Audio Input Port
AUX_LRCK Rising Edge to AUX_SCLK Falling Edget
AUX_SCLK Rising Edge to Data Output Validt
DLY_SDIN Setup Time Before AUX_SCLK Rising Edget
DL Y_SDIN Hold Time After AUX_SCLK Rising Edget
(Note 11).
ClkFreq[1:0] = ‘01’
ClkFreq[1:0] = ‘10’
ClkFreq[1:0] = ‘01’
ClkFreq[1:0] = ‘10’
= 32kHz, 44.1 kHz, 48 kHz
S-In
F
S-In
= 32kHz, 44.1 kHz, 48 kHz
S-In
S-In
= 32kHz, 44.1 kHz, 48 kHz
S-In
S-In
=96kHz
=96kHz
=96kHz
F
F
SCLKO
F
LTSF
SRDV
DIS
DIH
SO
SO
T
2*T
SI
SCLKI
SCLKI
- T
-
-
-
-
-
-
-
-
CLK
-
-
- T
- T
CLK
CLK
F
CLK
F
CLK
F
CLK
48*F
64*F
64*F
F
F
T
2*T
/384
/512
/512
SO
SCLKO
F
SI
FSI/2
T
SI
SCLKI
SCLKI
SCLKI
SCLKI
SO
SO
SO
TSI + T
/2
T
SCLKI
2*T
SCLKI
--20ns
--T
CLK
25--ns
10--ns
-
-
-
Hz
Hz
Hz
-s
-
-
-
Hz
Hz
Hz
-s
-
-
CLK
-
-
+ T
+ T
CLK
CLK
Hz
Hz
s
Hz
Hz
s
s
+ 20ns
Notes:11. F
12. F
is the frequency of the crystal connected to the XTI/XTO pins or the input SYS_CLK signal.
CLK
T
=1/F
CLK
is the frequency of the input LRCK signal. TSI=1/F
SI
CLK
.
SI
13. May vary during normal operation.
14. F
is the frequency of the input SCLK signal. T
SCLKI
AUX_LRCK
AUX_SCLK
AUX_SDOUT
DLY_SDOUT
DLY_SDIN
LSB
LSB
t
DISU
t
LTSF
MSB
MSB
SCLKI
=1/F
t
SRDV
t
DIH
SCLKI
MSB - 1
MSB - 1
.
Figure 8. AUX Serial Port Interface Master Mode Timin
RST
Bus Free Time Between Transmissionst
Start Condition Hold Time (prior to first clock pulse)t
Clock Low timet
Clock High Timet
Setup Time for Repeated Start Conditiont
SDA Hold Time from SCL Falling(Note 16)t
SDA Setup time to SCL Risingt
Rise Time of SCL and SDAt
Fall Time SCL and SDAt
Setup Time for Stop Conditiont
Acknowledge Delay from SCL Fallingt
scl
irs
buf
hdst
low
high
sust
hdd
sud
rc
fc
susp
ack
-100kHz
500-ns
4.7-µs
4.0-µs
4.7-µs
4.0-µs
4.7-µs
10-ns
250-ns
-1µs
-300ns
4.7-µs
3001000ns
Notes:16. Data must be held for sufficient time to bridge the transition time, t
RST
t
SDA
SCL
irs
StopStart
t
buf
t
hdst
t
low
t
hdd
t
high
t
sud
Repeated
Start
t
sust
t
hdst
Figure 11. Control Port Timing - I²C
, of SCL.
fc
t
r
Stop
t
f
t
susp
24DS726PP2
CS4525
DC ELECTRICAL CHARACTERISTICS
AGND = DGND = PGND = 0 V; All voltages with respect to ground; PWM switch rate = 384 kHz; Unless otherwise
specified.
ParametersMinTypMaxUnits
Normal Operation
Power Supply CurrentVD = 3.3 V-54-mA
Power DissipationVD = 3.3 V-180-mW
Power-Down Mode(Note 18)
Power Supply CurrentVD = 3.3 V-2.8-mA
VD_REG Characteristics
Nominal Voltage2.252.52.75V
DC current source--3mA
VA_REG Characteristics
Nominal Voltage2.252.52.75V
DC current source--1mA
VQ Characteristics
Nominal Voltage -0.5*VA_REG-V
Output Impedance-23-kΩ
DC current source/sink (Note 19)--10μA
Filt+ Nominal Voltage -VA_REG-V
Power Supply Rejection Ratio (Note 20)1 kHz
(Note 17)
60 Hz
-
-
60
40
-
-
dB
dB
Notes:17. Normal operation is defined as RST
18. Power-Down Mode is defined as RST
= HI.
= LOW with all input lines held static.
19. The DC current drain represents the allowed current from the VQ pin due to typ ica l leakag e thr ough
the electrolytic de-coupling capacitors.
20. Valid with the recommended capacitor values on FILT+ and VQ. Increasing the capacitance will
increase the PSRR.
DIGITAL INTERFACE SPECIFICATIONS
AGND = DGND = PGND = 0 V; All voltages with respect to ground; Unless otherwise specified.
ParametersSymbol Min MaxUnits
Digital Interface Signal Characteristics
High-Level Input VoltageV
Low-Level Input VoltageV
High-Level Output VoltageIo=2 mA
Low-Level Output VoltageIo=2 mA
Input Leakage CurrentI
Input Capacitance-8pF
PWM_SIGx Characteristics
High-Level PWM_SIGx Output VoltageIo=2 mA
Low-Level PWM_SIGx Output VoltageIo=2 mA
(Note 21)
V
V
V
V
IH
IL
OH
OL
in
OHPS
OLPS
0.75*VD_REG-V
-0.20*VD_REGV
0.90*VD-V
-0.2V
-±10uA
0.90*VD_REG-V
-0.2V
Notes:21. Digital interface signals include all pins sourced from the VD supply as shown in “Digital I/O Pin
Characteristics” on page 12.
DS726PP225
6. APPLICATIONS
6.1Software Mode
Maximum device flexibility and features are available when the CS4525 is used in software mode. The available features are described in the following sections. All device configu ration is achieved via the I²C control
port as described in the I²C Control Port Description and Timing section on page 64.
6.1.1System Clocking
In software mode, the CS4525 can be clocked by a stable external clock source input on the SYS_CLK
pin or by a clock internally generated through the use of its internal oscillator driver circuit in conjunction
with an external crystal oscillator. The device automatically selects which of these clocks to use within
10 ms of the re lea se of RST
The internal clock is used to synchronize the input serial audio signals with the internal clock domain and
to clock the internal digital processing, sample-rate con verter, and PWM modulators. It is also used to determine the sample rate of the serial audio input signals in order to automatically co nfigure the various
internal filter coefficients.
To ensure proper operation, the CS4525 must be informed of the nominal frequency of the supplied
SYS_CLK signal or the attached crystal via the ClkFreq[1:0] bits in the Clock Config register. These bits
must be set to the appropriate value before the PDnAll bit is cleared to initiate a power-up sequence. See
the SYS_CLK Switching Specifications and XTI Switching Specifications tables on page 23 for complete
input frequency range specifications.
CS4525
.
WARNING: The system clock source must never be removed or stopped while any of the power output
stages are powered-up (the PDnAll bit and any of the PDnOut1, PDnOut2, or PDnOut3/4 bits are cleared)
and connected to a load. Doing so may result in permanent dam age to the CS4525 and connected tra nsducers.
Referenced ControlRegister Location
ClkFreq[1:0]......................... “Clock Frequency (ClkFreq[1:0])” on page 69
PDnAll.................................“Power Down (PDnAll)” on page 89
PDnOutX............................. “Power Down PWM Power Output X (PDnOutX)” on page 88
6.1.1.1SYS_CLK Input Clock Mode
If an input clock is detected on the SYS_CLK pin following the release of RST, the device will automatically
use the SYS_CLK input as its clock source. The applied SYS_CLK clock signal must oscillate within the
frequency ranges specified in the SYS_CLK switching specifications table on page 23. In this mode, XTI
should be connected to ground and XTO should be left unconnected.
Figure 12 below demonstrates a typical clocking configuration using the SYS_CLK input.
To use an external crystal in conjunction with the internal crystal driver, a 20 pF fundamental mode parallel resonant crystal must be connected between the XTI and XTO pins. This crystal must oscillate within
the frequency ranges specified in the XTI switching specifications table on page 23. Nothing other than
the crystal and its load capacitors should be connected to XTI and XTO. The SYS_CLK pin should be
connected to ground through a 22 kΩ pull-down resistor to prevent the CS4525 from r ecogn izing syste m
noise on the SYS_CLK pin as a valid clocking signal.
In this mode, the CS4525 will automatically drive the generated internal clock out of the SYS_CLK pin.
This can be disabled with the EnSysClk bit which will cause the SYS_CLK pin to become high-impedance.
Also, the DivSysClk bit allows the frequency of the generated internal clock to be divided by 2 prior to being driven out of the SYS_CLK.
It should be noted that the internal oscillator driver is disabled when the CS4525 is in reset (RST
is low).
Any external devices connected to the SYS_CLK output will not receive a clock signal until the CS4525
is taken out of reset.
If an external crystal is connected to the XTI/XTO pins while an input clock signal is present on the
SYS_CLK pin following the release of RST
, then the CS4525 will automatically use the SYS_CLK pin for
its internal clock. Refer to Section 6.1.1.1 for a details about this mode of operation.
Figure 13 below demonstrates a typical clocking configuration using the crystal oscillator.
EnSysClk.............................“SYS_CLK Output Enable (EnSysClk)” on page 69
DivSysClk............................ “SYS_CLK Output Divider (DivSysClk)” on page 69
DS726PP227
6.1.2Power-Up and Power-Down
The CS4525 will remain in a completely powered-down state with the control port inaccessible until the
RST
pin is brought high. Once RST is high, the control port will be accessible, but all other internal blocks
will remain powered-down until they are powered-up via the control port or until hardware mode is entered.
When an external crystal is present on the XTI/XTO pins, software mode will be automatically entered
10 ms a fter the re lease of RST
. If SYS_CLK is used as an input, software mode is entered by writing to
the control port within 10 ms after the release of RST
device will begin to operate in hardware mode.
6.1.2.1Recommended Power-Up Sequence
1. Hold RST low until the power supplies and the input SYS_CLK (if used) are stable.
2. Bring RST
The device will remain in a low-power state and the control port will be accessible. The device will
automatically enter software mode after 10 ms if an external crystal is present on the XTI/XTO pins,
at which time the output SYS_CLK signal will become active.
3. If SYS_CLK is used as an input, initiate a control port write to set the PDnAll bit in register 5Fh within
10 ms following the release of RST
This operation causes the device to enter software mode and places it in power-down mode.
4. If the LVD pin is tied low and VD, VD_REG, and VA_ REG are connected to 2.5 V, clear the SelectVD
bit in the Power Ctrl register to indicate the 2.5 V VD supply level. See section 6.7 on page 63 for details.
5. If VP is connected to a supply voltage less than or equal to 14 V nominal, clear the SelectVP bit in the
Foldback Cfg register to indicate the VP supply level.
6. The desired register settings can be loaded while keeping the PDnAll bit set. Typical initialization set-
tings include Input Configuration, Output Configuration, Master Volume, and Clock Frequency.
7. Clear the PDnAll bit to initiate the power-up sequence.
high.
CS4525
. If the control port is not written within this time, the
.
6.1.2.2Recommended Power-Down Sequence
1. Set the MuteChA, MuteChB, and MuteSub bits in the Mute Control register to mute the audio outp ut.
2. Set the PDnAll bit to power-down the device.
3. Bring RST
4. Remove power.
Referenced ControlRegister Location
PDnAll.................................“Power Down (PDnAll)” on page 89
SelectVD.............................“Select VD Level (SelectVD)” on page 88
SelectVP ............................. “Select VP Level (SelectVP)” on page 74
MuteChX.............................“Independent Channel A & B Mute (MuteChX)” on page 84
MuteSub.............................. “Sub Channel Mute (MuteSub)” on page 85
Input Configuration..............“Input Configuration (Address 02h)” on page 71
Output Configuration........... “Output Configuration (Address 04h)” on page 73
Master Volume.................... “Master Volume Control (Address 57h)” on page 82
Clock Frequency.................“Clock Frequency (ClkFreq[1:0])” on page 69
28DS726PP2
low to bring the device’s power consumption to an absolute minimum.
6.1.3Input Source Selection
The CS4525 can accept analog or digital audio input signals. Digital audio input signals are supplied
through the serial audio input port as outlined in “Ser ial Audio In terfaces” o n page62. Analog audio input
signals are supplied through the internal ADC as outlin ed in “Analog Inputs” on p age 61. The input source
is selected by the ADC/SP
bit in the Input Config register.
In software mode, the serial audio input port supports I²S, Left-Justified and Right-Justified data formats.
The serial audio input port digital interface format is configured by the DIF[2:0] bits in the Input Conf ig register.
The CS4525 internal ADC includes a dedicated high-pass filter to remove any DC content from the ADC
output signal prior to the internal ADC/serial audio input port in put multiplexor. This high-pass filter can be
bypassed by clearing the EnAnHPF bit.
Referenced ControlRegister Location
ADC/SP............................... “Input Source Selection (ADC/SP)” on page 71
DIF[2:0] ............................... “Input Serial Port Digital Interface Format (DIF [2:0])” on page 71
EnAnHPF............................“ADC High-Pass Filter Enable (EnAnHPF)” on page 71
6.1.4Digital Sound Processing
The CS4525 implements flexible digital sound processing operation s including ba ss manageme nt crossover, 2-way speaker crossovers, high- and low-pass shelving filters, programmabl e parametric EQ filters,
adaptive loudness compensation, channel mixers, and volume controls.
CS4525
Stereo
Analog In
Serial Audio
Clocks & Data
Serial Audio
Data I/O
Serial Audio
Clocks & Data
Temperature
Sense
Serial Audio
Data In
The digital signal flow is shown in Figure 14 below. The signal processing blocks are described in detail
in the following sections.
ADC
Left
Right
HighPass
Serial Audio
Input Port
Serial Audio
Delay
Interface
Auxiliary
Serial Port
Pre-Scaler
Audio
Processing
Parametric EQ
High-Pass
Bass/Treble
Adaptive
Loudness
Compensation
2-Ch Mixer
2.1 Bass Mgr
Linkwitz-Riley
Crossover
De-Emphasis
Volume
Ch. A
Mixer
Ch. B
High-Pass Filter
De-Emphasis
Param. EQ
Bass Tone Ctrl
Sample
Ch. 1
Rate
Converter
Sample
Ch. 2
Rate
Converter
Sample
Sub
Rate
Converter
Temperature Sense
Thermal FoldbackThermal Limiter
Ch. A
Ch. B
Sub
Bass Manager
Treble Tone Ctrl
Loudness
Modulator
Modulator
Modulator
Ch. Vol Control
PWM
PWM
PWM
PWM
Output
Config
Limiter
Master Vol Control
Aux Serial Data Select
Gate
Drive
Gate
Drive
Gate
Drive
Gate
Drive
Ch. A HPF
Ch. A LPF
Ch. B HPF
X-Over
Ch. B LPF
Ch. B HPF Ch. B LPF
Ch. A HPF
Ch. A LPF
Sensitivity
Power
Stage
Power
Stage
Power
Stage
Power
Stage
Ch. A
Ch. B
Amplifier
Out 1
Amplifier
Out 2
Amplifier
Out 3
Amplifier
Out 4
PWM Modulator
Output 1
PWM Modulator
Output 2
Ch. 1
Ch. 2
Sub
Data to
Aux Port
Figure 14. Digital Signal Flow
DS726PP229
CS4525
6.1.4.1Pre-Scaler
Applying any gain to a full-scale signal in the digital domain will cause the signal to clip. To prevent this,
a pre-scaler block is included prior to the internal digital signal processing blocks. This allows the input
signal to be attenuated before processing to ensure that any signal boosting, such as gain in a shelving
filter, will not cause a channel to clip.
The pre-scaler block allows up to -14.0 dB of attenuation in 2.0 dB increments and is controlled with the
PreScale[2:0] bits.
Referenced ControlRegister Location
PreScale[2:0].......................“Pre-Scale Attenuation (PreScale[2:0])” on page 75
6.1.4.2Digital Signal Processing High-Pass Filter
The CS4525 includes a high-pass filter at the beginning of the digital signal processing chain to remove
any DC content from the input signal prior to the remaining internal digital signal processing blocks. The
high-pass filter operates by continuously subtracting a measure of the DC offset from the inpu t signal and
may be used regardless of the input data source.
The digital signal processing high-pass filter can be disabled by clearing the EnDigHPF bit.
Referenced ControlRegister Location
EnDigHPF...........................“Digital Signal Processing High-Pass Filter (EnDigHPF)” on page 77
6.1.4.3Channel Mixer
The CS4525 implements independent channel mi xers to provide for b oth mono mixes and channel swap s
for the left and right channels. The channel mi xers are controlled by the LChMix[1:0] and RChMix[1:0] bits
in the Mixer Config register.
To allow stereo operation when a mono mix is configured, when the HP_DETECT/MUTE pin is con figured
for headphone detection (the HP/Mute
active state of the headphone detection input signal. In this configuration, when the left channel mixer is
configured for a mono mix (LChMix[1:0] = 01 or 10) and the headphone detection input signal becomes
active, the left channel mixer will be automatically reconfigured to output the left channel, thereby disabling the mono mix. When the headphone detection input signal becomes inactive, the mixer will be automatically reconfigured to operate as dictated by the LChMix[1:0] bits.
It should be noted that the right channel mixer output is un affected by the head phone detectio n input signal and will always operate as dictated by the RChMix[1:0] bits.
Referenced ControlRegister Location
LChMix[1:0]......................... “Left Channel Mixer (LChMix[1:0])” on page 76
RChMix[1:0] ........................ “Right Channel Mixer (RChMix[1:0])” on page 76
HP/Mute
..............................“HP_Detect/Mute Pin Mode (HP/Mute)” on page 70
bit is set), the operation of the left channel mixer is affecte d by the
30DS726PP2
CS4525
6.1.4.4De-Emphasis
The CS4525 includes an on-chip digital de-emphasis filter optimized for a sample rate of 44.1 kHz to accommodate audio recordings that utilize 50/15 μs pre-emphasis equalization as a means of noise reduction. The filter response is shown in Figure 15. The de-emphasis filter is enabled and disabled by the
DeEmph bit in the Tone Config register.
Gain (dB)
0 dB
-10 dB
Nominal Sample Rate
96 kHz0.03609 Fs0.12030 Fs
T1=50 µs
F1F2
0.07218 Fs
T2 = 15 µs
Frequency
Normalized to Fs
0.24059 Fs32 kHz, 44.1 kHz, 48 kHz
(Hz)
Figure 15. De-Emphasis Filter
Referenced ControlRegister Location
DeEmph..............................“De-Emphasis Control (DeEmph)” on page 76
6.1.4.5Tone Control
The CS4525 implements configurable bass and treble shelving filters to easily accommodate system tone
control requirements. Each shelving filter has 4 selectable corner frequencies, and provides a cut/boost
range from -10.5 dB to +12.0 dB in 1.5 dB increments. The tone control is enabled by the EnToneCtrl bit
in the Tone Config register.
Each tone control is implemented with one of two preset internal filter sets. One set is optimized for a
32 kHz sample rate, and the other is optimized for 44.1 kHz, 48 kHz, and 96 kHz sample rates. The
CS4525 automatically detects the input sample rate and chooses the appropriate filter set to apply. The
available corner frequencies are shown in tables 2 and 3 below and are configured with the BassFc[1 :0]
and TrebFc[1:0] bits in the Tone Config register.
Note that the corner frequency of each filter set scales linearly with the input sample rate.
When the internal ADC is used as the serial audio data sour ce, the input sample rate is nominally 48 kHz
and the corresponding shelving frequency corners are available.
Input Sample RateBass Fc 0Bass Fc 1Bass Fc 2Bass Fc 3
32 kHz50 Hz100 Hz200 Hz250 Hz
44.1kHz48Hz96Hz192Hz240Hz
48 kHz, 96 kHz52 Hz104 Hz208 Hz260 Hz
Table 2. Bass Shelving Filter Corner Frequencies
DS726PP231
CS4525
Input Sample RateTreble Fc 0Treble Fc 1Treble Fc 2Treble Fc 3
The cut/boost level of the bass and treble shelving filters are set by the Bass[3:0] and Treble[3:0] bits in
the Tone Control register.
Referenced ControlRegister Location
EnToneCtrl .......................... “Tone Control Enable (EnToneCtrl)” on page 77
TrebFc[1:0].......................... “Treble Corner Frequency (TrebFc[1:0])” on page 77
BassFc[1:0].........................“Bass Corner Frequency (BassFc[1:0])” on page 77
Treble[3:0]........................... “Treble Gain Level (Treb[3:0])” on page 78
Bass[3:0].............................“Bass Gain Level (Bass[3:0])” on page 78
32DS726PP2
6.1.4.6Parametric EQ
The CS4525 implements 5 fully programmable parametric EQ filters.
The filters are implemented in the bi-quad form shown below.
CS4525
x[n]y[n]
-1
Z
-1
Z
b
0
-1
Z
b
1
b
2
a
1
-1
Z
a
2
Figure 16. Bi-Quad Filter Architecture
This architecture is represented by the equatio n shown below where y[n] represents the output sample
value and x[n] represents the input sample value.
y[n] = b
x[n] + b1x[n-1] + b2x[n-2] + a1y[n-1] + a2y[n-2]
0
Equation 1. Bi-Quad Filter Equation
The coefficients are represented in binary form by 24-bit signed values stored in 3.21 two’s complement
format. The 3 MSB’s represent the sign bit and the w hol e-number portion of the decimal coefficient, and
the 21 LSB’s represent the fractional portion of the decimal coefficient. The coefficient values must be in
the range of -4.00000 decimal (80 00 00 hex) to 3.99996 decimal (7F FF FF hex).
The binary coefficient values are stored in registers 0Ah - 54h. Each 24-bit coefficient is split into 3 bytes,
each of which is mapped to an individually accessible register location. See the “Register Quick Refer-
ence” section beginning on page 66 for the specific register locations for each coefficient.
By default, all b
coefficients are set to 1 decimal, and all other coefficients are set to 0 decimal. This im-
0
plements a pass-through function.
The parametric equalizers be independently enabled and disabled for channels A and B with the En-
ChAPEq and EnChBPEq bits located in the EQ Config register.
Referenced ControlRegister Location
EnChAPEq.......................... “Enable Channel A Parametric EQ (EnChAPEq)” on page 79
EnChBPEq.......................... “Enable Channel B Parametric EQ (EnChBPEq)” on page 79
DS726PP233
CS4525
6.1.4.7Adaptive Loudness Compensation
The CS4525 includes adaptive loudness compensation to enhance the audibility of program material at
low volume levels. The adaptive loudness compensation feature operates by varying the bass and treble
boost of the tone control shelving filters as the volume level changes.
The level of boost added to the shelv ing f ilt ers is de termined by the average of the effective volume settings of channels A and B after the master volume control. As this average volume setting decreases from
0 dB, the boost of the bass and treble shelving filters is gradually increased until it reaches the maximum
boost level of 12.0 dB. As the volume is increased, the boost applied due to the adaptive loudness compensation feature will be gradually removed until it reaches the level specified by the Treble[3:0] and
Bass[3:0] bits in the Tone Control register.
The adaptive loudness compensation feature is enabled by setting the Loudness bit in the Tone Config
register. When the loudness feature is enabled, it immediately evaluates the effective average volume a nd
applies bass and treble boost accordingly. When disabled, any treble or bass boost applied due to the
loudness feature will be removed.
Because the adaptive loudness compensation filter op erates by adjusting th e boost level of the tone control shelving filters, it is necessary that they be enabled with the EnToneCtrl bit in the Tone Config register
in order for the loudness feature to be operational. If the ton e control filters are disabled, the adaptive loudness compensation feature will not be functional.
Referenced ControlRegister Location
Loudness............................. “Adaptive Loudness Compensation Control (Loudness)” on page 76
EnToneCtrl .......................... “Tone Control Enable (EnToneCtrl)” on page 77
TrebFc[1:0].......................... “Treble Corner Frequency (TrebFc[1:0])” on page 77
BassFc[1:0].........................“Bass Corner Frequency (BassFc[1:0])” on page 77
Treble[3:0]........................... “Treble Gain Level (Treb[3:0])” on page 78
Bass[3:0].............................“Bass Gain Level (Bass[3:0])” on page 78
34DS726PP2
CS4525
6.1.4.8B ass Management
The CS4525 implements a dedicated stereo 24 dB/octave Linkwitz-Riley crossover with adjustable crossover frequency to achieve bass management for 2.1 configurations. The filter’s stereo high-pass outputs
are used to drive the full-range speakers, and its stereo low-pass outputs are each attenuated by 6 dB
and summed to drive the sub channel.
The bass management crossover is implemented with one of two preset internal filter sets. One set is optimized for a 32 kHz sample rate, and the other is optimized for 44.1 kHz, 48 kHz, and 96 kHz sample
rates. The CS4525 automatically detects the input sample rate and chooses the appropriate filter set to
apply. The available bass management cross-over frequencies are shown in Table 4 below and are configured with the BassMgr[2:0] bits in the EQ Config register.
Note that the corner frequency of each filter set scales linearly with the input sample rate.
When the internal ADC is used as the serial audio data sour ce, the input sample rate is nominally 48 kHz
and the corresponding shelving frequency corners are available.
The BassMgr[2:0] bits also allow the bass manager to be disabled. Whe n disabled, the bass management
crossover is bypassed and no signal is presented on the sub channel.
To allow full-range headphone operati on, when t he HP_DETECT/MUTE pin is configu red for headph one
detection (the HP/Mute
bit is set), the operation of the bass manager is affected by the active state of the
headphone detection input signal. In this configuration, when the bass manager is en abled, (BassMgr[2:0]
bits not equal to ‘000’) and the headphone detection input signal becomes active, the bass manager will
be automatically disabled. When the headphone detection input signal becomes inactive, the bass manager will be automatically reconfigured to operate as dictated by the BassMgr[2:0] bits.
Referenced ControlRegister Location
BassMgr[2:0]....................... “Bass Cross-Over Frequency (BassMgr[2:0])” on page 79
HP/Mute
..............................“HP_Detect/Mute Pin Mode (HP/Mute)” on page 70
DS726PP235
CS4525
6.1.4.9Volume and Muting Control
The CS4525’s volume control architecture provides the ability to control the level of each output channel
on both an individual and master basis.
Individual control allows the volume and mute state of a single channel to be changed ind ependently from
the other channels within the device. The CS4525 provides three individual volume and muting controls,
each permanently assigned to one channel within the device. The three individual volume controls,
ChAVol, ChBVol, and SubVol, can gain or attenuate channel A, channel B, or the sub channel (respectively) from +24 dB to - 103 dB in 0.5 dB steps. The three individual mute contro ls, MuteChA, MuteChB,
and MuteSub bits, can mute channel A, channel B, or the sub channel (respectively).
Master control allows the volume of all channels to be changed simultaneously by offsetting each channel’s individual volume setting by an additional +24 dB to -103 dB in 0.5 dB steps. By default, master volume is set to +3dB; if the CS4525 is being used to control the application’s master volume, then it is
recommended to change this value to a comfortable listening level befo re enabling the PWM powered outputs. Master volume control is accomplished via the Master Vol register.
The PWM outputs can be configured to output silence as a modulated signal or an non-modulated 50%
duty cycle signal during a mute condition. This selection is achieved via the Mute50/50 bit in the
Volume Cfg register.
The AutoMute bit in the same register dictates whether the device will automatically mute after the reception of 8192 consecutive samples of static 0 or -1. When the AutoMute function is enabled, a single sample
of non-static data will cause the automatic mute to be released.
The CS4525 implements soft-ramp and zero-crossing detection capabilities to provide noise-free level
transitions. When the zero-crossing function is enabled, all volume and muting changes are made on an
output signal zero-crossing. The zero-crossing detection function is impleme nted ind epend ently for each
channel. When the soft-ramp function is enabled, the volume is ramped from its initial to its final level at
a rate of ½ dB every 4 samples for 32, 44.1, an d 48 kHz sample rates, and ½ dB every 8 samp les for a
96 kHz sampling rate.
All volume and muting changes are implemented as dictated by the soft-ramp and zero-cross settings
configured by the SZCMode[1:0] bits in the Volume Cfg register.
Referenced ControlRegister Location
ChXVol................................ “Channel A and B Volume Control (Address 58h & 59h)” on page 83
SubVol................................. “Sub Channel Volume Control (Address 5Ah)” on page 83
MuteChX.............................“Independent Channel A & B Mute (MuteChX)” on page 84
MuteSub.............................. “Sub Channel Mute (MuteSub)” on page 85
Master Vol........................... “Master Volume Control (Address 57h)” on page 82
Mute50/50...........................“Enable 50% Duty Cycle for Mute Condition (Mute50/50)” on page 80
AutoMute............................. “Auto-Mute (AutoMute)” on page 80
SZCMode............................ “Soft Ramp and Zero Cross Control (SZCMode[1:0])” on page 80
36DS726PP2
CS4525
6.1.4.10 Peak Signal Limiter
When enabled, the limiter monitors the digital output following the volume control block, detects when
peak levels exceed a selectable maximum threshold level and lowers the volume at a programmable attack rate until the signal peaks fall below the maximum threshold. When the signal level falls below a selectable minimum threshold, the volume returns to its original level (as determined by the individual and
master volume control registers) at a programmable release rate. Attack and release rates are affected
by the soft ramp/zero cross settings and sample rate, Fs.
Recommended settings: Best limiting performance may be realized with the fastest attack and slowest
release setting with soft ramp enabled in the control registers. Use the “minimum” bits to set a threshold
slightly below the maximum threshold to cushion the sound as the limiter attacks and releases.
Input
Max[2:0]
Limiter
Attack/Release Sound
Volume
Cushion
Attack/Release Sound
Cushion
Output
(after Limiter)
Min[2:0]
RRate[5:0]ARate[5:0]
Figure 17. Peak Signal Detection & Limiting
By default, the limiter affects all channels when the maximum thre sh old is exceede d on an y single ch annel. This default functionality is designed to keep all output channels at the same volume level while the
limiter is in use. This behavior can be disabled by clearing the LimitAll bit in the Limiter Cfg 1 register.
DS726PP237
CS4525
When the LimitAll feature is activated, attenuation will be applied to all channels when a single channel
exceeds the maximum threshold and released when the level of all channels is below the minimum
threshold. When the LimitAll feature is de-activated, limiter attenuation will be applied and released on a
per-channel basis and will only affect the channel on which the limiter event occurred.
The limiter can be enabled by setting the EnLimiter bit in the Limiter Cfg 1 register
The limiter can also be used in conjunction with the thermal limiter function to provide thermal error pro-
tection to the CS4525. The thermal limiter function is described in Thermal Limiter on page 39.
Referenced ControlRegister Location
EnLimiter............................. “Peak Detect and Limiter Enable (EnLimiter)” on page 86
LimitAll................................. “Peak Signal Limit All Channels (LimitAll)” on page 86
Max[2:0] .............................. “Maximum Threshold (Max[2:0])” on page 85
Min[2:0] ............................... “Minimum Threshold (Min[2:0])” on page 85
ARate[5:0]...........................“Limiter Attack Rate (ARate[5:0])” on page 87
RRate[5:0]........................... “Limiter Release Rate (RRate[5:0])” on page 87
38DS726PP2
CS4525
6.1.4.11 Thermal Limiter
The CS4525 implements a thermal limiter function to provide a quick corrective response to potentially
damaging thermal overload conditions. The thermal limiter feature operates by sensing the presence of
a thermal warning condition and, in response, utilizes the peak signal limiter to dynamically limit the signal
amplitude prior to the PWM modulators. This effectively limits the output power capability of the device,
thereby allowing the temperature to reduce to acceptable levels without fully interruptin g operation.
The thermal limiter is enabled by the EnThLim bit in the Limiter Configuration 3 register. When enabled,
the thermal limiter will trigger once when either of the following conditions is met:
1. The junction temperature crosses the thermal warning threshold for the first time after the thermal
limiter function is enabled.
2. The junction temperature is greater than the thermal warning thresh old at the time the thermal limiter
function is enabled.
Once triggered, the thermal limiter will remain in a triggered state until the RST pin is driven low.
When in the triggered state, the thermal limiter will engage whenever the EnThLim bit is set. While en-
gaged, the thermal limiter utilizes the peak signal limiter function to dynamically limit the signal amplitude
prior to the PWM modulators via the peak signal limiter; the characteristics of this limiting function are described in Section 6.1.4.10 on page 37. If the thermal limiter is engaged and the peak signal limiter is disabled via the EnLimiter bit, the peak signal limiter will be automatically enabled and its minimum and
maximum thresholds will be set to -3 dB. If the thermal limiter is engaged and the peak signal limiter is
enabled, an additional -3dB will be automatically applied to the minimum and maximum thresholds established in the Limiter Cfg 1 register. The automatic enabling of the peak signal limiter and the automatic
application of additional attenuation to its thresholds is done internal to the CS4245; the values of the EnLimiter, Min[2:0], and Max[2:0] bits in the Limiter Cfg 1 register are not affected by the engagement of the
thermal limiter function.
It should be noted that the thermal limiter can only be trigge red once following th e release of the RST
signal. Once it has triggered, the thermal limiter’s attenuation will always be implemented while the thermal
limiter is enabled. If the thermal limiter is disabled after it has triggered, the internal enabling of the peak
signal limiter and the additional -3 dB attenuation applied to its minimum and maximum thresholds will be
released. In this state, the peak signal limiter’s operation will follow the EnLimiter, Min[2:0], and Max[2:0]
bits with no internal modification. If EnThLim is set again before the CS4525 has been reset (by toggling
the RST
Referenced ControlRegister Location
EnThLim.............................. “Enable Thermal Limiter (EnThLim)” on page 87
EnLimiter............................. “Peak Detect and Limiter Enable (EnLimiter)” on page 86
Max[2:0] .............................. “Maximum Threshold (Max[2:0])” on page 85
Min[2:0] ............................... “Minimum Threshold (Min[2:0])” on page 85
pin low and then high), thermal limiting will engage immediately.
DS726PP239
CS4525
6.1.4.12 Thermal Foldback
The CS4525 implements comprehensive thermal foldback features to guard against damaging thermal
overload conditions. Thermal foldback is similar to the thermal limiting described on page 39 in that both
features attenuate the output signal in response to thermal warnings conditions; however, thermal foldback will attenuate as a function of how long thermal warning has been active whereas thermal limiter
always limits by a constant amount. Also, the thermal foldback feature will deactivate once the thermal
warning condition ceases while the thermal limiter will remain active once triggered until the RST
driven low.
The thermal foldback algorithm begins limiting the volume of the digital audio input to the amplifier stage
as the junction temperatures rise above the maximum safe o perating range specified by the thermal warning trigger point listed in the PWM Power Output Characteristics table on page 20. This effectively limits
the output power capability of the device, thereby allowing the temperature to reduce to acceptable levels
without fully interrupting operation. As the device cools, the applied attenuation is gradually released until
a new thermal equilibrium is reached or all applied attenuation has been released thereby allowing the
device to again achieve its full output power capability.
Attenuation applied due to thermal foldback reduces the audio output level in a linear manner. Figure 18
below demonstrates the foldback process.
Foldback Attack Delay
AttackDly[1:0]
t
t
delay
delaytdelaytdelaytdelay
pin is
2
2
2
Thermal Warning
Threshold
When the junction temperature crosses the thermal warning threshold, the foldback attack delay timer is started.
1
When the foldback attack delay timer reaches t
2
temperature is above the thermal warning threshold, the output volume level is lowered by 0.5 dB and the foldback
attack timer is restarted.
The junction temperature is checked after each foldback attack timer timeout, and if necessary, the output volume level
is lowered accordingly.
If the junction temperature is found to be below the thermal warning threshold, the foldback attack timer is restarted
once again, but the output volume level is not altered. The foldback algorithm then proceeds to step 3.
The junction temperature is checked once again after the next foldback attack timer timeout. If it has remained below the
3
thermal warning threshold since the last check, the device will begin to release any attenuation applied as a result of the
foldback event. Setting the LockAdj bit will prevent the device from removing the applied attenuation when the thermal
overload condition has cleared.
1
2
3
seconds, the junction temperature is checked. If the junction
delay
1
If the junction temperature crosses the thermal warning threshold again, the foldback algorithm will once again enter
step 1.
Figure 18. Foldback Process
40DS726PP2
CS4525
The AttackDly[1:0] bits in the Foldback Cfg register allow the foldb ack attack delay time out period to be
adjusted from approximately 0.5 seconds to approximately 2.0 seconds. The maximum attenuation applied by the thermal foldback algorithm can be restricted to -30 dB by setting the EnFloor bit in the same
register.
The foldback adjustment lock feature causes the attenuation applied by the foldback algorithm to be maintained after the foldback condition has subsided. The applied attenuation will continue to be applied until
the master volume or all active channel volume controls are lowered below the foldback attenuation level,
or until a subsequent foldback condition occurs causing the applied attenuation to be lowered further. If
the foldback algorithm applies attenuation while this feature is enabled, when the feature is su bsequently
disabled, the applied attenuation will be gradually released as long as the temperature remains within the
safe operating range. This foldback lock adjustment feature is enabled by the LockAdj bit in the
Foldback Cfg register.
Thermal warnings will only affect the foldback algorithm and cause attenuation to be applied when enabled by the EnTherm bit in the Foldback Cfg register.
The CS4525 can be configured to accept an external thermal warning indicator input. When in this configuration, an active input signal indicates that a ther mal warning thresh old has been exceeded. If therm al
foldback is enabled, the foldback algorithm will respond as described above making no distinction between an internal or external thermal warning condition. See “External Warning Input Port” on page 44 for
more information.
Referenced ControlRegister Location
EnTherm ............................. “Enable Thermal Foldback (EnTherm)” on page 74
AttackDly[1:0]...................... “Foldback Attack Delay (AttackDly[1:0])” on page 75
EnFloor................................ “Enable Foldback Floor (EnFloor)” on page 75
LockAdj ............................... “Lock Foldback Adjust (LockAdj)” on page 74
6.1.4.13 2-Way Crossover & Sensitivity Control
The CS4525 implements a dedicated stereo 24 dB/octave Linkwitz-Riley crossover filter with adjustable
cross-over frequency and sensitivity control to facilitate 2-way speaker configurations. The filter’s highpass output can be used to drive the tweeter, and its low-pass output is used can be drive the midrange/woofer. The sensitivity control is included to adjust the leve l of the hig h-pass and lo w-pass o utputs
to compensate for differences in the tweeter and mid-range/woofer sensitivity.
The two-way crossover is implemented with one of two preset internal filter sets. One set is optimized for
a 32 kHz sample rate, and the other is optimized for 44.1 kHz, 48 kHz, and 96 kHz sample rates. The
CS4525 automatically detects the input sample rate and chooses the appropriate filter set to apply. The
available cross-over frequencies are shown in Table 5 below and are configured with the 2WayFreq[2:0]
bits in the Volume Cfg register.
Note that the corner frequency of each filter set scales linearly with the input sample rate.
When the internal ADC is used as the serial audio data sour ce, the input sample rate is nominally 48 kHz
and the corresponding shelving frequency corners are available.
The sensitivity level of the high- and low-pass outputs of the crossovers can be independently adjusted
from 0 dB to -7.5 dB in 0.5 dB increments. The maximum attenuation level of -7.5 dB will compensate for
an approximate 4 dB difference in sound pressure level (SPL) between the tweeter and the midrange/woofer drivers. The sensitivity is adjusted using the HighPass[3:0] and LowPass[3:0] bits in the
Sensitivity register. Note that these bits affect the sensitivity of both channel A and channel B high- and
low-pass outputs.
The 2-way crossover can be enabled by setting the En2Way bit in the Volume Cfg register.
Referenced ControlRegister Location
En2Way............................... “Enable 2-Way Crossover (En2Way)” on page 81
2WayFreq[2:0]..................... “2-Way Cross-Over Frequency (2WayFreq[2:0])” on page 81
HighPass[3:0]...................... “Channel A and Channel B High-Pass Sensitivity Adjust (HighPass[3:0])” on page 82
LowPass[3:0]....................... “Channel A and Channel B Low-Pass Sensitivity Adjust (LowPass[3:0])” on page 81
42DS726PP2
6.1.5Auxiliary Serial Output
The CS4525 includes a stereo auxiliary serial output which allows an external device to leverage on its
internal signal processing and routing capabilities. The auxiliary serial output can receive its data from any
of the sources shown in the Digital Signal Flow diagram on page 29.
The supported output data routing configurations are shown in Table 6 below. By default, the serial port
is configured to output channels A and B on the auxiliary output data left and right channels respectively.
LChDSel[1:0]Aux Left Channel DataRChDSel[1:0]Aux Right Channel Data
00Channel A00Channel A
01Channel B01Channel B
10Sub Channel10Sub Channel
11Channel B X-Over LPF11Channel B X-Over HPF
The data output on each chann el of AUX_SDOUT is set by the LChDSel[1:0] and RChDSel[1:0] bits in
the Aux Port Configuration register. The frequencies of AUX_LRCK and AUX_SCLK will vary based upon
the whether the serial input or analog input is being used and the frequency of the system clock for the
CS4525; the nominal values for these clocks are listed in Table 7. The characteristics of AUX_SCLK,
AUX_LRCK, and AUX_SDOUT are described in the AUX Serial Audio I/O Port Switching Specifications
table on page 22.
CS4525
Table 6. Auxiliary Serial Port Data Output
Signal
Applied System Clock from either
SYS_CLK or External Crystal
Frequency of LRCK Input32kHz, 44.1kHz,
Nominal Frequency of AUX_SCLK
Output
Nominal Frequency of AUX_LRCK
Output
Table 7. Nominal Switching Frequencies of the Auxiliary Serial Output
18.432, 24.576, or 27.000MHz18.432MHz24.576MHz27.000MHz
or 48kHz
Frequency of
SCLK Input
Frequency of
LRCK Input
ADC/SP
(Digital Input Mode)
= 0
ADC/SP = 1
(Analog Input Mode)
96kHzNot Applicable
Frequency of
SCLK Input / 2
Frequency of
LRCK Input / 2
2.304MHz3.072MHz3.375MHz
48kHz48kHz52.734kHz
The auxiliary port can be enabled using the EnAuxPort bit. When enabled, the port operates as a master
and clocks out data in the format dictated by the AuxI²S/LJ
bit. When disabled, the AUX_LRCK,
AUX_SCLK, and AUX_SDOUT pins continuously drive a logic ‘0’. It should be noted that when the
CS4525 is configured for analog input, the AUX_LRCK, AUX_SCLK, and AUX_SDOUT pins will continuously drive a logic ‘0’ if either the PDnADC bit or PDnAll bit is set.
Referenced ControlRegister Location
EnAuxPort........................... “Enable Aux Serial Port (EnAuxPort)” on page 72
LChDSel[1:0]....................... “Aux Serial Port Left Channel Data Select (LChDSel[1:0])” on page 73
RChDSel[1:0]......................“Aux Serial Port Right Channel Data Select (RChDSel[1:0])” on page 72
AuxI²S/LJ............................. “Aux/Delay Serial Port Digital Interface Format (AuxI²S/LJ)” on page 72
PDnADC.............................. “Power Down ADC (PDnADC)” on page 88
PDnAll.................................“Power Down (PDnAll)” on page 89
DS726PP243
6.1.6Serial Audio Delay & Warning Input Port
The CS4525 includes a configurable delay and warning port to allow easy system integration of external
lip-sync delay devices or warning inputs from external amplifiers. The port can be configured as a serial
audio delay interface, an external warning input port, or disabled by the DlyPortCfg[1:0] bits in the Aux
Config register. When disabled, the DLY_SDOU T and DLY_SDIN/EX_TWR
ance.
Referenced ControlRegister Location
DlyPortCfg........................... “Delay & Warning Port Configuration (DlyPortCfg[1:0])” on page 72
6.1.6.1Serial Audio Delay Interface
Video processing and reproduction circuitry in dig ital video display devices can often introduce noticeably
more delay than is introduced by the device’s audio processing and reproduction c ircuitry. This can resu lt
in a phenomenon known as lip-synch delay - a delay present between the video and audio con tent be ing
reproduced.
To help overcome this problem, the CS4525 delay and warning port can be configured as serial audio
delay interface. This interface consists of a serial audio input/output port to facilitate the use of an external
serial audio delay device. The port routes th e serial data from the selected input source (the ADC or the
serial input port) out to an external serial audio delay device, and then back in to the CS4525 internal digital sound processing blocks. The delay serial audio interface signals include DLY_SDOUT and
DLY_SDIN/EX_TWR
DLY_SDOUT pin and input on the DLY_SDIN/EX_TWR
the Aux Config register. Because the delay interface uses the auxiliary port clock signals, the auxiliary serial port must be enabled using the EnAuxPort bit in the Aux Port Configuration register to allow the dela y
interface to operate properly.
and are clocked from AUX_LRCK and AUX_SCLK. The serial data is output on the
CS4525
pins become high-imped-
in the format specified by the AuxI²S/LJ bits in
Referenced ControlRegister Location
AuxI²S/LJ............................. “Aux/Delay Serial Port Digital Interface Format (AuxI²S/LJ)” on page 72
EnAuxPort........................... “Enable Aux Serial Port (EnAuxPort)” on page 72
6.1.6.2External Warning Input Port
When implementing external PWM power stage devices with thermal warning indicator outputs, it can be
useful to provide these warning signals as an input to the internal thermal foldback algorithm. This allows
the CS4525 to automatically r espond to the external devices’ thermal warning conditions witho ut completely disrupting the system’s operation.
When configured as an external warning input port, the DLY_SDIN/EX_TWR
warning input to the foldback algorithm and the DLY_SDOUT pin becomes high-impedance.
In order for the foldback algorithm to act on the external the rmal warning input signal, the th ermal foldback
algorithm must be enabled by the EnTherm bit in the Foldback Cfg register. See “Thermal Foldback” on
page 40 for more information.
Referenced ControlRegister Location
EnTherm ............................. “Enable Thermal Foldback (EnTherm)” on page 74
is an active-low thermal
44DS726PP2
6.1.7Powered PWM Outputs
The CS4525’s 3 internal modulators can be used to generate multiple powered PWM output configurations to enable a wide variety of system implementations. The CS4525 also implements PWM Popguard
to minimize output transients in half-bridge configurations.
6.1.7.1Output Channel Configurations
Three PWM power output configurations are supported as shown in Table 8 below. The configurations
support stereo full-bridge, stereo half-bridge with full-bridge sub, and mono parallel full-bridge output.
The configurations are selected by the OutputCfg[1:0] bits in the Output Cfg register and must only be
changed when the device is in power-down mode (the PDnAll bit is set). Any attempt to write the OutputCfg[1:0] bits while the device is powered-up will be ignored.
It should be noted that signals on channels 1, 2 and the sub channel are dependent upon the digital sound
processing blocks being used. For instance, if the 2-way cross over is enabled, chann el 1 and 2 contain
the 2-way crossover channel A high- and low-pass outputs respectively. For more information, see the
Digital Sound Processing section and Figure 14 on page 29.
Referenced ControlRegister Location
OutputCfg[1:0]..................... “Output Configuration (OutputCfg[1:0])” on page 73
PDnAll.................................“Power Down (PDnAll)” on page 89
6.1.7.2PWM Popguard Transient Control
The CS4525 uses Popguard technology to minimize the effects of powe r-up and power-down output tr ansients commonly produced by half-bridge, single supply amplifiers implemented with external DC-blocking capacitors connected in series with the au dio out pu ts .
PWM Popguard operates by linearly ramping the PWM power outputs up to and down from their bias point
of VP/2 when a channel is powered up and down respectively using the PDnOutX or PDnAll bits. This
DS726PP245
CS4525
gradual voltage ramp minimizes output transients while the DC blocking capacitor is charged and discharged. The Popguard has no effect on the PWM_SIG outputs nor the auxiliary serial output.
+8V to +18V
0.033 uF
VP
P
A
C
OUT1
_
P
M
A
R
OUT2
Half-
bridge
Filter
Half-
bridge
Filter
Left
Speaker
Right
Speaker
CS4525
OUT3
OUT4
Figure 19. Popguard Connection Diagram
PWM Popguard is disabled by default; to enable it, the RmpSpd[1:0] register must be set to any value
other than 11. PWM Popguard sh ould only be used for ha s when the power outp uts are configured for
stereo half-bridge with full-bridge sub per Section 6.1.7.1. The RAMP_CAP pin must be connected to the
VP supply through a 0.033 µF capacitor whenever PWM Popguard is enabled, as shown in Figure 19.
VP Voltage
12 V2.16 second s2.20 seconds2.20 secondsInstant (No Ramp)
15 V1.74 second s1.76 seconds1.78 secondsInstant (No Ramp)
18 V1.40 second s1.42 seconds1.44 secondsInstant (No Ramp)
Table 9. Typical Ramp Times for Various VP Voltages
PWM Popguard’s output ramp time will vary depending on the voltage applied to VP and the value of the
RmpSpd[1:0] bits; typical ramp times are listed in Table 9. All output channels are affected by the
RmpSpeed[1:0] bits, and PWM Popguard is disabled by default.
Referenced ControlRegister Location
RmpSpeed[1:0]...................“Ramp Speed (RmpSpd[1:0])” on page 75
PDnAll.................................“Power Down (PDnAll)” on page 89
PDnOutX............................. “Power Down PWM Power Output X (PDnOutX)” on page 88
6.1.8Logic-Level PWM Outputs
The CS4525 has two configurable logic-level PWM outp uts, PWM_SIG1 and PWM_SIG2. These ou tputs
can be used as either digital input to an external PWM amplifier such as the CS4412, or as an analog
input to a headphone amplifier or a line-out amplifier.
To eliminate power-up pops when used to supply an external PWM amplifier, the CS4525 implements the
same click-free start-up function on the PWM_SIG outputs as it does for its own powered PWM outputs.
This function can only be utilized if the PWM amplifier has an initial transition delay feature, such as the
CS4412A. To eliminate power-up and power-down pops when used to supply an analog output circuit,
the PWM_SIG outputs support a high-impedance state that is controlled by the HiZPSig
46DS726PP2
bit in the
CS4525
EQ Config register. This bit is active-low and cleared by default. To use the PWM_SIG outputs, the HiZPSig bit must be set to enable the PWM_SIG output drivers.
6.1.8.1R ecommended PWM_SIG Power-Up Sequence for an External PWM
Amplifier
1. Engage the reset/power-down feature of the external PWM amplifier.
2. Set the PDnAll bit in the Power Ctrl register to stop the PWM modulators if it is not already set.
3. Configure the PWM_SIG outputs as desired via the PWMDSel[1:0] bits in the Output Cfg register.
4. Set the HiZPSig
5. Disengage the reset/power-d own feature of the external PWM amplifier if it has an initial transition
delay feature, such as the CS4412A.
WARNING:Releasing the external amplifier from reset/power-down be fore PWM modulators have started
will cause a DC output on the speakers unless the external amplifier has an initial transition delay feature.
6. Clear the PDnAll bit in the Power Ctrl register to start the PWM modulators.
7. Disengage the reset/power- down featur e of the ext ernal PWM amplifier if it has not been yet disengaged.
6.1.8.2R ecommended PWM_SIG Power-Down Sequence for an External PWM
Amplifier
bit in the EQ Config register to activate the PWM_SIG output drivers.
1. Mute the PWM_SIG outputs to a 50% duty-cycle by either setting Master Volume to 1111 1111h
(Master Mute) or through use of the HP_DETECT/MUTE input pin as described in the Headphone
Detection & Hardware Mute Input section on page 51.
2. Engage the reset/power-down feature of the external PWM amplifier.
3. Set the PDnAll bit in the Power Ctrl register to disable the PWM modulators and set the PWM_SIG
outputs to a drive a logic ‘0’.
4. Power down the remainder of the system (if ap plic ab le ).
DS726PP247
CS4525
6.1.8.3Recommended PWM_SIG Power-Up Sequence for Headphone & Line-
Out
1. Set the PDnAll bit in the Power Ctrl register to stop the PWM modulators if it is not already set.
2. Configure the PWM_SIG outputs as desired via th e PWMDSel[1:0] bits in the Output Cfg register.
3. Clear the PDnAll bit in the Power Ctrl register to start the PWM modulators.
4. Wait 500 ms to allow the internal sample rate converters to achieve lock.
5. Set the HiZPSig
6.1.8.4Recommended PWM_SIG Power-Down Sequence for Headphone &
Line-Out
1. Mute the PWM_SIG outputs to a 50% duty-cycle by either setting Master Volume to 1111 1111h
(Master Mute) or through use of the HP_DETECT/MUTE input pin as described in the Headphone
Detection & Hardware Mute Input section on page 51.
2. Clear the HiZPSig
ance state.
3. Power down the remainder of the system (if applicable).
Referenced ControlRegister Location
PDnAll.................................“Power Down (PDnAll)” on page 89
HiZPSig
PWMDSel[1:0]..................... “PWM Signals Output Data Select (PWMDSel[1:0])” on page 73
Master Volume.................... “Master Volume Control (MVol[7:0])” on page 82
...............................“Hi-Z PWM_SIG Outputs (HiZPSig)” on page 79
bit in the EQ Co nfig regist er to act ivat e th e PWM_SI G ou tp ut s.
bit in the EQ Config register to put the PWM_SIG output drivers in a high-imped-
48DS726PP2
CS4525
6.1.8.5P WM_SIG Logic-Level Output Configurations
Four channel mapping output configurations are supported for the PWM_SIG output pins as shown in
Table 10 below. The configurations support stereo, channel 1 with sub, and channel 2 with sub applica-
tions. When disabled, the PWM_SIG pins will continuously drive a logic ‘0’ if the HiZPSig
be held in a high-impedance state if th e H iZP Sig
bit is clear. The configurations are selected by the PWMDSel[1:0] bits in the Output Cfg register. The PWM_SIG2 can be configured to output the sub channel
even if the Bass Manager is not enabled; however, its signal will be muted unless the Bass Manager is
enabled by the BassMgr[2:0] bits. It should be noted that the HiZPSig
To allow stereo headphone operation when the PWM logic-level outpu ts are mapped in a non-stereo output configuration, if the HP_DETECT/MUTE pin is configured for headphone detection (the HP/Mute
is set), the PWM logic-level output mapping can be affected by the active state of the he adphone detection
input signal. See the Headphone Detection & Hardware Mute Input se ction on page51 for more information.
bit is set and will
bit
It should be noted that signal on channels 1, 2, and the sub channel are dependent upon the digital soun d
processing blocks being used. For instance, if the 2-way cross over is enabled, chann el 1 and 2 contain
the 2-way crossover channel A high- and low-pass outputs respectively. For more information, see the
Digital Sound Processing section and Figure 14 on page 29.
Referenced ControlRegister Location
PWMDSel[1:0]..................... “PWM Signals Output Data Select (PWMDSel[1:0])” on page 73
HiZPSig
HP/Mute
BassMgr[2:0]....................... “Bass Cross-Over Frequency (BassMgr[2:0])” on page 79
...............................“Hi-Z PWM_SIG Outputs (HiZPSig)” on page 79
..............................“HP_Detect/Mute Pin Mode (HP/Mute)” on page 70
DS726PP249
6.1.9PWM Modulator Configuration
The CS4525 PWM modulators support flexible configuration options designed to simplify system integration. Delays may be inserted between the switching edges on adjacent channels to manage noise, and
the PWM switching frequency can be easily modified to eliminate interference with AM tuners.
6.1.9.1PWM Channel Delay
The CS4525 includes a PWM output signal delay mechanism. This mechanism allows the PWM switching
edges to be offset between channels as a method of managing switching noise and reducing radiated
emissions.
The OutputDly[3:0] bits in the Output Cfg register are used to adjust the channel delay amount from
0 to 15 SYS_CLK or crystal input clock cycles, whichever is used as the input clock source. The absolute
delay time is calculated by multiplying the setting of the OutputDly[3:0] bits by the period of the input clock
source. By default, no delay is inserted.
When the power outputs are configured for 2-channel full- bridge operation, the OUT3/OUT4 signal p air is
delayed from the OUT1/OUT2 signal pair by the delay amount as shown in Figure 20.
OUT1
CS4525
OUT2
tch
dly
OUT3
OUT4
Figure 20. 2-Channel Full-Bridge PWM Output Delay
When the power outputs are configured for 3-channel (2-channel half-bridge and 1-channel full-bridge)
operation, OUT2 is delayed from OUT1 by the delay amount, and the OUT3/OUT4 pair is delayed from
OUT2 by the delay amount as shown in Figure 21.
OUT1
tch
dly
OUT2
tch
dly
OUT3
OUT4
Figure 21. 3-Channel PWM Output Delay
The OutputDly[3:0] bits can only be changed when all modulators and associated logic are in the powerdown state by setting the PDnAll bit. Attempts to write these bits while the PDnAll bit is cleared will be
ignored.
Referenced ControlRegister Location
OutputDly[3:0].....................“Channel Delay Settings (OutputDly[3:0])” on page 73
50DS726PP2
CS4525
6.1.9.2PWM AM Frequency Shift
When using a PWM amplifier in a system containing an AM tuner, it is possible that the PWM switch rate
conflicts with the desired tuning frequency of the AM tuner . To overcome this effect, the CS4525 includes
a PWM switch rate shift feature.
The feature adjusts the PWM switching frequency and quantization levels to remove interference when
the desired tuning frequency of an AM tuner is positioned near a harmonic of the PWM switching rate.
This feature is enabled by setting the FreqShift bit in the Clock Config register. When this feature is enabled, the output switch rate is lowered and the qua ntization levels are incre ased as shown in Table 11
below.
Table 11. PWM Output Switching Rates and Quantization Levels
The nominal PWM switching frequencies and quantization levels are discussed in “PWM Modulators and
Sample Rate Converters” on page 58.
Referenced ControlRegister Location
FreqShift.............................. “AM Frequency Shifting (FreqShift)” on page 70
6.1.10Headphone Detection & Hardware Mute Input
The CS4525 includes a configurable HP_DETECT/MUTE input pin which can be used as a hardware
mute input or a headphone detection input. The function of this pin is set by the HP/Mute
Config register.
When configured as a mute input pin, all PWM modulators and the AUX_SDOUT signal will be placed in
a mute state when the pin is active.
When configured as a headphone detect input pin and the HP_DETECT/MUTE input is active, the
PWM_SIG1 and PWM_SIG2 output pins can output audio from ch annel 1 and channel 2 respectively regardless of the setting of the PWMDSel[1:0] bits. The OUT1 - OUT4 PWM driver outputs will mute by outputting a non-modulated 50% duty cycle signal. While the headphone detect input signal is active, the
channel mixing, 2-way crossover, and bass management features will all be disabled regardless of the
settings of the LChMix[1:0], En2Way, and BassMgr[2:0] bits, respectively . It should be noted that the ri ght
channel’s channel mixing is not affected by the headphone detection input signal and will always output
as dictated by the RChMix[1:0] bits. See “Channel Mixer” on page 30, “2-Way Crossover & Sensitivit y
Control” on page 41, and “Bass Management” on page 35 for more information.
When configured as a headphone detect input pin and the HP_DETECT/MUTE input is inactive, the
OUT1 - OUT4 driver outputs will output audio according to the channel mixer and bass manager bits’ settings, and the PWM_SIG output pins will mute by outputting a non-modulated 50% duty cycle.
bit in the Clock
DS726PP251
CS4525
HiZPSig
Setting
0XXXXHigh Impedance High Impedance
1
*Signals denoted with one asterisk do not have Bass Manager, 2-Way Crossover, or Channel Mix applied.
HP/Mute
Setting
XXX00 (Disabled)Driven LowDriven Low
(Mute
Mode)
(Head-
phone
Mode)
**Signals denoted with two asterisks do not have Bass Manager or 2-Way Crossover applied.
Table 12 describes the exact output of the PWM_SIG output pins based on the input to the
HP_DETECT/MUTE pin and the settings of the HiZPSig
, HP/Mute, BassMgr[2:0], and PWMDSel[ 1:0]
bits. In all configurations, the active logic input level is determined by the HP/MutePol bit.
Referenced ControlRegister Location
HP/Mute..............................“HP_Detect/Mute Pin Mode (HP/Mute)” on page 70
HP/MutePol......................... “HP_Detect/Mute Pin Active Logic Level (HP/MutePol)” on page 70
PWMDSel[1:0]..................... “PWM Signals Output Data Select (PWMDSel[1:0])” on page 73
LChMix[1:0]......................... “Left Channel Mixer (LChMix[1:0])” on page 76
RChMix[1:0] ........................ “Right Channel Mixer (RChMix[1:0])” on page 76
En2Way............................... “Enable 2-Way Crossover (En2Way)” on page 81
BassMgr[2:0]....................... “Bass Cross-Over Frequency (BassMgr[2:0])” on page 79
HiZPSig
...............................“Hi-Z PWM_SIG Outputs (HiZPSig)” on page 79
52DS726PP2
6.1.11Interrupt Reporting
The CS4525 has comprehensive interrupt reporting capabilities. Many conditions including SRC lock,
ADC overflow, digital data path overflow, and amplifier errors can cause a n interrupt.
CS4525
The INT
output pin is intended to drive an interrupt input pin on a host microcontroller. The INT pin is an
open-drain active-low output and requires an external pull-up for proper operation.
If an interrupt source is un-masked, its occurrence will cause the interrupt output pin to become active. To
enhance flexibility, each interrupt source may be masked such that its occurrence does not cause the interrupt output pin to become ac tive. This m asking f unction is accomplis hed by clearing an interr upt’s respective mask bit located in the 4 LSB’s of the Interrupt register.
When a specific interrupt condition occurs, it’s re spective bit located in the 4 MSB’s of the Interrupt regi ster
will be set to indicate that a change has occurred fo r the associated interrupt type. When the interrupt r egister is read, the contents of the 4 MSB’s will be cleared. The Int Status register may then be read to determine the current state of the interrupt source.
For specific information regarding interrupt types and reporting, see the In terrup t, Int Status and Amp Error register descriptions.
Referenced ControlRegister Location
Interrupt Register ................ “Interrupt (Address 60h)” on page 89
Int Status Register............... “Interrupt Status (Address 61h) - Read Only” on page 92
Amp Error Register ............. “Amplifier Error Status (Address 62h) - Read Only” on page 93
6.1.12Automatic Power Stage Shut-Down
To prevent permanent damage, the CS4525 will automatically shut down its internal PWM power output
stages when a thermal error, PWM power output over-current er ror, or VP under-voltage condition occurs.
In the shut-down state, all digital functions of the device will operate as normal, however the PWM power
output pins become high-impedance.
The levels of the over-current er ror, thermal error, and VP un der-voltage trigger points ar e listed in the
PWM Power Output Characteristics table on page 20. Automatic shut-down will occur whenever any of
these preset thresholds are crossed.
Once in the shut-down state, each powered PWM outputs will remain as high-impedance and will not re-
sume normal operation until either the PDnAll bit or the PDnOutX bit for the channel in error is set and
then cleared.
If the AutoRetry bit is set, the CS4525 will attempt to automatically resume power output operation after
an over-current error is encountered and before entering the shut-down state. With the AutoRetry function
enabled, the CS4525 will place the PWM power outputs in a high-impedance state upon the sensing of
an over-current condition, wait approximately 85 ms, and then re-engage the power outputs in an attempt
to resume normal operation. If another over-current condition is immediately detected, the PWM power
outputs will again be placed in a high-impedance state before retrying to resume normal operation a second time. It will continue this sequence for a maximum of five attempts. After the fifth unsuccessful attempt, the outputs will remain in a high-impedance state until the PDnAll bit is set and then cleared.
Referenced ControlRegister Location
AutoRetry............................“Automatic Power Stage Retry (AutoRetry)” on page 88
PDnAll.................................“Power Down (PDnAll)” on page 89
PDnOutX............................. “Power Down PWM Power Output X (PDnOutX)” on page 88
DS726PP253
6.2Hardware Mode
A limited feature set is available when the CS4525 powers up in hardwa re mode. The available features are
described in the following sections. All device configuration is achieved via hardware control input pins.
6.2.1System Clocking
In hardware mode, the CS4525 must be clocked by a stable external clock source input on the SYS_CLK
pin. This input clock is used to synchro nize the input serial audio signals with the internal clock domain
and to clock the internal digital processing, sample-rate converter, and PWM modulators. It is also used
to determine the sample rate of the serial audio input signals in order to automatically configure the various internal filter coefficients.
To ensure proper operation, the CS4525 must be informed of the nominal frequency of the supplied
SYS_CLK signal via the ClkFreq[1:0] hardware control pins. These pins must be set to the appropriate
level before the RST
indicated by the states of the ClkFreq[1:0] pins are shown in Table 13 below. See the SYS_CLK Switching
Specifications table on page 23 for complete input frequency range specifications.
signal is released to initiate a power-up sequence. The nominal clock frequencies
Table 13. SYS_CLOCK Frequency Selection
WARNING: The SYS_CLK signal must never be removed or stopped while the RST
of the power output stages are connected to a load. Doing so may result in permanent damage to the
CS4525 and connected transducers.
Figure 22 below demonstrates a typical clocking configuration using the SYS_CLK input.
The CS4525 will remain in a completely powered-down state until the RST pin is brought high.
6.2.2.1Recommended Power-Up Sequence
1. Hold RST low until the power supplies and the input SYS_CLK signal are stable.
2. Bring RST
Hardware mode will be entered after approximately 10 ms.
high.
Clock_In
DSP
Reset_Out
RST
SYS_CLK
CS4525
pin is high and any
XTI
XTO
54DS726PP2
6.2.2.2R ecommended Power-Down Sequence
1. Bring MUTE low to mute the device’s outputs and minimize audible pops.
2. Bring RST
low to halt the operation of the device.
The device’s power consumption will be brought to an absolute minimum.
3. Remove power.
6.2.3Input Source Selection
The CS4525 can accept analog or digital audio input signals. Digital audio input signals are supplied
through the serial audio input port as outlined in “Ser ial Audio In terfaces” o n page62. Analog audio input
signals are supplied through the internal ADC as outlin ed in “Analog Inputs” on p age 61. The input source
is selected by the ADC/SP
ing any audible pops or clicks.
ADC/SPSelected Input Source
LowDigital Audio Inputs (Serial Port)
HighAnalog Audio Inputs (ADC)
In hardware mode, the serial audio input port supports both I²S and left-justified formats. The serial audi o
interface format is selected by the I2S/LJ
pin as shown in Table 14 below and can be changed at any time without caus-
CS4525
Table 14. Input Source Selection
pin as shown in Table 15 below.
I2S/LJSelected Serial Audio Interface Format
LowLeft-Justified
HighI²S
6.2.4PWM Channel Delay
In hardware mode, the CS4525 offsets the PWM switching edges between channels as a method of managing switching noise and reducing radiated emissions.
The OUT3/OUT4 signal pair is delayed from the OUT1/OUT2 signal pair by 4 SYS_CLK cycles as shown
in Figure 23 below. The absolute delay time is calculated by multiplying the period SYS_CLK by 4.
OUT1
OUT2
OUT3
OUT4
Table 15. Serial Audio Interface Format Selection
4 x T
SYS_CLK
Figure 23. Hardware Mode PWM Output Delay
DS726PP255
6.2.5Digital Signal Flow
In hardware mode, the CS4525 operates as a 2-channel full-bridge PWM amplifier with analog or digital
inputs. Both the PWM outputs and the auxiliary serial outputs are unavailable in hardware mode. To protect against over-temperature conditions, thermal foldback is included for the internal power stages.
The digital signal flow is shown in Figure 24 below.
MUTE
ADC/SP
Stereo
Analog In
Serial Audio
Clocks & Data
I²S/LJ
Multi-Bit
ΔΣ ADC
Serial Audio
Input P ort
CS4525
+3dB
High-Pass
+3dB
Thermal Foldback
Sample
Rate
Converter
Mute
Sample
Rate
Converter
PWM
Modulator
PWM
Modulator
Gate
Drive
Gate
Drive
Gate
Drive
Gate
Drive
Power
Stage
Power
Stage
Power
Stage
Power
Stage
Left
Full-Bridge
Amplifier
Output
Right
Full-Bridge
Amplifier
Output
EN_TFB
Thermal Foldback
Temp & Cur r ent
Sense
Figure 24. Hardware Mode Digital Signal Flow
6.2.5.1High-Pass Filter
The CS4525 includes a high-pass filter at the beginning of the digital signal processing chain to remove
any DC content from the input signal prior to the remaining internal digital signal processing blocks. The
high-pass filter operates by continuously subtracting a measure of the DC offset from the input signal; it
is always enabled.
6.2.5.2Mute Control
The CS4525 includes a dedicated MUTE input pin. When low, the PWM outputs will output silence as
modulated signal. When high, the selected input source will be presented at the amplifier outputs.
It should be noted that the auto-mute, soft-ramp, an d zero-crossing detection features are active in hardware mode.
6.2.5.3Warning and Error Reporting
The CS4525 is capable of reporting various error and warning conditions on its TWR, ERROC, and ERRUVTE pins.
TWR
ERROC
ERRUVTE
•The TWR
ERRUVTE
•The ERROC
pin indicates the presence of a thermal warning condition. When active concurrently with the
pin, indicates a thermal error condition.
pin indicates the presence of an over-current condition on one or both of the output chan-
nels.
•The ERRUVTE
with the TWR
pin indicates the presence of a VP undervoltage condition. When active concurrently
pin, indicates a thermal error condition.
The trigger point for each warning and error condition is defined in the PWM Power Output Characteristics
table on page 20. Each pin implements an active-low open-drain driver and requires an external pull-up
for proper operation.
56DS726PP2
6.2.6Thermal Foldback
In hardware mode, the CS4525 implements a thermal foldback feature to guard aga inst damaging thermal
overload conditions. The thermal foldback feature begins limiting the volume of the digital audio input to
the amplifier stage as the junction temperatures rise above the maximum safe operating range specified
by the thermal warning trigger point listed in the PWM Power Output Characteristics table on page 20.
This effectively limits the output power capability of the device, thereby allowing the temperature to reduce
to acceptable levels without fully interrupting operation. As th e device cools, the applied attenuation is
gradually released until a new thermal equilibrium is reach ed or all applied atte nuation has been released
thereby allowing the device to again achieve its full output power capability.
Attenuation applied due to thermal foldback reduces the audio output level in a linear manner. Figure 18
below demonstrates the foldback process.
Foldback Attack Delay
Approximately 2 sec.
Thermal Warning
Threshold
CS4525
t
1
delay
t
delaytdelaytdelaytdelay
2
2
2
2
1
3
When the junction temperature crosses the thermal warning threshold, the foldback attack delay timer is started.
1
When the foldback attack delay timer reaches t
2
thermal warning threshold, the output volume level is lowered by 0.5 dB and the foldback attac k timer is restarted.
The junction temperature is checked after each foldback attack timer timeout, and if necessary, the output volume
level is lowered accordingly.
If the junction temperature is found to be below the thermal warning threshold, the foldback attack timer is
restarted once again, but the output volume level is not altered. The foldback algorithm then proceeds to step 3.
The junction temperature is checked once again after the next foldback attack timer timeout. If is has remained
3
below the thermal warning threshold since the last check, the device wil l begin to release any attenuation applied
as a result of the foldback event.
If the junction temperature crosses the thermal warning threshold again, the foldback algorithm will once again
enter step 1.
seconds, the junction temperature is checked. If it is above the
delay
Figure 25. Foldback Process
Thermal warning conditions will only affect the foldback algorithm and cause attenuation to be applied if
enabled by the EN_TFB pin as shown in Table 16 below.
EN_TFBSelected Thermal Foldback Enable State
LowThermal foldback disabled.
HighThermal foldback enabled.
Table 16. Thermal Foldback Enable Selection
DS726PP257
6.2.7Automatic Power Stage Shut-Down
To protect itself from permanent damage, the CS4525 will automatically shut down its internal PWM power output stages when a thermal error, PWM power output over-current error, or VP under-voltage condition occurs. In the shut-down state, all digital functions of the device will operate as normal, however the
PWM power output pins become high-impedance.
The levels of the over-current error, thermal error, and VP under-voltage trigger points are listed in the
PWM Power Output Characteristics table on page 20. Shut-down will occur automatically whenever the
preset thresholds for thermal error or under-voltage are crossed.
When the over-current threshold is crossed, the CS4525 will attempt to automatically resume power out-
put operation after an over-current error is encountere d and be fore pla cing its PWM power o utputs in the
shut-down state. Upon the detection of an over-current condition, the CS4525 will place the PWM power
outputs in a high-impedance state, wait approximately 85 ms, and then re-engage the power outputs in
an attempt to resume normal operation. If another over-current condition is immediately detected, the
PWM power outputs will again be placed in a high-impedance state before retrying to resume normal operation a second time. It will continue this sequence for a maximum of five attempts. After the fifth unsuccessful attempt, the outputs will remain in the high-impedance shut-down state.
CS4525
Once in the shut-down state, the RST
operation.
signal must be toggled low and then high to resume normal device
6.3PWM Modulators and Sample Rate Converters
The CS4525 includes three PWM modulators and three corresponding sample rate converters, each
clocked from the external crystal or system clock applied at power-up. All three modulator and sample rate
converter pairs are available in software mode (see Figure 14 on page 29), and two pairs are used in hardware mode (see Figure 24 on page 56).
One of the characteristics of a PWM modulator is that the frequency content of the out-of-band noise generated is dependent on the PWM switching frequency. As the power stage external LC and snubber filter
component values are used to attenuate this out-of b and energy, their comp onent values are also based on
this switching frequency.
To easily accommodate input sample rates ranging from 32 kHz to 96 kHz without requiring the adjustment
of output filter component values, the CS4525 utilizes a sample rate converter (SRC) to keep the PWM
switching frequency fixed regardless of the input sample rate. The SRC operates by upsampling the variable
input sample rate to a fixed output switching rate, typically 384 kHz for most audio applications. Table 17
below shows the PWM output switching rate and quantization levels as a function of the supplied external
crystal or system clock.
Additionally, as the output of the SRC is clocked from a very stable crystal or oscillator, the SRC also allows
the PWM modulator output to be independent of the input serial audio clock jitter. This results in very low
jitter PWM output and higher dynamic range.
Table 17. PWM Output Switching Rates and Quantization Levels
58DS726PP2
6.4Output Filters
The filter placed after the PWM outputs can greatly affect the output performance. The filter not only reduces
radiated EMI (snubber filter), but also filters high frequency content from the switching output before going
to the speaker (low-pass LC filter).
6.4.1Half-Bridge Output Filter
Figure 26 shows the output filter for a half-bridge configuration. The transient-voltage suppression circuit
(snubber circuit) is comprised of a capacitor (680 pF) and a resistor (5.6 Ω, 1/8 W) and should be placed
as close as possible to the corresponding PWM output pin to greatly reduce radiated EMI.
CS4525
VP
C2
+-
C1
OUTx
680 pF
L1
*Diode is Rohm
RB160M-30 or
equivalent
5.6 Ω
Figure 26. Output Filter - Half-Bridge
The inductor, L1, and capacitor, C1, comprise the low-pass filter. Along with the nominal load impedance
of the speaker, these values set the cutoff frequency of the filter. Table 18 shows the component values
for L1 and C1 based on nominal speaker (loa d) impedance for a corner frequency (-3 dB point) of approximately 35 kHz.
C2 is the DC-blocking capacitor. Table 19 shows the component values for C2 based on corner frequency
(-3 dB point) and a nominal speaker (load) impedances of 4 Ω, 6 Ω, and 8 Ω. This capacitor should also
be chosen to have a ripple current rating above the amount of current that will passed through it.
6.4.2Full-Bridge Output Filter (Stereo or Parallel)
Figure 27 shows the output filter for a full-bridge configuration. The transient-voltage suppression circuit
(snubber circuit) is comprised of a capacitor (680 pF) and a resistor (5.6 Ω, 1/8 W) on each output pin and
should be placed as close as possible to the corresponding PWM output pins to greatly reduce radiated
EMI. The inductors, L1, and capacitor, C1, comprise the low-pass filter. Along with the nominal load impedance of the speaker, these values set the cutoff frequency of the filter. Table 20 shows the component
values based on nominal speaker (load) imped ance for a corner frequ ency (-3 dB point) of approximately
35 kHz.
Very few components are required to interface between the audio so ur ce an d the CS4 525’s ana log inputs,
AINL and AINR. A single order passive low-pass filter is recommended to prevent high-frequency content
from aliasing into the audio band due to the analog-to-digital conversion process. Also, a DC-blocking capacitor is required as the CS4525’s analog inputs are internally biased to VQ.
The recommended analog input circuit is shown in Figure 28 below will accommodate full-scale input voltages as defined in the Analog Input Characteristics table on page 19. This circuit provides the necessary
high-frequency filtering with a first-order passive low-pass filter that has less than 0.05 dB of attenuation at
24 kHz. It also includes a DC blocking capacitor to accommodate the analog input pins’ bias level.
Left Input
1 µF
CS4525
CS4525
365 Ω
AINL
100 kΩ
1 µF
Right Input
100 kΩ
1800 pF
C0G
365 Ω
AINR
1800 pF
C0G
Figure 28. Recommended Unity Gain Input Filter
To interface 2 V
Figure 29 shows the recommended input circuit for 2 V
input signals with the CS4525’s analog inputs, an external resistor divider is required.
RMS
inputs. It includes a -8.4 dB passive attenuator
RMS
to condition the input signal for the CS4525’s full-scale input voltage, a first-order passive low-pass filter that
has less than 0.05 dB of attenuation at 24 kHz, and a DC blocking capacitor to accommodate for the analog
input pins’ bias level. The passive attenuator network should be placed as close as possible to th e CS4525’s
analog input pins to reduce the potential for noise and signal coupling into the analog input traces.
CS4525
Left Input
8.06 kΩ
5.62 kΩ
1 µF
AINL
100 pF
C0G
Right Input
8.06 kΩ
5.62 kΩ
Figure 29. Recommended 2 V
1 µF
100 pF
C0G
Input Filter
RMS
AINR
It should be noted that the external DC blocking capacitor forms a high-pass filter with the CS4525’s input
impedance. Both filters shown above have less than 0.2 dB attenuation at 20 Hz due to this effect. Increasing the value of this capacitor will lower this high-pass corner frequency, and decreasing it’s value will increase the corner frequency.
DS726PP261
6.6Serial Audio Interfaces
The CS4525 interfaces to external digital audio devices via the serial audio input port and the auxiliary/delay
serial ports.
The serial audio input port provides support for I²S, Left-Justified and Right-Justified data formats and operates in slave mode only, with LRCK and SCLK as inputs. The input LRCK signal must be equal to the
sample rate, Fs and must be synchronous to the serial bit clock, SCLK, which is used to sample the data
bits.
The auxiliary/delay serial port (available in software mode only) supports I²S and Left-Justified data formats
and operates in master mode only, with AUX_LRCK and AUX_SCLK as outputs.
Each of the supported formats is described in detail in sections 6.6.1 - 6.6.3 below. Please refer to th e Serial
Audio Input Port Switching Specifications and AUX Serial Audio I/O Port Switching Specifications on
page 21 and page 22 (respectively) for the precise timing and tolerances of each signal.
For additional information, application note AN282 presents a tutorial of the 2-channel serial audio inter face.
AN282 can be downloaded from the Cirrus Logic web site at http://www.cirrus.com.
6.6.1I²S Data Format
In I²S format, data is received most significant bit first one SCLK delay after the transition of LRCK and is
valid on the rising edge of SCLK. The left ch annel data is presented when LRCK is low; the ri ght channel
data is presented when LRCK is high.
CS4525
LRCK
SCLK
SDIN
MSBMSB
-2 -3 -4 -5
-1
Left Channel
6.6.2Left-Justified Data Format
In Left-Justified format, data is received most significant bit first on the first SCLK after a LRCK transition
and is valid on the rising edge of SCLK. The left channel data is presented when LRCK is high and the
right channel data is presented when LRCK is low.
LRCK
SCLK
SDIN
MSBLSBMSBLSB
-1 -2 -3 -4 -5
Left Channel
Figure 31. Left-Justified Serial Audio Formats
LSBLSB
+3 +2 +1+5 +4
-1
-2 -3 -4
Figure 30. I²S Serial Audio Formats
+3 +2 +1+5 +4
-1
-2 -3 -4
RightChannel
+3 +2 +1+5 +4
Right Channel
+3 +2 +1+5 +4
62DS726PP2
6.6.3Right-Justified Data Format
In Right-Justified format, data is received most significant bit first and with the least significant bit presented on the last SCLK before the LRCK transition and is valid on the rising edge of SCLK. For the RightJustified format, the left channe l data is pres ente d when LRCK is high and the right channel data is presented when LRCK is low. 16, 18, 20, and 24 bits per sample are supported.
CS4525
LRCK
SCLK
SDIN
15 14 13 12 11 10
Figure 32. Right-Justified Serial Audio Formats
6.7Integrated VD Regulator
The CS4525 includes two internal linear regulators, one from the VD supply voltage to pr ovide a fixed 2.5 V
supply to its internal digital blocks, and another from the VD supply voltage to provide a fixed 2.5 V supply
to its internal analog blocks. The LVD pin must be set to indicate the voltage pr esent on the VD pin as shown
in Table 21 below.
VD
Connection
5 V SupplyBypass Capacitors OnlyBypass Capacitors OnlyVD‘1’ - Default
3.3 V SupplyBypass Capacitors OnlyBypass Capacitors OnlyDGND‘1’ - Default
2.5 V SupplyVD and Bypass Capacitors VD and Bypass CapacitorsDGND‘0’
The output of the digital regulator is presented on the VD_REG pin and may be used to provide an external
device with up to 3mA of current at its nominal output voltage of 2.5 V. The output of the analo g re gula tor
is presented on the VA_REG pin and must only be connected to the bypass capacitors as sh own in the typical connection diagrams.
VD_REG
Connection
Table 21. Power Supply Configuration and Settings
Left Channel
6543210987
VA_REG
Connection
RightChannel
15 14 13 12 11 10
LVD
Connection
6543210987
SelectVD Bit Setting
Software Mode Only
If a nominal supply voltage of 2.5 V is used as the VD supply (see the Recommended Operating Conditions
table on page 18), the VD, VD_REG, and VA_REG pins must all be connected to the VD supply source. In
this configuration, the internal regulators are bypassed and the external supply source is used to directly
drive the internal digital and analog sections.
Referenced ControlRegister Location
SelectVD.............................“Select VD Level (SelectVD)” on page 88
DS726PP263
6.8I²C Control Port Description and Timing
The control port is used to access the registers allowing the CS4525 to be configured for the desired operational modes and formats. The operation of the control port ma y be completely asynchron ous with respect
to the audio sample serial port. However, to avoid potential interference problems, the control port pins
should remain static if no operation is required. The control port operates in I²C Mode, with th e CS4525 acting as a slave device.
SDA is a bidirectional data line. Data is clocked into and out of the part by the clock, SCL. A 47 kΩ pull-up
or pull-down on the AUX_LRCK/AD0 pin will set AD0, the least significant bit of the device address. A pullup to VD will set AD0 to ‘1’ and a pull-down to DGND will set AD0 to ‘0’. The state of AUX_LRCK/AD0 is
sensed, and AD0 is set upon the release of RESET
The signal timings for a read and write cycle are sho wn in Figure 33 and Figure 34. A Start condition is de-
fined as a falling transition of SDA while the clock is high. A Stop condition is a rising transition while the
clock is high. All other transitions of SDA occur while the clock is low. The first byte sent to the CS4525 after
a Start condition consists of a 7 bit device address field and a R/W
upper 6 bits of the 7-bit address field are fixed at 100101. To communicate with a CS4525, the device address field, which is the first byte sent to the CS4525, should match 100101 followed by the setting of AD0.
The eighth bit of the address is the R/W
pointer (MAP) which selects the register to be read or written. If the operation is a re ad, the con tents of the
register pointed to by the MAP will be output. Setting the auto increment bit in MAP allows successive reads
or writes of consecutive registers. Each byte is separated by an acknowledge bit. The ACK bit is outp ut from
the CS4525 after each input byte is read, and is input to the CS4525 from the microcontroller after each
transmitted byte.
bit. If the operation is a write, the next byte is the memory address
CS4525
.
bit (high for a read, low for a write). The
4 5 6 7 24 25
INCR 6 5 4 3 2 1 0 7 6 1 07 6 1 07 6 1 0
ACK
DATA +1
DATA +n
ACKACKACK
STOP
SCL
SDA
0 1 2 3 8 9 12 16 17 18 19 10 11 13 14 15 27 2826
CHIP ADDRESS (WRITE)MAP BYTEDATA
1 0 0 1 0 1 AD0 0
START
Figure 33. Control Port Timing, I²C Write
16 8 9 12 13 14 15 4 5 6 7 0 1 20 21 22 23 24
STOP
ACK
START
CHIP ADDRESS (READ)
1 0 0 1 0 1 AD0 1
26 27 28
DATA
7 07 07 0
ACK
DATA +1
ACK
DATA + n
NO
ACK
STOP
SCL
SDA
2 3 10 11 17 18 19 25
CHIP ADDRESS (WRITE)
1 0 0 1 0 1 AD0 0
START
MAP BYTE
INCR 6 5 4 3 2 1 0
ACK
Figure 34. Control Port Timing, I²C Read
Since the read operation can not set the MAP, an aborted write operation is used as a preamble. As shown
in Figure 34, the write operation is aborted after the acknowledge for the MAP byte by sending a stop condition. The following pseudocode illustrates an aborted write operation followed by a read operation.
Setting the auto increment bit in the MAP allows successive reads or writes of consecutive registers. Each
byte is separated by an acknowledge bit.
7. PCB LAYOUT CONSIDERATIONS
7.1Power Supply, Grounding
As with any high-resolution converter, the CS4525 requires careful attention to power supply and grounding
arrangements if its potential performance is to be realized.
Extensive use of power and ground planes, ground plane fill in unused areas and surface mount decoupling
capacitors are recommended. Decoupling capacitors shoul d be as close to the pin s of the CS4525 as possible. The lowest value ceramic capacitor should be closest to the p in and should be mounted on the sam e
side of the board as the C S4525 to minimize ind uctance effects. All signals , especially clocks, shou ld be
kept away from the FILT+ and VQ pins in order to avoid unwanted co upling into th e modulator s. The FILT+
and VQ decoupling capacitors, particularly the 0.1 µF, must be positioned to minimize the electrical path
from FILT+ and AGND. The CRD4525 reference design d emo nstrates the o ptimum layo ut an d power supply arrangements.
CS4525
7.2QFN Thermal Pad
The CS4525 is available in a compact QFN package. The underside of the QFN package reveals a large
metal pad that serves as a thermal relief to provide for maximum heat dissipation. This pad must mate with
an equally dimensioned copper pad on the PCB and must be electrically connected to ground. A series of
thermal vias should be used to connect this copper pad to one or more larger ground planes on other PCB
layers. The CRD4525 reference design demonstrates the optimum thermal pad and via configuration.
For more information concerning thermal considerations of QFN packages, please refe r to Cirrus Log ic application note AN315.
DS726PP265
CS4525
8. REGISTER QUICK REFERENCE
This table shows the register names and their associated default values.
This bit controls the output driver for the SYS_CLK signal. When cleared, the output driver is disabled and
the SYS_CLK pin is high-impedance. When set, the output driver is enabled.
If the SYS_CLK output is unused, this bit should be set to ‘0’b to disable the driver.
This bit determines the divider for the XTAL clock signal for generating the SYS_CLK signal.
This divider is only available if the clock source is an external crystal attached to XTI/XTO and the
SYS_CLK output is enabled.
DivSysClk SettingSYS_CLK Output Frequency
0 ..........................................F
1 ..........................................F
SYS_CLK=FXTAL
SYS_CLK=FXTAL
9.1.3Clock Frequency (ClkFreq[1:0])
Default = 01
Function:
These bits must be set to identify the nominal clock frequency of the crystal a ttached to the XTI/XTO pins
or that of the input SYS_CLK signal. See the XTI Switching Specifications table on page 23 and the
SYS_CLK Switching Specifications table on page 23 for complete input frequency range specifications.
ClkFreq[1:0] SettingSpecified Nominal Input Clock Frequency
When enabled, forces the output of the PWM modulator to output differentia l signals which are the inverse
of each other and have been phase shifted by 180 deg rees. This causes, for insta nce, the differential signal pair to be exactly in phase with one another during a mute condition, thereby reducing the amount of
switching current through the load.
9.2.3Serial Port Sample Rate (SPRate[1:0]) - Read Only
Function:
Identifies the sample rate of the incoming LRCK signal on the serial audio input port based on the setting
of the ClkFreq[1:0] bits in Register 01h, the frequency of the internal system clock, and the frequency of
the input LRCK signal.
9.2.4Input Serial Port Digital Interface Format (DIF [2:0])
Default = 000
Function:
Selects the serial audio interface format used for the data in on SDIN. The required relationship between
the Left/Right clock, serial clock and serial data is defined by the Digital Interface Format and the options
are detailed in the section “Serial Audio Interfaces” on page 62.
DIF[2:0] SettingInput Serial Port Serial Audio Interface Format
000 ......................................Left-Justified, up to 24-bit data.
001 ......................................I²S, up to 24-bit data.
9.3.3Aux/Delay Serial Port Digital Interface Format (AuxI²S/LJ)
Default = 0
Function:
Selects the serial audio interface format for the data on AUX_SDOUT, DLY_SDIN, DLY_SDOUT. The required relationship between the Left/Right clock, serial clock and serial data is defined by the Digital Interface Format and the options are detailed in the “Serial Audio Interfaces” on page 62.
AuxI²S/LJ SettingAuxiliary/Delay Port Serial Audio Interface Format
0 ..........................................Left-Justified, up to 24-bit.
1 ..........................................I²S, up to 24-bit.
9.3.4Aux Serial Port Right Channel Data Select (RChDSel[1:0])
Default = 01
Function:
Selects the data to be sent over the right channel of the auxiliary port serial data output signal.
RChDSel[1:0] SettingAux Serial Port Right Channel Output Data Source
00 ........................................Channel A.
01 ........................................Channel B.
Identifies the power output configuration. This parameter can only be changed when all modulators and
associated logic are in the power-down s tate (the PDnAll bit is set ). Attempts to write th is register while
the PDnAll is cleared will be ignored. See “Output Channel Configurations” on page 45 for more information.
01 ........................................Channel 1 output on PWM_SIG1.
10 ........................................Channel 1 output on PWM_SIG1.
11.........................................Channel 2 output on PWM_SIG1.
PWM_SIG2 output disabled.
Channel 2 output on PWM_SIG2.
Sub Channel output on PWM_SIG2.
Sub Channel output on PWM_SIG2.
9.4.3Channel Delay Settings (OutputDly[3:0])
Default = 0000
Function:
The channel delay bits allow delay adjustment of each of the power output audio channels. The value of
this register determines the amo unt of de lay inserted in the ou tput path. The delay t ime is calcu lated by
multiplying the register value by the period of the SYS_CLK or crystal input clock source. These bits can
DS726PP273
CS4525
only be changed while all modulators and associated logic are in the power- do wn state (the PDnAll bit is
set). Attempts to write these bits while the PDnAll bit is cleared will be ignored. See “PWM Channel Delay”
on page 55 for more information.
OutputDly[3:0] SettingOutput Delay in Input Clock Source Cycles
0000 ....................................0 - No Delay
0001 ....................................1
0010 ....................................2
....................................
1000 ....................................8
....................................
1111 .....................................15 - Max Delay
Adjusts the PWM modulation index to maximize output power for applications with a nominal VP voltage
of less than or equal to 14 V. This bit must remain set for applications with a nominal VP voltage greater
than 14 V.
This function will freeze the previous output of, and allow modifications to be made to the master volume
control (address 57h), channel X volume control (address 58h - 5Ah), and bi-quad coefficient registers for
channel A, and channel B (address 0Ah - 54h) without the changes taking effect until the Freeze bit is
disabled. To make multiple changes in these control port r egisters ta ke effect simultaneou sly, enable the
Freeze bit, make all register changes, then disable the Freeze bit.
When cleared, the PWM_SIG1 and PWM_SIG2 output drivers are placed in a high-impedance state.
When set, the PWM_SIG1 and PWM_SIG2 output drivers are active. It should be noted that the function
of the PWM_SIG outputs is determined by the PWMDSel[1:0] bits in Register 04h.
11.........................................Soft Ramp on Zero Cross
When immediate change is selected, all level changes will take effect immediately in one step.
Zero cross dictates that signal level changes, both muting and attenuation, will occur on a signal
zero crossing to minimize audible artifacts. The requested level change will occur after a timeout
period (approximately 18.7 ms for a PWM switch rate of 384/768 kHz and 17.0 ms for a PWM
switch rate of 421.875/843.75 kHz) if the signal does not encounter a zero crossing. The zero cross
function is independently monitored and implemented for each channel.
Soft ramp allows level changes, both muting and attenuation, to be implemented by incrementally
ramping, in ½ dB steps, from the current level to the new level at a rate of ½ dB per 4 sample periods for 32, 44.1, and 48 kHz, and ½ dB per 8 sample periods for 96 kHz.
Soft ramp on zero cross dictates that signal level changes, both muting and attenuation, will occur in
½ dB steps and be implemented on a signal zero crossing. The ½ dB level change will occur after a
timeout period (approximately 18.7 ms for a PWM switch rate of 384/768 kHz and 17.0 ms for a
PWM switch rate of 421.875/843.75 kHz) if the signal does not encounter a zero crossing. The zero
cross function is independently monitored and implemented for each channel.
9.10.2Enable 50% Duty Cycle for Mute Condition (Mute50/50)
Default = 0
Function:
When set, the amplifiers will output a non-modulated 50%-duty-cycle signal for all mute conditions. This
bit does not cause a mute condition to occur. The Mute50/50 bit only defines operation during a normal
mute condition.
Mute50/50 Setting50% Duty Cycle Mute State
0 ..........................................50% duty cycle for mute conditions disabled.
1 ..........................................50% duty cycle for mute conditions enabled.
9.10.3Auto-Mute (AutoMute)
Default = 1
Function:
When enabled, the outputs of the CS4525 will mute following the reception of 8192 consecutive audio
samples of static 0 or -1. A single sample of non-static data will release the mute. Detection and muting
is done independently for each channel. See “Volume and Muting Contr ol” on pa ge 36 for more information.
AutoMute SettingAutoMute State
0 ..........................................Auto-mute on static 0’s or -1’s disabled.
1 ..........................................Auto-mute on static 0’s or -1’s enabled.
80DS726PP2
9.10.4Enable 2-Way Crossover (En2Way)
Default = 0
Function:
Enables the 2-way crossover filters for channel 1 and channel 2.
When set, the signal polarity of the ADC will be inverted.
InvADC SettingADC Signal Inversion State
0 ..........................................ADC signal polarity not inverted.
1 ..........................................ADC signal polarity inverted.
9.15.2Invert Channel PWM Signal Polarity (InvChX)
Default = 0
Function:
When set, the respective channel’s power and logic-level PWM output signal polarity will be inverted. The
serial output on the auxiliary and delay ports are unaffected.
InvChX SettingChannel X PWM Signal Inversion State
0 ..........................................Channel X PWM signal polarity not inverted.
1 ..........................................Channel X PWM signal polarity inverted.
9.15.3Invert Sub PWM Signal Polarity (InvSub)
Default = 0
Function:
When set, the Sub channel’s power and logic-level PWM output polarity will be inverted. The serial output
on the auxiliary port is unaffected.
InvSub SettingSub Channel PWM Signal Inversion State
0 ..........................................Sub channel PWM signal polarity not inverted.
1 ..........................................Sub channel PWM signal polarity inverted.
The respective channel’s power PWM, logic-level PWM, and auxiliary serial data outputs will enter a mute
state when enabled. The delay serial output will be unaffected if the delay port is enabled. The muting
84DS726PP2
CS4525
function is affected, similar to attenuation changes, by the soft and zero cross bits (SZCMode[1:0]). See
“Volume and Muting Control” on page 36 for more information.
MuteChX SettingChannel X PWM Mute State
0 ..........................................Channel X PWM outputs un-muted.
1 ..........................................Channel X PWM outputs muted.
9.15.6Sub Channel Mute (MuteSub)
Default = 0
Function:
The sub channel’s power PWM, logic-level PWM, and auxiliary serial data outputs will enter a mute state
when enabled. The muting function is affected, similar to attenuation changes, by th e soft and zero cross
bits (SZCMode[1:0]). See “Volume and Muting Control” on page 36 for more information.
Sets the maximum level, below full scale, at which to limit and attenuate the output signal at the limiter
attack rate.
Max[2:0] SettingMaximum Threshold Setting
000 ......................................0.0 dB
001 ......................................-3.0 dB
010 ......................................-6.0 dB
011.......................................-9.0 dB
100 ......................................-12.0 dB
101 ......................................-18.0 dB
110.......................................-24.0 dB
111 .......................................-30.0 dB
9.16.2Minimum Threshold (Min[2:0])
Default = 000
Function:
Sets a minimum level below full scale at which the limiter will begin to release its applied attenuation.
Min[2:0] SettingMinimum Threshold Setting
000 ......................................0.0 dB
001 ......................................-3.0 dB
010 ......................................-6.0 dB
011.......................................-9.0 dB
100 ......................................-12.0 dB
101 ......................................-18.0 dB
110.......................................-24.0 dB
111 .......................................-30.0 dB
DS726PP285
9.16.3Peak Signal Limit All Channels (LimitAll)
Default = 1
Function:
When cleared, the peak signal limiter will limit the maximum signal amplitude to prevent clipping on the
specific channel indicating clipping. The other channels will not be affected. When set, the peak signal
limiter will limit the maximum signal amplitude to prevent clipping on all channels in response to any single
channel indicating clipping. See “Peak Signal Limiter” on page 37 for more information.
LimitAll SettingLimit All Channels Configuration
0 ..........................................Only individual channels affected by any limiter event.
1 ..........................................All channels affected by any limiter event.
9.16.4Peak Detect and Limiter Enable (EnLimiter)
Default = 0
Function:
Limits the maximum signal amplitude to prevent clipping when this function is enabled. Peak signal limiting is performed by digital attenuation.
EnLimiter SettingPeak Signal Limiter State
0 ..........................................Peak signal limiter disabled.
1 ..........................................Peak signal limiter enabled.
When set, enables the thermal limiter function. The thermal limiter function adds a n additional -3dB of attenuation to the min and max settings of the peak signal limiter the first time a thermal warning is detected
after the thermal limiter function has been enabled. For more details, see the “Thermal Limiter” section on
Sets the rate at which the limiter attenuates the analog output from levels above the maximum setting in
the limiter threshold register. The limiter attack rate is a function of the sampling frequency, Fs, and the
soft and zero cross setting.
When set, the specific PWM power output will enter a power-down state. Only the output power stage is
powered down. The PWM modulator is not affected, nor is the setup or delay register values. When set
to normal operation, the specific output will power up according to the state of the RmpSpd[1:0] bits and
88DS726PP2
the channel output configuration selected. When transitioning from normal operation to power down, the
specific output will power down according to the state of the RmpSpd[1:0] bits and the channel output configuration selected.
PDnChX SettingPower Output X Power-Down State
0 ..........................................Normal power output X operation.
1 ..........................................Power output X power-down enabled.
The entire divide will enter a low-power state when this function is enabled:
9.19.6Power Down (PDnAll)
Default = 1
Function:
The CS4525 will enter a power-down state when this function is enabled:
1. The power PWM outputs will be held in a high-impedance state.
2. The logic-level PWM outputs will continuously drive a logic ‘0’ if the HiZPSig
in a high-impedance state if the HiZPSig
3. AUX_SDOUT, the auxiliary serial data output, will be driven to a digital-low. AUX_LRCK and
AUX_SCLK, the auxiliary serial output’s clocks, will continue to operate if the EnAuxPort bit is set,
ADC/SP
also be driven to a digital-low voltage.
4. DLY_SDOUT, the delay serial data output, will output the unprocessed audio data from SDATA if
EnAuxPort is set, DlyPortCfg[1:0] is configured for serial output delay interface, ADC/SP
and the serial audio input port receives a valid SCLK, LRCK, and SDATA. Otherwise, it will drive a
low voltage.
is cleared, and the serial audio input receives a valid SCLK and LRCK; otherwise they will
CS4525
bit is set and will be held
bit is clear.
is cleared,
The contents of the control registers are retained in this state. Once the PDnAll bit is disabled, the powered and logic-level PWM outputs will first perform a click-free start-up function and then resume normal
operation.
The PDnAll bit defaults to ‘enabled’ on power-up and must be disabled before normal operation can occur.
Bits [7:4] in this register are read only. A ‘1’b in these bit positions indicates that the associated condition has occurred at least once since the register was last read. A ‘0’b indicates that the associated condition has not occurred
since the last reading of the register. Reading the register resets bits to [7:4] ‘0’b . These bits are co nsidere d “edgetriggered” events. The operation of these 4 bits is not affected by the interrupt mask bits and the condition of each
bit can be polled instead of generating an interrupt as required.
9.20.1SRC Lock State Transition Interrupt (SRCLock)
Function:
This bit is read only. When set, indicates that the SRC has transitioned from an unlock to lock state or
from a lock state to an unlock state since the last read of this register. Conditions which cause the SRC
to transition states, such as loss of LRCK, SCLK, an LRCK ratio change, or the SRC achieving lock, will
DS726PP289
cause this bit to be set. This interrupt bit is an edge-triggered event and will be cleared following a read
of this register.
If this bit is set, indicating a SRC state change condition, and the SRCLockM bit is set, the INT pin will go
active. To determine the current lock state of the SRC, read the SRCLockSt bit in the interrupt status register.
SRCLock SettingSRC Lock State Change Status
0 ..........................................SRC lock state unchanged since last read of this register.
1 ..........................................SRC lock state changed since last read of this register.
9.20.2ADC Overflow Interrupt (ADCOvfl)
Function:
This bit is read only. When set, indicates that an over-range condition occurred anywhere in the CS4525
ADC signal path and has been clipped to positive or negative full scale as appropriate since the last read
of this register. This interrupt bit is an edge-triggered event and will be cleared following a read of this
register.
If this bit is set, indicating an ADC over-range condition, and the ADCOvflM bit is set, the INT pin will go
active. To determine the current overflow state of the ADC, read the ADCOvflSt bit in the interrupt status
register.
ADCOvfl SettingADC Overflow Event Status
0 ..........................................ADC overflow condition has not occurred since last read of this register.
1 ..........................................ADC overflow condition has occurred since last read of this register.
CS4525
9.20.3Channel Overflow Interrupt (ChOvfl)
Function:
This bit is read only. When set, indicates that the magnitude of an output sample on channel 1, 2, or the
Sub channel has exceeded full scale and has been clipped to positive or negative full scale as appropriate
since the last read of this register. This interrupt bit is an edge-triggered event and will be cleared following
a read of this register.
If this bit is set, indicating a channel over-range condition, and the ChOvflM bit is set, the INT pin will go
active. To determine the current overflow state of each channel, read the ChXOvflSt and SubOvflSt bits
in the interrupt status register.
ChOvfl SettingChannel Overflow Event Status
0 ..........................................A channel overflow condition has not occurred since last read of this register.
1 ..........................................A channel overflow condition has occurred since last read of this register.
9.20.4Amplifier Error Interrupt Bit (AmpErr)
Function:
This bit is read only. When set, indicates that an error was detected in the power amplifier section since
the last read of this register. This interrupt bit is an edge-triggered event and will be cleared following a
read of this register. This bit is the logical OR of all the bits in the amplifie r erro r status r egister . Read the
amplifier error status register to determine which condition occurred.
90DS726PP2
If this bit is set, indicating an amplifier stage error condition, and the AmpErrM bit is set to a ‘1’b, the INT
pin will go active. To determine the actual current state of the amplifier error condition, read the amplifier
error status register.
AmpErr SettingAmplifier Error Event Status
0 ..........................................An amplifier error condition has not occurred since last read of this register.
1 ..........................................An amplifier error condition has occurred since last read of this register.
9.20.5Mask for SRC State (SRCLockM)
Default = 0
Function:
This bit serves as a mask for the SRC status interrupt source. If this bit is set, the SRCLock interrupt is
unmasked, meaning that if the SRCLock bit is set, the INT pin will go active. If the SRCLockM bit is
cleared, the SRCLock condition is masked, meaning that its occurrence will not affect the INT pin. However, the SRCLock and SRCLockSt bits will continue to reflect the lock status of the SRC.
This bit serves as a mask for the ADC overflow interrupt source. If this bit is set, the ADCOvfl interrupt is
unmasked, meaning that if the ADCOvfl bit is set, the INT pin will go active. If the ADCOvflM bit is cleared,
the ADCOvfl condition is masked, meaning that its occurrence will not affect the INT pin. However, the
ADCOvfl and ADCOvflSt bits will continue to reflect the overflow state of the ADC.
9.20.7Mask for Channel X and Sub Overflow (ChOvflM)
Default = 0
Function:
This bit serves as a mask for the channel 1, 2, and Sub overflow interrupt source. If this bit is set, the ChOvfl interrupt is unmasked, meaning that if the ChOvfl bit is set, the INT pin will go active. If the ChOvflM bit
is cleared, the ChOvfl condition is masked, meaning that its occurrence will not affect the INT pin. However, the ChOvfl, ChXOvflSt, and SubOvflSt bits will continue to reflect the overflow state of the individual
channels.
This bit serves as a mask for the amplifier error interrupt sources. If this bit is se t, the AmpErr interrupt is
unmasked, meaning that if the AmpErr bit is set, the INT pin will go active. If the AmpErrM bit is cleared,
the AmpErr condition is masked, meaning that its occurrence will not affect the INT pin. However, the AmpErr and the amplifier error bits in the amplifier error status register will continue to reflect the status of the
amplifier error conditions.
All bits in this register are considered “level-triggered” events, mea ning a s long as a condition continues, the cor responding bit will remain set. These status bits are not affected by the interrupt mask bit and the condition of each bit
can be polled. These bits will not be cleared following a read to this register, nor can they be written to cause an
interrupt condition.
9.21.1SRC State Transition (SRCLockSt)
Function:
This bit is read only and reflects the current lock state of the SRC. When set, indicates the SRC is currently
locked. When cleared, indicates the SRC is currently unlocked.
SRCLockSt SettingSRC Lock State
0 ..........................................SRC is currently unlocked.
1 ..........................................SRC is currently locked.
9.21.2ADC Overflow (ADCOvflSt)
Function:
This bit is read only and will identify the presence of an overflow condition within the ADC. When set, indicates that an over-range condition is currently occurring in the CS4525 ADC signal path and has been
clipped to positive or negative full scale.
ADCOvflSt SettingADC Overflow State
0 ..........................................An ADC overflow condition is not currently present.
1 ..........................................An ADC overflow condition is currently present.
9.21.3Sub Overflow (SubOvflSt)
Function:
This bit is read only and will identify the presence of an overflow condition anywhere in the Sub channel’s
signal path. When set, indicates that an over -range cond ition is currently occurring in th e Sub channel’s
signal path and has been clipped to positive or negative full scale.
SubOvflSt SettingSub Overflow State
0 ..........................................An overflow condition is not currently present on the Sub channel.
1 ..........................................An overflow condition is currently present on the Sub channel.
92DS726PP2
CS4525
9.21.4Channel X Overflow (ChXOvflSt)
Function:
These bits are read only and will identify the presence of an overflow condition anywhere in the associated
channel’s signal path. When set, indicates that an over-rang e condition is currently occurring in the ch annel’s signal path and has been clipped to positive or negative full scale.
ChXOvflSt SettingChannel X Overflow State
0 ..........................................An overflow condition is not currently present on channel X.
1 ..........................................An overflow condition is currently present on channel X.
9.21.5Ramp-Up Cycle Complete (RampDone)
Function:
When set, indicates that all active channels have completed the configured ramp-up interval.
RampDone SettingRamp Completion State
0 ..........................................Ramp-up interval not completed on all channels.
1 ..........................................Ramp-up interval completed on all channels.
9.22Amplifier Error Status (Address 62h) - Read Only
All bits in this register are considered “level-triggered” events, mean ing as lon g as a cond ition co ntinues, the corresponding bit will remain set. These status bits are not affected by the interrupt mask bit and the condition of each bit
can be polled. These bits will not be cleared following a read to this register, nor can they be written to cause an
interrupt condition.
9.22.1Over-Current Detected On Channel X (OverCurrX)
Function:
When set, indicates an over current condition is curr en tly pre sent o n the cor respond ing amplifier ou tput.
OverCurrX SettingAmplifier Over-Current Status
0 ..........................................An over current condition is not currently present on amplifier output X.
1 ..........................................An over current condition is currently present on amplifier output X.
9.22.2External Amplifier State (ExtAmpSt)
Function:
When set, indicates a thermal warning condition is currently being reported by an external amplifier. For
proper operation, the delay serial port must be configured to support an external thermal warning input
signal. This status bit reflects the active state of the external thermal warning input signal.
ExtAmpSt SettingExternal Amplifier Status
0 ..........................................A thermal warning condition is not currently being reported by an external amplifier.
1 ..........................................A thermal warning condition is currently being reported by an external amplifier.
DS726PP293
CS4525
9.22.3Under Voltage / Thermal Error State (UVTE[1:0])
Function:
Indicates the operational status of the amplifier. These bits can identify a Thermal Warning condition, a
Thermal Error condition, or an Under Voltage condition. The thresholds for each of these conditions is
listed in the PWM Power Output Characteristics table on page 20.
UVTE[1:0] SettingUnder Voltage & Thermal Error Status
00 ........................................The device is operating normally.
01 ........................................The device is operating normally; however a Thermal Warning condition is being reported.
10 ........................................An Under Voltage condition is currently present.
11.........................................A Thermal Error condition is currently present.
9.23Device I.D. and Revision (Address 63h) - Read Only
The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified
bandwidth, typically 20 Hz to 20 kHz. Dynamic Range is a signal-to-noise ratio measurement over the specified band width made with a -60 dBFS signal. 60 dB is then added to the resulting measurement to refer
the measurement to full-scale. This technique ensures that the distortion components are below the noise
level and do not effect the measurement. This measurement technique has been accepted by the Audio
Engineering Society, AES17-1991, and the Electronic Industries Association of Japan, EIAJ CP-307. Expressed in decibels.
Total Harmonic Distortion + Noise (THD+N)
The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified
band width (typically 10 Hz to 20 kHz), including distortion components. Expressed in decibels. Measured
as suggested in AES17-1991 Annex A.
Frequency Response
FR is the deviation in signal level verses frequency. The 0 dB reference point is 1 kHz. The amplitude corner, Ac, lists the maximum deviation in amplitude above and below the 1 kHz reference point. The listed
minimum and maximum frequencies are guaranteed to be within the Ac from minimum frequency to maximum frequency inclusive.
CS4525
Interchannel Isolation
A measure of crosstalk between the left and right channels. Measured for each channel at the conver ter's
output with no signal to the input under test and a full-scale signal applied to the other channel. Un its in decibels.
Interchannel Gain Mismatch
The gain difference between left and right channels. Units in decibels.
Gain Drift
The change in gain value with temperature. Units in ppm/°C.
Fs
Sampling Frequency.
Resolution
The number of bits in a serial audio data word.
SRC
Sample Rate Converter. Converts data derived at one sample rate to a differing sample rate.
11.REFERENCES
1. Cirrus Logic, “AN18: Layout and Design Rules for Data Converters and Other Mixed Signal Devices,”
Version 6.0, February 1998.
2. Cirrus Logic, “AN22: Overview of Digital Audio Interface Data Structures, Version 2.0”, F ebruary 1998.; A
useful tutorial on digital audio specifications.
3. Philips Semiconductor, “The I²C-Bus Specification: Version 2,” Dec. 1998.
Notes:1. Dimensioning and tolerance per ASME Y4.5M - 1994.
2. Dimensioning lead width applies to the plated terminal and is measured between 0.20 mm and
0.25 mm from the terminal tip.
96DS726PP2
13.THERMAL CHARACTERISTICS
ParameterSymbolMinTypMaxUnits
Junction to Case Thermal Impedanceθ
13.1Thermal Flag
This device is designed to have the metal flag on the bottom of the device soldered directly to a metal plane
on the PCB. To enhance the thermal dissipation capabilities of the system, this metal plane should be coupled with vias to a large metal plane on the backside (and inner ground layer, if applicable) of the PCB.
In either case, it is beneficial to use copper fill in any unused regions inside the PCB layout, especially those
immediately surrounding the CS4525. In addition to improving in electrical performance, this practice also
aids in heat dissipation.
The heat dissipation capability required of the metal plane for a given output power can be calculated as
follows:
θ
= [(T
CA
where,
θ
= Thermal resistance of the metal plane in °C/Watt
CA
T
T
P
θ
= Maximum rated operating junction temperature in °C, equal to 150 °C
J(MAX)
= Ambient temperature in °C
A
= RMS power dissipation of the device, equal to 0.15*P
D
= Junction-to-case thermal resistance of the device in °C/Watt
JC
J(MAX)
- TA) / PD] - θ
JC
RMS
JC
-1-°C/Watt
(assuming 85% efficiency)
CS4525
14.ORDERING INFORMATION
ProductDescriptionPackage
CS4525
CRD4525-Q1
CRD4525-D1
Digital Audio Amp
with Integrated ADC
4 Layer / 1oz. Copper
Reference Design
Board
2 Layer / 1oz. Copper
Reference Design
Board
48-QFNYesCommercial -10° to +70°C
-----CRD4525-Q1
-----CRD4525-D1
Pb-FreeGrade
Temp Range Container
RailCS4525-CNZ
Tape and
Reel
Order#
CS4525-CNZR
DS726PP297
15.REVISION HISTORY
ReleaseChanges
The following items were updated:
“Analog Input Characteristics” on page 19
“PWM Power Output Characteristics” on page 20
“XTI Switching Specifications” on page 23
PP1
PP2Added Section 9.19.2 “Enable Over-Current Protection (EnOCProt)” on page 88
“SYS_CLK Switching Specifications” on page 23
“Digital Interface Specifications” on page 25
Section 6.4.1 “Half-Bridge Output Filter” on page 59
Section 6.4.2 “Full-Bridge Output Filter (Stereo or Parallel)” on page 60
Table 21, “Power Supply Configuration and Settings,” on page 63
Section 9.19.3 “Select VD Level (SelectVD)” on page 88
CS4525
Contacting Cirrus Logic Support
For all product questions and inquiries, contact a Cirrus Logic Sales Representative.
To find one nearest you, go to www.cirrus.com.
IMPORTANT NOTICE
"Preliminary" product information de scribes products that a re in produ ction , but for which full ch aracterization da ta is n ot yet availa ble. C irrus Lo gic, In c. and its subsidiaries (“Cirrus”) believe that the information contained in this document is accurate and reliable. However, the information is subject to change without notice and
is provided “AS IS” with out warranty of any kind (expr ess or implied) . Customers are a dvised to obtain the latest v ersion of relevant information to verify, before
placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order
acknowledgment, includ in g tho se pe rtainin g to wa rran ty, in de mn ificatio n, and li mitatio n of liab ility. No re spo ns ibility is a ssumed by Cirru s for the use of this in form ation, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third parties. This document
is the property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights, copyrights, trademarks,
trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives consent for copies to be
made of the information onl y for use withi n your org aniz ation wi th re spect t o Cirrus integr ated c ircui ts or other pr oducts of Ci rrus. This conse nt does n ot exten d to
other copying such as copying for genera l distr ibu tion , advertising or promotional purposes, or for creatin g an y wo rk fo r resale.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE
IN PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER’S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A MANNER. IF THE CUSTOMER OR CUSTOMER’S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOMER AGREES, BY SUCH USE, TO FULLY
INDEMNIFY CIRRUS, ITS OFFICERS, DI RECTORS, EMPL OYEES, DIST RIBUT ORS AND OTHER AGENTS FROM ANY AND ALL LIABILITY, INCLUDING ATTORNEYS’ FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE US ES .
Cirrus Logic, Cirrus, and the Cirrus L og ic log o d esi gn s, and Popguard are trademarks o f Cir rus Lo gi c, Inc. All other brand and product names in this docum ent ma y
be trademarks or service marks of their respective owners.
I²C is a registered trademark of Philips Semiconductor.
98DS726PP2
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.