WM8940
26
Rev 4.4
The ADC is enabled by the ADCEN register bit.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R2
Power
management 2
0
ADCEN
0
0 = ADC disabled
1 = ADC enabled
Table 11 ADC Enable
The polarity of the output signal can also be changed under software control using the ADCPOL
register bit.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R14
ADC Control
0
ADCPOL
0
0=normal
1=inverted
Table 12 ADC Polarity
SELECTABLE HIGH PASS FILTER
A selectable high pass filter is provided. To disable this filter set HPFEN=0. The filter has two modes
controlled by HPFAPP. In Audio Mode (HPFAPP=0) the filter is first order, with a cut-off frequency of
3.7Hz. In Application Mode (HPFAPP=1) the filter is second order, with a cut-off frequency selectable
via the HPFCUT register. The cut-off frequencies when HPFAPP=1 are shown in Table 14.
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
R14
ADC Control
8
HPFEN
1
High Pass Filter Enable
0=disabled
1=enabled
7
HPFAPP
0
Select audio mode or application mode
0=Audio mode (1
st
order, fc = ~3.7Hz)
1=Application mode (2
nd
order, fc =
HPFCUT)
6:4
HPFCUT
000
Application mode cut-off frequency
See Table 14 for details.
Table 13 ADC Filter Select
HPFCUT
FS (KHZ)
SR=101/100
SR=011/010
SR=001/000
8
11.025
12
16
22.05
24
32
44.1
48
000
82
113
122
82
113
122
82
113
122
001
102
141
153
102
141
153
102
141
153
010
131
180
196
131
180
196
131
180
196
011
163
225
245
163
225
245
163
225
245
100
204
281
306
204
281
306
204
281
306
101
261
360
392
261
360
392
261
360
392
110
327
450
490
327
450
490
327
450
490
111
408
563
612
408
563
612
408
563
612
Table 14 High Pass Filter Cut-off Frequencies (HPFAPP=1)
Note that the High Pass filter values (when HPFAPP=1) work on the basis that the SR register bits are
set correctly for the actual sample rate as shown in Table 14.