6.1 Gain FLow
Gain flow for sending and receiving directions
1) Para[0x22e5, _adc_pga_gain] bit[7:4], mic1, bit[3:0], mic0; Mic in /line PGA setting LINE_IN_PGA[11:8], MIC1_IN_PGA[7:4], MIC0_IN_PGA[3:0] PGA Gain (dB) [ 0 0 0 0 ] -2 [ 0 0 0 1 ] -1 [ 0 0 1 0 ] 0 [ 0 0 1 1 ] 2 [ 0 1 0 0 ] 4 [ 0 1 0 1 ] 6 [ 0 1 1 0 ] 8
Sep 20, 2012 15 UCM-FM1288 V06
[ 0 1 1 1 ] 10 [ 1 0 0 0 ] 12 [ 1 0 0 1 ] 14 [ 1 0 1 0 ] 16 [ 1 0 1 1 ] 18 [ 1 1 0 0 ] 20 [ 1 1 0 1 ] 22
[ 1 1 1 0 ] 24 [ 1 1 1 1 ] 26
2) Para[0x2307, mic_vol_ctl], it includes two parts: Coarse control and Fine control for hardware digital gain.
Gain = Coarse Gain + Fine Gain Coarse control (Bit [7: 4])
Bit [7:4] E F 0 1 2 3 4 5 6 7 8 9 A B
Gain (dB) +24 +12 0 -12 -24 -36 -48 -60 -72 -84 -96 -108 -120 -132 Fine control (Bit [3: 0])
Bit [3:0] 0 1 2 3 4 5 6 7 8 9 A B C D E F
Gain (dB) 0 -0.75 -1.5 -2.25 -3 -3.75 -4.5 -5.25 -6 -6.75 –7.5 –8.25 -9 -9.75 -10.5 -11.25
3) Para[0x2348, micgain0], Level boost on main channel, 0x0800 as unit gain; 4) Para[0x2349, micgain1], Level boost on reference channel, 0x0800 as unit gain; 5) Para[0x22e5, _adc_pga_gain] bit[11:8], linein_pga, setting uses the table above; 6) Para[0x230D, spk_volume], 0x100 as unit gain.
7) Para[0x22e9,_dac_pga_gain], DAC PGA gain for Lineout and speaker out, setting uses the tables below. DAC LINE_OUT PGA Table
LINE_OUT_PGA[3:0] LINE_OUT PGA Gain Control (dB)
Differential Output Signal
(Vpp)
[ 0 0 0 0 ] +2 3.00 [ 0 0 0 1 ] 0 2.40 [ 0 0 1 0 ] -2 1.91 [ 0 0 1 1 ] -4 1.51 [ 0 1 0 0 ] -6 1.20
Sep 20, 2012 16 UCM-FM1288 V06
[ 0 1 0 1 ] -8 0.95 [ 0 1 1 0 ] -10 0.76 [ 0 1 1 1 ] -12 0.60 [ 1 0 0 0 ] -14 0.48 [ 1 0 0 1 ] -16 0.38 [ 1 0 1 0 ] -18 0.30 [ 1 0 1 1 ] -20 0.24 [ 1 1 0 0 ] -22 0.19 [ 1 1 0 1 ] -24 0.15
[ 1 1 1 0 ] -26 0.12 [ 1 1 1 1 ] -28 0.09
Programmable Gain range: +2dB ~ -28dB & Step : -2dB
DAC SPK_OUT PGA Table
LINE_OUT_PGA[3:0] LINE_OUT PGA Gain Control (dB)
Differential Output Signal (Vpp)
[ 0 0 0 0 ] +2 3.00 [ 0 0 0 1 ] 0 2.40 [ 0 0 1 0 ] -2 1.91 [ 0 0 1 1 ] -4 1.51 [ 0 1 0 0 ] -6 1.20 [ 0 1 0 1 ] -8 0.95 [ 0 1 1 0 ] -10 0.76 [ 0 1 1 1 ] -12 0.60 [ 1 0 0 0 ] -14 0.48
[ 1 0 0 1 ] -16 0.38 [ 1 0 1 0 ] -18 0.30 [ 1 0 1 1 ] -20 0.24 [ 1 1 0 0 ] -22 0.19 [ 1 1 0 1 ] -24 0.15 [ 1 1 1 0 ] -26 0.12 [ 1 1 1 1 ] -28 0.09
Programmable Gain range: +2dB ~ -28dB & Step : -2dB
Sep 20, 2012 17 UCM-FM1288 V06
6.2 Activity Detectors (VAD)
8 0x0008 Fe_vad_big The VAD to indicate the big far end signals into mic(big echo)
9 0x0009 Fe_vad_li The VAd to indicate the far end signals 10 0x000b Vad01 subband vad0 for 172Hz ~672Hz 11 0x000c Vad02 subband vad0 for 672Hz ~1359Hz 12 0x000d Vad03 subband vad0 for 1297Hz ~2391Hz