[alsa-devel] ASoC: Hooking a TI CODEC to a i.MX27 MCU
Mark Brown
broonie at opensource.wolfsonmicro.com
Thu May 27 02:47:03 CEST 2010
On Wed, May 26, 2010 at 11:21:36PM +1000, Stuart Longland wrote:
> At the moment, when I go to play audio; I see the CODEC being set up ...
> but despite the clocks being present -- I see no audio data, and the DMA
> transfer eventually times out with the message "playback write error
> (DMA or IRQ trouble?)" after 10 seconds. Would anyone know where I'd
> look for that? Is there something else needed in the configuration of
> the SSI driver for this to work?
This most likely means your CPU side configuration is broken and clocks
aren't being routed through. Try looking at the AUDMUX debugfs files to
verify your configuration, and also try routing out to another external
SSI port so you can probe signals. Make sure the relevant pins on the
i.MX are configured into the appropriate mode for use by the i.MX too.
Note also that the current driver only supports CODEC as clock master.
More information about the Alsa-devel
mailing list