WM8940
Rev 4.4
33
Input
Signal
ALCSEL
PGA
Gain
ALCLVL
t
ATKLIM
t
DCYLIM
Output
of PGA
V
step
Figure 13 ALC Limiter Mode Operation
ATTACK AND DECAY TIMES
The attack and decay times set the update times for the PGA gain. The attack time is the time
constant used when the gain is reducing. The decay time is the time constant used when the gain is
increasing. In limiter mode, the time constants are faster than in ALC mode. The time constants are
shown below in terms of a single gain step, a change of 6dB and a change of 90% of the PGAs gain
range.
Note that, these times will vary slightly depending on the sample rate used (specified by the SR
register).
NORMAL MODE
ALCMODE = 0 (Normal Mode)
ALCATK
t
ATK
t
ATK6dB
t
ATK90%
0000
104µs
832µs
6ms
0001
208µs
1.66ms
12ms
0010
416µs
3.33ms
24ms
0011
832µs
6.66ms
48ms
0100
1.66ms
13.3ms
96ms
0101
3.33ms
26.6ms
192ms
0110
6.66ms
53.2ms
384ms
0111
13.3ms
106ms
767ms
1000
26.6ms
213.2ms
1.53s
1001
53.2ms
426ms
3.07s
1010
106ms
852ms
6.13s
Attack Time (s)