WM8352
Production Data
13.3 ENABLING THE AUDIO CODEC
Before the audio CODEC can be used, it must be enabled by writing to the CODEC_ENA,
SYSCLK_ENA and BIAS_ENA register bits.
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R12 (0Ch)
12
CODEC_EN
A
0
Master codec enable bit. Until this bit is set, all
codec registers are held in reset.
Power
Mgmt 5
0 = All codec registers held in reset
1 = Codec registers operate normally.
CODEC SYSCLK enable
0 = disabled
R11 (0Bh)
14
5
SYSCLK_ENA
BIAS_ENA
0
0
Power
Mgmt 4
1 = enabled
R8 (08h)
Enables bias to analogue audio CODEC
circuitry
Power
Mgmt 1
0 = disabled
1 = enabled
Table 19 Enabling the Audio CODEC
Each individual part of the audio CODEC (e.g. left/right ADC, left/right DAC, each analogue output
pin, mic bias etc.) also has its own enable bit, which must be set before that part of the CODEC can
be used. These enable bits are described in the sections that follow.
In order to minimize output pop and click noise, it is recommended that the WM8352 device is
powered up and down under control using the following sequences:
Power Up:
1. Ensure the CODEC power supplies are available before the CODEC is enabled
(CODEC_ENA = 1). The order in which this is done should be DCVDD, DBVDD then HPVDD
And/Or AVDD
2. Mute all outputs
3. Enable the anti-pop circuits by setting ANTI_POP. There are three Anti-pop setting options.
Recommended value is ANTI_POP = 01.
4. Ensure external capacitors are fully discharged on all outputs that are used by delaying 250ms
5. Set the mixers and DAC volume to required settings
6. Enable VMID by setting VMID_ENA = 1. VMID should raise in a controlled fashion and charge
the output capacitors
7. Wait approx 500ms to allow VMID to charge.
8. Disable the anti-pop circuits by setting ANTI_POP = 00.
9. Un-mute all outputs
PD, February 2011, Rev 4.4
62
w