<?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: Different interrupts from the same port in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Different-interrupts-from-the-same-port/m-p/231085#M1195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using PEx 10.4, I configured two ExtInt_LDD components using two pins of the same GPIO port.&amp;nbsp; Both components are auto initialized but are configured to be disabled initially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using this configuration, the processor never gets to code after the call to PE_low_level_init() that is made in main() [defined in ProcessorExpert.c].&amp;nbsp; The system basically seems to hang after calling __set_BASEPRI(CPU_INT_PRIORITY); which effectively enables interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further investigation shows that what seems to be happening is that Cpu_ivINT_PORTB() [in Cpu.c] is being called continuously even though&lt;/P&gt;&lt;P&gt;a) both of the ExtInt_LDD components are disabled, and&lt;/P&gt;&lt;P&gt;b) both of the ExtInt_LDD components are configured to interrupt only on an edge.&lt;/P&gt;&lt;P&gt;Cpu_ivINT_PORTB() calls the two service routines (that do nothing since the interrupts are disabled) but I cannot figure out why the PORTB interrupt is being called in the first place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on how to fix this will be appreciated!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2014 00:13:24 GMT</pubDate>
    <dc:creator>jvasil</dc:creator>
    <dc:date>2014-05-23T00:13:24Z</dc:date>
    <item>
      <title>Different interrupts from the same port</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Different-interrupts-from-the-same-port/m-p/231083#M1193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I have the following scenario in a kinetis k60 custom board:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;On the same port (for example PTE), 'x' pins configured as inputs (for example for switch buttons).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I configure a component GPIO_LDD in processor expert for those inputs. Of course, for one component, it is only one the OnPortEvent function created. But I want that each input execute a different action. If a configure a different component from every input, I have the error that the Interrupt is already used. So, here is my question: How can my program execute a different action from interrupts that become from the same port but different pins? Or, in the other way, how can I detect the pin (not the port) that generate the interruption?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional info: The project is bareboard (by now), and I use Codewarrior v10.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: English is not my native language.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jan 2013 21:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Different-interrupts-from-the-same-port/m-p/231083#M1193</guid>
      <dc:creator>gsanchez</dc:creator>
      <dc:date>2013-01-19T21:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Different interrupts from the same port</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Different-interrupts-from-the-same-port/m-p/231084#M1194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to update to the CW V10.3 and use ExtInt_LDD component instead of GPIO_LDD. It should provide the interface you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Different-interrupts-from-the-same-port/m-p/231084#M1194</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2013-01-28T09:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Different interrupts from the same port</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Different-interrupts-from-the-same-port/m-p/231085#M1195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using PEx 10.4, I configured two ExtInt_LDD components using two pins of the same GPIO port.&amp;nbsp; Both components are auto initialized but are configured to be disabled initially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using this configuration, the processor never gets to code after the call to PE_low_level_init() that is made in main() [defined in ProcessorExpert.c].&amp;nbsp; The system basically seems to hang after calling __set_BASEPRI(CPU_INT_PRIORITY); which effectively enables interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further investigation shows that what seems to be happening is that Cpu_ivINT_PORTB() [in Cpu.c] is being called continuously even though&lt;/P&gt;&lt;P&gt;a) both of the ExtInt_LDD components are disabled, and&lt;/P&gt;&lt;P&gt;b) both of the ExtInt_LDD components are configured to interrupt only on an edge.&lt;/P&gt;&lt;P&gt;Cpu_ivINT_PORTB() calls the two service routines (that do nothing since the interrupts are disabled) but I cannot figure out why the PORTB interrupt is being called in the first place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on how to fix this will be appreciated!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 00:13:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Different-interrupts-from-the-same-port/m-p/231085#M1195</guid>
      <dc:creator>jvasil</dc:creator>
      <dc:date>2014-05-23T00:13:24Z</dc:date>
    </item>
  </channel>
</rss>

