<?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>S32K中的主题 Re: eMIOS-SAIC Intrupt</title>
    <link>https://community.nxp.com/t5/S32K/eMIOS-SAIC-Intrupt/m-p/2034506#M45458</link>
    <description>I have resolved this issue. can close it.</description>
    <pubDate>Mon, 27 Jan 2025 11:05:16 GMT</pubDate>
    <dc:creator>GaneshBhagwat</dc:creator>
    <dc:date>2025-01-27T11:05:16Z</dc:date>
    <item>
      <title>eMIOS-SAIC Intrupt</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-SAIC-Intrupt/m-p/2022494#M44814</link>
      <description>&lt;P&gt;I had 2 question regarding the SAIC&lt;/P&gt;&lt;P&gt;Q1.&lt;/P&gt;&lt;P&gt;I am trying to configure the SAIC to trigger on the rising edge and measure the PWM signal upon triggering. However, I am facing an issue:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When I configure the SAIC in 'Measurement' mode, it triggers continuously rather than only on the rising edge.&lt;/LI&gt;&lt;LI&gt;When I configure it in 'Edge Trigger' mode, I cannot measure the PWM signal.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The desired functionality is to calculate the PWM using 6 SAIC eMIOS channels only when PWM is given. How can I resolve this issue?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaneshBhagwat_0-1736155083584.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318198i892E1A3126524009/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaneshBhagwat_0-1736155083584.png" alt="GaneshBhagwat_0-1736155083584.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaneshBhagwat_1-1736155115316.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318199i3B634602DC38BBF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaneshBhagwat_1-1736155115316.png" alt="GaneshBhagwat_1-1736155115316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I use the above settings with the specified interrupt, the interrupt is triggered regardless of the presence of a rising edge or pulse on the pin. Even when there is no rising edge, it still enters the interrupt function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaneshBhagwat_2-1736155175713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318201i1108DEE1240F6F66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaneshBhagwat_2-1736155175713.png" alt="GaneshBhagwat_2-1736155175713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I use this mode then ‘Emios_Icu_Ip_GetDutyCycleValues’ function&amp;nbsp; does not return a value its always ‘0’&lt;/P&gt;&lt;P&gt;Could you please help me resolve this and suggest the best approach to achieve the desired functionality?&lt;/P&gt;&lt;P&gt;Q2.&lt;/P&gt;&lt;P&gt;I need to understand which interrupts can be mapped to specific eMIOS channels. For SAIC, I am using the following example as a reference: &lt;A href="https://community.nxp.com/t5/S32K/The-K344-uses-polling-to-capture-PWM-duty-cycles-emphasis-no/td-p/1883220" target="_blank"&gt;NXP Community Example&lt;/A&gt;[ &lt;A href="https://community.nxp.com/t5/S32K/The-K344-uses-polling-to-capture-PWM-duty-cycles-emphasis-no/td-p/1883220" target="_blank"&gt;https://community.nxp.com/t5/S32K/The-K344-uses-polling-to-capture-PWM-duty-cycles-emphasis-no/td-p/1883220&lt;/A&gt; ]. Additionally, I have configured the interrupt in this context.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaneshBhagwat_3-1736155333241.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318206i961C453E98DE852F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaneshBhagwat_3-1736155333241.png" alt="GaneshBhagwat_3-1736155333241.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not all interrupts, such as ‘EMIOS1_0_IRQn,’ can be mapped to every eMIOS channel. For instance, this interrupt works when mapped to eMIOS-0 Channel-10, but it does not work with eMIOS-1 Channel-1 in SAIC mode—it doesn’t trigger the interrupt function.&lt;/P&gt;&lt;P&gt;I came across this post on interrupt mapping: &lt;A href="https://community.nxp.com/t5/S32K/Need-some-clarification-regarding-Interrupt-Controller-eMios/m-p/1578452?profile.language=zh-CN" target="_blank"&gt;NXP Community Post&lt;/A&gt;[&lt;A href="https://community.nxp.com/t5/S32K/Need-some-clarification-regarding-Interrupt-Controller-eMios/m-p/1578452?profile.language=zh-CN" target="_blank"&gt;https://community.nxp.com/t5/S32K/Need-some-clarification-regarding-Interrupt-Controller-eMios/m-p/1578452?profile.language=zh-CN&lt;/A&gt;], which references the S32K3xx_interrupt_map.xlsx file. However, I didn’t fully understand how to use it.&lt;/P&gt;&lt;P&gt;If I want to check which interrupt can be used for eMIOS-1 Channel-1, how should I approach this? Also, I noticed that the same interrupt works for both eMIOS-0 Channel-10 and Channel-11. Does this mean it’s not possible to configure SAIC for both channels simultaneously using the interrupt?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 09:24:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-SAIC-Intrupt/m-p/2022494#M44814</guid>
      <dc:creator>GaneshBhagwat</dc:creator>
      <dc:date>2025-01-06T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS-SAIC Intrupt</title>
      <link>https://community.nxp.com/t5/S32K/eMIOS-SAIC-Intrupt/m-p/2034506#M45458</link>
      <description>I have resolved this issue. can close it.</description>
      <pubDate>Mon, 27 Jan 2025 11:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/eMIOS-SAIC-Intrupt/m-p/2034506#M45458</guid>
      <dc:creator>GaneshBhagwat</dc:creator>
      <dc:date>2025-01-27T11:05:16Z</dc:date>
    </item>
  </channel>
</rss>

