<?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 TRC KL25 RTC_TSR not updating  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485926#M29845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using KL25 RTC for a while. the alarm interrup is working right as i can set an alarm and get an interrupt at the right time.&lt;/P&gt;&lt;P&gt;but when i try to read RTC_TSR i can not see it changing each 1 sec as it would be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried timestamp = RTC_TSR and also RTC_HAL_GetDatetimeInSecs(RTC,&amp;amp;timestamp);&lt;/P&gt;&lt;P&gt;I am doing something wrong? the module seems to be ok as the alam interrup is working nice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2016 20:15:32 GMT</pubDate>
    <dc:creator>Edrianocarlos</dc:creator>
    <dc:date>2016-04-06T20:15:32Z</dc:date>
    <item>
      <title>TRC KL25 RTC_TSR not updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485926#M29845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using KL25 RTC for a while. the alarm interrup is working right as i can set an alarm and get an interrupt at the right time.&lt;/P&gt;&lt;P&gt;but when i try to read RTC_TSR i can not see it changing each 1 sec as it would be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried timestamp = RTC_TSR and also RTC_HAL_GetDatetimeInSecs(RTC,&amp;amp;timestamp);&lt;/P&gt;&lt;P&gt;I am doing something wrong? the module seems to be ok as the alam interrup is working nice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 20:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485926#M29845</guid>
      <dc:creator>Edrianocarlos</dc:creator>
      <dc:date>2016-04-06T20:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: TRC KL25 RTC_TSR not updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485927#M29846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Edriano,&lt;/P&gt;&lt;P&gt;Please check whether the SR[TOF]&amp;nbsp; or SR[TIF] are set ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30377i44727AC10B33C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 02:39:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485927#M29846</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-04-07T02:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: TRC KL25 RTC_TSR not updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485928#M29847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice.&lt;/P&gt;&lt;P&gt;both flags are zero, it is not the problem. i have investigated a little more futher and tried many others ways of reading the TSR. And what i see is that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;RTC_HAL_GetDatetime(RTC,&amp;amp;date);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; RTC_HAL_ConvertDatetimeToSecs(&amp;amp;date, &amp;amp;timestamp);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if i simple try to read TSR timestamp = RTC_TSR;&lt;/P&gt;&lt;P&gt;i get the same result RTC_TSR value divided by 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 14:35:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485928#M29847</guid>
      <dc:creator>Edrianocarlos</dc:creator>
      <dc:date>2016-04-11T14:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: TRC KL25 RTC_TSR not updating</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485929#M29848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. now i got what is happening.&lt;/P&gt;&lt;P&gt;I am using LPO clock just for test and as i can't change the prescale it will only increment each 32,7 seconds.&lt;/P&gt;&lt;P&gt;I will try to find a 32Khz clock source to use as rtcclk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 16:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TRC-KL25-RTC-TSR-not-updating/m-p/485929#M29848</guid>
      <dc:creator>Edrianocarlos</dc:creator>
      <dc:date>2016-04-11T16:18:06Z</dc:date>
    </item>
  </channel>
</rss>

