<?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: K82 FTM2 Quad decoder is inaccurate in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713438#M65500</link>
    <description>&lt;P&gt;Thanks for the reply.&amp;nbsp; I'll have to dig up a freedom board and investigate.&amp;nbsp; I'm currently working with custom hardware that has the encoder routed to PTB18 and PTB19, so FTM2 is all I have at my immediate disposal.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2023 18:38:50 GMT</pubDate>
    <dc:creator>JustSomeGuy</dc:creator>
    <dc:date>2023-08-29T18:38:50Z</dc:date>
    <item>
      <title>K82 FTM2 Quad decoder is inaccurate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713329#M65497</link>
      <description>&lt;P&gt;I'm working with a K82 MCU and a magnetic encoder attached to a motor.&amp;nbsp; The encoder has 512 counts per rotation; with my targeted motor speed, the encoder output should be around 10KHz.&amp;nbsp; I've configured FTM2 as a quad decoder.&amp;nbsp; The clock is 60MHz and has a prescaler of 16.&amp;nbsp; I am not using semi-hosting for debugging.&lt;/P&gt;&lt;P&gt;The quad decoder is not working properly - it might be losing counts, but that's hard to say because the bigger issue is that the direction is unreliable.&amp;nbsp; When hand turning the motor, if I pause for a moment, then resume turning, there is a high probability that the direction will flip.&amp;nbsp; I've been at this for a while; changing clock frequencies, adding filters, etc. to no avail.&amp;nbsp; Scope captures of the encoder show a very clean signal.&amp;nbsp; What could be causing this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 14:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713329#M65497</guid>
      <dc:creator>JustSomeGuy</dc:creator>
      <dc:date>2023-08-29T14:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: K82 FTM2 Quad decoder is inaccurate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713433#M65499</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;The &lt;EM&gt;frdmk82f_ftm_quad_decoder_peripheral&lt;/EM&gt; SDK example use the FTM1, Does the same thing happen to you with the latter?&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 18:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713433#M65499</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2023-08-29T18:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: K82 FTM2 Quad decoder is inaccurate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713438#M65500</link>
      <description>&lt;P&gt;Thanks for the reply.&amp;nbsp; I'll have to dig up a freedom board and investigate.&amp;nbsp; I'm currently working with custom hardware that has the encoder routed to PTB18 and PTB19, so FTM2 is all I have at my immediate disposal.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 18:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713438#M65500</guid>
      <dc:creator>JustSomeGuy</dc:creator>
      <dc:date>2023-08-29T18:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: K82 FTM2 Quad decoder is inaccurate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713462#M65502</link>
      <description>&lt;P&gt;It turns out that the problem was an assembly defect - one of the MCU pins was not soldered down to its pad.&amp;nbsp; Firmware debugging is always an adventure.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 19:32:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-FTM2-Quad-decoder-is-inaccurate/m-p/1713462#M65502</guid>
      <dc:creator>JustSomeGuy</dc:creator>
      <dc:date>2023-08-29T19:32:14Z</dc:date>
    </item>
  </channel>
</rss>

