WM8772EFT – 32 LEAD TQFP
Production Data
DAC DIGITAL AUDIO INTERFACE CONTROL REGISTER
Interface format is selected via the DACFMT[1:0] register bits:
REGISTER ADDRESS
0000011
BIT
LABEL
DACFMT
[1:0]
DEFAULT
DESCRIPTION
1:0
00
Interface Format Select:
00 : Right justified mode
01: Left justified mode
10: I2S mode
Interface Control
11: DSP mode A or B
In left justified, right justified or I2S modes, the DACLRP register bit controls the polarity of DACLRC.
If this bit is set high, the expected polarity of DACLRC will be the opposite of that shown Figure 23,
Figure 24 and Figure 25. Note that if this feature is used as a means of swapping the left and right
channels, a 1 sample phase difference will be introduced. In DSP modes, the DACLRP register bit is
used to select between mode A and mode B.
REGISTER ADDRESS
0000011
BIT
LABEL
DEFAULT
DESCRIPTION
In Left/Right/I2S Modes:
DACLRC Polarity (normal)
0 : Normal DACLRC polarity
1: Inverted DACLRC polarity
In DSP Mode:
2
DACLRP
0
Interface Control
0 : DSP mode A
1: DSP mode B
By default, DACLRC and DIN1/2/3 are sampled on the rising edge of DACBCLK and should ideally
change on the falling edge. Data sources that change DACLRC and DIN1/2/3 on the rising edge of
DACBCLK can be supported by setting the BCP register bit. Setting DACBCP to 1 inverts the
polarity of DACBCLK to the inverse of that shown in Figure 47 to Figure 57.
REGISTER ADDRESS
0000011
BIT
LABEL
DEFAULT
DESCRIPTION
3
DACBCP
0
DACBCLK Polarity (DSP Modes)
0 : Normal BCLK polarity
1: Inverted BCLK polarity
Interface Control
The DACIWL[1:0] bits are used to control the input word length.
REGISTER ADDRESS
0000011
BIT
LABEL
DACIWL
[1:0]
DEFAULT
DESCRIPTION
Input Word Length:
00 : 16 bit data
5:4
00
Interface Control
01: 20 bit data
10: 24 bit data
11: 32 bit data
Note: If 32-bit mode is selected in right justified mode, the WM8772EFT defaults to 24 bits.
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 WM8772EFT 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 DACLRC 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.
PD Rev 4.2 October 2005
60
w