<?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: LPC55S69: how to check if RTC is initialized ?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985735#M38869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang,&lt;/P&gt;&lt;P&gt;I am new with LPC55S69.&amp;nbsp; I tried to implement the RTC function for my custom board, the rtc demo is working for LPC55S69-EVK eval board, but when I ran on my custom board, the only thing is different is the 32Mhz crystal input for the XTAL32M instead of the 16MHz like the eval has.&amp;nbsp; The RTC seem like never got update to generate the interrupt&lt;/P&gt;&lt;P&gt;Can you please give me some pointer for me the check points?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2020 07:59:30 GMT</pubDate>
    <dc:creator>chad_pham</dc:creator>
    <dc:date>2020-04-20T07:59:30Z</dc:date>
    <item>
      <title>LPC55S69: how to check if RTC is initialized ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985731#M38865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like RTC dosn't have so much status flags.&lt;/P&gt;&lt;P&gt;But what is proper way to check if it initialized already ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just&amp;nbsp; enable clock and check year value for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOCK_EnableClock(kCLOCK_Rtc);&lt;BR /&gt; RTC_GetDatetime(RTC, &amp;amp;date);&lt;/P&gt;&lt;P&gt;if ((date.year &amp;lt; 2019)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;// Not initialized ?&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 12:13:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985731#M38865</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-13T12:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69: how to check if RTC is initialized ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985732#M38866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="320103" data-username="yevgen.gyl@solita.fi" href="https://community.nxp.com/people/yevgen.gyl@solita.fi" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Eugene Hiihtaja&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If RTC is successfully enabled, the RTC and its oscillator continue running in all reduced power modes as long as power is supplied to the device. Therefore, the 32 kHz output is always available to be enabled for syscon clock generation, Once enabled, the 32 kHz clock can be selected for the system clock or be observed through the CLKOUT pin.&lt;/P&gt;&lt;P&gt;In practice, we have a led on CLKOUT pin, or measure it with scope, to verify if RTC works normally.&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>Thu, 14 Nov 2019 06:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985732#M38866</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-11-14T06:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69: how to check if RTC is initialized ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985733#M38867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Jun Zhang !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I mean case when MCU reboot. I shouldn't touch RTC in way when it lose context of common registers and RTC time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I should by SW to identify if it initialized already and&amp;nbsp; running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;What is right sequence about it ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Eugene&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 08:31:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985733#M38867</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-14T08:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69: how to check if RTC is initialized ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985734#M38868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is a register can check if RTC is correctly initialized.&lt;/P&gt;&lt;P&gt;You can check RTC_COUNT register, if it can be update regularly.&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, 18 Nov 2019 07:55:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985734#M38868</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-11-18T07:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69: how to check if RTC is initialized ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985735#M38869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang,&lt;/P&gt;&lt;P&gt;I am new with LPC55S69.&amp;nbsp; I tried to implement the RTC function for my custom board, the rtc demo is working for LPC55S69-EVK eval board, but when I ran on my custom board, the only thing is different is the 32Mhz crystal input for the XTAL32M instead of the 16MHz like the eval has.&amp;nbsp; The RTC seem like never got update to generate the interrupt&lt;/P&gt;&lt;P&gt;Can you please give me some pointer for me the check points?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 07:59:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-how-to-check-if-RTC-is-initialized/m-p/985735#M38869</guid>
      <dc:creator>chad_pham</dc:creator>
      <dc:date>2020-04-20T07:59:30Z</dc:date>
    </item>
  </channel>
</rss>

