<?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 i.mx53 RTC problems in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx53-RTC-problems/m-p/222430#M15008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been having some difficulties with the RTC on an mx536.&amp;nbsp; It is running on a custom board based on the START-R design and also the MC34708 application example provided in the MC34708 datasheet.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had found another post on here with a user having a similar problem, but there didn't seem to be a solution: &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/294036"&gt;RTC in the iMX537 problem by battery backup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am running Linux, I can run&amp;nbsp; /unit_tests/autorun-rtc.sh and it passes all tests.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I set the system time using date -s and write the date to the RTC using hwclock -w &lt;/P&gt;&lt;P&gt;it seems to store the date in the RTC.&amp;nbsp; I can read it back using&amp;nbsp; hwclock -r and it is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if I shutdown the system using "poweroff" and then turn it back on and boot into Linux, the clock has been reset to 0.&amp;nbsp; I thought it might be a driver issue, so I modified the driver and had it output the registers SRTC_LPSR, SRTC_LPSCMR, and SRTC_LPSCLR and they are all set to 0 when the driver is probed and before it has done anything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;VSRTC measures 1.3V when powered up and after shutting down, the VSRTC remains stable at 1.3V.&amp;nbsp; The powerup sequence should be good, as it is controlled by the MC34708 with PUMS set for DDR3.&amp;nbsp; The board has a 5V, 3.3, and 3.8V regulator which all remain active and stable throughout the powerup/down sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove power alltogether (and let the 5, 3.3, and 3.8V regulators turn off) then the VSRTC drops to 1.2V.&amp;nbsp; This is correct according to the MC34708 datasheet that states VSRTC drops to 1.2V when powered from the coin cell.&amp;nbsp;&amp;nbsp;&amp;nbsp; However, looking at the IMX53AEC datasheet, it suggests the minimum operating voltage for the NVCC_SRTC_POW is 1.25V.&amp;nbsp; Does this mean that the MC34708 is not compatible with the i.mx53 RTC? The oscillator is also still going after powerdown and if I look at the&amp;nbsp; 32.768 clock from the MC34708 to the mx53 it looks fine.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it is worth mentioning that I am currently booting using the Mfgtool&amp;nbsp; over USB since I dont want to burn any fuses just yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice is appreciated.&amp;nbsp;&amp;nbsp; I'd prefer to use the mx53 RTC over the mc34708 as there doesnt seem to be a driver written for the MC34708 clock and it is less secure. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2013 19:59:20 GMT</pubDate>
    <dc:creator>MarkRoy</dc:creator>
    <dc:date>2013-01-10T19:59:20Z</dc:date>
    <item>
      <title>i.mx53 RTC problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx53-RTC-problems/m-p/222430#M15008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been having some difficulties with the RTC on an mx536.&amp;nbsp; It is running on a custom board based on the START-R design and also the MC34708 application example provided in the MC34708 datasheet.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had found another post on here with a user having a similar problem, but there didn't seem to be a solution: &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/294036"&gt;RTC in the iMX537 problem by battery backup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am running Linux, I can run&amp;nbsp; /unit_tests/autorun-rtc.sh and it passes all tests.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I set the system time using date -s and write the date to the RTC using hwclock -w &lt;/P&gt;&lt;P&gt;it seems to store the date in the RTC.&amp;nbsp; I can read it back using&amp;nbsp; hwclock -r and it is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if I shutdown the system using "poweroff" and then turn it back on and boot into Linux, the clock has been reset to 0.&amp;nbsp; I thought it might be a driver issue, so I modified the driver and had it output the registers SRTC_LPSR, SRTC_LPSCMR, and SRTC_LPSCLR and they are all set to 0 when the driver is probed and before it has done anything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;VSRTC measures 1.3V when powered up and after shutting down, the VSRTC remains stable at 1.3V.&amp;nbsp; The powerup sequence should be good, as it is controlled by the MC34708 with PUMS set for DDR3.&amp;nbsp; The board has a 5V, 3.3, and 3.8V regulator which all remain active and stable throughout the powerup/down sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove power alltogether (and let the 5, 3.3, and 3.8V regulators turn off) then the VSRTC drops to 1.2V.&amp;nbsp; This is correct according to the MC34708 datasheet that states VSRTC drops to 1.2V when powered from the coin cell.&amp;nbsp;&amp;nbsp;&amp;nbsp; However, looking at the IMX53AEC datasheet, it suggests the minimum operating voltage for the NVCC_SRTC_POW is 1.25V.&amp;nbsp; Does this mean that the MC34708 is not compatible with the i.mx53 RTC? The oscillator is also still going after powerdown and if I look at the&amp;nbsp; 32.768 clock from the MC34708 to the mx53 it looks fine.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it is worth mentioning that I am currently booting using the Mfgtool&amp;nbsp; over USB since I dont want to burn any fuses just yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice is appreciated.&amp;nbsp;&amp;nbsp; I'd prefer to use the mx53 RTC over the mc34708 as there doesnt seem to be a driver written for the MC34708 clock and it is less secure. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 19:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx53-RTC-problems/m-p/222430#M15008</guid>
      <dc:creator>MarkRoy</dc:creator>
      <dc:date>2013-01-10T19:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx53 RTC problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx53-RTC-problems/m-p/222431#M15009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at the errata for the MC34708, I think it may be related to errata 23, however it still doesnt exactly explain the behaviour I'm seeing.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When I do a poweroff without removing power&amp;nbsp; from the MC34708 (ie user off),&amp;nbsp; VDDLP and VSRTC both remain stable at 1.5&amp;nbsp; and 1.3V respectively.&amp;nbsp; When I bring it back out of user off mode and boot back into Linux,&amp;nbsp; the RTC has still lost its value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 20:24:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx53-RTC-problems/m-p/222431#M15009</guid>
      <dc:creator>MarkRoy</dc:creator>
      <dc:date>2013-01-10T20:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx53 RTC problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx53-RTC-problems/m-p/222432#M15010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to do test like the following :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(1)Using Internale regulator of i.mx53 to supply for VDDA and VDDAL (or only VDDA)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Adjust circuits : VDD_DIG_PLL(pin H17)----&amp;gt;VDDA_1V3 ( or VDDA_1V3 &amp;amp; VDDAL_1V3)&lt;/P&gt;&lt;P&gt;&amp;lt;note :Here , original 1V3_GEN1 should be disconnected&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(2)Supply 1.5V at VDDLP and keep it after power off.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;At the time , you can remove 3V Li-coin cell at pin LI_CELL on MC34708 , or don't remove it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 08:13:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx53-RTC-problems/m-p/222432#M15010</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-01-17T08:13:05Z</dc:date>
    </item>
  </channel>
</rss>

