<?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: External Interrupt support in i.MX537 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259989#M25768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using i.MX53 QSB Board,i want to acces the GPIOs from Application,as i obsereved there is no access to GPIO from user space(Application layer),the GPIO functions are DDK level, i want to access them from application please suggest me the way to access the GPIO from Application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shaik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Dec 2013 07:01:27 GMT</pubDate>
    <dc:creator>mujeebshaik</dc:creator>
    <dc:date>2013-12-27T07:01:27Z</dc:date>
    <item>
      <title>External Interrupt support in i.MX537</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259985#M25764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please tell me if there is any &lt;STRONG&gt;external interrupt&lt;/STRONG&gt; support in i.MX537, reference manual suggested that some GPIO has the such capability but &lt;/P&gt;&lt;P&gt;I didn't get any&amp;nbsp; documentation on it. Please suggest any workaround if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 10:36:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259985#M25764</guid>
      <dc:creator>prateekraghuvan</dc:creator>
      <dc:date>2013-02-15T10:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: External Interrupt support in i.MX537</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259986#M25765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prateek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the MX53 has the ability to interrupt from many GPIO inputs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) GPIO1 (32 pins) through GPIO4 (32 pins) can be configured to generate interrupts when the pins are set to inputs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) GPIO2 through GPIO4 do not have an "ARM interrupt" for each pin, but rather for the OR'ed results of 16 pins&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;gt; e.g. GPIO2 will cause an "ARM IRQ 52" if there is a valid interrupt on any pin within 0-15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;gt; e.g. GPIO2 will cause an "ARM IRQ 53" if there is a valid interrupt on any pin within 16-31&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;gt; So even though GPIO2 can monitor 32 pins for activity, the ARM Core will only see 1 of 2 IRQs happen (#52 or #53)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) GPIO1 has the same functionality as described in b), but also some further granularity: its bottom 8 pins (0-7) will cause 8 specific "ARM interrupts"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;gt; GPIO1_0 will cause an "ARM IRQ 49", and so on for pins 1,2,3,4,5,6; GPIO1_7 will cause an "ARM IRQ 42"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;gt; for GPIO1_8 through GPIO1_31, these can only be seen through "ARM IRQ98" for pins 0-15, or "ARM IRQ99" for pins 16-31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) In addition, all the 8 registers for the specific GPIOx need to be configured correctly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - GPIOx_IMR: the appropriate bits need to be set to 1 to enable those interrupts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - GPIOx_ISR: the interrupt routine must write a 1 to the appropriate bit to clear the interrupt flag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - GPIOx_ICR1 and GPIOx_ICR2: these allow you to select between level (low or high) or edge (rising or falling) for the given interrupt pin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - GPIOx_EDGE_SEL: this allows you to override GPIOx_ICR1 and GPIOx_ICR2 for historical reasons&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - GPIOx_GDIR: the appropriate pin must be set to an input (bit=0) to allow for interrupts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - GPIOx_DR and GPIO_PSR: not relevant here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Finally, you need to use the IOMUX Controller to set the specific pins to be in GPIO mode&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 14:51:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259986#M25765</guid>
      <dc:creator>RodBorras</dc:creator>
      <dc:date>2013-02-15T14:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: External Interrupt support in i.MX537</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259987#M25766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RodBorras,&lt;/P&gt;&lt;P&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; Thank you for your answer. It is really helpful. Is it also described in the datasheet or reference manual of the processor? if yes, then Please point me to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 05:35:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259987#M25766</guid>
      <dc:creator>prateekraghuvan</dc:creator>
      <dc:date>2013-02-18T05:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: External Interrupt support in i.MX537</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259988#M25767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prateek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RM=Reference Manual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- the IRQ numbers and breakout can be found in RM Table 3-1, page 215&lt;/P&gt;&lt;P&gt;- the GPIO registers can be found in RM chapter 37&lt;/P&gt;&lt;P&gt;- the OR'ed function of the GPIO interrupts is explained in RM pages 1723, 1724, 1726&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 14:50:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259988#M25767</guid>
      <dc:creator>RodBorras</dc:creator>
      <dc:date>2013-02-18T14:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: External Interrupt support in i.MX537</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259989#M25768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using i.MX53 QSB Board,i want to acces the GPIOs from Application,as i obsereved there is no access to GPIO from user space(Application layer),the GPIO functions are DDK level, i want to access them from application please suggest me the way to access the GPIO from Application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shaik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 07:01:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/External-Interrupt-support-in-i-MX537/m-p/259989#M25768</guid>
      <dc:creator>mujeebshaik</dc:creator>
      <dc:date>2013-12-27T07:01:27Z</dc:date>
    </item>
  </channel>
</rss>

