<?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: Bit Clock accuracy in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501277#M81111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yehuda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this looks like hardware issue, may be caused by poor chip&lt;/P&gt;&lt;P&gt;soldering or power supplies noise. Also it may be useful to check for&lt;/P&gt;&lt;P&gt;jitter of oscillator signal at codec pads, as close as possible.&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;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 01:28:19 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-03-24T01:28:19Z</dc:date>
    <item>
      <title>Bit Clock accuracy</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501276#M81110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333px;"&gt;I'm using 2 TLV320AIC3106 codecs, connected to SSI1 and SSI2, and I recently changed the sampling rate from 44.1KHz to 48KHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333px;"&gt;The sampling rate of one codec is accurate, whereas the other one is always about 1.5% less than expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333px;"&gt;This happens before changing the sampling rate as well as after doing so.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333px;"&gt;i.e. the previous Bit Clocks of both codecs were: 1.411KHz / 1.39KHz,&amp;nbsp;&amp;nbsp; and the updated &lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333px;"&gt;Bit Clocks are:&amp;nbsp; 1.536KHz / 1.511KHz.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 13.3333px; font-family: arial, sans-serif;"&gt;This happens although both clocks are originated from the same oscilator, and although both codecs are configured exactly the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 13.3333px; font-family: arial, sans-serif;"&gt;Is this a silicon or routing issue, or could it be a SW issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 13.3333px; font-family: arial, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 13.3333px; font-family: arial, sans-serif;"&gt;Yehuda&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 15:26:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501276#M81110</guid>
      <dc:creator>yehudastern</dc:creator>
      <dc:date>2016-03-23T15:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bit Clock accuracy</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501277#M81111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yehuda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this looks like hardware issue, may be caused by poor chip&lt;/P&gt;&lt;P&gt;soldering or power supplies noise. Also it may be useful to check for&lt;/P&gt;&lt;P&gt;jitter of oscillator signal at codec pads, as close as possible.&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;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 01:28:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501277#M81111</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-03-24T01:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bit Clock accuracy</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501278#M81112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had checked this on several boards, including on an iMX EVB (actually Variscite EVB which includes an iMX SOM) connected to an external codec EVB from TI, and on all the PCBs the BIT clock measured at SSI2 was 1.5127MHz (&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;±0.1%&lt;/SPAN&gt;) instead of 1.536MHz.&amp;nbsp;&amp;nbsp;&amp;nbsp; So if the problem isn't related to poor chip soldering nor PWS noise/crosstalk nor clock jitter, could it be a silicon issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Yehuda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2016 16:12:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501278#M81112</guid>
      <dc:creator>yehudastern</dc:creator>
      <dc:date>2016-03-27T16:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bit Clock accuracy</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501279#M81113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Igor,&lt;/P&gt;&lt;P&gt;Could you please advise regarding the &lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;SSI2 clock issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;As I understand, it can only be related to an iMX silicon problem or (less likely) a routing problem in Variscite's SOM).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Please advise if there a related errata, and if not, please suggest if a workaround patch in the alsamixer code could be the solution &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;(i.e. such as converting the oversampling of &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;(48KHz -1.5%) to 8KHz sample rate).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Thx,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Yehuda&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 16:58:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501279#M81113</guid>
      <dc:creator>yehudastern</dc:creator>
      <dc:date>2016-04-12T16:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bit Clock accuracy</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501280#M81114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yehuda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are no silicon errata for ssi bit clocks. Accuracy&lt;/P&gt;&lt;P&gt;can be affected by used crystal and pll from which&lt;/P&gt;&lt;P&gt;ssi derives clock. So you can check crystal and ssi clocks&lt;/P&gt;&lt;P&gt;with oscilloscope and reprogram plls value, if needed.&lt;/P&gt;&lt;P&gt;For example if you got 1.5127MHz instead of 1.536MHz, one can try&lt;/P&gt;&lt;P&gt;to reprogram pll, increase its value by factor 1.015 [1.536/1.5127].&lt;/P&gt;&lt;P&gt;For testing one can output clocks on CKLO1,2 pins&lt;/P&gt;&lt;P&gt;using CCM_CCOSR register.&lt;/P&gt;&lt;P&gt;Note if clock is produced externally, that is ssi is slave, then check&lt;/P&gt;&lt;P&gt;codec external crystal and whoever is producing this clock.&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>Wed, 13 Apr 2016 01:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501280#M81114</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-04-13T01:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bit Clock accuracy</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501281#M81115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Igor,&lt;/P&gt;&lt;P&gt;Both SSI clocks are produced internally from the same PLL4 source which is programmed to 688.128 MHz.&lt;/P&gt;&lt;P&gt;(This frequency is too much for my scope, so I measured PLL4/8 frequency through CLKO1 and the measured frequency was correct).&lt;/P&gt;&lt;P&gt;Increasing PLL4 value by 1.5% as you suggested will also increase SSI1 sysclock which is currently accurate.&lt;/P&gt;&lt;P&gt;Other than PLL4, all other clock divisions along the way cannot be changed by 1.5% resolution.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Please advise regarding the suggested workaround patch in the alsamixer code, or any other alternative.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;Yehuda Stern&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 05:07:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501281#M81115</guid>
      <dc:creator>yehudastern</dc:creator>
      <dc:date>2016-04-13T05:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bit Clock accuracy</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501282#M81116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in master mode ssi bit clock is produced from SSI1 sysclock.&lt;/P&gt;&lt;P&gt;In slave mode - from external oscillator. Clock generation is described in&lt;/P&gt;&lt;P&gt;Figure 61-22. SSI Transmit Clock Generator Block Diagram &lt;/P&gt;&lt;P&gt;i.MX6SDL Reference Manual.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2F32bit%2Fdoc%2Fref_manual%2FIMX6SDLRM.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SDLRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typical SSI sysclock and divider values are given in&lt;/P&gt;&lt;P&gt;Table 61-7. SSI Bit Clock and Frame Rate as a Function of PSR, PM, and DIV2,&lt;/P&gt;&lt;P&gt;so you can test clocks with these values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 06:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bit-Clock-accuracy/m-p/501282#M81116</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-04-13T06:47:37Z</dc:date>
    </item>
  </channel>
</rss>

