<?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: GPIO PIN interrupt is not working in LPC 1837 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-PIN-interrupt-is-not-working-in-LPC-1837/m-p/640117#M25309</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="288035" data-username="ponalagappan" href="https://community.nxp.com/people/ponalagappan"&gt;pon alagappan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I'd highly recommend you to refer to the pinint demo which illustrates configure a pin interrupt as a falling edge interrupt.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2016-09-27_14-34-40.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/820i805FD1F018F1F8B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="2016-09-27_14-34-40.jpg" alt="2016-09-27_14-34-40.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And you can download the LPCOpen through the link below.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/nxp-designs-reference-design-library/nxp-designs/lpcopen-software-development-platform-lpc18xx:LPCOPEN-SOFTWARE-FOR-LPC18XX" title="http://www.nxp.com/products/software-and-tools/nxp-designs-reference-design-library/nxp-designs/lpcopen-software-development-platform-lpc18xx:LPCOPEN-SOFTWARE-FOR-LPC18XX"&gt;LPCOpen Software for LPC18XX|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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, 27 Sep 2016 06:35:50 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2016-09-27T06:35:50Z</dc:date>
    <item>
      <title>GPIO PIN interrupt is not working in LPC 1837</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-PIN-interrupt-is-not-working-in-LPC-1837/m-p/640116#M25308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am trying to use GPIO PIN&amp;nbsp;interrupt in &amp;nbsp;lpc1837. &lt;STRONG&gt;i need active low interrupt&lt;/STRONG&gt;. initially i set the GPIO port and pin in PINTSEL0 register and verified its value.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;then doing with configuration registers ISEL,IENR and IENF &amp;nbsp;as follows&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;/* enable level interrupt */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC_GPIO_PIN_INT-&amp;gt;ISEL = (GPIO_PIN_INT_ISEL_PMODE0_Msk | &lt;BR /&gt;GPIO_PIN_INT_ISEL_PMODE1_Msk);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* enable level interrupt */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC_GPIO_PIN_INT-&amp;gt;IENR = (GPIO_PIN_INT_IENR_ENRL0_Msk |&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GPIO_PIN_INT_IENR_ENRL1_Msk );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LPC_GPIO_PIN_INT-&amp;gt;SIENR = ( GPIO_PIN_INT_SIENR_SETENRL0_Msk |&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GPIO_PIN_INT_SIENR_SETENRL1_Msk );&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;BR /&gt;/* enable active LOW interrupt */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LPC_GPIO_PIN_INT-&amp;gt;IENF = 0x00UL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC_GPIO_PIN_INT-&amp;gt;CIENF = (GPIO_PIN_INT_CIENF_CENAF0_Msk |&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GPIO_PIN_INT_CIENF_CENAF1_Msk );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i set the values for SIENR, it immediately sets the IST register PSTAT0 and PSTAT1 flag. but it should not happen. my hardware pin state is HIGH in normal, upon interrupt it provides LOW.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that my way is correct of doing , any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 07:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-PIN-interrupt-is-not-working-in-LPC-1837/m-p/640116#M25308</guid>
      <dc:creator>ponalagappan</dc:creator>
      <dc:date>2016-09-22T07:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO PIN interrupt is not working in LPC 1837</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-PIN-interrupt-is-not-working-in-LPC-1837/m-p/640117#M25309</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="288035" data-username="ponalagappan" href="https://community.nxp.com/people/ponalagappan"&gt;pon alagappan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I'd highly recommend you to refer to the pinint demo which illustrates configure a pin interrupt as a falling edge interrupt.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2016-09-27_14-34-40.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/820i805FD1F018F1F8B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="2016-09-27_14-34-40.jpg" alt="2016-09-27_14-34-40.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And you can download the LPCOpen through the link below.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/nxp-designs-reference-design-library/nxp-designs/lpcopen-software-development-platform-lpc18xx:LPCOPEN-SOFTWARE-FOR-LPC18XX" title="http://www.nxp.com/products/software-and-tools/nxp-designs-reference-design-library/nxp-designs/lpcopen-software-development-platform-lpc18xx:LPCOPEN-SOFTWARE-FOR-LPC18XX"&gt;LPCOpen Software for LPC18XX|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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, 27 Sep 2016 06:35:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-PIN-interrupt-is-not-working-in-LPC-1837/m-p/640117#M25309</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-09-27T06:35:50Z</dc:date>
    </item>
  </channel>
</rss>

