* testing mic-in for tlv320aic33
@ 2009-11-30 18:59 vivek kaushik
2009-12-01 8:09 ` Jarkko Nikula
0 siblings, 1 reply; 5+ messages in thread
From: vivek kaushik @ 2009-11-30 18:59 UTC (permalink / raw)
To: alsa-devel
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.
would be grateful to any help
Thanks in advance
Cheers
Vivek
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: testing mic-in for tlv320aic33
2009-11-30 18:59 testing mic-in for tlv320aic33 vivek kaushik
@ 2009-12-01 8:09 ` Jarkko Nikula
2009-12-02 14:28 ` vivek kaushik
0 siblings, 1 reply; 5+ messages in thread
From: Jarkko Nikula @ 2009-12-01 8:09 UTC (permalink / raw)
To: vivek kaushik; +Cc: alsa-devel
Hi
On Tue, 1 Dec 2009 00:29:53 +0530
vivek kaushik <vic.techlist@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: testing mic-in for tlv320aic33
2009-12-01 8:09 ` Jarkko Nikula
@ 2009-12-02 14:28 ` vivek kaushik
2009-12-02 16:21 ` vivek kaushik
0 siblings, 1 reply; 5+ messages in thread
From: vivek kaushik @ 2009-12-02 14:28 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: alsa-devel
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@gmail.com> wrote:
>
> Hi
>
> On Tue, 1 Dec 2009 00:29:53 +0530
> vivek kaushik <vic.techlist@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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: testing mic-in for tlv320aic33
2009-12-02 14:28 ` vivek kaushik
@ 2009-12-02 16:21 ` vivek kaushik
2009-12-03 7:53 ` Jarkko Nikula
0 siblings, 1 reply; 5+ messages in thread
From: vivek kaushik @ 2009-12-02 16:21 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: alsa-devel
Hi Jarkko,
Thanks for your support.
There was a mistake in I2C configuration of tlv320aic33 and In pin muxing I
tested after that now its working.
Cheers,
Vivek
On 12/2/09, vivek kaushik <vic.techlist@gmail.com> wrote:
>
> 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@gmail.com> wrote:
>>
>> Hi
>>
>> On Tue, 1 Dec 2009 00:29:53 +0530
>> vivek kaushik <vic.techlist@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
>>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: testing mic-in for tlv320aic33
2009-12-02 16:21 ` vivek kaushik
@ 2009-12-03 7:53 ` Jarkko Nikula
0 siblings, 0 replies; 5+ messages in thread
From: Jarkko Nikula @ 2009-12-03 7:53 UTC (permalink / raw)
To: vivek kaushik; +Cc: alsa-devel
On Wed, 2 Dec 2009 21:51:24 +0530
vivek kaushik <vic.techlist@gmail.com> wrote:
> Hi Jarkko,
>
> Thanks for your support.
>
> There was a mistake in I2C configuration of tlv320aic33 and In pin muxing I
> tested after that now its working.
>
Ok, thanks for letting us know. This good to know that there is no any
underlying problems when using dedicated CLKR and FSR pins found in
McBSP1.
--
Jarkko
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-12-03 7:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30 18:59 testing mic-in for tlv320aic33 vivek kaushik
2009-12-01 8:09 ` Jarkko Nikula
2009-12-02 14:28 ` vivek kaushik
2009-12-02 16:21 ` vivek kaushik
2009-12-03 7:53 ` Jarkko Nikula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox