WM8804
Production Data
w
PD Rev 4.1 September 2007
50
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
ADDRESS
BIT LABEL DEFAULT
DESCRIPTION
4
WITHFLAG
0
‘With Flags’ Mode Select
0: ‘With Flags’ Mode disabled (see Note 3)
1: ‘With Flags’ Mode enabled
R29
SPDIFRX1
1Dh
6 WL_MASK
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.
1:0
AIFTX_FMT[1:0]
10
Audio Data Format Select
11: DSP mode
10: I
2
S mode
01: Left justified mode
00: Right justified mode
3:2
AIFTX_WL[1:0]
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
4
AIFTX_BCP
0
BCLK invert (for master and slave modes)
0 = BCLK not inverted
1 = BCLK inverted
R27
AIFTX
1Bh
5
AIFTX_LRP
0
Right, left and I
2
S modes – LRCLK polarity and
DSP mode select
1 = invert LRCLK polarity / DSP Mode B
0 = normal LRCLK polarity / DSP Mode A
1:0
AIFRX_FMT[1:0]
10
Audio Data Format Select
11: DSP mode
10: I
2
S mode
01: Left justified mode
00: Right justified mode
3:2
AIFRX_WL[1:0]
01
Audio Data Word Length
11: 24 bits (see note 1/2/3/6)
10: 24 bits
01: 20 bits
00: 16 bits
4
AIFRX_BCP
0
BCLK Invert (for master and slave modes)
0 = BCLK not inverted
1 = BCLK inverted
See Note 4
R28
AIFRX
1Ch
5
AIFRX_LRP
0
Right, left and I
2
S modes – LRCLK polarity and
DSP mode select
1 = invert LRCLK polarity / DSP Mode B
0 = normal LRCLK polarity / DSP Mode A
See Note 5
Table 56 Audio Interface Control