<?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 IMX6SL and SSI2 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-and-SSI2/m-p/256103#M24485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone had any successful experience using SSI2 as an I2S slave with a microphone codec connected to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an experimental driver for a microphone codec that appears to be doing all the right things electrically ... it is an I2S master, it is producing the bit clock and frame sync clocks at the right rate, is supplying data aligned to the rising edge of the bit clock, etc. It is connected to AUDMUX port 5. I have the AUDMUX setup like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PTCR5 = 0&lt;/P&gt;&lt;P&gt;PDCR5 = &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;0x00002000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PTCR2 = &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;0x0039C000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PDCR2 = &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;0x&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;00008000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(note the codec signals are connected to RxC, RxFs and RxD, so we are in async mode).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSI2 is setup like this:&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;stx0 = 0x00000000&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;srx0 = 0x00000000&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;scr = 0x00000445&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;sisr = 0x00001001&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;stcr = 0x0000028d&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;srcr = 0x0000028d&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;stccr = 0x00040000&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;srccr = 0x00016100&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;sfcsr = 0x000000dd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, no interrupt or DMA event is ever generated. Anyone got any ideas what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Aug 2013 00:48:35 GMT</pubDate>
    <dc:creator>nickstoughton</dc:creator>
    <dc:date>2013-08-15T00:48:35Z</dc:date>
    <item>
      <title>IMX6SL and SSI2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-and-SSI2/m-p/256103#M24485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone had any successful experience using SSI2 as an I2S slave with a microphone codec connected to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an experimental driver for a microphone codec that appears to be doing all the right things electrically ... it is an I2S master, it is producing the bit clock and frame sync clocks at the right rate, is supplying data aligned to the rising edge of the bit clock, etc. It is connected to AUDMUX port 5. I have the AUDMUX setup like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PTCR5 = 0&lt;/P&gt;&lt;P&gt;PDCR5 = &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;0x00002000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PTCR2 = &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;0x0039C000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PDCR2 = &lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;0x&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;00008000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(note the codec signals are connected to RxC, RxFs and RxD, so we are in async mode).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSI2 is setup like this:&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;stx0 = 0x00000000&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;srx0 = 0x00000000&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;scr = 0x00000445&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;sisr = 0x00001001&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;stcr = 0x0000028d&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;srcr = 0x0000028d&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;stccr = 0x00040000&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;srccr = 0x00016100&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif;"&gt;sfcsr = 0x000000dd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, no interrupt or DMA event is ever generated. Anyone got any ideas what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 00:48:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-and-SSI2/m-p/256103#M24485</guid>
      <dc:creator>nickstoughton</dc:creator>
      <dc:date>2013-08-15T00:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6SL and SSI2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-and-SSI2/m-p/256104#M24486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ultimately found two answers to this question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANSWER 1: the configuration given will work if the SSI is I2S master and the external device is I2S slave. I never managed to make it work with this configuration the other way round.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANSWER 2: With the external device as I2S master and the SSI in I2S slave mode, the Frame Sync and Bit&amp;nbsp; Clock MUST come in through the TxFs and TxClk pads, NOT the RxFS and RxClk. The AUDMUX should be in SYNC mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6SL-and-SSI2/m-p/256104#M24486</guid>
      <dc:creator>nickstoughton</dc:creator>
      <dc:date>2014-01-23T18:32:23Z</dc:date>
    </item>
  </channel>
</rss>

