<?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中的主题 Re: IMX6 SSI clock for I2S Mode</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404489#M60095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sriram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can study &lt;/P&gt;&lt;P&gt;kernel_imx\sound\soc\imx\imx-si4763.c&amp;nbsp; imx_3stack_si4763_hw_params(), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code is used to set the divider. You need to configure those value according to your requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_PM, 1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_2, 1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_PSR, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 03:57:25 GMT</pubDate>
    <dc:creator>saurabh206</dc:creator>
    <dc:date>2015-05-07T03:57:25Z</dc:date>
    <item>
      <title>IMX6 SSI clock for I2S Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404487#M60093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the SSI1 as I2S master and configured the registers as per the Reference manual for SABRESD AndroidKK4.4.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 2 channel, 48KHz, 16 bit depth audio data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SSI1 clock -&amp;gt; 12.288 MHz derived from Audio PLL4 ( 688.128 )&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;enabled the network clock as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;snd_soc_dai_set_sysclk(cpu_dai, IMX_SSP_SYS_CLK, 0 , SND_SOC_CLOCK_OUT);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; And the dividers are as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WL - 7 ( 16 bit )&lt;/P&gt;&lt;P&gt;DC - 1 ( 1 frame )&lt;/P&gt;&lt;P&gt;PM - 3 &lt;/P&gt;&lt;P&gt;DIV2 - 0&lt;/P&gt;&lt;P&gt;PSR - 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And dumped the register for above values. Still i am not getting proper Bit clock 1.5 Mhz in clock line.&lt;/P&gt;&lt;P&gt;I am getting ~6 MHz in clock line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me that what i am missing in the configuration.&lt;/P&gt;&lt;P&gt;Your help will be grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 09:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404487#M60093</guid>
      <dc:creator>sriramperiyasam</dc:creator>
      <dc:date>2015-05-06T09:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 SSI clock for I2S Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404488#M60094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also there is no sample clock dividers mentioned in the Reference manual for I2S mode.&lt;/P&gt;&lt;P&gt;Did anyone used IMX as I2S master for different frequencies and sample rates?. Please share your views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is bit fuzzy for I2S Mode in IMX6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 13:11:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404488#M60094</guid>
      <dc:creator>sriramperiyasam</dc:creator>
      <dc:date>2015-05-06T13:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 SSI clock for I2S Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404489#M60095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sriram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can study &lt;/P&gt;&lt;P&gt;kernel_imx\sound\soc\imx\imx-si4763.c&amp;nbsp; imx_3stack_si4763_hw_params(), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code is used to set the divider. You need to configure those value according to your requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_PM, 1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_2, 1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_PSR, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 03:57:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404489#M60095</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-05-07T03:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 SSI clock for I2S Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404490#M60096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I tried your suggestion already as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_PM, 3);&lt;/P&gt;&lt;P&gt;snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_2, 0);&lt;/P&gt;&lt;P&gt;snd_soc_dai_set_clkdiv(cpu_dai, IMX_SSI_TX_DIV_PSR, 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the configurations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;for 2 channel, 48KHz, 16 bit depth audio data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;SSI1 clock -&amp;gt; 12.288 MHz derived from Audio PLL4 ( 688.128 )&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;But still the result is same. And i have few queries about the I2S mode in SSI&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;1. I came to know that I2S mode always generates 32 bits per word, so should i change the SSI sys clock&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;2. if so, the bit clock freq will be 32 * 2 * 48000 = 3072000 Hz. Then how to calculate frame sync freq for 48 KHz. Whether is it correct as per I2S protocol&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;3. If 32 bits per word used, whether external Audio codec should have the intelligence to filter out the valid 16 bits out 32 bits transmitted from IMX and to send 16 bits valid data with 16 bits stuffed to IMX.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks for your valuable time.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Sriram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 05:42:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404490#M60096</guid>
      <dc:creator>sriramperiyasam</dc:creator>
      <dc:date>2015-05-07T05:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 SSI clock for I2S Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404491#M60097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sriram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your understanding is correct regarding in master mode &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I2S mode always generates 32 bits per word.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;You should configure your codec about i2s setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Saurabh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 05:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404491#M60097</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-05-07T05:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 SSI clock for I2S Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404492#M60098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Saurabh. I will try to configure my codec.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 05:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-SSI-clock-for-I2S-Mode/m-p/404492#M60098</guid>
      <dc:creator>sriramperiyasam</dc:creator>
      <dc:date>2015-05-07T05:56:35Z</dc:date>
    </item>
  </channel>
</rss>

