<?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: How can I measure the microseconds external Signals using S32K144 FTM Input Capture  in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776414#M2376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sakthivel,&lt;BR /&gt;There are two capture modes: Input capture mode and Dual-edge capture mode. &lt;BR /&gt;Input capture mode uses only one channel and generates interrupts when an active edge occurs in the channel input. Section 44.5.5, RM. It can be configured to generate interrupts on both edges. See Table 44-5. &lt;BR /&gt;But for pulse width measurement there is the Dual-edge capture mode which uses two channels (channel (n) and (n+1)) to capture active edges of the channel (n) input. This allows to measure positive/negative pulse width or period/frequency of the input signal. If both channel (n) ELSB:ELSA and channel (n+1) ELSB:ELSA bits select the same edge, then it is the period measurement. If these bits select different edges, then it is a pulse width measurement. Section 44.5.26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the clock initialization, it depends on the resolution you want to have. The FTM peripheral functional clock frequency can be up to SYS_CLK which is max 80MHz in RUN mode and 112MHz in HSRUN mode. The AN5303 project selects 112MHz from SPLLDIV1_CLK in HSRUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 20:36:07 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2018-05-03T20:36:07Z</dc:date>
    <item>
      <title>How can I measure the microseconds external Signals using S32K144 FTM Input Capture</title>
      <link>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776411#M2373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my project, I need to measure the external Signals high and Low period using FTM input capture Mode,&lt;/P&gt;&lt;P&gt;1) The external signal is in a microsecond (example High: 60us and Low:60us).&lt;/P&gt;&lt;P&gt;2) I have used the FTM0 ch6 for my IC module.&lt;/P&gt;&lt;P&gt;3) How to set up the FTM0_init Timer setting for measure the microsecond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has measured the microsecond external signals using the IC mode,&lt;/P&gt;&lt;P&gt;Please help me to configure the FTM0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other methods are available please&amp;nbsp;let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thaks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sakthivel K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 07:48:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776411#M2373</guid>
      <dc:creator>sakthivelkuland</dc:creator>
      <dc:date>2018-04-27T07:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I measure the microseconds external Signals using S32K144 FTM Input Capture</title>
      <link>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776412#M2374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Sakthivel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You need to use&amp;nbsp;Dual-edge capture mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You may refer to&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5303.pdf"&gt;AN5303&amp;nbsp;Features and Operation Modes of FlexTimer Module on S32K&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note-software/AN5303SW.zip"&gt;AN5303SW&lt;/A&gt;, SW5.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please do not import the project. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The code was written for the first S32K144 maskset 0N77P, there are outdated header files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 13:40:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776412#M2374</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-04-30T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I measure the microseconds external Signals using S32K144 FTM Input Capture</title>
      <link>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776413#M2375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response and reference document.&lt;/P&gt;&lt;P&gt;My requirement is single external signal(Sensor) has been input to the MCU for measure the width of the High and Low duration.&lt;/P&gt;&lt;P&gt;Is that Dual-edge Capture Mode can able to capture width of both the edge of the input signal.&lt;/P&gt;&lt;P&gt;This examples with the document are measure only the postive edge of the signals.&lt;/P&gt;&lt;P&gt;Can I use the&amp;nbsp;Single-edge capture mode with configuration of the rising and falling edge interrupt , In ISR can calculate the with of input signal.&lt;/P&gt;&lt;P&gt;How to initialize the clock for the FTM Module and pre-scaler values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sakthivel K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 04:59:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776413#M2375</guid>
      <dc:creator>sakthivelkuland</dc:creator>
      <dc:date>2018-05-01T04:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I measure the microseconds external Signals using S32K144 FTM Input Capture</title>
      <link>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776414#M2376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sakthivel,&lt;BR /&gt;There are two capture modes: Input capture mode and Dual-edge capture mode. &lt;BR /&gt;Input capture mode uses only one channel and generates interrupts when an active edge occurs in the channel input. Section 44.5.5, RM. It can be configured to generate interrupts on both edges. See Table 44-5. &lt;BR /&gt;But for pulse width measurement there is the Dual-edge capture mode which uses two channels (channel (n) and (n+1)) to capture active edges of the channel (n) input. This allows to measure positive/negative pulse width or period/frequency of the input signal. If both channel (n) ELSB:ELSA and channel (n+1) ELSB:ELSA bits select the same edge, then it is the period measurement. If these bits select different edges, then it is a pulse width measurement. Section 44.5.26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the clock initialization, it depends on the resolution you want to have. The FTM peripheral functional clock frequency can be up to SYS_CLK which is max 80MHz in RUN mode and 112MHz in HSRUN mode. The AN5303 project selects 112MHz from SPLLDIV1_CLK in HSRUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 20:36:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-can-I-measure-the-microseconds-external-Signals-using/m-p/776414#M2376</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-05-03T20:36:07Z</dc:date>
    </item>
  </channel>
</rss>

