Production Data
WM8522
By default, LRCLK and DIN1/2/3 are sampled on the rising edge of BCLK and should ideally change
on the falling edge. Data sources that change LRCLK and DIN1/2/3 on the rising edge of BCLK can
be supported by setting the BCP register bit. Setting BCP to 1 inverts the polarity of BCLK to the
inverse of that shown in Figure 13, Figure 14, Figure 15, Figure 16, and Figure 17.
REGISTER ADDRESS
0000011
BIT
LABEL
DEFAULT
DESCRIPTION
BCLK Polarity (DSP Modes):
0: Normal BCLK polarity
1: Inverted BCLK polarity
3
BCP
0
Interface Control
The IWL[1:0] bits are used to control the input word length.
REGISTER ADDRESS
0000011
BIT
LABEL
IWL
DEFAULT
DESCRIPTION
Input Word Length:
00 : 16 bit data
5:4
00
Interface Control
[1:0]
01: 20 bit data
10: 24 bit data
11: 32 bit data
Note: 32-bit right justified mode is not supported.
In all modes, the data is signed 2's complement. The digital filters always input 24-bit data. If the
DAC is programmed to receive 16 or 20 bit data, the WM8522 pads the unused LSBs with zeros. If
the DAC is programmed into 32 bit mode, the 8 LSBs are ignored.
Note: In 24 bit I2S mode, any width of 24 bits or less is supported provided that LRCLK is high for a
minimum of 24 BCLKs and low for a minimum of 24 BCLKs.
A number of options are available to control how data from the Digital Audio Interface is applied to
the DAC channels.
DAC OUTPUT PHASE
The DAC phase control word determines whether the output of each DAC is non-inverted or inverted
REGISTER ADDRESS
0000011
BIT
LABEL
PHASE
[2:0]
DEFAULT
DESCRIPTION
8:6
000
Bit
0
DAC
Phase
DAC Phase
DAC1L/R 1 = invert
1
2
DAC2L/R 1 = invert
DAC3L/R 1 = invert
DIGITAL ZERO CROSS-DETECT
The digital volume control also incorporates a zero cross detect circuit which detects a transition
through the zero point before updating the digital volume control with the new volume. This is
enabled by control bit DZCEN.
REGISTER ADDRESS BIT
LABEL
DEFAULT
DESCRIPTION
0001001
0
ZCD
0
DAC Digital Volume Zero Cross
Enable:
DAC Control
0: Zero cross detect enabled
1: Zero cross detect disabled
PD Rev 4.0 July 2006
21
w