<?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>i.MX ProcessorsのトピックRe: Capturing RAW PCM DATA in Imx6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-RAW-PCM-DATA-in-Imx6/m-p/444959#M68548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="206296" data-username="igorpadykov" href="https://community.nxp.com/people/igorpadykov" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;igorpadykov&lt;/A&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN style="color: #3d9ce7;"&gt;I have posted my question at here&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/thread/506908"&gt;imx7 how to capture raw PCM samples from I2S&lt;/A&gt;&lt;SPAN style="color: #3d9ce7;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; and you answered me. but after I changed an error, your answer is not there.&amp;nbsp; but I can read your answer in my email. after read it. I have a little&amp;nbsp;confuse:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 500;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN&gt;my question is that :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d9ce7; font-weight: 500; "&gt;do you have linux user space code to read I2S data directly?&amp;nbsp; the code at here (&lt;A class="link-titled" href="https://github.com/flit/imx6_platform_sdk" title="https://github.com/flit/imx6_platform_sdk"&gt;GitHub - flit/imx6_platform_sdk: Bare metal SDK for i.MX6 Q/D/DL/S/SL&lt;/A&gt;&amp;nbsp;) It seems it not running&amp;nbsp; on linux , it's non-system code,is it right? if the code is there for linux , which file can be change to read i2s directly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application. imx7 i2s as slave mode(technexion pico-pi-imx7 board), my device is spi master to continuously&amp;nbsp;send data to imx7 i2s (same as spi data. but imx7 spi salve not works well, so I try to use i2s pcm. I use raspberry pi pcm as spi slave worked well before, but raspberry can not be productions,so we choose imx7 to try).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d9ce7; font-weight: 500; "&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jul 2019 13:44:04 GMT</pubDate>
    <dc:creator>gonewithwind-peter</dc:creator>
    <dc:date>2019-07-04T13:44:04Z</dc:date>
    <item>
      <title>Capturing RAW PCM DATA in Imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-RAW-PCM-DATA-in-Imx6/m-p/444957#M68546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having our custom board which is having imx6d processor.In this we connected Telephony chip(Le9641) which will receive and transmit PCM samples.It is having internal audio processing units which will convert analog voice signals to raw PCM samples and vice versa.It requires clock from processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to capture and send PCM data from/to our chip.For that i made the following changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;Configured SSI as i2s-master.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;registered dummy sound card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dts entries are as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sound{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "fsl,imx-dummy";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model = "imx6q-dummy";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ssi-controller = &amp;lt;&amp;amp;ssi1&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mux-int-port = &amp;lt;5&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mux-ext-port = &amp;lt;2&amp;gt;;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;ssi1 {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,mode = "i2s-master";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;audmux {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-names = "default";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_audmux_3&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pinctrl_audmux_3: audmux-3 {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,pins = &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_KEY_ROW1__AUD5_RXD&amp;nbsp;&amp;nbsp; 0x130b0 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_KEY_COL0__AUD5_TXC&amp;nbsp;&amp;nbsp; 0x130b0 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_KEY_ROW0__AUD5_TXD&amp;nbsp;&amp;nbsp; 0x110b0 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_KEY_COL1__AUD5_TXFS&amp;nbsp; 0x130b0 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;In DAI format i am using&amp;nbsp; "&lt;STRONG&gt;SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |SND_SOC_DAIFMT_CBS_CFS&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to load my driver and dummy sound card also registering.But i am not able get the clock.Can any one help me what i am missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 15:34:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-RAW-PCM-DATA-in-Imx6/m-p/444957#M68546</guid>
      <dc:creator>saisuryanarayan</dc:creator>
      <dc:date>2015-06-30T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing RAW PCM DATA in Imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-RAW-PCM-DATA-in-Imx6/m-p/444958#M68547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saisurya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you wish just to test hardware, it may be more suitable to capture&lt;/P&gt;&lt;P&gt;raw data with SDK audio test&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;i.MX 6Series Platform SDK&lt;/A&gt;&amp;nbsp; : Bare-metal SDK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 04:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-RAW-PCM-DATA-in-Imx6/m-p/444958#M68547</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-07-03T04:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing RAW PCM DATA in Imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-RAW-PCM-DATA-in-Imx6/m-p/444959#M68548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="206296" data-username="igorpadykov" href="https://community.nxp.com/people/igorpadykov" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;igorpadykov&lt;/A&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN style="color: #3d9ce7;"&gt;I have posted my question at here&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/thread/506908"&gt;imx7 how to capture raw PCM samples from I2S&lt;/A&gt;&lt;SPAN style="color: #3d9ce7;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; and you answered me. but after I changed an error, your answer is not there.&amp;nbsp; but I can read your answer in my email. after read it. I have a little&amp;nbsp;confuse:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 500;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff; font-weight: 500;"&gt;&lt;SPAN&gt;my question is that :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d9ce7; font-weight: 500; "&gt;do you have linux user space code to read I2S data directly?&amp;nbsp; the code at here (&lt;A class="link-titled" href="https://github.com/flit/imx6_platform_sdk" title="https://github.com/flit/imx6_platform_sdk"&gt;GitHub - flit/imx6_platform_sdk: Bare metal SDK for i.MX6 Q/D/DL/S/SL&lt;/A&gt;&amp;nbsp;) It seems it not running&amp;nbsp; on linux , it's non-system code,is it right? if the code is there for linux , which file can be change to read i2s directly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application. imx7 i2s as slave mode(technexion pico-pi-imx7 board), my device is spi master to continuously&amp;nbsp;send data to imx7 i2s (same as spi data. but imx7 spi salve not works well, so I try to use i2s pcm. I use raspberry pi pcm as spi slave worked well before, but raspberry can not be productions,so we choose imx7 to try).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d9ce7; font-weight: 500; "&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 13:44:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-RAW-PCM-DATA-in-Imx6/m-p/444959#M68548</guid>
      <dc:creator>gonewithwind-peter</dc:creator>
      <dc:date>2019-07-04T13:44:04Z</dc:date>
    </item>
  </channel>
</rss>

