<?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: How to &amp;quot;create&amp;quot; an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748017#M30133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Xavier,&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is this thing "epoch time". You can refer to the website.&lt;A class="link-titled" href="https://www.epochconverter.com" title="https://www.epochconverter.com"&gt;https://www.epochconverter.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lpc15xx rtc increments counts every second so use the value to calculate the time.&lt;/P&gt;&lt;P&gt;Also there is a "C" library "time.h" its has functions strftime(), mktime(), ctime. You can use these function to calculate the time.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2018 15:00:46 GMT</pubDate>
    <dc:creator>zaidshaikh</dc:creator>
    <dc:date>2018-03-15T15:00:46Z</dc:date>
    <item>
      <title>How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748012#M30128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My system will be off many times during a day but when turned-on, it must show the proper date (yy-mm-dd/hh:mm:ss) on its LCD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2018 08:20:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748012#M30128</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2018-03-11T08:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748013#M30129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Xavier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the user manual of the LPC15xx (&lt;A href="https://www.nxp.com/docs/en/user-guide/UM10736.pdf"&gt;UM10736&lt;/A&gt;)&amp;nbsp;Chapter 18: LPC15xx Real-Time Clock (RTC) you will find that the RTC doesn't have a register for clock and date. So if you want to "create" the following structure yy-mm-dd/hh:mm:ss you can use the RTC as base clock, since it's really precise but you will have to make your own implementation for the clock and the date. If you want to see how to configure the RTC you can use the examples of the LPCOpen as a guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 18:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748013#M30129</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2018-03-12T18:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748014#M30130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jimenez! I thank you for your reply. In fact I´m already doing it, inside my code, by means some tables based on seconds values. I thought there was something very well ellaborated ... problably my way of doing that is not the best one. But anyway, I thank you so much for your tips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day !!!&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 01:29:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748014#M30130</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2018-03-13T01:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748015#M30131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, there is an errata about RTC on LPC15xx, and currently, there is no work-around on this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/errata/ES_LPC15XX.pdf"&gt;https://www.nxp.com/docs/en/errata/ES_LPC15XX.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 17:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748015#M30131</guid>
      <dc:creator>Dezheng_Tang</dc:creator>
      <dc:date>2018-03-13T17:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748016#M30132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tang. That´s true ... Thanks for remaind me ... I will try to work-around this bug by my self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 02:40:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748016#M30132</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2018-03-14T02:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748017#M30133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Xavier,&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is this thing "epoch time". You can refer to the website.&lt;A class="link-titled" href="https://www.epochconverter.com" title="https://www.epochconverter.com"&gt;https://www.epochconverter.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lpc15xx rtc increments counts every second so use the value to calculate the time.&lt;/P&gt;&lt;P&gt;Also there is a "C" library "time.h" its has functions strftime(), mktime(), ctime. You can use these function to calculate the time.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 15:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748017#M30133</guid>
      <dc:creator>zaidshaikh</dc:creator>
      <dc:date>2018-03-15T15:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748018#M30134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Zaid, I thank you so much for your tip. Very very very interesting. In fact, my solution is based in some tables with the amount of counting seconds since 2000 til 2099. And 2 tables with seconds to a regular and leap year. But your suggestion looks more professional and embracing as mine ... Thanx a lot !!! I was trying to know how to use the libraries you´ve mentioned but I didn´t find any reference of how to do it, how to get them or how to order them ... Any additional tip?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 19:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748018#M30134</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2018-03-15T19:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748019#M30135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If ur using keil ide then you can directly #include"time.h" in your project. Also refer to&amp;nbsp;&lt;A class="link-titled" href="https://www.epochconverter.com/programming/c" title="https://www.epochconverter.com/programming/c"&gt;https://www.epochconverter.com/programming/c&lt;/A&gt;&amp;nbsp;for the time.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 05:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748019#M30135</guid>
      <dc:creator>zaidshaikh</dc:creator>
      <dc:date>2018-03-16T05:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748020#M30136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zaid. Once more I thank you for your tip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:55:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748020#M30136</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2018-03-16T14:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748021#M30137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Hope your able to use the rtx of lpc15xx and get the desired result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 16:29:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748021#M30137</guid>
      <dc:creator>zaidshaikh</dc:creator>
      <dc:date>2018-03-16T16:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to "create" an RTC (yy-mm-dd/hh:mm:ss standard) based on the internal LPC15xx´s RTC timer?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748022#M30138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact I´m already using the LPC15xx family, at least in 12 different projects. But due to this RTC bug, once the device is on, I "control" the DATE/TIME information based on the sys-tick timer. And at each 5 minutes (considering the device was not powered-off) I´m reprograming the RTC-&amp;gt;COUNT register with minus 1 second, but keep showing the DATE/TIME info according my sys-tick timer cadence. I know this is stupid ... not the more accurate way to solve the problem ... but according my measures, at each 5 minutes the RTC timer increases 1 second at the counting. Well, any way, LPC15xx is a great solution to my products and RTC accuracy is not tremendously mandatory and with this dumb work-around I´m solving this inconvenient problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 16:50:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-quot-create-quot-an-RTC-yy-mm-dd-hh-mm-ss-standard-based/m-p/748022#M30138</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2018-03-16T16:50:07Z</dc:date>
    </item>
  </channel>
</rss>

