<?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: wakeup irq &amp; point0 irq conflict in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/wakeup-irq-point0-irq-conflict/m-p/531996#M10330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Wed Oct 16 14:48:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to enable and disable irqs at the main function&amp;nbsp; :~ &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:31:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:31:07Z</dc:date>
    <item>
      <title>wakeup irq &amp; point0 irq conflict</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/wakeup-irq-point0-irq-conflict/m-p/531995#M10329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Wed Oct 16 12:33:41 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a possibility of a conflict between the PIOINT0_IRQHandler and the WAKEUP_IRQHandler&amp;nbsp; as they both use GPIO?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a case that I cannot disable the wakeup handler while entering the point0 handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the wakeup pins I use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regVal = LPC_SYSCON-&amp;gt;STARTSRP0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; if ( (regVal &amp;amp; (1 &amp;lt;&amp;lt; 8)) != 0){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_GPIO0-&amp;gt;IC |= (0x1&amp;lt;&amp;lt;8);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_GPIO0-&amp;gt;IE &amp;amp;= ~(0x1&amp;lt;&amp;lt;8);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_SYSCON-&amp;gt;STARTRSRP0CLR|=(1&amp;lt;&amp;lt;(8)); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; wakeFromTimerFlag =1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; else {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_GPIO0-&amp;gt;IC |= (0x1&amp;lt;&amp;lt;12);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_GPIO0-&amp;gt;IE &amp;amp;= ~(0x1&amp;lt;&amp;lt;12);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; LPC_SYSCON-&amp;gt;STARTRSRP0CLR|=(1&amp;lt;&amp;lt;(12)); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; wakeFromSensorFlag =1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The PIOINT0_IRQHandler is for GPIO_5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the program is inside the POINT0 IRQ and I activate the Wakeup IRQ it stacks.&amp;nbsp; Otherwise works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/wakeup-irq-point0-irq-conflict/m-p/531995#M10329</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: wakeup irq &amp; point0 irq conflict</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/wakeup-irq-point0-irq-conflict/m-p/531996#M10330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tbelo on Wed Oct 16 14:48:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to enable and disable irqs at the main function&amp;nbsp; :~ &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:31:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/wakeup-irq-point0-irq-conflict/m-p/531996#M10330</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:31:07Z</dc:date>
    </item>
  </channel>
</rss>

