<?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: S32K142 PWM Signal input reading in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2410815#M60859</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you so much for quick reply.&lt;/P&gt;&lt;P&gt;One small doubt, can i use single CH to measure both duty cycle and period?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i set input capture mode as DETECT BOTH EDGE. What measurement value i will get from&amp;nbsp;&lt;STRONG&gt;IC_GetMeasurement&lt;/STRONG&gt;?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2026 05:58:41 GMT</pubDate>
    <dc:creator>nirmal_masilamani</dc:creator>
    <dc:date>2026-09-03T05:58:41Z</dc:date>
    <item>
      <title>S32K142 PWM Signal input reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2410575#M60836</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;Is there any example available for PWM reading in S32K142 using FTM input capture?&lt;/P&gt;&lt;P&gt;If yes, please share the example.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2026 12:02:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2410575#M60836</guid>
      <dc:creator>nirmal_masilamani</dc:creator>
      <dc:date>2026-09-02T12:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 PWM Signal input reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2410718#M60849</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233316"&gt;@nirmal_masilamani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can refer to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Example 4.&lt;/STRONG&gt; from&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5303.pdf" target="_blank"&gt;AN5303: Features and Operation Modes of FlexTimer Module on S32K – Application Note&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Example&amp;nbsp;2.5 Timed I/O (FTM)&lt;/STRONG&gt; from&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5413.pdf" target="_blank"&gt;AN5413: S32K1xx Series Cookbook – Application Note&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Ftm_Icu_Ip_BlinkLed_S32K144 example from RTD package (uses&amp;nbsp;&lt;SPAN&gt;Ftm_Icu_Ip_EnableEdgeDetection API)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;ic_pal &amp;amp;&amp;nbsp;ftm_signal_measurement examlpes from SDK&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;You can also refer to some community posts:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/S32K/s32k1-How-to-measure-PWM-frequency-and-duty-cycle-on-the-same/td-p/2190078" target="_blank"&gt;s32k1：How to measure PWM frequency and duty cycle on the same FTM channel&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K-Input-Capture/m-p/2252941" target="_blank"&gt;S32K Input Capture&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1-Calculate-the-motor-speed-based-on-the-FTM/ta-p/1515933" target="_blank"&gt;S32K1-Calculate the motor speed based on the FTM&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 03 Sep 2026 00:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2410718#M60849</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2026-09-03T00:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 PWM Signal input reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2410815#M60859</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you so much for quick reply.&lt;/P&gt;&lt;P&gt;One small doubt, can i use single CH to measure both duty cycle and period?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i set input capture mode as DETECT BOTH EDGE. What measurement value i will get from&amp;nbsp;&lt;STRONG&gt;IC_GetMeasurement&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 05:58:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2410815#M60859</guid>
      <dc:creator>nirmal_masilamani</dc:creator>
      <dc:date>2026-09-03T05:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 PWM Signal input reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2411099#M60872</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233316"&gt;@nirmal_masilamani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Input capture supports 3 modes:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Capture on Rising Edge Only -&amp;gt; period only&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Capture on Falling Edge Only -&amp;gt; period only&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Capture on Rising or Falling Edge -&amp;gt; Need to read the level status through GPIO or CnSC [CHIS] bit to know the high-level pulse width or the low-level pulse width.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; The CHIS bit should be ignored when the channel (n) is not in an input mode.&lt;BR /&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; When the pair channels is on dual edge mode, the channel (n+1) CHIS bit is the channel (n+1) input value and not the channel (n) input value (this signal is the input signal used by the dual edge mode).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For PWM duty cycle capture, you should use dual edge capture.&amp;nbsp;Otherwise, you will only get the period of high level or low level. In the dual edge capture mode, only channel (n) input is used and channel (n+1) input is ignored.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1788457862022.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/395881i8689084ABF920637/image-size/large?v=v2&amp;amp;px=999" role="button" title="Julin_AragnM_0-1788457862022.png" alt="Julin_AragnM_0-1788457862022.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_0-1788457862022.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;IC_GetMeasurement will return the pulse width in ticks, which you can then use to calculate signal frequency:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Get the latest value */
inputCaptureMeas = IC_GetMeasurement(&amp;amp;ic_pal_1_instanceConfig, channel);
/* Calculate the signal frequency using recorded data*/
inputCaptureMeas = frequency / (inputCaptureMeas);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 18:03:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2411099#M60872</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2026-09-03T18:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 PWM Signal input reading</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2411527#M60891</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for reply.&lt;/P&gt;&lt;P&gt;I am still little confused.&lt;/P&gt;&lt;P&gt;To measure PWM signal, how many pins i need?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using IC_PAL for measuring. But i am unable to measure PWM using signal pin and single ch.&lt;/P&gt;&lt;P&gt;RTD used V4.0.0&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2026 11:29:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-PWM-Signal-input-reading/m-p/2411527#M60891</guid>
      <dc:creator>nirmal_masilamani</dc:creator>
      <dc:date>2026-09-05T11:29:53Z</dc:date>
    </item>
  </channel>
</rss>

