<?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: Wakeup with different interrupt sources</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688787#M27794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;BR /&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is your printscreen from?&lt;BR /&gt;31.6.1 Debug limitations: Do you have the&amp;nbsp;document number and download link?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For others with the same question:&lt;/P&gt;&lt;P&gt;One can download the power_manager_lpc demo from this link: (select cpu, generate example, download)&lt;BR /&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com" title="https://mcuxpresso.nxp.com"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 08:41:18 GMT</pubDate>
    <dc:creator>simonwyss</dc:creator>
    <dc:date>2017-08-01T08:41:18Z</dc:date>
    <item>
      <title>Wakeup with different interrupt sources</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688785#M27792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have enabled multiple interrupt sources to wakeup my LPC54102 from sleep, deep-sleep and power-down mode.&lt;/P&gt;&lt;P&gt;In the main loop I power down the microcontroller. What happens, if an interrupt fires, while the power-down instructions are executed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;main:&lt;/STRONG&gt; I switch the main clock to 32kHz RTC bevor powering down. (&lt;STRONG&gt;Is this necessary?&lt;/STRONG&gt; I want to wakeup from RTC and PININT)&lt;BR /&gt;&lt;STRONG&gt;Interrupt (PININT):&lt;/STRONG&gt; fires, switches main clock back to IRC, handle data,&amp;nbsp;finishes&lt;BR /&gt;&lt;STRONG&gt;main:&lt;/STRONG&gt; power down (RTC no longer the main clock source, since switched back to IRC in interrupt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a problem?&lt;BR /&gt;I think not, but my microcontroller sometimes got frozen up with 696uA. Doing nothing, can not attach debugger.&lt;/P&gt;&lt;P&gt;The error happens very rarely. In time intervals of some minutes to some hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is no option, to set only a flag in the interrupt routine and handle the flag in the main loop. Because if the CPU is powering down while the interrupt happens, the flag will be handled only the next time, the CPU wakes up. However, the flag should force code to be executed immediately!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 08:22:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688785#M27792</guid>
      <dc:creator>simonwyss</dc:creator>
      <dc:date>2017-07-31T08:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup with different interrupt sources</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688786#M27793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: inherit; font-family: 微软雅黑,sans-serif;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: inherit; font-family: 微软雅黑,sans-serif;"&gt;for the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;1) What happens, if an interrupt fires, while the power-down instructions are executed?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You should get some approaches before writing the code to avoid this condition happen.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2) I switch the main clock to 32kHz RTC bevor powering down. (Is this necessary?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; No, it's not necessary.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I think you'd better to learn the Debug limitations when testing some low-power demos.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-08-01_10-58-10.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6953iD5D9954CAF709B7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-08-01_10-58-10.jpg" alt="2017-08-01_10-58-10.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;And I'd highly recommend you to refer to the power_manager_lpc demo in the LPC54102's SDK.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/developer-resources/hardware-development-tools/freedom-development-boards/software-development-kit-for-kinetis-mcus:KINETIS-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://www.nxp.com/products/developer-resources/hardware-development-tools/freedom-development-boards/software-development-kit-for-kinetis-mcus:KINETIS-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;Software Development Kit for Kinetis MCUs|NXP&lt;/A&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&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>Tue, 01 Aug 2017 03:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688786#M27793</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-08-01T03:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup with different interrupt sources</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688787#M27794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;BR /&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is your printscreen from?&lt;BR /&gt;31.6.1 Debug limitations: Do you have the&amp;nbsp;document number and download link?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For others with the same question:&lt;/P&gt;&lt;P&gt;One can download the power_manager_lpc demo from this link: (select cpu, generate example, download)&lt;BR /&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com" title="https://mcuxpresso.nxp.com"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 08:41:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688787#M27794</guid>
      <dc:creator>simonwyss</dc:creator>
      <dc:date>2017-08-01T08:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Wakeup with different interrupt sources</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688788#M27795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="297396" data-username="simonwyss" href="https://community.nxp.com/people/simonwyss"&gt;Simon Wyss&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;The screenshot is from the reference manual of the LPC54102: &lt;A href="http://cache.nxp.com/docs/en/user-guide/UM10850.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;UM10850&lt;/A&gt;.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Tue, 01 Aug 2017 08:58:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wakeup-with-different-interrupt-sources/m-p/688788#M27795</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-08-01T08:58:23Z</dc:date>
    </item>
  </channel>
</rss>

