<?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: Routing Comparator(LPCMP) Output to eMIOS (IPWM Mode) for Frequency Measurement in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2084077#M47962</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;Please try the following steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ensure IPWM measurement works with an external signal connected directly to a pin configured as eMIOS.&lt;/LI&gt;
&lt;LI&gt;Route the CMP out signal to an external pin (through TRGMUX) to ensure the desired signal, for debugging purposes.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope it helps you. Please let me know your results.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2025 22:35:09 GMT</pubDate>
    <dc:creator>_Leo_</dc:creator>
    <dc:date>2025-04-21T22:35:09Z</dc:date>
    <item>
      <title>Routing Comparator(LPCMP) Output to eMIOS (IPWM Mode) for Frequency Measurement</title>
      <link>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2083829#M47953</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to route the output of the comparator to an eMIOS channel configured in IPWM mode, with the goal of measuring the frequency of the comparator's output. I’ve set up the TRGMUX configuration as shown below, but I’m not seeing any response on eMIOS channel 1 as expected.&lt;/P&gt;&lt;P&gt;Could someone please help me identify what might be missing or guide me on how to properly achieve this setup?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaneshBhagwat_0-1745231672484.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334062iF5699A8BA88F338C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaneshBhagwat_0-1745231672484.png" alt="GaneshBhagwat_0-1745231672484.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 10:34:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2083829#M47953</guid>
      <dc:creator>GaneshBhagwat</dc:creator>
      <dc:date>2025-04-21T10:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Comparator(LPCMP) Output to eMIOS (IPWM Mode) for Frequency Measurement</title>
      <link>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2084077#M47962</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;Please try the following steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ensure IPWM measurement works with an external signal connected directly to a pin configured as eMIOS.&lt;/LI&gt;
&lt;LI&gt;Route the CMP out signal to an external pin (through TRGMUX) to ensure the desired signal, for debugging purposes.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope it helps you. Please let me know your results.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 22:35:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2084077#M47962</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2025-04-21T22:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Comparator(LPCMP) Output to eMIOS (IPWM Mode) for Frequency Measurement</title>
      <link>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2085373#M48058</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've tested the IPWM module separately and successfully generated the CMP output to the LCU. This output was then routed and verified—I've attached the corresponding waveform below.&lt;/P&gt;&lt;P&gt;I also tried configuring IPWM as an interrupt source via TRGMUX, but I didn’t receive any interrupt events. Interestingly, when I connect the signal directly to the pin, IPWM reads the values correctly(so there is no issue in the IPWM).&lt;/P&gt;&lt;P&gt;However, I believe I found a workaround for the TRGMUX issue. By configuring the LCU output again as an eMIOS input pin, I’m able to retrieve the desired signal as required.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That said, I’m facing a problem when trying to measure the &lt;/SPAN&gt;&lt;SPAN&gt;period&lt;/SPAN&gt;&lt;SPAN&gt;. It works fine when the measurement mode is set to &lt;/SPAN&gt;&lt;SPAN&gt;DutyCycle&lt;/SPAN&gt;&lt;SPAN&gt;, but when I switch to &lt;/SPAN&gt;&lt;SPAN&gt;Period&lt;/SPAN&gt;&lt;SPAN&gt; mode (IP → IPWM), I don’t get any values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently, I'm using the &lt;/SPAN&gt;&lt;SPAN&gt;Emios_Icu_Ip_GetDutyCycleValues()&lt;/SPAN&gt;&lt;SPAN&gt; function, since the &lt;/SPAN&gt;&lt;SPAN&gt;GetPulseWidth()&lt;/SPAN&gt;&lt;SPAN&gt; function doesn’t return any values. How can I retrieve the period value when the channel is configured in IP mode using eMIOS_ICU?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Would appreciate your help on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**I’ve attached the comparator output, along with a reference to the `Emios_Icu_Ip_GetPulseWidth()` function. Since this function doesn’t return a value, could you please clarify how it’s intended to be used? Is it updating any internal register or buffer that we should access separately?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaneshBhagwat_0-1745402522021.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334473iA1D9BFC59542365C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaneshBhagwat_0-1745402522021.png" alt="GaneshBhagwat_0-1745402522021.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaneshBhagwat_1-1745402572591.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334474iB6AA6817542CF74B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaneshBhagwat_1-1745402572591.jpeg" alt="GaneshBhagwat_1-1745402572591.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 10:03:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2085373#M48058</guid>
      <dc:creator>GaneshBhagwat</dc:creator>
      <dc:date>2025-04-23T10:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Routing Comparator(LPCMP) Output to eMIOS (IPWM Mode) for Frequency Measurement</title>
      <link>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2089500#M48304</link>
      <description>I have resolved this issue. can close the same</description>
      <pubDate>Tue, 29 Apr 2025 15:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Routing-Comparator-LPCMP-Output-to-eMIOS-IPWM-Mode-for-Frequency/m-p/2089500#M48304</guid>
      <dc:creator>GaneshBhagwat</dc:creator>
      <dc:date>2025-04-29T15:53:39Z</dc:date>
    </item>
  </channel>
</rss>

