English
Language : 

CS42L52 Datasheet, PDF (72/82 Pages) Cirrus Logic – Low Power, Stereo CODEC w/Headphone & Speaker Amps
6.37.3 VP Reference
Sets the desired VP reference used for battery compensation.
VPREF[3:0]
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
Application:
Desired VP used to calculate the required attenuation on the speaker output:
(for VA = 1.8 V)
1.5 V
2.0 V
2.5 V
3.0 V
3.5 V
4.0 V
4.5 V
5.0 V
(for VA = 2.5 V)
1.5 V
2.0 V
2.5 V
3.0 V
3.5 V
4.0 V
4.5 V
5.0 V
“VP Battery Compensation” on page 33
CS42L52
6.38 VP Battery Level (Address 30h) (Read Only)
7
VPLVL7
6
VPLVL6
5
VPLVL5
4
VPLVL4
3
VPLVL3
2
VPLVL2
1
VPLVL1
0
VPLVL0
6.38.1 VP Voltage Level (Read Only)
Indicates the unsigned VP voltage level.
VPLVL[7:0]
...
0101 1110
...
0111 0010
...
Formula:
VP Voltage
3.0 V (for VA = 2.0 V); apply formula using actual VA voltage to calculate VP voltage.
3.7 V (for VA = 2.0 V); apply formula using actual VA voltage to calculate VP voltage.
VP Voltage = (Binary representation of VPLVL[7:0]) * VA / 63.3
6.39 Speaker Status (Address 31h) (Read Only)
7
Reserved
6
Reserved
5
4
SPKASHRT SPKBSHRT
3
SPKR/HP
2
Reserved
1
TWRN
0
TERR
6.39.1 Speaker Current Load Status (Read Only)
Indicates whether or not any of the speaker outputs is shorted to ground.
SPKxSHRT
0
1
Speaker Output Load
No overload detected
Overload detected
72
DS680A1