<?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: eMIOS GPT ISR in S32K</title>
    <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1795487#M31088</link>
    <description>&lt;P&gt;i am using S32 Design Studio 3.5 with layest update. RTD 4.0.0. I am using the s32k3x4evb t172 board.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 14:55:45 GMT</pubDate>
    <dc:creator>SParihar</dc:creator>
    <dc:date>2024-01-25T14:55:45Z</dc:date>
    <item>
      <title>eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1791143#M30824</link>
      <description>&lt;P&gt;I am trying to make a project which uses eMIOS GPT to produce a periodic interrupt and blink the LED by defining the ISR. But on buiding &lt;STRONG&gt;undefined reference to 'EMIOS0_5_IRQ'&lt;/STRONG&gt; error is coming.&lt;BR /&gt;&lt;BR /&gt;Please tell me how can I solve this error and a proper way to define any ISR.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 14:10:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1791143#M30824</guid>
      <dc:creator>SParihar</dc:creator>
      <dc:date>2024-01-18T14:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1791328#M30835</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220636"&gt;@SParihar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_1-1705606880400.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258873iE71517CAD78258FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_1-1705606880400.png" alt="VaneB_1-1705606880400.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;According to this image shared, you have configured the interruption of EMIOS 0 CH 0 instead of CH 5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 19:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1791328#M30835</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-01-18T19:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1791584#M30849</link>
      <description>&lt;P&gt;I want to configure interruption of eMIOS0 Channel 0. For this channel I need to set EMIOS0_5_IRQ according to the interrupts list.&lt;BR /&gt;And I have updated the interrupt channel in Peripheral Configuration Tool. But still same error is coming.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 05:25:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1791584#M30849</guid>
      <dc:creator>SParihar</dc:creator>
      <dc:date>2024-01-19T05:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1792274#M30896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220636"&gt;@SParihar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for not explaining correctly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error shown in S32DS could be caused by the configuration of the ISR in the IntCtrl_Ip. In this configuration, you do not define the handler. So, when you call &lt;STRONG&gt;&lt;EM&gt;extern ISR(EMIOS0_5_IRQ) &lt;/EM&gt;&lt;/STRONG&gt;as the handler is not defined&amp;nbsp;causes the error "&lt;STRONG&gt;&lt;EM&gt;undefined reference to&lt;/EM&gt;&lt;/STRONG&gt;".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you refer to the PIT example you use as a reference, you will see that the handler is defined as &lt;EM&gt;&lt;STRONG&gt;PIT_0_ISR,&lt;/STRONG&gt;&lt;/EM&gt; which will be used in&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;extern ISR().&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_0-1705698505390.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259215i512B91D0D1A5A662/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_0-1705698505390.png" alt="VaneB_0-1705698505390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 21:08:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1792274#M30896</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-01-19T21:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1792370#M30903</link>
      <description>&lt;P&gt;If I define ISR similar to PIT example as shown in the picture, then also the same error comes.&lt;BR /&gt;I think either I am giving a wrong handler name (EMOIS_5_IRQ) in the Peripheral tool or I am not correctly installing the handler in the code.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 05:19:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1792370#M30903</guid>
      <dc:creator>SParihar</dc:creator>
      <dc:date>2024-01-20T05:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1794892#M31047</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220636"&gt;@SParihar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is possible, Could you share your code? So, I can test it from my side?&lt;/P&gt;
&lt;P&gt;Also, could you provide the device you are using, the IDE, and the RTD version?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 20:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1794892#M31047</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-01-24T20:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1795487#M31088</link>
      <description>&lt;P&gt;i am using S32 Design Studio 3.5 with layest update. RTD 4.0.0. I am using the s32k3x4evb t172 board.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 14:55:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1795487#M31088</guid>
      <dc:creator>SParihar</dc:creator>
      <dc:date>2024-01-25T14:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1797174#M31182</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220636"&gt;@SParihar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I look deep into your project and the following are my observations:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Initialize EMIOS instance 0 - Channel 0 */
//Emios_Gpt_Ip_InitChannel(EMIOS0_CH0, &amp;amp;EMIOS_0_ChannelConfig_PB[1]);
Emios_Gpt_Ip_InitChannel(EMIOS0_INST, &amp;amp;EMIOS_0_ChannelConfig_PB[1]);
/* Enable channel interrupt EMIOS 0 - CH_0 */
Emios_Gpt_Ip_EnableChannelInterrupt(EMIOS0_INST, EMIOS0_CH0);&lt;/LI-CODE&gt;&lt;LI-CODE lang="c"&gt;/* Install IRQ handler for EMIOS */
//IntCtrl_Ip_InstallHandler(EMIOS0_5_IRQn, EMIOS0_5_IRQ, NULL_PTR);
//IntCtrl_Ip_EnableIrq(EMIOS0_5_IRQn);
IntCtrl_Ip_Init(&amp;amp;IntCtrlConfig_0);
IntCtrl_Ip_EnableIrq(EMIOS0_5_IRQn);&lt;/LI-CODE&gt;&lt;LI-CODE lang="c"&gt;void PitNotification(void)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The EMIOS clock is 160MHz and the&amp;nbsp;EMIOS0_INTERVAL needs to be a value of 16bits.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to have a loop to&amp;nbsp;wait for the interrupt to occur - while (1).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;//extern void EMIOS0_5_IRQ(void);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_0-1706568283653.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260645iCF9DF05FE3588E5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_0-1706568283653.png" alt="VaneB_0-1706568283653.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_1-1706568293250.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260646i892335162F7C25FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_1-1706568293250.png" alt="VaneB_1-1706568293250.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 22:45:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1797174#M31182</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-01-29T22:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1799875#M31327</link>
      <description>&lt;P&gt;Sorry for the late reply,&lt;BR /&gt;I applied the changes you suggested and now the project is getting build without any errors.&lt;BR /&gt;But when running, the program goes into while loop and then gets stuck in the hard fault handler. It never goes into the PitNotification function.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 11:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1799875#M31327</guid>
      <dc:creator>SParihar</dc:creator>
      <dc:date>2024-02-01T11:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS GPT ISR</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1801109#M31393</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220636"&gt;@SParihar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you make any other changes in the configuration&amp;nbsp;apart from those shown in the images? Clock frequency? Peripherals?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 21:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-GPT-ISR/m-p/1801109#M31393</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-02-02T21:16:07Z</dc:date>
    </item>
  </channel>
</rss>

