I have setup the alsa based support for Audio codec. We are using MCBSP1 for audio streaming.
When i run aplay with audio file, i get error this error
playback write error (DMA or IRQ trouble?). Does anyone know what this error is? How to resolve this error.
Can you provide more information?
What platform and OS are you using?, version?
How are you setting the path?
What do you have connected to McBSP1?
Here's the setup.
OS Ubuntu 10.0.
MCBSP1(OMAP3703) is connected to Audio codec. MCBSP1 clk is externally provided.
So , I have configured MCBSP1 in slave mode.
In the machine driver..soc/omap/omap37xx.c
#define FORMAT (SND_SOC_DAIFMT_I2S| SND_SOC_DAIFMT_IB_NF|SND_SOC_DAIFMT_CBM_CFM)
#define CLK_FREQ 12288000
snd_soc_dai_set_sysclk(codec_dai, 0, CLK_FREQ, SND_SOC_CLOCK_IN);
snd_soc_dai_set_sysclk(cpu_dai, OMAP_MCBSP_SYSCLK_CLKS_EXT, CLK_FREQ, SND_SOC_CLOCK_IN);
snd_soc_dai_set_clkdiv(cpu_dai, OMAP_MCBSP_CLKGDV, 8);
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.