<?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: Unhandled IRQ error for ICU interrupt source in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498840#M16774</link>
    <description>&lt;P&gt;Yeah, we have also configured the same IRQ Handler (EMIOS0_4_IRQ).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am calling &lt;STRONG&gt;Icu_EnableEdgeDetection&lt;/STRONG&gt; interface at Init phase which in turn calls&amp;nbsp;&lt;STRONG&gt;Emios_Icu_Ip_EnableInterrupt. &lt;/STRONG&gt;So, I hope this should be fine to enable the interrupt.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also instead of Platform module interfaces like &lt;STRONG&gt;InstallHandler&lt;/STRONG&gt; and &lt;STRONG&gt;EnableIrq&lt;/STRONG&gt;, we have configured interrupt in OS (Category 2 ISR) which will take care of triggering the interrupt.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;And the thing is, interrupt is getting triggered, when input is fed to the ICU pin, but it is left unhandled. Which means interrupt request is not assigned to the corresponding ISR. So, we are not sure whether the interrupt handler function (EMIOS0_4_IRQ) from MCL is mapped&amp;nbsp; properly to the Interrupt source.&lt;BR /&gt;&lt;BR /&gt;Is there any other specific configuration to be enabled for mapping IRQ with interrupt ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 13:12:18 GMT</pubDate>
    <dc:creator>Sathishkumar_Rajkumar</dc:creator>
    <dc:date>2022-08-01T13:12:18Z</dc:date>
    <item>
      <title>Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1497292#M16715</link>
      <description>&lt;P&gt;Board used for Development: S32K344&lt;BR /&gt;Module : ICU&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We are working on S32K344 hardware and configured ICU(Input capture unit) module for detecting both rising edge and falling edge triggering functionality.&lt;BR /&gt;ICU module is configured by referring the NXP example configuration. To test it, we are feeding PWM signal as input to ICU pin.&lt;BR /&gt;When it detects the signal, interrupt is triggered but the handler is not being serviced and left unhandled. Because of this Unhandled IRQ, error hook is thrown.&lt;BR /&gt;We confirmed this by checking the interrupt source when it causes error hook. It is same as the interrupt source number of EMIOS_0_Channel_7.&lt;BR /&gt;We also tried with different priority and different EMIOS channels but the issue seems to be still same.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below are the ICU and Port configurations implemented:&lt;/P&gt;&lt;P&gt;ICU EMIOS channel configuration:&lt;BR /&gt;Instance 0;&lt;BR /&gt;Channel 7;&lt;BR /&gt;Bus used is EMIOS_ICU_BUS_A&lt;BR /&gt;Sub measurement mode is SAIC&lt;/P&gt;&lt;P&gt;ICU Channel:&lt;BR /&gt;Measurement mode is SIGNAL EDGE DETECT with default start edge as BOTH EDGES&lt;BR /&gt;Signal notification function is configured and defined.&lt;/P&gt;&lt;P&gt;MCL EMIOS channel configuration for ICU:&lt;BR /&gt;Instance 0;&lt;BR /&gt;Channel 23;&lt;BR /&gt;Counter - MCB UP COUNTER;&lt;BR /&gt;Default Period - 65535&lt;/P&gt;&lt;P&gt;Port configuration for ICU:&lt;BR /&gt;PIN used - PTE7&lt;BR /&gt;Pcr number - 135&lt;BR /&gt;Pin mode - eMIOS_0eMIOS_0_CH_7_G_IN&lt;BR /&gt;Initial mode: GPIO Mode&lt;/P&gt;&lt;P&gt;OS Configuration for Interrupt trigger:&lt;BR /&gt;Vector Interrupt source number - 81&lt;BR /&gt;Handler Function - EMIOS0_4_IRQ (instance 0 with interrupt request 7)&lt;/P&gt;&lt;P&gt;Followed below sequence in Init Phase:&lt;BR /&gt;Icu_Init(NULL_PTR);&lt;BR /&gt;Icu_EnableEdgeDetection(Icu_Channel);&lt;BR /&gt;Icu_EnableNotification(Icu_Channel);&lt;/P&gt;&lt;P&gt;Attached snapshots of configurations for reference.&lt;BR /&gt;Please let me know if you need additional information.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192432"&gt;@sathyaganesr&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197998"&gt;@WojciechK&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203120"&gt;@Hector_Torre&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 11:34:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1497292#M16715</guid>
      <dc:creator>Sathishkumar_Rajkumar</dc:creator>
      <dc:date>2022-07-28T11:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498733#M16768</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204288"&gt;@Sathishkumar_Rajkumar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you share the project?&lt;/P&gt;
