<?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>LPC MicrocontrollersのトピックRe: LPC15xx RTC not counting correctly</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632733#M24940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Ronald,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After further investigation we have confirmed this issue, it will be written in errata sheet.&amp;nbsp; The results were the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- RTC COUNT can increment by one but take two steps (updated twice) within one second.&lt;BR /&gt;- RTC COUNT can increment by two in one step within one second.&amp;nbsp;&amp;nbsp; Both cases (1) and (2) could lead to accumulated error. We don’t have the work around for this yet. The issue seems to be related to some glitch when the internal 16-bit ripple count wraps from 0x7FFF to 0x8000 and from 0xFFFF to 0x0000.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 17:19:38 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2017-01-13T17:19:38Z</dc:date>
    <item>
      <title>LPC15xx RTC not counting correctly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632730#M24937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inside our application but also with the LPCXpresso1549 evaluation board (OM13056) we see the RTC clock is sometimes incremented by 2 seconds. &lt;/P&gt;&lt;P&gt;This happens about 30 times a day so the RTC is getting very inaccurate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We couldn't pinpoint the reason why our application was not working as expected so we made a small program that only reads the RTC counter and compares it with the previous value and there we see the counter sometimes is incorrectly incremented.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some kind of way to prevent this is happening?&lt;/P&gt;&lt;P&gt;&lt;OBJECT data-extension-version="0.4.0.129" data-install-updates-user-configuration="true" style="display: none;"&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 09:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632730#M24937</guid>
      <dc:creator>ronalddaris</dc:creator>
      <dc:date>2016-12-21T09:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx RTC not counting correctly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632731#M24938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using the periph_rtc example from the LPCOpen package to see if the same error happens? The example shows how to setup and use the RTC and to use the alarm to wake up the device from a sleep mode. You can download the LPCOpen 15xx package from this page:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/hardware-development-tools/lpcxpresso-boards/lpcopen-software-development-platform-lpc15xx:LPCOPEN-SOFTWARE-FOR-LPC15XX"&gt;http://www.nxp.com/products/software-and-tools/hardware-development-tools/lpcxpresso-boards/lpcopen-software-development-platform-lpc15xx:LPCOPEN-SOFTWARE-FOR-LPC15XX&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let me know the result!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 21:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632731#M24938</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2016-12-29T21:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx RTC not counting correctly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632732#M24939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We also used the lpcopen 2.2 software, we made some small modifications and removed the sleep to test if it increments correctly. Also with this code we see it's not counting correctly now and then.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;OBJECT data-extension-version="0.4.0.129" data-install-updates-user-configuration="true" style="display: none;"&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 08:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632732#M24939</guid>
      <dc:creator>ronalddaris</dc:creator>
      <dc:date>2017-01-06T08:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx RTC not counting correctly</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632733#M24940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Ronald,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After further investigation we have confirmed this issue, it will be written in errata sheet.&amp;nbsp; The results were the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- RTC COUNT can increment by one but take two steps (updated twice) within one second.&lt;BR /&gt;- RTC COUNT can increment by two in one step within one second.&amp;nbsp;&amp;nbsp; Both cases (1) and (2) could lead to accumulated error. We don’t have the work around for this yet. The issue seems to be related to some glitch when the internal 16-bit ripple count wraps from 0x7FFF to 0x8000 and from 0xFFFF to 0x0000.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 17:19:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-RTC-not-counting-correctly/m-p/632733#M24940</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-01-13T17:19:38Z</dc:date>
    </item>
  </channel>
</rss>

