<?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: How to get internal RTC time in millisecond in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-get-internal-RTC-time-in-millisecond/m-p/783763#M47716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/491094"&gt;https://community.nxp.com/thread/491094&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2018 16:47:23 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2018-12-11T16:47:23Z</dc:date>
    <item>
      <title>How to get internal RTC time in millisecond</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-get-internal-RTC-time-in-millisecond/m-p/783761#M47714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using MK60FN1M0VLQ12 controller and internal RTC with clock frequency 32.768KHz.&lt;/P&gt;&lt;P&gt;We found that internal RTC gives the time with 1sec resolution but we need time in milli seconds.&lt;/P&gt;&lt;P&gt;Can any one please tell us how to get time in milli seconds from internal RTC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jyotiranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 06:57:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-get-internal-RTC-time-in-millisecond/m-p/783761#M47714</guid>
      <dc:creator>jyotiranjan_bal</dc:creator>
      <dc:date>2018-12-11T06:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get internal RTC time in millisecond</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-get-internal-RTC-time-in-millisecond/m-p/783762#M47715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You only get a 1 Hz resolution.&lt;/P&gt;&lt;P&gt;You could run your a timer (Software RTC) with a 1 kHz frequency and have it synchronized with the RTC. I do usually the following:&lt;/P&gt;&lt;P&gt;- at boot time, the software RTC is started and loaded with the value of the RTC&lt;/P&gt;&lt;P&gt;- the software RTC runs at 1 kHz so I get a 1 ms resolution&lt;/P&gt;&lt;P&gt;- from time to time (e.g. every day, the SW RTC gets synchronized with the HW RTC to compensate for any clock drift).&lt;/P&gt;&lt;P&gt;The advantage is that access to the SW RTC is faster/more efficient and I get the resolution I need.&lt;/P&gt;&lt;P&gt;You can find such an implemenation in &lt;A class="link-titled" href="https://github.com/ErichStyger/McuOnEclipseLibrary/blob/master/lib/src/McuTimeDate.c" title="https://github.com/ErichStyger/McuOnEclipseLibrary/blob/master/lib/src/McuTimeDate.c"&gt;McuOnEclipseLibrary/McuTimeDate.c at master · ErichStyger/McuOnEclipseLibrary · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 15:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-get-internal-RTC-time-in-millisecond/m-p/783762#M47715</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-12-11T15:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get internal RTC time in millisecond</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-get-internal-RTC-time-in-millisecond/m-p/783763#M47716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/491094"&gt;https://community.nxp.com/thread/491094&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 16:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-get-internal-RTC-time-in-millisecond/m-p/783763#M47716</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-12-11T16:47:23Z</dc:date>
    </item>
  </channel>
</rss>

