<?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: LP1549  PININT0_IRQHandler</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1549-PININT0-IRQHandler/m-p/526530#M9160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bobi-one on Mon Apr 14 07:17:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Forgive me I didn't post anything else. This is part of renamed version of the periph_pinint example. I posted only the initialisation of the interrupt, because the else is just a led toggle in the handler. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I browsed the datasheed and found that when a gpio is input&amp;nbsp; weak pull-ups are enabled,&amp;nbsp; and perhaps with the lack of external pull up the button is acting like an antenna. And falling edges are detected and the interrupt is involked because of the noise. I dont remember having the same problem with LPC1343. Is there some way i can set the strong pull up so noise could be picked up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Boyko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:05:13 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:05:13Z</dc:date>
    <item>
      <title>LP1549  PININT0_IRQHandler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1549-PININT0-IRQHandler/m-p/526528#M9158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bobi-one on Mon Apr 14 00:54:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a button (PIO0.9 to GND) on my custom board( without external pull up). And tried the lpc open example. Unfortunetly the led is constantly blinking without pressing the button. I tried enabling the external pull-up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but that didnt help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;&lt;BR /&gt;{BTN_PORT, BTN2_PIN,&amp;nbsp;&amp;nbsp; (IOCON_MODE_INACT | IOCON_DIGMODE_EN | IOCON_MODE_PULLUP )},/* BTN2 (9)*/&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am i missing something in the configuration, or is the only sollution an external pull-up &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;BR /&gt;#define BTN2_INDEX&amp;nbsp;&amp;nbsp; 0/* PININT index used for GPIO mapping */&lt;BR /&gt;#define BTN2_IRQ_HANDLER&amp;nbsp; PININT0_IRQHandler/* GPIO interrupt IRQ function name */&lt;BR /&gt;#define BTN2_NVIC_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp; PIN_INT0_IRQn/* GPIO interrupt NVIC interrupt name */&lt;BR /&gt;&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; Chip_PININT_Init(LPC_GPIO_PIN_INT);&lt;BR /&gt;Chip_Clock_EnablePeriphClock(SYSCTL_CLOCK_PININT);// Enable PININT clock&lt;BR /&gt;Chip_SYSCTL_PeriphReset(RESET_PININT); //Reset the PININT block&lt;BR /&gt;&lt;BR /&gt;Chip_INMUX_PinIntSel(BTN2_INDEX, BTN_PORT, BTN2_PIN);// Configure interrupt channel for the GPIO pin in INMUX block&lt;BR /&gt;Chip_PININT_ClearIntStatus(LPC_GPIO_PIN_INT, PININTCH(BTN2_INDEX));// Configure channel interrupt as edge sensitive and falling edge interrupt&lt;BR /&gt;Chip_PININT_SetPinModeEdge(LPC_GPIO_PIN_INT, PININTCH(BTN2_INDEX));&lt;BR /&gt;Chip_PININT_EnableIntLow(LPC_GPIO_PIN_INT, PININTCH(BTN2_INDEX));&lt;BR /&gt;NVIC_ClearPendingIRQ(BTN2_NVIC_NAME);// Enable interrupt in the NVIC&lt;BR /&gt;NVIC_EnableIRQ(BTN2_NVIC_NAME);&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Boyko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LP1549-PININT0-IRQHandler/m-p/526528#M9158</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: LP1549  PININT0_IRQHandler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1549-PININT0-IRQHandler/m-p/526529#M9159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Mon Apr 14 07:08:33 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Boyko,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please let us know which example are you using? If you are using blinky example it will toggle a particular port pin. I think it is always to post detail information. like which version of LPCopen,tool chain version and the file was modified. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not see code to change the status of LED&amp;nbsp; if there is any.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LP1549-PININT0-IRQHandler/m-p/526529#M9159</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: LP1549  PININT0_IRQHandler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1549-PININT0-IRQHandler/m-p/526530#M9160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bobi-one on Mon Apr 14 07:17:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Forgive me I didn't post anything else. This is part of renamed version of the periph_pinint example. I posted only the initialisation of the interrupt, because the else is just a led toggle in the handler. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I browsed the datasheed and found that when a gpio is input&amp;nbsp; weak pull-ups are enabled,&amp;nbsp; and perhaps with the lack of external pull up the button is acting like an antenna. And falling edges are detected and the interrupt is involked because of the noise. I dont remember having the same problem with LPC1343. Is there some way i can set the strong pull up so noise could be picked up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Boyko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LP1549-PININT0-IRQHandler/m-p/526530#M9160</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:13Z</dc:date>
    </item>
  </channel>
</rss>

