This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS65950 digital microphone path configuration

Other Parts Discussed in Thread: TPS65950

Hello,

I try to configure digital microphone connected to TPS65950. I made some operations with alsa_amixer to configure proper path for dig mic but without success. I'm trying to understand signal path to the microphone and I verified it with 14.4.2.3 SWCU050G – April 2008 – Revised December 2010 with codec reg dump and it seems to be ok but dig microphone is turned off (VMIC is low and there is no CLK). [( VMIC1.OUT, DIG.MIC.0, DIG.MIC.CLK0). I use Linux kernel 2.6.37. ]

0451.codec_reg.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
twl4030-codec registers
0: 0
1: a3
2: c3
3: 0
4: 60
5: 5
6: 4
7: 6
8: f
9: 0
a: 1f
b: 1f
c: 1f
d: 1f
e: 1
f: 0
10: 3f
11: 3f
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

here is codec/TPS reg dump taken during recording attempt:

/ # alsa_arecord -v -r 48000 -f dat | alsa_aplay -v
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Hardware PCM card 0 'omap3evm' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 24000
period_size : 6000
period_time : 125000
tstamp_mode : NONE
period_step : 1
avail_min : 6000
period_event : 0
start_threshold : 1
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 1572864000
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Hardware PCM card 0 'omap3evm' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 24000
period_size : 6000
period_time : 125000
tstamp_mode : NONE
period_step : 1
avail_min : 6000
period_event : 0
start_threshold : 24000
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 1572864000

and alsa widget states:

5367.dapm_widget.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Headset Mic Bias: Off
Mic Bias 2: Off
Mic Bias 1: Off
micbias2 select: On
micbias1 select: On
Digimic1 Enable: On
Digimic0 Enable: On
ADC Physical Right: Off
ADC Physical Left: Off
Analog Right: Off
Analog Left: Off
ADC Virtual Right2: On
ADC Virtual Left2: On
ADC Virtual Right1: On
ADC Virtual Left1: On
HandsfreeR PGA: Off
HandsfreeL PGA: On
CarkitR PGA: Off
CarkitR Mixer: Off
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

and alsa_amixer contents:

5736.alsa_mixer_contents.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
numid=20,iface=MIXER,name='AVADC Clock Priority'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'Voice high priority'
; Item #1 'HiFi high priority'
: values=1
numid=19,iface=MIXER,name='Analog Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=5,step=0
: values=5,5
| dBscale-min=0.00dB,step=6.00dB,mute=0
numid=29,iface=MIXER,name='Analog Left AUXL Capture Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=30,iface=MIXER,name='Analog Left Carkit Mic Capture Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=28,iface=MIXER,name='Analog Left Headset Mic Capture Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
numid=27,iface=MIXER,name='Analog Left Main Mic Capture Switch'
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 Regards,

Karol