<?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: SSI as i2s master with 16 bit audio in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839826#M128825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"word length is fixed to 32 in I2S Master mode" is SSI hardware limitation,&lt;/P&gt;&lt;P&gt;unfortunately there is no way to work around this limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 16 Nov 2018 00:18:52 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-11-16T00:18:52Z</dc:date>
    <item>
      <title>SSI as i2s master with 16 bit audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839825#M128824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It it possible to configure the SSI in i2s master mode while&amp;nbsp;playing or recording 16 bit audio?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the reference manual for i.MX6, the "word length is fixed to 32 in I2S Master mode".&amp;nbsp;Is there any way to work around this limitation? Or is it simply impossible to use master mode if one wants 16 bit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 14:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839825#M128824</guid>
      <dc:creator>FredrikMoller</dc:creator>
      <dc:date>2018-11-15T14:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: SSI as i2s master with 16 bit audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839826#M128825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frederik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"word length is fixed to 32 in I2S Master mode" is SSI hardware limitation,&lt;/P&gt;&lt;P&gt;unfortunately there is no way to work around this limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 16 Nov 2018 00:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839826#M128825</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-11-16T00:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSI as i2s master with 16 bit audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839827#M128826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor, and thanks for the reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since posting this question, I've tried a potential workaround. Instead of setting&amp;nbsp;SSIx_SCR.I2S_MODE to&amp;nbsp;1 (I2S master mode)&amp;nbsp;I set it to 0 (normal mode). All other register settings are the same as described in the i.MX 6 reference manual chapter 61.8.1.4 "I2S Mode" when configuring I2s master mode, including those bits that would be internally overridden had I2S master mode been selected in&amp;nbsp;&lt;SPAN&gt;SSIx_SCR.&lt;/SPAN&gt;&lt;SPAN&gt;I2S_MODE&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The samples generated are now 16 bit instead of 32, as seen by oscilloscope. I've also done loopback tests where the received samples are the same as the sent samples. I havent't tried to communicate with a real audio codec yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if you could look at this workaround and see if there is any flaw in it, or if it is safe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 08:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839827#M128826</guid>
      <dc:creator>FredrikMoller</dc:creator>
      <dc:date>2018-11-16T08:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: SSI as i2s master with 16 bit audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839828#M128827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following workaround seems to work:&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;Set&lt;/SPAN&gt;&amp;nbsp;SSIx_SCR.I2S_MODE to 0 (normal mode) instead of 1 (I2S master mode). This has been tested in loopback mode as well as with an external codec. Driver was initialised with the following register settings:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCR = 0x00001119&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;SSIEN = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TE = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RE = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;NET = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;SYN = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;I2S_MODE = 0x0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&amp;lt;------ Normal mode instead of i2s master mode&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;SYS_CLK_EN = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TCH_EN = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;CLK_IST = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFR_CLK_DIS = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFR_CLK_DIS = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;SYNC_TX_FS = 0x1&lt;BR /&gt;SISR = 0x00003003&lt;BR /&gt;SIER = 0x00280000&lt;BR /&gt;STCR = 0x000003ED&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TEFS = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFSL = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFSI = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TSCKP = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TSHFD = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TXDIR = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFDIR = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFEN0 = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFEN1 = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TXBIT0 = 0x1&lt;BR /&gt;SRCR = 0x0000078D&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;REFS = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFSL = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFSI = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RSCKP = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RSHFD = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RXDIR = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFDIR = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFEN0 = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFEN1 = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RXBIT0 = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RXEXT = 0x1&lt;BR /&gt;STCCR = 0x0000E116&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PM7_PM0 = 0x16&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;DC4_DC0 = 0x1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;WL3_WL0 = 0x7&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PSR = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;DIV2 = 0x0&lt;BR /&gt;SRCCR = 0x00040000&lt;BR /&gt;SFCSR = 0x00880088&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFWM0 = 0x8&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFWM0 = 0x8&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFCNT0 = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFCNT0 = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFWM1 = 0x8&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFWM1 = 0x8&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;TFCNT1 = 0x0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;RFCNT1 = 0x0&lt;BR /&gt;SACNT = 0x00000000&lt;BR /&gt;SACADD = 0x00000000&lt;BR /&gt;SACDAT = 0x00000000&lt;BR /&gt;SATAG = 0x00000000&lt;BR /&gt;STMSK = 0xFFFFFFFC&lt;BR /&gt;SRMSK = 0xFFFFFFFC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 08:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SSI-as-i2s-master-with-16-bit-audio/m-p/839828#M128827</guid>
      <dc:creator>FredrikMoller</dc:creator>
      <dc:date>2018-12-04T08:43:29Z</dc:date>
    </item>
  </channel>
</rss>

