English
Language : 

WM8958 Datasheet, PDF (196/377 Pages) Wolfson Microelectronics plc – Multi-Channel Audio Hub CODEC for Smartphones
WM8958
Pre-Production
The GPIO9 pin supports the ADCDAT3 function, which supports the output from the AIF3 Mono PCM
interface. The source for the ADCDAT3 pin is selected using the AIF3_ADCDAT_SRC register.
When AIF3 Mono PCM output is used, the data source must be configured using the AIF3ADC_SRC
register; this selects either the Left or Right AIF2 output paths as the data source.
When AIF3 Mono PCM output is used, the AIF2 output paths must be enabled using the
AIF2ADCR_ENA and AIF2ADCL_ENA register bits. Note that, if AIF3 Mono PCM output is required
and AIF2 output is not used, then the AIF2 output can be disabled using the AIF2TXL_ENA and
AIF2TXR_ENA registers. See Table 102 for details of these registers.
The ADCDAT3 pin can also be used as an alternate data output (mono or stereo) from AIF1 or AIF2,
or can be connected to the DACDAT2 data input.
The AIF3 interface can be tri-stated by setting the AIF3_TRI register. When this bit is set, then all of
the AIF3 outputs are un-driven (high-impedance). The AIF3_TRI register only affects those pins which
are configured for AIF3 functions; it does not affect pins which are configured for other functions.
The AIF3 control registers are described in Table 109.
REGISTER
ADDRESS
R6 (0006h)
Power
Management
(6)
BIT
10:9
8:7
5
4:3
2
1
LABEL DEFAULT
DESCRIPTION
AIF3ADC_S
00
AIF3 Mono PCM output source select
RC [1:0]
00 = None
01 = AIF2ADC (Left) output path
10 = AIF2ADC (Right) output path
11 = Reserved
AIF2DAC_S
00
AIF2 input path select
RC [1:0]
00 = Left and Right inputs from AIF2
01 = Left input from AIF2; Right input from
AIF3
10 = Left input from AIF3; Right input from
AIF2
11 = Reserved
AIF3_TRI
0
AIF3 Audio Interface tri-state
0 = AIF3 pins operate normally
1 = Tri-state all AIF3 interface pins
Note that pins not configured as AIF3
functions are not affected by this register.
AIF3_ADCD
00
GPIO9/ADCDAT3 Source select
AT_SRC
[1:0]
00 = AIF1 ADCDAT1
01 = AIF2 ADCDAT2
10 = DACDAT2
11 = AIF3 Mono PCM output
Note that GPIO9 must be configured as
ADCDAT3.
AIF2_ADCD
0
ADCDAT2 Source select
AT_SRC
0 = AIF2 ADCDAT2
1 = GPIO8/DACDAT3
For selection 1, the GPIO8 pin must also be
configured as DACDAT3.
AIF2_DACD
0
AIF2 DACDAT Source select
AT_SRC
0 = DACDAT2
1 = GPIO8/DACDAT3
For selection 1, the GPIO8 pin must also be
configured as DACDAT3.
w
PP, August 2012, Rev 3.4
196