<?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のトピックimx6 ssi in network mode</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304032#M38796</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&gt;I am trying to configure the imx6 ssi to transmit 8 channels in network mode (TDM).&amp;nbsp; I have a DSP that is providing frame sync (one clock bit) and bit clock to the imx6 (both are confirmed working).&amp;nbsp; Frame sync is 48khz, bit clock is 6.144mhz (8 channels, 16 bits per channel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSI_SCR = 0x118&amp;nbsp; (network mode enabled, Synchronous mode selected, Two-channel mode enabled.)&lt;/P&gt;&lt;P&gt;SSI_STCR = 0x38F (Transmit frame sync is initiated one bit before the data is transmitted, one clock bit, active low frame sync, falling edge data, transmit FIFO 0 enabled, transmit FIFO 1 enabled, LSB Aligned)&lt;/P&gt;&lt;P&gt;SSI_STCCR = 0x4E700 (PM = 0, DC = 7, Word Length Control = 7, PSR = 0, DIV2 = 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In imx-ssi.c structure snd_soc_dai_driver_imx_ssi_dai I changed channels_min = 8 and channels_max = 8&lt;BR /&gt;In imx-pcm-dma-mx2.c structure snd_imx_hardware I changed channels_min = 8 and channels_max = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use aplay to play a wav file, and get no data on the data line, aplay hangs.&amp;nbsp; I should add that I did have this configured as I2S Slave (2 channel) with the DSP setup appropriately and that did work.&amp;nbsp; Now that I'm trying to switch to network mode and 8 channels, I can't seem to get any data out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice/links/info would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2014 19:25:58 GMT</pubDate>
    <dc:creator>j-g</dc:creator>
    <dc:date>2014-03-25T19:25:58Z</dc:date>
    <item>
      <title>imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304032#M38796</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&gt;I am trying to configure the imx6 ssi to transmit 8 channels in network mode (TDM).&amp;nbsp; I have a DSP that is providing frame sync (one clock bit) and bit clock to the imx6 (both are confirmed working).&amp;nbsp; Frame sync is 48khz, bit clock is 6.144mhz (8 channels, 16 bits per channel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSI_SCR = 0x118&amp;nbsp; (network mode enabled, Synchronous mode selected, Two-channel mode enabled.)&lt;/P&gt;&lt;P&gt;SSI_STCR = 0x38F (Transmit frame sync is initiated one bit before the data is transmitted, one clock bit, active low frame sync, falling edge data, transmit FIFO 0 enabled, transmit FIFO 1 enabled, LSB Aligned)&lt;/P&gt;&lt;P&gt;SSI_STCCR = 0x4E700 (PM = 0, DC = 7, Word Length Control = 7, PSR = 0, DIV2 = 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In imx-ssi.c structure snd_soc_dai_driver_imx_ssi_dai I changed channels_min = 8 and channels_max = 8&lt;BR /&gt;In imx-pcm-dma-mx2.c structure snd_imx_hardware I changed channels_min = 8 and channels_max = 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use aplay to play a wav file, and get no data on the data line, aplay hangs.&amp;nbsp; I should add that I did have this configured as I2S Slave (2 channel) with the DSP setup appropriately and that did work.&amp;nbsp; Now that I'm trying to switch to network mode and 8 channels, I can't seem to get any data out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice/links/info would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 19:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304032#M38796</guid>
      <dc:creator>j-g</dc:creator>
      <dc:date>2014-03-25T19:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304033#M38797</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&gt;Thank you for your post, however please consider moving it to the right community place (e.g. &lt;A _jive_internal="true" class="jivecontainerTT-hover-container jive-link-community-small" data-containerid="1" data-containertype="14" data-objectid="2004" data-objecttype="14" href="https://community.nxp.com/community/imx"&gt;i.MX Community&lt;/A&gt; )&amp;nbsp; to get it visible for active members.&lt;/P&gt;&lt;P&gt;For details please see general advice &lt;A _jive_internal="true" data-containerid="2001" data-containertype="14" data-objectid="99909" data-objecttype="102" href="https://community.nxp.com/docs/DOC-99909"&gt;Where to post a Discussion?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for using Freescale Community. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 12:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304033#M38797</guid>
      <dc:creator>Wlodek_D_</dc:creator>
      <dc:date>2014-03-26T12:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304034#M38798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; Now moved to i.mx community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:20:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304034#M38798</guid>
      <dc:creator>j-g</dc:creator>
      <dc:date>2014-03-26T13:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304035#M38799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Hi j-g , there are no examples for network mode with i.MX6, however one can look&lt;/P&gt;&lt;P&gt;at other i.MX processors examples (note, AUDMUX and SSI modules&lt;/P&gt;&lt;P&gt;are basically identical with minor modifications).&lt;/P&gt;&lt;P&gt;For ssi network mode please look at i.MX27 PDK examples,&lt;/P&gt;&lt;P&gt;check pdk10_imx27_Linux_RM.pdf (included in Doc bundle link below)&lt;/P&gt;&lt;P&gt;Table 20-1 "AUDMUX Source Files", sect.20.5 "Programming Interface (Exported API)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"PDK_IMX27_LINUXDOCS_BUNDLE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX27PDK&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX27PDK&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For network mode one needs to set correctly also AUDMUX, for &lt;/P&gt;&lt;P&gt;better understanding it may be useful application note below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Programming Audio Applications in the i.MX21"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://cache.freescale.com/files/32bit/doc/app_note/AN2628.pdf"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN2628.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2014 11:04:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304035#M38799</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-03-30T11:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304036#M38800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the information.&amp;nbsp; It is truly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 11:46:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304036#M38800</guid>
      <dc:creator>j-g</dc:creator>
      <dc:date>2014-03-31T11:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304037#M38801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Dear j-g,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Did you accomplish your project and could you please share your some of your experiences,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thank you in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 03:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304037#M38801</guid>
      <dc:creator>nguyenanhduc</dc:creator>
      <dc:date>2016-07-08T03:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304038#M38802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi everyone,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;i'm working on that argument. I would like configure the ssi into Network mode. I have done this, so, I modified the register to do it, but now I can't understand how linux show on user space "/proc/asound/card0/pcmX" X times my slot.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;any one can explain me this?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;thank you very much&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Marco From Italy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 12:40:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304038#M38802</guid>
      <dc:creator>rosciio</dc:creator>
      <dc:date>2016-10-18T12:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304039#M38803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI marco ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am also &amp;nbsp;trying on this iisue, can you share your solution with me? &amp;nbsp;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 08:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304039#M38803</guid>
      <dc:creator>jerryyan</dc:creator>
      <dc:date>2016-10-27T08:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 ssi in network mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304040#M38804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm sorry. I'm tring yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like use the same configuration of SGTL5000 (ssi) and show the new sample in the dma buffer. Now I have same problem to extract the correct sample.&lt;/P&gt;&lt;P&gt;Have you a solution or way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 07:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-ssi-in-network-mode/m-p/304040#M38804</guid>
      <dc:creator>rosciio</dc:creator>
      <dc:date>2016-12-16T07:54:07Z</dc:date>
    </item>
  </channel>
</rss>

