<?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>MCUXpresso SDKのトピックRT1050 keeping RTC across power cycles?</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914748#M1554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully this is just a dumb question, but I don't see any of the SDK samples to demonstrate keeping the RTC running across power cycles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an imxrt1052 with VBAT_IN (VDD_SNVS_IN) fed by a 3V coin cell.&lt;/P&gt;&lt;P&gt;I tried setting and then commenting out the call to: SNVS_HP_RTC_SetDatetime(SNVS, &amp;amp;rtcDate);&lt;/P&gt;&lt;P&gt;but the clock is still reset after a power cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I am missing to keep RTC running across cycles?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2019 15:02:51 GMT</pubDate>
    <dc:creator>jackking</dc:creator>
    <dc:date>2019-10-14T15:02:51Z</dc:date>
    <item>
      <title>RT1050 keeping RTC across power cycles?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914748#M1554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully this is just a dumb question, but I don't see any of the SDK samples to demonstrate keeping the RTC running across power cycles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an imxrt1052 with VBAT_IN (VDD_SNVS_IN) fed by a 3V coin cell.&lt;/P&gt;&lt;P&gt;I tried setting and then commenting out the call to: SNVS_HP_RTC_SetDatetime(SNVS, &amp;amp;rtcDate);&lt;/P&gt;&lt;P&gt;but the clock is still reset after a power cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I am missing to keep RTC running across cycles?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2019 15:02:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914748#M1554</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2019-10-14T15:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 keeping RTC across power cycles?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914749#M1555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bumping this...&amp;nbsp; nobody has used the RTC with battery backup before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:44:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914749#M1555</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2019-10-16T13:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 keeping RTC across power cycles?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914750#M1556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;Jack King &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;From the Reference manual:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt; SNVS_HP is in the chip's power supply domain and thus receives power along with the rest of the chip, which is off when the system power is down.&lt;BR style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;If the SNVS_LP power input is connected to an uninterrupted power supply, the GPR value is maintained when the main SoC is powered off.&lt;/SPAN&gt;&lt;BR style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91558i4AF5BE2A24AE0E8E/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I hope this info helps you.&lt;/SPAN&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 17:35:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914750#M1556</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2019-10-16T17:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 keeping RTC across power cycles?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914751#M1557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, that at least pointed me in the right direction.&amp;nbsp; The SDK sample "snvs_lp_srtc" demonstrates syncing the hp_rtc and the lp_rtc.&amp;nbsp; I was able to confirm that this sample does allow using the RTC across power cycles with a coin cell connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does require commenting out the lines that set the lp_rtc after the first execution:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;    /* Set SRTC time to default time and date and start the SRTC */
//    SNVS_LP_SRTC_SetDatetime(SNVS, &amp;amp;srtcDate);
//    SNVS_LP_SRTC_StartTimer(SNVS);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 00:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1050-keeping-RTC-across-power-cycles/m-p/914751#M1557</guid>
      <dc:creator>jackking</dc:creator>
      <dc:date>2019-10-17T00:39:43Z</dc:date>
    </item>
  </channel>
</rss>

