<?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 Interrupt not working- falling edge in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-Interrupt-not-working-falling-edge/m-p/627269#M24656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you let us know which LPC product you are using?&lt;/P&gt;&lt;P&gt;If you are using LPCOpen, can you try using the periph_pinint example? &amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition please check the attached example.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&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, 26 Dec 2016 19:19:37 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2016-12-26T19:19:37Z</dc:date>
    <item>
      <title>GPIO Interrupt not working- falling edge</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-Interrupt-not-working-falling-edge/m-p/627268#M24655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am trying to use GPIO interrupt to detect a falling edge. I have GPIO6[13] set up for interrupt. However, whenever GPIO6[3] goes from high to low, no interrupt occurs. My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Code never gets to the GPIO6_IRQHandler().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void GPIOInt_Setup()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_IntClear(LPC_GPIO_PIN_INT, 6, 13);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SCU_GPIOIntPinSel(LPC_GPIO_PIN_INT, 6, 13);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_IntCmd(LPC_GPIO_PIN_INT, 6, 0, GPIOPININT_FALLING_EDGE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_DisableIRQ(PIN_INT6_IRQn);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_SetPriority(PIN_INT6_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_EnableIRQ(PIN_INT6_IRQn);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void GPIO6_IRQHandler (void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_DisableIRQ(PIN_INT6_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Chip_GPIO_IntGetStatus(LPC_GPIO_PIN_INT, 6, 0, 0))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_IntClear(LPC_GPIO_PIN_INT, 6, 0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or replies would be very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Vivien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 04:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-Interrupt-not-working-falling-edge/m-p/627268#M24655</guid>
      <dc:creator>vivienwong</dc:creator>
      <dc:date>2016-12-20T04:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Interrupt not working- falling edge</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-Interrupt-not-working-falling-edge/m-p/627269#M24656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you let us know which LPC product you are using?&lt;/P&gt;&lt;P&gt;If you are using LPCOpen, can you try using the periph_pinint example? &amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition please check the attached example.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&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, 26 Dec 2016 19:19:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-Interrupt-not-working-falling-edge/m-p/627269#M24656</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2016-12-26T19:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Interrupt not working- falling edge</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-Interrupt-not-working-falling-edge/m-p/627270#M24657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am using the LPC1857. I will try out your solution and let you know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vivien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 00:57:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-Interrupt-not-working-falling-edge/m-p/627270#M24657</guid>
      <dc:creator>vivienwong</dc:creator>
      <dc:date>2016-12-28T00:57:19Z</dc:date>
    </item>
  </channel>
</rss>

