<?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: Does the S32K312 RTC support system time keeping at reset? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1655343#M23171</link>
    <description>&lt;P&gt;I do not have test code, I just tested it using a debugger. All I did - I selected SIRC clock (I do not have a board with XOSC here right now) and I enabled the RTC by CNTEN. Then I can see that the counter is running in RTCCNT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1684822882407.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224365i5A8312DD9699D259/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1684822882407.png" alt="lukaszadrapa_0-1684822882407.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then I generated SW functional reset - also by debugger. I set FUNC_RST in MODE_CONF register,&amp;nbsp; then I set MODE_UPD bit in MODE_UPD register and finally I wrote keys to CTL_KEY register. The MCU was reset, I reconnected debugger (hot attach without reset) and I saw that the RTC is still configured and running.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2023 06:33:50 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2023-05-23T06:33:50Z</dc:date>
    <item>
      <title>Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1650987#M22955</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liangyouchao_0-1684227461102.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223336i7757F45A970B7DC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liangyouchao_0-1684227461102.png" alt="liangyouchao_0-1684227461102.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My device is battery powered and I found in my testing that a reset also causes the system time to be reset, is there any solution to keep the system time on reset?&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 08:59:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1650987#M22955</guid>
      <dc:creator>liangyouchao</dc:creator>
      <dc:date>2023-05-16T08:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1651330#M22969</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209179"&gt;@liangyouchao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which clock do you use?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1684252322069.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223411i2393920E7738C70B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1684252322069.png" alt="lukaszadrapa_0-1684252322069.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 15:52:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1651330#M22969</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-16T15:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1651610#M22983</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Lukas,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply, we use SXOSC crystal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liangyouchao_0-1684289556445.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223483i611C015A5F1B495B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="liangyouchao_0-1684289556445.png" alt="liangyouchao_0-1684289556445.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;liangyouchao&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 02:13:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1651610#M22983</guid>
      <dc:creator>liangyouchao</dc:creator>
      <dc:date>2023-05-17T02:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1652347#M23019</link>
      <description>&lt;P&gt;Please give me more time, I can see that on my side too, I need to clarify this with AE team.I will let you know later. &lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 18:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1652347#M23019</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-17T18:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1652662#M23024</link>
      <description>OK, look forward to your feedback.</description>
      <pubDate>Thu, 18 May 2023 02:11:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1652662#M23024</guid>
      <dc:creator>liangyouchao</dc:creator>
      <dc:date>2023-05-18T02:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1654779#M23145</link>
      <description>&lt;P&gt;Well, my problem was that I used external reset for test. But external reset is destructive reset. RTC keeps running only during functional resets. If I used software functional reset, for example, it's working as expected. &lt;/P&gt;
&lt;P&gt;Which reset did you use?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 11:31:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1654779#M23145</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-22T11:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1654782#M23146</link>
      <description>&lt;P&gt;We will use both functional reset and external reset, the reset reset is an external watchdog chip, if the external reset is not holdable, we can also accept this case, can you share the test code with me?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;liangyouchao&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 11:37:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1654782#M23146</guid>
      <dc:creator>liangyouchao</dc:creator>
      <dc:date>2023-05-22T11:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1655343#M23171</link>
      <description>&lt;P&gt;I do not have test code, I just tested it using a debugger. All I did - I selected SIRC clock (I do not have a board with XOSC here right now) and I enabled the RTC by CNTEN. Then I can see that the counter is running in RTCCNT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1684822882407.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224365i5A8312DD9699D259/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1684822882407.png" alt="lukaszadrapa_0-1684822882407.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then I generated SW functional reset - also by debugger. I set FUNC_RST in MODE_CONF register,&amp;nbsp; then I set MODE_UPD bit in MODE_UPD register and finally I wrote keys to CTL_KEY register. The MCU was reset, I reconnected debugger (hot attach without reset) and I saw that the RTC is still configured and running.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 06:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1655343#M23171</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-05-23T06:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1656139#M23226</link>
      <description>&lt;P&gt;Okay, I'll try it.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 02:17:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1656139#M23226</guid>
      <dc:creator>liangyouchao</dc:creator>
      <dc:date>2023-05-24T02:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does the S32K312 RTC support system time keeping at reset?</title>
      <link>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1658024#M23313</link>
      <description>&lt;P&gt;Thank you very much,&amp;nbsp;&lt;SPAN&gt;Lukas.&lt;/SPAN&gt;&amp;nbsp;I have used the RTD driver to implement that the clock will not be lost when the RTC function is reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;liangyouchao&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 02:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Does-the-S32K312-RTC-support-system-time-keeping-at-reset/m-p/1658024#M23313</guid>
      <dc:creator>liangyouchao</dc:creator>
      <dc:date>2023-05-26T02:36:15Z</dc:date>
    </item>
  </channel>
</rss>