&lt;P&gt;Have you enabled the interrupt in the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 09:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498733#M16768</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-08-01T09:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498799#M16771</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using EMIOS instance 0 and Channel 7 in ICU module and&lt;BR /&gt;configured EMIOS instance 0 and channel 23 in MCL module for ICU EMIOS BUS REF.&lt;BR /&gt;&lt;BR /&gt;Also I am using Port Pin PTE7 (PCR:135, PIN Mode: eMIOS_0eMIOS_0_CH_7_G_IN)&lt;BR /&gt;&lt;BR /&gt;Could you please tell me which Interrupt Source /Interrupt handler function should be configured for the above channel configurations. Because it is not clear which one should be used.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 11:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498799#M16771</guid>
      <dc:creator>Sathishkumar_Rajkumar</dc:creator>
      <dc:date>2022-08-01T11:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498807#M16772</link>
      <description>&lt;P&gt;The ICU channel, that is EMIOS_0_Ch7.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1659355387981.png" style="width: 552px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/188659i5D0E6C6BC5ABC1E0/image-dimensions/552x94?v=v2" width="552" height="94" role="button" title="danielmartynek_0-1659355387981.png" alt="danielmartynek_0-1659355387981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;extern ISR(EMIOS0_4_IRQ);

IntCtrl_Ip_InstallHandler(EMIOS0_4_IRQn, &amp;amp;EMIOS0_4_IRQ, NULL_PTR);
IntCtrl_Ip_EnableIrq(EMIOS0_4_IRQn);

Emios_Icu_Ip_EnableInterrupt(0, 7);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 12:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498807#M16772</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-08-01T12:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498840#M16774</link>
      <description>&lt;P&gt;Yeah, we have also configured the same IRQ Handler (EMIOS0_4_IRQ).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am calling &lt;STRONG&gt;Icu_EnableEdgeDetection&lt;/STRONG&gt; interface at Init phase which in turn calls&amp;nbsp;&lt;STRONG&gt;Emios_Icu_Ip_EnableInterrupt. &lt;/STRONG&gt;So, I hope this should be fine to enable the interrupt.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also instead of Platform module interfaces like &lt;STRONG&gt;InstallHandler&lt;/STRONG&gt; and &lt;STRONG&gt;EnableIrq&lt;/STRONG&gt;, we have configured interrupt in OS (Category 2 ISR) which will take care of triggering the interrupt.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;And the thing is, interrupt is getting triggered, when input is fed to the ICU pin, but it is left unhandled. Which means interrupt request is not assigned to the corresponding ISR. So, we are not sure whether the interrupt handler function (EMIOS0_4_IRQ) from MCL is mapped&amp;nbsp; properly to the Interrupt source.&lt;BR /&gt;&lt;BR /&gt;Is there any other specific configuration to be enabled for mapping IRQ with interrupt ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 13:12:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1498840#M16774</guid>
      <dc:creator>Sathishkumar_Rajkumar</dc:creator>
      <dc:date>2022-08-01T13:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499436#M16806</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204288"&gt;@Sathishkumar_Rajkumar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Hard to say, it would be better if I could test your project (or at least a simplified version of it) on my side.&lt;BR /&gt;You can refer to this example though:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K344-Example-Ocu-Overflow-Icu-Edge-S32DS34-RTD200-v2/ta-p/1455707" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/S32K344-Example-Ocu-Overflow-Icu-Edge-S32DS34-RTD200-v2/ta-p/1455707&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 09:31:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499436#M16806</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-08-02T09:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499463#M16811</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Due to company policy it is tough to share the project.&lt;/P&gt;&lt;P&gt;It would be really helpful if you could join a debug session.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your calendar to schedule the session.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 09:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499463#M16811</guid>
      <dc:creator>Sathishkumar_Rajkumar</dc:creator>
      <dc:date>2022-08-02T09:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499607#M16820</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204288"&gt;@Sathishkumar_Rajkumar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Our technical support does not provide debug sessions.&lt;/P&gt;
&lt;P&gt;You can create a ticket and share the project there privately.&lt;/P&gt;
&lt;P&gt;It does not have to be the whole project but a test project that replicates the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:06:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499607#M16820</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-08-02T13:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499639#M16822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could you please share the steps to create ticket.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 14:07:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499639#M16822</guid>
      <dc:creator>Sathishkumar_Rajkumar</dc:creator>
      <dc:date>2022-08-02T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499665#M16824</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204288"&gt;@Sathishkumar_Rajkumar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Go to nxp.com and login,&lt;/P&gt;
&lt;P&gt;you should see &lt;STRONG&gt;Support Tickets&lt;/STRONG&gt; as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1659451892567.png" style="width: 664px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/188859iB18ED102AB181338/image-dimensions/664x304?v=v2" width="664" height="304" role="button" title="danielmartynek_0-1659451892567.png" alt="danielmartynek_0-1659451892567.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 14:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1499665#M16824</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-08-02T14:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1543190#M18513</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have the same issue as below link and we already attached our project in the post, please help to check it. Thanks a lot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K344-MCAL-IPWM-ICU-CAPTURE/m-p/1543046#M18511" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K344-MCAL-IPWM-ICU-CAPTURE/m-p/1543046#M18511&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wade&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 07:08:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1543190#M18513</guid>
      <dc:creator>JAY_SUN1</dc:creator>
      <dc:date>2022-10-25T07:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unhandled IRQ error for ICU interrupt source</title>
      <link>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1845959#M34123</link>
      <description>&lt;P&gt;I am facing the Similar issue Did anyone manage to have a solution.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 08:52:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Unhandled-IRQ-error-for-ICU-interrupt-source/m-p/1845959#M34123</guid>
      <dc:creator>Hemant_Rawat</dc:creator>
      <dc:date>2024-04-12T08:52:42Z</dc:date>
    </item>
  </channel>
</rss>

