<?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: Timer interrupt using FTM in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457882#M15415</link>
    <description>&lt;P&gt;Hi&amp;nbsp;KKumar,&lt;/P&gt;
&lt;P&gt;According to the description in "47.4.3.6 Channel (n) Value (C0V - C7V)" of &lt;A id="relatedDocsClickPDF_1" class="dtmcustomrulelink" href="https://www.nxp.com/webapp/Download?colCode=S32K1XXRM" target="_blank" rel="noopener" data-dtmaction="Design Resources Section - Documentation - Results Link Click" data-dtmsubaction="S32K1xx MCU Family - Reference Manual - NXP - Reference Manual - English"&gt;&lt;SPAN&gt;S32K1xx MCU Family - Reference Manual&lt;/SPAN&gt;&lt;/A&gt;, CnV should be wrote when the channel in output mode. But according to your codes and "Table 47-5. Channel Modes Selection", seems that channel 0 is not configured as output mode. So during debug you may find that the FTM0_C0V is always 0.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47.4.3.6 Channel (n) Value (C0V - C7V).png" style="width: 972px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179748i427F4346AA149475/image-size/large?v=v2&amp;amp;px=999" role="button" title="47.4.3.6 Channel (n) Value (C0V - C7V).png" alt="47.4.3.6 Channel (n) Value (C0V - C7V).png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2022 10:29:42 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-05-13T10:29:42Z</dc:date>
    <item>
      <title>Timer interrupt using FTM</title>
      <link>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457661#M15407</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i wanted to configure FTM0 Channel 0 to interrupt(&lt;STRONG&gt;FTM_ch0_ch1_IRQHandler&lt;/STRONG&gt;) on every 1 sec whenever FTM_COUNTER VALUE matches with CnV. FTM0 is configured to &lt;STRONG&gt;Free Running counter&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FTM0_Ovf_Reload_IRQHandler&lt;/STRONG&gt; is working well.&lt;/P&gt;&lt;P&gt;(&lt;STRONG&gt;FTM_ch0_ch1_IRQHandler&lt;/STRONG&gt;) is not working.&lt;/P&gt;&lt;P&gt;But somehow interrupt is not working. I have attached the program file.&lt;/P&gt;&lt;P&gt;External clock : 12 Mhz&lt;/P&gt;&lt;P&gt;SOSC_DIV1 and SOSC_DIV2 : 6 Mhz&lt;/P&gt;&lt;P&gt;CHIE = 1&lt;/P&gt;&lt;P&gt;TOIE = 1&lt;/P&gt;&lt;P&gt;Please verify and tell me what wrong i am doing here.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 07:21:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457661#M15407</guid>
      <dc:creator>KKumar</dc:creator>
      <dc:date>2022-05-13T07:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Timer interrupt using FTM</title>
      <link>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457882#M15415</link>
      <description>&lt;P&gt;Hi&amp;nbsp;KKumar,&lt;/P&gt;
&lt;P&gt;According to the description in "47.4.3.6 Channel (n) Value (C0V - C7V)" of &lt;A id="relatedDocsClickPDF_1" class="dtmcustomrulelink" href="https://www.nxp.com/webapp/Download?colCode=S32K1XXRM" target="_blank" rel="noopener" data-dtmaction="Design Resources Section - Documentation - Results Link Click" data-dtmsubaction="S32K1xx MCU Family - Reference Manual - NXP - Reference Manual - English"&gt;&lt;SPAN&gt;S32K1xx MCU Family - Reference Manual&lt;/SPAN&gt;&lt;/A&gt;, CnV should be wrote when the channel in output mode. But according to your codes and "Table 47-5. Channel Modes Selection", seems that channel 0 is not configured as output mode. So during debug you may find that the FTM0_C0V is always 0.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47.4.3.6 Channel (n) Value (C0V - C7V).png" style="width: 972px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179748i427F4346AA149475/image-size/large?v=v2&amp;amp;px=999" role="button" title="47.4.3.6 Channel (n) Value (C0V - C7V).png" alt="47.4.3.6 Channel (n) Value (C0V - C7V).png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 10:29:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457882#M15415</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-05-13T10:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timer interrupt using FTM</title>
      <link>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457899#M15416</link>
      <description>&lt;P&gt;Thanks Robin for the Reply&lt;/P&gt;&lt;P&gt;But I wanted to disable the MCU pins for FTM means (&lt;STRONG&gt;ELSB:ELSA = 0:0&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;And for Output compare &lt;STRONG&gt;ELSB:ELSA = 0:1/1:0/1:1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is it possible for disable pins while FTM is in Output Compare mode AND&amp;nbsp; &lt;STRONG&gt;use mcu pins as GPIO&lt;/STRONG&gt;??&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 11:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457899#M15416</guid>
      <dc:creator>KKumar</dc:creator>
      <dc:date>2022-05-13T11:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Timer interrupt using FTM</title>
      <link>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457979#M15422</link>
      <description>&lt;P&gt;Have you try this: 47.5.33 External Control of Channels Output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47.5.33 External Control of Channels Output.png" style="width: 810px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179769iD1C8312DCB77FA02/image-size/large?v=v2&amp;amp;px=999" role="button" title="47.5.33 External Control of Channels Output.png" alt="47.5.33 External Control of Channels Output.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 13:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Timer-interrupt-using-FTM/m-p/1457979#M15422</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-05-13T13:10:27Z</dc:date>
    </item>
  </channel>
</rss>

