We are trying to play live video/audio stream on a hardware similar to dm36x evm (the audio part is identical). Since the stream is live, alsa underruns are unavoidable. The standard recovery procedure is to stop/re-start the audio stream.Unfortunately, after several stop/starts EDMA controller stops completely, and alsa core prints the following message:
ALSA pcm_lib.c:1708: playback write error (DMA or IRQ trouble?)
Which means that EDMA controller doesn't emit the transfer completion interrupt. McBSP is started and configured properly, all required clocks and frame sync are present. There is only single array transferred, according to PaRAM for the channel.
After this error, this state canbe recovered from no by re-statring the application neither by re-loading the alsa drivers, only by reboot.
Any idea where to look?
Thanks
---
Roma