wm8961 Wolfson Microelectronics plc, wm8961 Datasheet - Page 62

no-image

wm8961

Manufacturer Part Number
wm8961
Description
Ultra-low Power Stereo Codec With 1w Stereo Class D Speaker Drivers And Ground Referenced Headphone Drivers
Manufacturer
Wolfson Microelectronics plc
Datasheet
w
WM8961
Figure 37 DSP Mode Audio Interface (mode B, LRP=0, Slave)
DIGITAL AUDIO INTERFACE CONTROL
The register bits controlling audio format, word length and master / slave mode are summarised in
Table 44. MS selects audio interface operation in master or slave mode. In Master mode BCLK and
LRC are outputs. The frequency of LRC is set by LRCLK_RATE and BCLK is set by the bits BCLKDIV
(See “Clocking and Sample Rates”). In Slave mode BCLK and LRC are inputs.
Table 44 Audio Data Format Control
R7 (07h)
Digital Audio
Interface
Format
REGISTER
ADDRESS
8
7
6
5
4
3:2
1:0
BIT
ALRSWAP
BCLKINV
MS
DLRSWAP
LRP
WL[1:0]
FORMAT[1:0]
LABEL
0
0
0
0
0
10
10
DEFAULT
Left/Right ADC channel swap
1 = Swap left and right ADC data in
audio interface
0 = Output left and right data as normal
BCLK invert bit (for master and slave
modes)
0 = BCLK not inverted
1 = BCLK inverted
Master / Slave Mode Control
0 = Enable slave mode
1 = Enable master mode
Left/Right DAC Channel Swap
0 = Output left and right data as normal
1 = Swap left and right DAC data in
audio interface
Right, left and I
0 = normal LRC polarity
1 = invert LRC polarity
DSP Mode – mode A/B select
0 = MSB is available on 2
edge after LRC rising edge (mode A)
1 = MSB is available on 1
edge after LRC rising edge (mode B)
Audio Data Word Length
00 = 16 bits
01 = 20 bits
10 = 24 bits
11 = 32 bits
Audio Data Format Select
00 = Right justified
01 = Left justified
10 = I
11 = DSP Mode
2
S Format
DESCRIPTION
2
S modes – LRC polarity
PP, August 2009, Rev 3.1
nd
st
BCLK rising
Pre-Production
BCLK rising
62

Related parts for wm8961