WM8804
Production Data
AUDIO INTERFACE CONTROL
The register bits controlling the audio interface are summarised below. Note that dynamically
changing the audio data format may cause erroneous operation, and hence is not recommended.
REGISTER BIT
ADDRESS
R29
4
SPDIFRX1
1Dh
6
LABEL
WITHFLAG
WL_MASK
R27
AIFTX
1Bh
1:0 AIFTX_FMT[1:0]
3:2
AIFTX_WL[1:0]
4
AIFTX_BCP
5
AIFTX_LRP
R28
AIFRX
1Ch
1:0
AIFRX_FMT[1:0]
3:2
AIFRX_WL[1:0]
4
AIFRX_BCP
5
AIFRX_LRP
Table 56 Audio Interface Control
DEFAULT
DESCRIPTION
0
‘With Flags’ Mode Select
0: ‘With Flags’ Mode disabled (see Note 3)
1: ‘With Flags’ Mode enabled
0
S/PDIF Receiver Word Length Truncation
Mask
0 = disabled, data word is truncated as
described in Table 44 S/PDIF Receiver
Channel Status Register 5
1 = enabled, data word is not truncated.
10
Audio Data Format Select
11: DSP mode
10: I2S mode
01: Left justified mode
00: Right justified mode
01
Audio Data Word Length
11: 24 bits (see notes 1/2/3/6)
10: 24 bits (see notes 1/2/3/6)
01: 20 bits
00: 16 bits
0
BCLK invert (for master and slave modes)
0 = BCLK not inverted
1 = BCLK inverted
0
Right, left and I2S modes – LRCLK polarity and
DSP mode select
1 = invert LRCLK polarity / DSP Mode B
0 = normal LRCLK polarity / DSP Mode A
10
Audio Data Format Select
11: DSP mode
10: I2S mode
01: Left justified mode
00: Right justified mode
01
Audio Data Word Length
11: 24 bits (see note 1/2/3/6)
10: 24 bits
01: 20 bits
00: 16 bits
0
BCLK Invert (for master and slave modes)
0 = BCLK not inverted
1 = BCLK inverted
See Note 4
0
Right, left and I2S modes – LRCLK polarity and
DSP mode select
1 = invert LRCLK polarity / DSP Mode B
0 = normal LRCLK polarity / DSP Mode A
See Note 5
w
PD, Rev 4.5, March 2009
50