<?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 Unable to  create raw file for unit_tests project in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-create-raw-file-for-unit-tests-project/m-p/821778#M126492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run one unit_tests project which is given by default after booting linux on i.MX8M Quad EVK board to us for playing the audio file. &lt;BR /&gt;&lt;BR /&gt;I am trying to create raw file for " ./mxc_pdm_test.out " by executing following code :&lt;BR /&gt;&lt;BR /&gt;./mxc_pdm_test.out -device hw:4,0 -output test-audio.raw -rate 16000 -seconds 60&lt;/P&gt;&lt;P&gt;What error i observed is :&lt;BR /&gt;&lt;BR /&gt;ALSA lib ../../../alsa-lib-1.1.4.1/src/pcm/pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card &lt;BR /&gt;unable to open pcm device: hw:4,0fail to init alsa pdm -2&lt;/P&gt;&lt;P&gt;Could you please help me to understand this error for me.&lt;BR /&gt;&lt;BR /&gt;What i am missing here ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2018 12:41:37 GMT</pubDate>
    <dc:creator>abhishek_kumar2</dc:creator>
    <dc:date>2018-07-17T12:41:37Z</dc:date>
    <item>
      <title>Unable to  create raw file for unit_tests project</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-create-raw-file-for-unit-tests-project/m-p/821778#M126492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run one unit_tests project which is given by default after booting linux on i.MX8M Quad EVK board to us for playing the audio file. &lt;BR /&gt;&lt;BR /&gt;I am trying to create raw file for " ./mxc_pdm_test.out " by executing following code :&lt;BR /&gt;&lt;BR /&gt;./mxc_pdm_test.out -device hw:4,0 -output test-audio.raw -rate 16000 -seconds 60&lt;/P&gt;&lt;P&gt;What error i observed is :&lt;BR /&gt;&lt;BR /&gt;ALSA lib ../../../alsa-lib-1.1.4.1/src/pcm/pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card &lt;BR /&gt;unable to open pcm device: hw:4,0fail to init alsa pdm -2&lt;/P&gt;&lt;P&gt;Could you please help me to understand this error for me.&lt;BR /&gt;&lt;BR /&gt;What i am missing here ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 12:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-create-raw-file-for-unit-tests-project/m-p/821778#M126492</guid>
      <dc:creator>abhishek_kumar2</dc:creator>
      <dc:date>2018-07-17T12:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to  create raw file for unit_tests project</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-create-raw-file-for-unit-tests-project/m-p/821779#M126493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Customers can use standard aplay / arecord / amixer programms. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Use the following commands to define available audio devices:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;#arecord -l&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;#aplay -l &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;To write file, using capture device &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;“card 1: imxspdif [imx-spdif], device 0: S/PDIF PCM snd-soc-dummy-dai-0” &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;the following command may be applied:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;# arecord -Dplughw:1,0 record.wav&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 05:55:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-create-raw-file-for-unit-tests-project/m-p/821779#M126493</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-07-20T05:55:18Z</dc:date>
    </item>
  </channel>
</rss>

