<?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: RTC Hours corruption in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-Hours-corruption/m-p/522223#M4859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GWS on Thu Mar 10 11:57:00 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;An update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After making some software changes, the RTC hour corruption is inexplicably gone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The software changes included the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Now reading time only from "Consolidated time registers" (CTIME0, CTIME1, CTIME3).&amp;nbsp; Never reading time from "Time counter registers" (SEC, MIN, HOUR, etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Reading time only from high-ish priority interrupt once per second.&amp;nbsp; Formerly time was read in the Idle task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:37:31 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:37:31Z</dc:date>
    <item>
      <title>RTC Hours corruption</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-Hours-corruption/m-p/522222#M4858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GWS on Thu Mar 03 17:04:39 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an LPC1768 running FreeRTOS/lwIP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The RTC Hours reading becomes corrupted at random times, roughly once or twice per day.&amp;nbsp; The Minutes reading is always correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put a data-breakpoint across the RTC memory space watching for writes.&amp;nbsp; The data-breakpoint does never triggers when Hours becomes corrupted, indicating that the RTC peripheral became corrupted spuriously, without a rogue software write.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two different users reported a similar RTC problem on an LPC2378 in 2011 on the Keil forum: &lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.keil.com/forum/18413/rtc-problem-in-lpc2378/&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; Unfortunately no clear solution was presented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone seen this problem or have a solution for it?&amp;nbsp; Thank you for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:37:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-Hours-corruption/m-p/522222#M4858</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Hours corruption</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-Hours-corruption/m-p/522223#M4859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GWS on Thu Mar 10 11:57:00 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;An update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After making some software changes, the RTC hour corruption is inexplicably gone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The software changes included the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Now reading time only from "Consolidated time registers" (CTIME0, CTIME1, CTIME3).&amp;nbsp; Never reading time from "Time counter registers" (SEC, MIN, HOUR, etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Reading time only from high-ish priority interrupt once per second.&amp;nbsp; Formerly time was read in the Idle task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:37:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-Hours-corruption/m-p/522223#M4859</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: RTC Hours corruption</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-Hours-corruption/m-p/522224#M4860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:03:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-Hours-corruption/m-p/522224#M4860</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:03:56Z</dc:date>
    </item>
  </channel>
</rss>

