<?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 system clock slowing down on imx6 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646075#M98616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have custom board based on imx6ul evk which has rtc. The problem we are facing is that system clock is slowing down over a time very fast(board is running during this period) even thought rtc clock is running fine. I updated time in yocto to current time using &lt;STRONG&gt;date&lt;/STRONG&gt; command and then updated hardware clock to match system clock using &lt;STRONG&gt;hwclock -w&lt;/STRONG&gt; command. Now as the board is running for next 2 minutes&amp;nbsp;we found that system clock slows down and falls behind but hardware clock is working fine. We found that for every 10 seconds system clock updates only about 2-3 seconds. What can be the reason for this? We found no such problem in imxul evk board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2017 07:53:08 GMT</pubDate>
    <dc:creator>pratyushtomar</dc:creator>
    <dc:date>2017-04-04T07:53:08Z</dc:date>
    <item>
      <title>system clock slowing down on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646075#M98616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have custom board based on imx6ul evk which has rtc. The problem we are facing is that system clock is slowing down over a time very fast(board is running during this period) even thought rtc clock is running fine. I updated time in yocto to current time using &lt;STRONG&gt;date&lt;/STRONG&gt; command and then updated hardware clock to match system clock using &lt;STRONG&gt;hwclock -w&lt;/STRONG&gt; command. Now as the board is running for next 2 minutes&amp;nbsp;we found that system clock slows down and falls behind but hardware clock is working fine. We found that for every 10 seconds system clock updates only about 2-3 seconds. What can be the reason for this? We found no such problem in imxul evk board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 07:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646075#M98616</guid>
      <dc:creator>pratyushtomar</dc:creator>
      <dc:date>2017-04-04T07:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: system clock slowing down on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646076#M98617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratyush&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if 32.768KHz crystal is working properly,&lt;/P&gt;&lt;P&gt;measure it on CCM_CLKO1,2 using jtag and register CCM_CCOSR ("ckil"&lt;/P&gt;&lt;P&gt;selection). Also one can test it with unit-test ../mxc_rtc tests&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz"&gt;www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz&lt;/A&gt;&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>Tue, 04 Apr 2017 10:02:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646076#M98617</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-04-04T10:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: system clock slowing down on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646077#M98618</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;Thanks for the reply. I checked and 32.768KHz crystal is working properly. I also ran rtc tests in uni_tests folder and tests passed. But their are 2 following problems :--&lt;/P&gt;&lt;P&gt;1) The system clock slows down very fast. Even if rtc is not present and board is in running mode the system clock should not slow down till board is running. Any solution for this? Our board is running in "ondemand" mode.&lt;/P&gt;&lt;P&gt;2) The rtc doesn't work after shutdown. I followed these steps&lt;/P&gt;&lt;P&gt;- Set the date to the current date and time.&lt;/P&gt;&lt;P&gt;- Set the HW clock to current date and time by using the command "hwclock --systohc"&lt;BR /&gt;- Make sure the new date and time are set by issuing "date" and then "hwclock --show"&lt;BR /&gt;- Shutdown the system, including a power-cycle. You can use "poweroff" command&lt;BR /&gt;- Restart the system with the Linux kernel. Run "date" command.&lt;/P&gt;&lt;P&gt;The "date" command shows date and time before shutdown even though period of board without power was more than 4 minutes.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 11:41:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646077#M98618</guid>
      <dc:creator>pratyushtomar</dc:creator>
      <dc:date>2017-04-05T11:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: system clock slowing down on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646078#M98619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have same problem in i.MX6ULL.&lt;/P&gt;&lt;P&gt;RTC is normal, but, Linux system time is slowing down in ondemand mode.&lt;/P&gt;&lt;P&gt;I'm testing with below command&lt;/P&gt;&lt;P&gt;date &amp;amp;&amp;amp; hwclock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date shows Linus system time and, hwclock shows RTC time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use performance mode for scaling_governor then system time is accurate.&lt;/P&gt;&lt;P&gt;But, I need to use ondemand to minimize power consumption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did&amp;nbsp;you find&amp;nbsp;solution on this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 07:55:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646078#M98619</guid>
      <dc:creator>mannsikchung</dc:creator>
      <dc:date>2017-08-29T07:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: system clock slowing down on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646079#M98620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mannsik,&lt;/P&gt;&lt;P&gt;We didn't find any solution for this problem. We had even sent our boards to local NXP for analysis but they also couldn't find any problem with our design or propose any solution for this problem. We observed same behaviour even with i.MX6UL EVK board. Thus currently we are struck with this problem. Please update in this thread if you have found any solution or reason for this problem.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pratyush Tomar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 10:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646079#M98620</guid>
      <dc:creator>pratyushtomar</dc:creator>
      <dc:date>2017-09-14T10:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: system clock slowing down on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646080#M98621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratyush Tomar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used performance mode for the scaling governor. Then system time ticks correctly.&amp;nbsp;&lt;BR /&gt;Anyway, this is not a good solution to use performance mode.&lt;/P&gt;&lt;P&gt;But, currently, I have no other option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Mannsik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 09:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/system-clock-slowing-down-on-imx6/m-p/646080#M98621</guid>
      <dc:creator>mannsikchung</dc:creator>
      <dc:date>2017-12-18T09:20:39Z</dc:date>
    </item>
  </channel>
</rss>

