<?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: Stuck in IntDefaultHandler after Wakeup in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841326#M33505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;BR /&gt;The demo code is attached to the comment!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since the deep sleep mode is part of a much bigger project I included all the code we are using, so if you think it's a bit messy let me know :smileywink:&lt;BR /&gt;&lt;BR /&gt;Inside the zip file there is an indication of where to locate the needed files and classes (in the README file in the main folder) plus the settings we are using (in "settings.xml"), I imported them in the MCUXpresso project before coding!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&amp;nbsp;&lt;BR /&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2019 00:19:57 GMT</pubDate>
    <dc:creator>f_fiorini</dc:creator>
    <dc:date>2019-01-08T00:19:57Z</dc:date>
    <item>
      <title>Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841322#M33501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;BR /&gt;I'm working on a project using the LCPXpresso LPC11C24 Board Rev B with&amp;nbsp;LPC-Link and I need to implement Deep Sleep mode for low power consumption usage. I'm also using MCUXpresso 10.2.1.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I followed the CMSIS example code regarding the PMU and I've a bit adapted it to my setup (it wakes up with pin 0.2), and apparently the chip&amp;nbsp;&lt;EM&gt;CAN&amp;nbsp;&lt;/EM&gt;go to Deep Sleep (I stressed the "can" because I'm not entirely sure, as there's no debug option available) but when it wakes up it gets stuck in IntDefaultHandler().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the example code and the WAKEUP_IRQ handler as explained, but there must be something I missed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #0dd140; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d9e8f7;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;void setup_sleep_state()&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;SYSAHBCLKCTRL |= (1&amp;lt;&amp;lt;6);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #626262; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;STARTAPRP0 = 0x00000000; //SET FALLING EDGE on INTR pins&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;STARTRSRP0CLR = 0x344;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;STARTERP0 = 0x344;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;STARTSRP0 = 0x344;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_PMU-&amp;gt;PCON = 0x00000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;PDRUNCFG &amp;amp;= ~ ((1&amp;lt;&amp;lt;0) | (1&amp;lt;&amp;lt;1) | (1&amp;lt;&amp;lt;2));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;MAINCLKSEL = 0x0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;MAINCLKUEN = 0x0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;MAINCLKUEN = 0x1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;while (!(LPC_SYSCTL-&amp;gt;MAINCLKUEN &amp;amp; 0x01));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;PDSLEEPCFG = 0x000018F7; &lt;SPAN class=""&gt; &lt;/SPAN&gt;//WDT off, BOD off&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;LPC_SYSCTL-&amp;gt;PDWAKECFG = LPC_SYSCTL-&amp;gt;PDRUNCFG;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #a7ec21; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;NVIC_ClearPendingIRQ(PIO0_2_IRQn);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #626262; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;NVIC_EnableIRQ&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;PIO0_2_IRQn&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #dd2867; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;return;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #0dd140; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d9e8f7;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;void enter_sleep_state()&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #626262; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//DEEP SLEEP mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;SCB-&amp;gt;SCR |= 0x04;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #a7ec21; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;__WFI();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #0dd140; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #d9e8f7;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;void WAKEUP_IRQHandler(void)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #1290c3; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;uint32_t reg;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;reg = LPC_SYSCTL-&amp;gt;STARTSRP0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;if (reg != 0) LPC_SYSCTL-&amp;gt;STARTRSRP0CLR = reg;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #a7ec21; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;__NOP();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #dd2867; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;return;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d;"&gt;When it enters Deep Sleep mode, the debugger on MCUXpresso says (as expected) that there's no connection to the target, and this happens until I connect pin 0.2 to GND (as interrupt is on falling edge).&amp;nbsp;&lt;BR /&gt;When I then suspend the code execution, it gets stuck in the line right after __WFI() and it says &amp;lt;signal handler called&amp;gt;() at 0xfffffff9.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any suggestion or help will be really appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&amp;nbsp;&lt;/P&gt;&lt;P style="color: #d9e8f7; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 17:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841322#M33501</guid>
      <dc:creator>f_fiorini</dc:creator>
      <dc:date>2018-12-28T17:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841323#M33502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="332102" data-username="f.fiorini@student.tudelft.nl" href="https://community.nxp.com/people/f.fiorini@student.tudelft.nl"&gt;Federico Fiorini&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;After reviewing the code and your statement, I consider the LPC11C24 can enter the deep sleep mode, about the question, I was a bit confused, how you find the chip will be stuck in the IntDefaultHandler after chip wake up, as IDE will lost the connection after the MCU enter the low power mode, in another word, it's impossible to debug the demo after MCU enter the low power mode.&lt;BR /&gt;I hope you can explain it, it can help me to figure the issue out.&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>Fri, 04 Jan 2019 05:49:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841323#M33502</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-04T05:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841324#M33503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;BR /&gt;I was able to see that the code got stuck in the IntDefaultHandler because after I triggered an interrupt in pin 0.2 (connecting it to GND) I was able to pause the debug in the IDE, and I saw that it was executing that line.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope to have cleared the question for you!&lt;BR /&gt;Thanks in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 18:05:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841324#M33503</guid>
      <dc:creator>f_fiorini</dc:creator>
      <dc:date>2019-01-04T18:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841325#M33504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="332102" data-objecttype="3" href="https://community.nxp.com/people/f.fiorini@student.tudelft.nl"&gt;Federico Fiorini&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I was wondering if you can share the demo code, as I'd like to replicate the 'phenomeon' on my site.&lt;BR /&gt;I'm looking forward to your sharing.&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>Mon, 07 Jan 2019 03:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841325#M33504</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-07T03:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841326#M33505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;BR /&gt;The demo code is attached to the comment!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since the deep sleep mode is part of a much bigger project I included all the code we are using, so if you think it's a bit messy let me know :smileywink:&lt;BR /&gt;&lt;BR /&gt;Inside the zip file there is an indication of where to locate the needed files and classes (in the README file in the main folder) plus the settings we are using (in "settings.xml"), I imported them in the MCUXpresso project before coding!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&amp;nbsp;&lt;BR /&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 00:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841326#M33505</guid>
      <dc:creator>f_fiorini</dc:creator>
      <dc:date>2019-01-08T00:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841327#M33506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&amp;nbsp;&lt;BR /&gt;have you tried running the code to replicate the problem?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you prefer I can send you a lighter version of the code, comprising only the required functions for deep sleep mode.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 15:13:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841327#M33506</guid>
      <dc:creator>f_fiorini</dc:creator>
      <dc:date>2019-01-10T15:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841328#M33507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="332102" data-objecttype="3" href="https://community.nxp.com/people/f.fiorini@student.tudelft.nl"&gt;Federico Fiorini&lt;/A&gt; ,,&lt;/P&gt;&lt;P&gt;Please send a lighter code, the original one is a bit complicated.&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>Fri, 11 Jan 2019 06:50:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841328#M33507</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-11T06:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841329#M33508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;BR /&gt;Here there is the lighter version of the code :smileyhappy:&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 09:24:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841329#M33508</guid>
      <dc:creator>f_fiorini</dc:creator>
      <dc:date>2019-01-11T09:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841330#M33509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="332102" data-username="f.fiorini@student.tudelft.nl" href="https://community.nxp.com/people/f.fiorini@student.tudelft.nl"&gt;Federico Fiorini&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I'm afraid that you attached a wrong file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76912iF4D266E82656156E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&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>Mon, 14 Jan 2019 06:17:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841330#M33509</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-14T06:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841331#M33510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's odd, the file should be correct!&amp;nbsp;&lt;BR /&gt;I made another .zip file with the same code, but I deleted the .project file from CMSIS library so it has to be manually imported now.&lt;BR /&gt;&lt;BR /&gt;I hope this works.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In any case, I just discovered why it gets stuck in the DefaultIntHandler: my code is written in C++, so without putting "extern C" before the WAKEUP_IRQHandler the processor acts like the handler hasn't been defined.&lt;BR /&gt;After I did that, anyways, the code still gets stuck in the handler.&lt;BR /&gt;Apart from clearing the interrupt bits, what else should the interrupt do? Because I don't want my code to get stuck there indefinitely.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance! :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 18:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841331#M33510</guid>
      <dc:creator>f_fiorini</dc:creator>
      <dc:date>2019-01-14T18:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in IntDefaultHandler after Wakeup</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841332#M33511</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="332102" data-username="f.fiorini@student.tudelft.nl" href="https://community.nxp.com/people/f.fiorini@student.tudelft.nl"&gt;Federico Fiorini&lt;/A&gt;&lt;/SPAN&gt;，&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;No, I still can't import the project successfully, what a pity.&lt;BR /&gt;So I've attached a PMU demo which is written in C, you can migrate it to LPCXpresso to confirm the issue is related to the C++ or not.&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, 15 Jan 2019 05:50:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Stuck-in-IntDefaultHandler-after-Wakeup/m-p/841332#M33511</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-01-15T05:50:48Z</dc:date>
    </item>
  </channel>
</rss>

