<?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: multiple interrupts in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1180917#M15499</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mean use the IRQ on the reset pin(PTA5)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What vector interrupt do you want to use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got confused&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2020 17:25:07 GMT</pubDate>
    <dc:creator>vicentegomez</dc:creator>
    <dc:date>2020-11-10T17:25:07Z</dc:date>
    <item>
      <title>multiple interrupts</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1178886#M15493</link>
      <description>&lt;P&gt;I am using a S08QE8 and need 2 external interrupts (PA0 and PA5/RESET)&lt;/P&gt;&lt;P&gt;My first problem is that ProcessorExpert will only allow me to set the triggers as falling edge or low level, although I cannot find anything about this limitation in the users manual.&lt;/P&gt;&lt;P&gt;Secondly - There is a very high likelyhood that both triggers will occur simultaneously, otherwise only one trigger may occur (either one). However, there is only one interrupt flag, which must be cleared ready for the next event, &amp;nbsp;and one interrupt vector. This creates something of a problem. Does anyone have any bright ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 17:29:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1178886#M15493</guid>
      <dc:creator>juliancox</dc:creator>
      <dc:date>2020-11-05T17:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: multiple interrupts</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1180291#M15496</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using KBI? the PTA5 does not have KBI&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the PTA5 has the IRQ that is a different interrupt&lt;/P&gt;
&lt;P&gt;Please confirm&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 19:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1180291#M15496</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2020-11-09T19:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: multiple interrupts</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1180711#M15498</link>
      <description>&lt;P&gt;No. As I said in my post - I am using two external interrupts, not KBI. PTA5 is the reset line and can only be used as an external interrupt.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 10:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1180711#M15498</guid>
      <dc:creator>juliancox</dc:creator>
      <dc:date>2020-11-10T10:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: multiple interrupts</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1180917#M15499</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mean use the IRQ on the reset pin(PTA5)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What vector interrupt do you want to use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got confused&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 17:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1180917#M15499</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2020-11-10T17:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: multiple interrupts</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1183249#M15502</link>
      <description>&lt;P&gt;I think you have missed the point. Allow me to explain again.&lt;/P&gt;&lt;P&gt;I have two external signals and I want them each to generate an IRQ independent of the other, each with its own interrupt vector and its own status and control register. I first use PA5 as an IRQ and it works fine. I then use PA0 as an IRQ and that also works fine.&lt;/P&gt;&lt;P&gt;BUT if I use them both one of them will be acknowledged, The ISR will be executed and the interrupt flag is cleared. if both interrupts occur simultaneously one will be acknowledged and, because the IRQ flag has been cleared, the other IRQ will be missed.&lt;/P&gt;&lt;P&gt;Can I create a new Codewarrior component and allocate an interrupt vector of my choice?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 17:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1183249#M15502</guid>
      <dc:creator>juliancox</dc:creator>
      <dc:date>2020-11-13T17:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: multiple interrupts</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1183470#M15503</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Sorry I am still confused&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the PTA0 does not have IRQ function, it has KBI&lt;/P&gt;
&lt;P&gt;The PTA5 has IRQ, but it does not have KBI&lt;/P&gt;
&lt;P&gt;please check the attached&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vicentegomez_0-1605481167108.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130071i64A890979E5970EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vicentegomez_0-1605481167108.png" alt="vicentegomez_0-1605481167108.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then if I am understanding properly you can set the IRQ on the PTA5 with the vector interrupt 2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vicentegomez_1-1605481362385.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130072i298A6B0AE0CDA305/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vicentegomez_1-1605481362385.png" alt="vicentegomez_1-1605481362385.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and you can set the KBI on the PTA0 that has the vector interrupt 18&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vicentegomez_2-1605481458101.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130073iD2DD199264F68EDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vicentegomez_2-1605481458101.png" alt="vicentegomez_2-1605481458101.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With this you will have 2 vector interrupts, 2 status and control register.&lt;/P&gt;
&lt;P&gt;The KBI has a higher priority.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 23:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/multiple-interrupts/m-p/1183470#M15503</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2020-11-15T23:06:12Z</dc:date>
    </item>
  </channel>
</rss>

