<?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: IIS on iMX6UL in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1704133#M210715</link>
    <description>&lt;P&gt;Hi Dhruvit,&lt;/P&gt;&lt;P&gt;I can't understand.&lt;/P&gt;&lt;P&gt;For TI's codec, it works in slave mode, the chip can detect the clock on FSYNC and BCLK, beside this, there is no special needs. It supports standard IIS protocol. So I did not configure the clock for TI at all. And when I tried to use 2 slots, both of them works fine.&lt;/P&gt;&lt;P&gt;I am not sure what configurations do you need, can you give me more information about the configurations?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 07:31:42 GMT</pubDate>
    <dc:creator>chadA</dc:creator>
    <dc:date>2023-08-14T07:31:42Z</dc:date>
    <item>
      <title>IIS on iMX6UL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1703505#M210646</link>
      <description>&lt;P&gt;Hi sir,&lt;/P&gt;&lt;P&gt;Now I trying to use an TI's audio codec TLV320ADC6140.&lt;/P&gt;&lt;P&gt;Codec is in slave mode, and iMX6ul is the master.&lt;/P&gt;&lt;P&gt;I am trying to use IIS to send out an 4 slots, 16bit, 44.1KHz signal to codec, but I get a strange signal, like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20230811174310.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236094i7B19FB16B10D4CC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="20230811174310.jpg" alt="20230811174310.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For sync signal, it is 44.1kHz, and BCLK is 2.82MHz, they are right.&lt;/P&gt;&lt;P&gt;But as you can see, it's obviously wrong every period. Each period has a ratio of 3:1, but it should be 2:2.&lt;/P&gt;&lt;P&gt;Am I made a mistake at some where?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chad&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 10:10:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1703505#M210646</guid>
      <dc:creator>chadA</dc:creator>
      <dc:date>2023-08-11T10:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: IIS on iMX6UL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1704086#M210709</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219423"&gt;@chadA&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This may be possible due to a clock configuration mismatch between the i.MX6ul &amp;amp; the TI's codec, Please re-check them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please share the configurations as well to debug them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 06:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1704086#M210709</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-08-14T06:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: IIS on iMX6UL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1704133#M210715</link>
      <description>&lt;P&gt;Hi Dhruvit,&lt;/P&gt;&lt;P&gt;I can't understand.&lt;/P&gt;&lt;P&gt;For TI's codec, it works in slave mode, the chip can detect the clock on FSYNC and BCLK, beside this, there is no special needs. It supports standard IIS protocol. So I did not configure the clock for TI at all. And when I tried to use 2 slots, both of them works fine.&lt;/P&gt;&lt;P&gt;I am not sure what configurations do you need, can you give me more information about the configurations?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 07:31:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1704133#M210715</guid>
      <dc:creator>chadA</dc:creator>
      <dc:date>2023-08-14T07:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: IIS on iMX6UL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1704853#M210799</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Is there any information on how to use TDM mode with SAI on i.MX6UL for linux 4.1.15?&lt;/P&gt;&lt;P&gt;I checked the datasheet, it says SAI support TDM, but no more information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to call "fsl_sai_set_dai_tdm_slot" in machine driver, and measure the signal. They also does not meet the definition of TDM, still same as IIS.&lt;/P&gt;&lt;P&gt;I want to get the waves as following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chadA_0-1692086412213.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236472iD6F092DAB3E6D002/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chadA_0-1692086412213.png" alt="chadA_0-1692086412213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 08:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1704853#M210799</guid>
      <dc:creator>chadA</dc:creator>
      <dc:date>2023-08-15T08:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: IIS on iMX6UL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1705780#M210911</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219423"&gt;@chadA&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;" how to use TDM mode with SAI on i.MX6UL for linux 4.1.15?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please follow the&amp;nbsp;below-given link for your reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/sai1-bit-clock-and-frame-sync-slave/m-p/862513" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors/sai1-bit-clock-and-frame-sync-slave/m-p/862513&amp;amp;source=gmail&amp;amp;ust=1692271090744000&amp;amp;usg=AOvVaw1gk5BlEaDaRwQiv6BlZVUx"&gt;https://community.nxp.com/t5/&lt;WBR /&gt;i-MX-Processors/sai1-bit-&lt;WBR /&gt;clock-and-frame-sync-slave/m-&lt;WBR /&gt;p/862513&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"can you give me more information about the configurations?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please make sure to check the device driver configurations&amp;nbsp;given below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sai2: sai@40031000 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;compatible = "fsl,vf610-sai";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;reg = &amp;lt;0x40031000 0x1000&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pinctrl-names = "default";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_sai2_1&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clocks = &amp;lt;&amp;amp;clks VF610_CLK_SAI2&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;clock-names = "sai";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dma-names = "tx", "rx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dmas = &amp;lt;&amp;amp;edma0 0 VF610_EDMA_MUXID0_SAI2_TX&amp;gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;&amp;amp;edma0 0 VF610_EDMA_MUXID0_SAI2_RX&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;big-endian-regs;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;big-endian-data;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more details Please follow the link below and apply these DT changes in your device tree and recompile the image to use it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/samnazarko/linux-imx6/blob/master/Documentation/devicetree/bindings/sound/fsl-sai.txt" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://github.com/samnazarko/linux-imx6/blob/master/Documentation/devicetree/bindings/sound/fsl-sai.txt&amp;amp;source=gmail&amp;amp;ust=1692271090744000&amp;amp;usg=AOvVaw2ozIjTrlCef_wmGGi7fQw3"&gt;https://github.com/samnazarko/&lt;WBR /&gt;linux-imx6/blob/master/&lt;WBR /&gt;Documentation/devicetree/&lt;WBR /&gt;bindings/sound/fsl-sai.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope it helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dhruvit Vasavada&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 12:37:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1705780#M210911</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-08-16T12:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: IIS on iMX6UL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1706108#M210941</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt; ，&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;I know where I made a mistake now. The link you offered are helpful.&lt;/P&gt;&lt;P&gt;I will use it as an the answer and close the case.&lt;/P&gt;&lt;P&gt;Thanks again~&lt;/P&gt;&lt;P&gt;Chad&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 00:52:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IIS-on-iMX6UL/m-p/1706108#M210941</guid>
      <dc:creator>chadA</dc:creator>
      <dc:date>2023-08-17T00:52:40Z</dc:date>
    </item>
  </channel>
</rss>

