<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: subtle bug with alsa driver backend or mxs-dac driver. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/subtle-bug-with-alsa-driver-backend-or-mxs-dac-driver/m-p/206144#M11848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is sample program to recreate the issue. To compile you will need to change your ltib location and compiler names.&lt;/P&gt;&lt;P&gt;In this program i'm opening alsa device, with stream parameters of 44100, 16bit stereo. I'm feeding the driver with 100mS packets, but i'm waiting 105mS between them, so every 5 mS there will be pause and DMA will underflow. The program runs fine for 10-15 seconds (you hear 100mS beeps), and then sound stops. Relaunching program doesn't solve the issue. Only rebooting helps.&lt;/P&gt;&lt;P&gt;Same program runs fine on linux pc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2012 21:32:02 GMT</pubDate>
    <dc:creator>Felix1z</dc:creator>
    <dc:date>2012-01-26T21:32:02Z</dc:date>
    <item>
      <title>subtle bug with alsa driver backend or mxs-dac driver.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/subtle-bug-with-alsa-driver-backend-or-mxs-dac-driver/m-p/206143#M11847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm hunting for subtle bug, happened under certain conditions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;-- if application is LATE to feed alsa through&amp;nbsp;snd_pcm_writei, the driver spits "DAC Underflow" .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;after several underflows, entire sound subsystem stops working. alsa&amp;nbsp;snd_pcm_writei returns -EAGAIN even after relaunching application. The only remedy is reboot.&lt;/P&gt;&lt;P&gt;I suspect that either AUDIOOUT fifo or DMA is stuck in error condition, and there is no code to recover from it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone experienced this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LTIB kernel 2.6.31. all default parameters for imx233evk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 19:38:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/subtle-bug-with-alsa-driver-backend-or-mxs-dac-driver/m-p/206143#M11847</guid>
      <dc:creator>Felix1z</dc:creator>
      <dc:date>2012-01-25T19:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: subtle bug with alsa driver backend or mxs-dac driver.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/subtle-bug-with-alsa-driver-backend-or-mxs-dac-driver/m-p/206144#M11848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is sample program to recreate the issue. To compile you will need to change your ltib location and compiler names.&lt;/P&gt;&lt;P&gt;In this program i'm opening alsa device, with stream parameters of 44100, 16bit stereo. I'm feeding the driver with 100mS packets, but i'm waiting 105mS between them, so every 5 mS there will be pause and DMA will underflow. The program runs fine for 10-15 seconds (you hear 100mS beeps), and then sound stops. Relaunching program doesn't solve the issue. Only rebooting helps.&lt;/P&gt;&lt;P&gt;Same program runs fine on linux pc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 21:32:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/subtle-bug-with-alsa-driver-backend-or-mxs-dac-driver/m-p/206144#M11848</guid>
      <dc:creator>Felix1z</dc:creator>
      <dc:date>2012-01-26T21:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: subtle bug with alsa driver backend or mxs-dac driver.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/subtle-bug-with-alsa-driver-backend-or-mxs-dac-driver/m-p/206145#M11849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached errata &lt;SPAN style="text-decoration: underline;"&gt;(#2349&amp;nbsp;The DAC DMA halts unexpectedly)&lt;/SPAN&gt; seems to describe exactly what's going on, but suggested workaround doesn't solve the issue!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any freescale engineers confirm the proper workaround?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 22:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/subtle-bug-with-alsa-driver-backend-or-mxs-dac-driver/m-p/206145#M11849</guid>
      <dc:creator>Felix1z</dc:creator>
      <dc:date>2012-01-27T22:54:26Z</dc:date>
    </item>
  </channel>
</rss>

