<?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>i.MX ProcessorsのトピックGPIO2 irq interrupt question</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPIO2-irq-interrupt-question/m-p/286491#M33811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,every!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; now we use imx53 to develop,and software environment&lt;STRONG&gt; &lt;/STRONG&gt;is linux, and we want to response a rising interrupt of 14 pin of GPIO2(IRQ number in datasheet is 52),Once we set ICR14 of GPIO2 to "0x10",and set the 14 bit of GPIO2_IMR to "1",when we use "request_irq(irq, irq_handle_function,0, interface, NULL)" in driver,and the return value is 0xfffffffea,and then the serial terminal displays"failed",Does anyone meet this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Apr 2013 08:06:14 GMT</pubDate>
    <dc:creator>caoping</dc:creator>
    <dc:date>2013-04-26T08:06:14Z</dc:date>
    <item>
      <title>GPIO2 irq interrupt question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO2-irq-interrupt-question/m-p/286491#M33811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,every!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; now we use imx53 to develop,and software environment&lt;STRONG&gt; &lt;/STRONG&gt;is linux, and we want to response a rising interrupt of 14 pin of GPIO2(IRQ number in datasheet is 52),Once we set ICR14 of GPIO2 to "0x10",and set the 14 bit of GPIO2_IMR to "1",when we use "request_irq(irq, irq_handle_function,0, interface, NULL)" in driver,and the return value is 0xfffffffea,and then the serial terminal displays"failed",Does anyone meet this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 08:06:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO2-irq-interrupt-question/m-p/286491#M33811</guid>
      <dc:creator>caoping</dc:creator>
      <dc:date>2013-04-26T08:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO2 irq interrupt question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO2-irq-interrupt-question/m-p/286492#M33812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,cao,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please try to do it like this :&lt;/P&gt;&lt;P&gt;At first , I assume you use GPIO3_2, Then&lt;/P&gt;&lt;P&gt;#include &amp;lt;mach/gpio.h&amp;gt;&lt;/P&gt;&lt;P&gt;#define MY_GPIO3_2&amp;nbsp;&amp;nbsp; (2x32 + 2)&lt;/P&gt;&lt;P&gt;int irq = gpio_to_irq( MY_GPIO3_2);&lt;/P&gt;&lt;P&gt;request_irq(irq, irq_handle_function,0, interface, NULL);&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;Try it please !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Apr 2013 03:45:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO2-irq-interrupt-question/m-p/286492#M33812</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-04-27T03:45:44Z</dc:date>
    </item>
  </channel>
</rss>

