<?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 clock get time and date from LPC54618 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885302#M35479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I forgot to mount capacitors near crystal section and thus not providing ground to it.&lt;/P&gt;&lt;P&gt;Now its working. I've already replied myself to the question about this and it is under moderation when I'm writing this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2019 08:51:31 GMT</pubDate>
    <dc:creator>gmk1</dc:creator>
    <dc:date>2019-02-25T08:51:31Z</dc:date>
    <item>
      <title>RTC clock get time and date from LPC54618</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885299#M35476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the internal RTC clock module as per configuration below. Initialization seems okay.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But variable "date" does not increment seconds and so is the variable "mydate".&lt;/P&gt;&lt;P&gt;What could be wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my RTC config -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rtc_datetime_t date;&lt;/P&gt;&lt;P&gt;rtc_datetime_t mydate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Main&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RTC_Config();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RTC_GetDatetime(RTC,&amp;amp;date);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// seconds should be incrementing at 1 sec rate but it doesn't&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mydate = date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void RTC_Config(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;/* Enable the external RTC 32K Oscillator */&lt;BR /&gt; SYSCON-&amp;gt;RTCOSCCTRL |= SYSCON_RTCOSCCTRL_EN_MASK;&lt;BR /&gt; /* Init RTC */&lt;BR /&gt; RTC_Init(RTC);&lt;BR /&gt; /* Set a start date &amp;amp; time */&lt;BR /&gt; date.year = 2019U;&lt;BR /&gt; date.month = 2U;&lt;BR /&gt; date.day = 9U;&lt;BR /&gt; date.hour = 9U;&lt;BR /&gt; date.minute = 0;&lt;BR /&gt; date.second = 0;&lt;BR /&gt; /* RTC time counter has to be stopped before setting the date &amp;amp; time in the TSR register */&lt;BR /&gt; RTC_StopTimer(RTC);&lt;BR /&gt; /* Set RTC time to default */&lt;BR /&gt; RTC_SetDatetime(RTC, &amp;amp;date);&lt;BR /&gt; /* Start the RTC time counter */&lt;BR /&gt; RTC_StartTimer(RTC);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Gmk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2019 09:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885299#M35476</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2019-02-23T09:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: RTC clock get time and date from LPC54618</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885300#M35477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries. Its working. My mistake. I forgot to mount capacitors between crystal and ground.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 08:32:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885300#M35477</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2019-02-25T08:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: RTC clock get time and date from LPC54618</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885301#M35478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I don't have exact your board, but I just tested your issue with my LPC54608 board.&lt;/P&gt;&lt;P&gt;I use mcuxpresso demo code under&amp;nbsp; ..\LPC54608\SDK_2.5.0_LPCXpresso54608\boards\lpcxpresso54608\driver_examples\rtc&lt;/P&gt;&lt;P&gt;I commented&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // RTC_EnableInterrupts(RTC, kRTC_AlarmInterruptEnable);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; // EnableIRQ(RTC_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus my code should be same as yours.&lt;/P&gt;&lt;P&gt;when I step over code, I can see RTC-&amp;gt;COUNT value changed after "RTC_StartTimer()". So I can't reproduce your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you test the same demo code on your side, comparing the register setting of the demo with your working project to shoot trouble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 08:43:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885301#M35478</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-02-25T08:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: RTC clock get time and date from LPC54618</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885302#M35479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I forgot to mount capacitors near crystal section and thus not providing ground to it.&lt;/P&gt;&lt;P&gt;Now its working. I've already replied myself to the question about this and it is under moderation when I'm writing this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 08:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885302#M35479</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2019-02-25T08:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: RTC clock get time and date from LPC54618</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885303#M35480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's ok. Thanks for your sharing. :-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 09:54:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885303#M35480</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-02-25T09:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: RTC clock get time and date from LPC54618</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885304#M35481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you help me with this one -&amp;nbsp;&lt;A href="https://community.nxp.com/thread/496377"&gt;https://community.nxp.com/thread/496377&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 09:58:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885304#M35481</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2019-02-25T09:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: RTC clock get time and date from LPC54618</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885305#M35482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manikata,&lt;/P&gt;&lt;P&gt;I checked internally that my colleague has taken your CAN transmission thread and is working on it. Don't worry.&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Jennie Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 14:23:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RTC-clock-get-time-and-date-from-LPC54618/m-p/885305#M35482</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-02-25T14:23:34Z</dc:date>
    </item>
  </channel>
</rss>

