9 battery voltage monitor, 10 boost converter peak current protection control, 11 scaling – Cirrus Logic CS35L32 User Manual

Page 38: 12 led and audio power-budget management, Section 7.10, D in, Section 7.12, Modes (see, Audiogain_mng p. 38, For details)

Advertising
background image

38

DS963F4

CS35L32

7.9 Battery Voltage Monitor

7.9 Battery Voltage Monitor

Address 0x0A

R/O

7

6

5

4

3

2

1

0

VPMON[7:0]

Default

0

0

0

0

0

0

0

0

Bits

Name

Description

7:0

VPMON

Battery voltage (VP) monitor. Represents the VPMON (D

OUT

) value in the equation in

Section 4.8.4.

1000 0000 –128

1000 0001 –127…

1111 1111 –1

0000 0000 0 (default)

0000 0001 +1

0000 0010 +2 …

0111 1111 +127

7.10 Boost Converter Peak Current Protection Control

Address 0x0B

R/W

7

6

5

4

3

2

1

0

BST_IPK[7:0]

Default

0

1

0

0

0

0

0

0

Bits

Name

Description

7:0 BST_IPK Boost converter peak current limit (A). Configures the peak current limit on the boost converter’s output. If the amplifier or LEDs

attempt to draw current above this limit, only the set limit current is provided and, consequently, the boost voltage droops. The
user must not write values higher than 0x80 to this register.

0000 0000 2.89

0010 0000 3.30

0100 0000 (Default) 3.72 …

0110 0000 4.14

1000 0000 4.56

1000 0001–1111 1111 Reserved

7.11 Scaling

Address 0x0C

R/W

7

6

5

4

3

2

1

0

IMON_SCALE[3:0]

Default

0

0

0

0

0

1

1

1

Bits

Name

Description

7:4

Reserved

3:0

IMON_

SCALE

Select IMON ADC scaling. Configures the scaling of data bits from the ADC to be output from the ADSP as the IMON data
word. The scale is selected from the encoded ADC output data bus with bit 22 being the ADC data MSB. Scaling control can
be used to improve the reported sample resolution for low-level signals or to divide down the signal.

0000 15 down to 0

0111 (Default) 22 down to 7
1000 23 down to 8

1001 24 down to 9
1010 25 down to 10

1011–1111 Reserved

Note: For 12-bit implementations, IMON_SCALE remains the same. The MSB is in the same place for 12- and 16-bit formats,

7.12 LED and Audio Power-Budget Management

Address 0x0D

R/W

7

6

5

4

3

2

1

0

ILED_MNG

AUDIOGAIN_MNG

VBOOST_MNG[1:0]

Default

0

0

0

0

0

0

1

0

Bits

Name

Description

7:5

Reserved

4

ILED_MNG LED current management

0 (Default) Automatically reduce LED current, only to avoid thermal shutdown or current limiting the boost converter.
1 User controls LED current (nonautomatic).

3

AUDIOGAIN_

MNG

Audio-gain management when LEDs are active.

0 (Default) Automatically reduces audio volume once by 3 dB, only if needed to avoid thermal shutdown or current

limiting the boost converter. If the condition persists, the CS35L32 examines ILED_MNG and responds accordingly.
Audio recovers to original volume automatically at the end of the LED event.

1 User controls audio volume (nonautomatic).

2

Reserved

1:0

VBOOST_

MNG

Boost voltage control.

00 Automatically managed. Boost-converter output voltage is the higher of the two: Class G or adaptive LED voltage.

01 Automatically managed irrespective of audio, adapting for low-power dissipation when LEDs are ON, and operating

in Fixed-Boost Bypass Mode if LEDs are OFF (VBST = VP).

10 (Default) Boost voltage fixed in Bypass Mode (VBST = VP).

11 Boost voltage fixed at 5 V.

Advertising