<?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: Issue using RTC Alarm on 11u68</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629277#M24752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph Boykin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From the LPC11U68 user manual:&lt;/P&gt;&lt;P&gt;3. Deep power-down mode:&lt;BR /&gt;For maximal power savings, the entire system is shut down except for the general&lt;BR /&gt;purpose registers in the PMU, &lt;STRONG&gt;the RTC in the VBAT power domain, and the WAKEUP&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;pin if VDD is present&lt;/STRONG&gt;. Only the general purpose registers in the PMU and the RTC&lt;BR /&gt;registers are powered and can maintain their internal states. The part can wake up on&lt;BR /&gt;a pulse on the WAKEUP pin or on an interrupt from the RTC. On wake-up, the part&lt;BR /&gt;boots.&lt;/P&gt;&lt;P&gt;If you want the RTC work in deep power down mode, you must make sure, the RTC is still powered.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&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>Wed, 05 Apr 2017 08:19:54 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-04-05T08:19:54Z</dc:date>
    <item>
      <title>Issue using RTC Alarm on 11u68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629274#M24749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the LPC Xpresso 11U68 demo board and I'm trying to get the RTC alarm to work. &amp;nbsp;I can change the COUNT register and it is properly incrementing. &amp;nbsp;The RTC status is 0x90 and&amp;nbsp;the MATCH register is 0xffffffff. &amp;nbsp;If I call Chip_RTC_SetAlarm(LPC_RTC, value) then read back the MATCH register it is unchanged from 0xffffffff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything special I need to do in order to change the alarm?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 17:43:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629274#M24749</guid>
      <dc:creator>boykin</dc:creator>
      <dc:date>2017-03-28T17:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using RTC Alarm on 11u68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629275#M24750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jsoeph Boykin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please use our lpcopen code for lpcxpresso lpc11u68 board, you can download it from this link:&lt;/P&gt;&lt;P&gt;1.IAR and MDK project:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_12_Keil_iar_nxp_lpcxpresso_11u68.zip" title="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_12_Keil_iar_nxp_lpcxpresso_11u68.zip"&gt;http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_12_Keil_iar_nxp_lpcxpresso_11u68.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. LPCXpresso project&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_12_lpcxpresso_nxp_lpcxpresso_11u68.zip" title="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_12_lpcxpresso_nxp_lpcxpresso_11u68.zip"&gt;http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_12_lpcxpresso_nxp_lpcxpresso_11u68.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have debug the periph_rtc project, after set the MATCH data, then read it in the register, I can get the correct result:&lt;/P&gt;&lt;P&gt;You can find it from my debug result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15780iD4D33E7F40E20A1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&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;Kerry&lt;/P&gt;&lt;P&gt;&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>Wed, 29 Mar 2017 05:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629275#M24750</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-29T05:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using RTC Alarm on 11u68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629276#M24751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I tried the periph_rtc example and it does indeed work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I forgot to say in the original post is that I am putting the MCU into Deep Power Down mode. &amp;nbsp;After I set up the RTC (using code analogous to that example) I can set the alarm once, but not a second time. &amp;nbsp;In the mean time I have found that if I reset the RTC after a wake from deep power down it all works. &amp;nbsp;The documentation does not imply this would be necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 17:00:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629276#M24751</guid>
      <dc:creator>boykin</dc:creator>
      <dc:date>2017-03-31T17:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using RTC Alarm on 11u68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629277#M24752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph Boykin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From the LPC11U68 user manual:&lt;/P&gt;&lt;P&gt;3. Deep power-down mode:&lt;BR /&gt;For maximal power savings, the entire system is shut down except for the general&lt;BR /&gt;purpose registers in the PMU, &lt;STRONG&gt;the RTC in the VBAT power domain, and the WAKEUP&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;pin if VDD is present&lt;/STRONG&gt;. Only the general purpose registers in the PMU and the RTC&lt;BR /&gt;registers are powered and can maintain their internal states. The part can wake up on&lt;BR /&gt;a pulse on the WAKEUP pin or on an interrupt from the RTC. On wake-up, the part&lt;BR /&gt;boots.&lt;/P&gt;&lt;P&gt;If you want the RTC work in deep power down mode, you must make sure, the RTC is still powered.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&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>Wed, 05 Apr 2017 08:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629277#M24752</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-04-05T08:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using RTC Alarm on 11u68</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629278#M24753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The RTC&amp;nbsp;&lt;EM&gt;is&amp;nbsp;&lt;/EM&gt;powered via VBAT. &amp;nbsp;The issue isn't that the RTC doesn't run&amp;nbsp;when we go into Deep Power Down mode, the issue is that, after the processor is woken up I can't set a new alarm (writing to the MATCH register does not have any effect) without going through a full reset of the RTC first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, while I'm sure this has something to do with how the RTC behaves after DPD, I haven't had the chance to isolate it (yet). &amp;nbsp;Doing a full-reset of the RTC, while it works for test code, I don't think is&amp;nbsp;a viable solution for production as I'm concerned that the clock will drift.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 13:46:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Issue-using-RTC-Alarm-on-11u68/m-p/629278#M24753</guid>
      <dc:creator>boykin</dc:creator>
      <dc:date>2017-04-05T13:46:12Z</dc:date>
    </item>
  </channel>
</rss>

