<?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: Encoder counting on FTM of KV58F in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Encoder-counting-on-FTM-of-KV58F/m-p/690987#M42571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I set INIT=0, MOD=65535 in sample project.&lt;/P&gt;&lt;P&gt;If I select pre_scale=1, the counts I get are 32 times of pre-scale=32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me why? My understanding is that the counts should be the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 13:36:45 GMT</pubDate>
    <dc:creator>a8Chcx</dc:creator>
    <dc:date>2017-08-02T13:36:45Z</dc:date>
    <item>
      <title>Encoder counting on FTM of KV58F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Encoder-counting-on-FTM-of-KV58F/m-p/690986#M42570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use demo application to do encoder(PhA and PhB) on FTM1 and FTM2 of KV58F.&lt;/P&gt;&lt;P&gt;I found the counting is related to "&lt;SPAN style="font-size: small;"&gt;ftmInfo.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;prescale&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; = &lt;/SPAN&gt;&lt;EM style="color: #0000c0; font-size: small;"&gt;kFTM_Prescale_Divide_32&lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;//kFTM_Prescale_Divide_32;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;If I use kFTM_Prescale_Divide_1, I got much more counting. Why? It should not be related to FTM clock, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;Christie&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 20:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Encoder-counting-on-FTM-of-KV58F/m-p/690986#M42570</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2017-08-01T20:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Encoder counting on FTM of KV58F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Encoder-counting-on-FTM-of-KV58F/m-p/690987#M42571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I set INIT=0, MOD=65535 in sample project.&lt;/P&gt;&lt;P&gt;If I select pre_scale=1, the counts I get are 32 times of pre-scale=32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me why? My understanding is that the counts should be the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 13:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Encoder-counting-on-FTM-of-KV58F/m-p/690987#M42571</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2017-08-02T13:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Encoder counting on FTM of KV58F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Encoder-counting-on-FTM-of-KV58F/m-p/690988#M42572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christie,&lt;/P&gt;&lt;P&gt;Please refer the 'Figure 44-3. FTM block diagram' in KV5XP144M240RM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM block diagram.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/10518i220BDB99264DBA3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM block diagram.png" alt="FTM block diagram.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The FTM counter clock is the selected clock divided by the prescaler.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Prescaler.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/10553iC510983BD70E1C1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Prescaler.png" alt="Prescaler.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 06:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Encoder-counting-on-FTM-of-KV58F/m-p/690988#M42572</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-08-04T06:47:25Z</dc:date>
    </item>
  </channel>
</rss>

