[alsa-devel] testing mic-in for tlv320aic33

vivek kaushik vic.techlist at gmail.com
Wed Dec 2 15:28:34 CET 2009


Thanks Jarkko for the support.

I have applied the patch. I am kernel 2.6.29.

In my board CLKR and FSR are connected so I am calling functions as:
snd_soc_dai_set_sysclk(cpu_dai, OMAP_MCBSP_CLKR_SRC_CLKR, 0,
SND_SOC_CLOCK_IN);
snd_soc_dai_set_sysclk(cpu_dai, OMAP_MCBSP_FSR_SRC_FSR, 0,
SND_SOC_CLOCK_IN);

I checked pin muxing is also fine but still I am getting the same error.

Thanks and regards

Vivek

On 12/1/09, Jarkko Nikula <jhnikula at gmail.com> wrote:
>
> Hi
>
> On Tue, 1 Dec 2009 00:29:53 +0530
> vivek kaushik <vic.techlist at gmail.com> wrote:
>
> > Hi All,
> >
> > I am testing MIC IN on tlv320aic33. but getting the following error:
> > arecord: pcm_read:1338: read error: Input/output error
> >
> > On my custom board tlv320aic33 is connected mcbsp-1 of omap3530, i am
> > configuring tlv as mater and omap3530 as slave.aplay is working fine for
> me
> > but getting the above error in case of arecord.
> >
> > I am testing MIC IN with following command
> >
> > arecord -fdat record.wav
> >
> > when i probe signals I am getting proper MCLK, WCLK(48khz) and
> BCLK(1.5Mhz)
> > but there is no toggling on data line.
> >
> I believe the reason is that OMAP expects to get McBSP1 receiver clocks
> from its own CLKR and FSR pins. Does it work if you configure the McBP1
> receiver to use CLKX and FSX pins?
>
> You could look help from following commit and file in sound-2.6.git
> tree:
> commit d2c0bdaa9362c4b2ab7416420d034a0a2d1ec979
> sound/soc/omap/am3517evm.c
>
> --
> Jarkko
>


More information about the Alsa-devel mailing list