From: Rick Bronson <rick@efn.org>
To: alsa-devel@alsa-project.org
Subject: Re: WM8731 using I2S on omap3 McBSP2 issues
Date: Thu, 24 Sep 2009 11:00:52 -0700 [thread overview]
Message-ID: <E1Mqsce-0002nt-OD@amazonia.comcast.net> (raw)
In-Reply-To: E1Mqrlf-0002YF-9O@amazonia.comcast.net
Mark,
> This suggests that the DMA isn't happening which usually means that the
> CPU isn't seeing all the clocks it's supposed to. I'm not familiar
> enough with the OMAP internals to know if you've set the CPU up
> properly.
I've poured over the relavent code for this and am pretty sure I
don't need to touch it. The same code works on the beagleboard, at
least the DMA part. But you never know...
> > I get no audio output, other than a "click" when the 8731 is
> > initialized upon boot. When I look at the signals the McBSP2_DX line
> > just goes low for the duration of the "aplay", it does not toggle. The
> > other lines look fine. The file is at
>
> If you try a record then does the ADCDAT line show a signal?
I tried this and the ADCDAT does show a signal. See
http://www.efn.org/~rick/pub/win10586.jpg The bottom five traces are
as follows:
McBSP2_CLKX -> I2S_CLK -> I2S_BCLK -> BCLK */\
McBSP2_FSX -> I2S_FRM -> LRCLK -> DACLRC and ADCLRC*/\
McBSP2_DR <- I2S_RXD <- ACDDAT */\
McBSP_CLKS <- I2S_MCLK <- CLKOUT */\
McBSP2_DX -> I2S_TXD -> DACDAT */\
BTW, when I do a aplay, the trace looks the same except ACDDAT is
low.
I still get a write error though:
beagle:~# arecord -t wav -f cd -d 1500 dar.wav
Recording WAVE 'dar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: pcm_read:1348: read error: Input/output error
Rick
next prev parent reply other threads:[~2009-09-24 18:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 17:06 WM8731 using I2S on omap3 McBSP2 issues Rick Bronson
2009-09-24 17:26 ` Mark Brown
2009-09-24 18:00 ` Rick Bronson [this message]
2009-09-24 18:52 ` Mark Brown
2009-09-24 22:37 ` Rick Bronson
2009-09-25 5:53 ` Mark Brown
2009-09-25 6:03 ` Peter Ujfalusi
2009-09-25 9:12 ` Peter Ujfalusi
-- strict thread matches above, loose matches on Subject: below --
2009-09-25 14:30 Rick Bronson
2009-09-25 14:31 Rick Bronson
2009-09-26 7:56 ` Jarkko Nikula
2009-09-26 15:59 Rick Bronson
2009-09-28 5:50 ` Jarkko Nikula
2009-09-28 16:07 Rick Bronson
2009-09-28 16:13 ` Mark Brown
2009-09-28 21:15 Rick Bronson
2009-09-29 8:43 ` Peter Ujfalusi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Mqsce-0002nt-OD@amazonia.comcast.net \
--to=rick@efn.org \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.