<?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: FTM operates with wrong clock when FIRC is selected as input clock?!</title>
    <link>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1212748#M9618</link>
    <description>&lt;P&gt;meanwhile reading RM, I see 2 points:&lt;/P&gt;&lt;P&gt;1. as you can see in below image, there is a synchronizer block between External clocks (which can include FIRC_DIV_1, SIR_DIV_1, SPLL_DIV_1 or TCLK[0:1]) and the FTM input. Unfortunately additional explanation about this block is not available and maybe this block is cause of the my question in first post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="synchronizer.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134939i6ACBD9FABD601374/image-size/large?v=v2&amp;amp;px=999" role="button" title="synchronizer.jpg" alt="synchronizer.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Has anybody any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. In continue, there is one paragraph about this block which is vague also:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="external clock detail.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134940i99092BC5C486BDF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="external clock detail.JPG" alt="external clock detail.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is purpose of these details about FTM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jan 2021 13:01:31 GMT</pubDate>
    <dc:creator>JeorgeB</dc:creator>
    <dc:date>2021-01-16T13:01:31Z</dc:date>
    <item>
      <title>FTM operates with wrong clock when FIRC is selected as input clock?!</title>
      <link>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1212725#M9615</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use S32K144 and st the clock as following with using SOSC:&lt;/P&gt;&lt;P&gt;SOSC : 8MHz,&amp;nbsp; SPLL:160MHz, CORE_CLK: 80MHz,&amp;nbsp;BUS_CLK: 40MHz;&amp;nbsp;CLK_SRC_FIRC_DIV1:48MHz.&lt;/P&gt;&lt;P&gt;I select internal clock as input clock for FTM0 which is&amp;nbsp;CLK_SRC_FIRC_DIV1 (48MHz), but when I run timer in normal counter and observe compare interrupt, it seems that timer work with 32MHz clock !!!&lt;/P&gt;&lt;P&gt;Next, I changed the&amp;nbsp;CLK_SRC_FIRC_DIV1 to 2 and FTM works with correct frequency which is 24MHz !!!&lt;/P&gt;&lt;P&gt;FTM works fine with SOSC, SIRC, SPLL_DIV_2, SYS_CLK, LPO_CLK, but problem is when using FIRC as clock source for FTM with 48MHz configuration!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;has anybody any comment !&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 08:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1212725#M9615</guid>
      <dc:creator>JeorgeB</dc:creator>
      <dc:date>2021-01-16T08:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: FTM operates with wrong clock when FIRC is selected as input clock?!</title>
      <link>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1212740#M9617</link>
      <description>&lt;P&gt;I test an alternative clock source which in&amp;nbsp;FTM_CLOCK_SOURCE_FIXEDCLK is used as FTM input clock. FIRC_DIV_1 is selected as RTC_CLK output which is "FTM_CLOCK_SOURCE_FIXEDCLK".&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the result is the same as previous. When I change the prescaler in FTM registers, clock changes to : 32MHz, 16MHz, 8MHz , .... . It seems when choosing frequency of the FIRC (48MHz) as FTM input in any method (either with&amp;nbsp;PCC_FLEXTMRn[PCS] or&amp;nbsp;Fixed frequency clock) the clock changes from 48MHz to 32MHz !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. I monitor the RTC_CLK in CLKOUT pin and there is a 48MHz signal which is correct !&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 11:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1212740#M9617</guid>
      <dc:creator>JeorgeB</dc:creator>
      <dc:date>2021-01-16T11:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: FTM operates with wrong clock when FIRC is selected as input clock?!</title>
      <link>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1212748#M9618</link>
      <description>&lt;P&gt;meanwhile reading RM, I see 2 points:&lt;/P&gt;&lt;P&gt;1. as you can see in below image, there is a synchronizer block between External clocks (which can include FIRC_DIV_1, SIR_DIV_1, SPLL_DIV_1 or TCLK[0:1]) and the FTM input. Unfortunately additional explanation about this block is not available and maybe this block is cause of the my question in first post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="synchronizer.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134939i6ACBD9FABD601374/image-size/large?v=v2&amp;amp;px=999" role="button" title="synchronizer.jpg" alt="synchronizer.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Has anybody any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. In continue, there is one paragraph about this block which is vague also:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="external clock detail.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134940i99092BC5C486BDF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="external clock detail.JPG" alt="external clock detail.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is purpose of these details about FTM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 13:01:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1212748#M9618</guid>
      <dc:creator>JeorgeB</dc:creator>
      <dc:date>2021-01-16T13:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: FTM operates with wrong clock when FIRC is selected as input clock?!</title>
      <link>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1216721#M9642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;JeorgeB,&lt;/P&gt;
&lt;P&gt;According to the description of "&lt;STRONG&gt;47.5.1.1 Counter clock source&lt;/STRONG&gt;" and "&lt;STRONG&gt;Table 27-9. Peripheral module clocking&lt;/STRONG&gt;":&lt;BR /&gt;The frequency of the &lt;EM&gt;fixed frequency clock&lt;/EM&gt;(&lt;STRONG&gt;RTC_CLK&lt;/STRONG&gt;) must not exceed &lt;STRONG&gt;1/2&lt;/STRONG&gt; of the FTM input clock frequency(FTM System clock&lt;STRONG&gt; SYS_CLK&lt;/STRONG&gt;)..&lt;BR /&gt;The frequency of the &lt;EM&gt;external clock source&lt;/EM&gt;(&lt;STRONG&gt;TCLK0 \ TCLK1 \ TCLK2 \ SOSCDIV1_CLK \ SIRCDIV1_CLK \ FIRCDIV1_CLK \ SPLLDIV1_CLK&lt;/STRONG&gt;) must not exceed &lt;STRONG&gt;1/4&lt;/STRONG&gt; of the FTM input clock frequency(FTM System clock&lt;STRONG&gt; SYS_CLK&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47.5.1.1 Counter clock source.png" style="width: 810px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135198iBB46CD7C2E72CBBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="47.5.1.1 Counter clock source.png" alt="47.5.1.1 Counter clock source.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Table 27-9. Peripheral module clocking.png" style="width: 981px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135202i1FD22F59480C35D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 27-9. Peripheral module clocking.png" alt="Table 27-9. Peripheral module clocking.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Due to: SYS_CLK = CORE_CLK = 80MHz&lt;BR /&gt;So:&lt;BR /&gt;Frequency of external clock source should not exceed 20MHz.&lt;BR /&gt;Frequency of fixed clock source should not exceed 40MHz.&lt;/P&gt;
&lt;P&gt;But it seems to conflict with your test results. Would you please attached your test project? So that I can test it faster.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 09:10:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FTM-operates-with-wrong-clock-when-FIRC-is-selected-as-input/m-p/1216721#M9642</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-01-19T09:10:41Z</dc:date>
    </item>
  </channel>
</rss>

