<?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 SSI TDM Slot Transmit Error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393974#M57599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working to support the a 4 channel SSI bus to a Wolfson audio chip (WM5102).&amp;nbsp; The clocks (yellow) and frame sync(green) are being generated by the Wolfson chip.&amp;nbsp; When I capture the data from the audio interface I am seeing 4 16-bit PCM channels at 44.1KHz as I expect.&amp;nbsp; The problem is on transmit I see the first frame sometimes leaving in slot 0 and sometimes in slot 1.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I pulled a patch from another post about setting the Tx/Rx Masks, but I am still have the transmit problem.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have attached two screen captures showing the measurements of the SSI bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software: Linux Kernel 3.0.101 with a modified imx-ssi.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is dump of some of the settings:&lt;/P&gt;&lt;P&gt;slots=4,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;SCR=00000118, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;STCR=0000038d, &lt;/P&gt;&lt;P&gt;SRCR=0000038d&lt;/P&gt;&lt;P&gt;STCCR=0004e300&lt;/P&gt;&lt;P&gt;SRCCR=0004e300&lt;/P&gt;&lt;P&gt;STMSK=fffffff0&lt;/P&gt;&lt;P&gt;SRMSK=fffffff0&lt;/P&gt;&lt;P&gt;When Transmitting:&lt;/P&gt;&lt;P&gt;SSI_SCR 11b&lt;/P&gt;&lt;P&gt;SSI_SIER 100000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 18:21:14 GMT</pubDate>
    <dc:creator>andrewdeliso</dc:creator>
    <dc:date>2015-08-24T18:21:14Z</dc:date>
    <item>
      <title>SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393974#M57599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working to support the a 4 channel SSI bus to a Wolfson audio chip (WM5102).&amp;nbsp; The clocks (yellow) and frame sync(green) are being generated by the Wolfson chip.&amp;nbsp; When I capture the data from the audio interface I am seeing 4 16-bit PCM channels at 44.1KHz as I expect.&amp;nbsp; The problem is on transmit I see the first frame sometimes leaving in slot 0 and sometimes in slot 1.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I pulled a patch from another post about setting the Tx/Rx Masks, but I am still have the transmit problem.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have attached two screen captures showing the measurements of the SSI bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Software: Linux Kernel 3.0.101 with a modified imx-ssi.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is dump of some of the settings:&lt;/P&gt;&lt;P&gt;slots=4,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;SCR=00000118, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;STCR=0000038d, &lt;/P&gt;&lt;P&gt;SRCR=0000038d&lt;/P&gt;&lt;P&gt;STCCR=0004e300&lt;/P&gt;&lt;P&gt;SRCCR=0004e300&lt;/P&gt;&lt;P&gt;STMSK=fffffff0&lt;/P&gt;&lt;P&gt;SRMSK=fffffff0&lt;/P&gt;&lt;P&gt;When Transmitting:&lt;/P&gt;&lt;P&gt;SSI_SCR 11b&lt;/P&gt;&lt;P&gt;SSI_SIER 100000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393974#M57599</guid>
      <dc:creator>andrewdeliso</dc:creator>
      <dc:date>2015-08-24T18:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393975#M57600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in general this behaviour may be caused by SSI underruns, just for test one can try to&lt;/P&gt;&lt;P&gt;decrease SSI clocks, use minimal image, try to disable wit mode (enable_wait_mode=off),&lt;/P&gt;&lt;P&gt;change location of data buffers to iRAM.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 02:42:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393975#M57600</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-08-28T02:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393976#M57601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tips igor, but I have tried all your options and I still see my channel 1 data moving around.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything else that I can look at or try?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 14:31:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393976#M57601</guid>
      <dc:creator>andrewdeliso</dc:creator>
      <dc:date>2015-08-31T14:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393977#M57602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can try with bare metal SDK (reuse wm8962.c)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 16:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393977#M57602</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-08-31T16:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393978#M57603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bare metal is not really an option for me.&amp;nbsp; Is there any versions that support multi-channel SSI bus?&amp;nbsp; Or should I be looking at a hardware change to another bus to support 4 channels of audio?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 13:13:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393978#M57603</guid>
      <dc:creator>andrewdeliso</dc:creator>
      <dc:date>2015-09-02T13:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393979#M57604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think issue may appear with 2 channels too, could you try it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 15:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393979#M57604</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-09-02T15:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393980#M57605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will give this a try, I think I have also seen that case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 18:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393980#M57605</guid>
      <dc:creator>andrewdeliso</dc:creator>
      <dc:date>2015-09-03T18:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393981#M57606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran a two channel test, (Left/Right) with the off the shelf driver in 3.0.101 with the iMx as the slave.&amp;nbsp; This worked fine at 8kHz and 44kHz.&amp;nbsp; When running with TDM 2 channels worked fine.&amp;nbsp; It seems only to be related to a 4 channel operation.&amp;nbsp; Is there something going on with the two TX buffers?&amp;nbsp; Currently I am running with both TX buffers enabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 13:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393981#M57606</guid>
      <dc:creator>andrewdeliso</dc:creator>
      <dc:date>2015-09-04T13:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393982#M57607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm the Freescale TSE for Persistent Systems and Andrew DeLiso sent me an email regarding this thread.&amp;nbsp; He told me that he needs a deeper understanding of the limitations of the SSI interface.&amp;nbsp; Also does this carry into the imx6 plus?&amp;nbsp; Persistent currently has 3 SSI buses running and the extra channels is more of a necessity to properly move the audio.&amp;nbsp; Do we have any version of our BSP other than bare metal where more than 2 channels are supported?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 17:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393982#M57607</guid>
      <dc:creator>Carl725</dc:creator>
      <dc:date>2015-09-16T17:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: SSI TDM Slot Transmit Error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393983#M57608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I.MX6 plus have similar SSI modules.&lt;/P&gt;&lt;P&gt;Unfortunately I am not aware of linux versions that support multi-channel SSI &lt;/P&gt;&lt;P&gt;bus, so it may be recommended to find correct SSI configuration&lt;/P&gt;&lt;P&gt;using bare metal SDK (using wm8962.c as example), then port it to linux.&lt;/P&gt;&lt;P&gt;Also one has option to contact Freescale Professional Services to develop this configuration&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/overview.jsp?code=CW_PROFESSIONAL" rel="nofollow"&gt;http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_PROFESSIONAL&lt;/A&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 04:37:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-TDM-Slot-Transmit-Error/m-p/393983#M57608</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-09-17T04:37:33Z</dc:date>
    </item>
  </channel>
</rss>

