<?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>Kinetis Microcontrollers中的主题 Re: Quadrature encoder Kinetis k64</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743450#M45286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The KV4x and KV5x contain Quadrature Encoder/Decoder (ENC) module which support 32-bit position counter.&lt;/P&gt;&lt;P&gt;You can check if these MCU meet your needs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Quadrature Encoder Decoder (ENC).png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61973iD4D2BFAA5E13E52C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Quadrature Encoder Decoder (ENC).png" alt="Quadrature Encoder Decoder (ENC).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>Tue, 19 Jun 2018 09:13:30 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2018-06-19T09:13:30Z</dc:date>
    <item>
      <title>Quadrature encoder Kinetis k64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743447#M45283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to ask to you guys.&lt;/P&gt;&lt;P&gt;if i have to deal with counters higher than the 65535 from the 16 BITS counter.&lt;/P&gt;&lt;P&gt;how do you normally deal with that? use the overflow interrupt?&amp;nbsp;&lt;/P&gt;&lt;P&gt;what other way can i deal with that without loosing counts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 19:24:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743447#M45283</guid>
      <dc:creator>Edrianocarlos</dc:creator>
      <dc:date>2018-05-31T19:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Quadrature encoder Kinetis k64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743448#M45284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The overflow interrupt should be used to deal with it.&lt;BR /&gt;TOFDIR indicates the counting was up when the FTM counter overflow occurred.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM Counter overflow in up counting for Quadrature Decoder mode.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18108i6291017E18296A2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM Counter overflow in up counting for Quadrature Decoder mode.png" alt="FTM Counter overflow in up counting for Quadrature Decoder mode.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM counter overflow in down counting for Quadrature Decoder mode.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17507i641431E9CBEAF3DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM counter overflow in down counting for Quadrature Decoder mode.png" alt="FTM counter overflow in down counting for Quadrature Decoder mode.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>Wed, 06 Jun 2018 03:27:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743448#M45284</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-06-06T03:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Quadrature encoder Kinetis k64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743449#M45285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;Yes that is one way i thought how to implement.&lt;/P&gt;&lt;P&gt;My only concern is that lets suppose an overflow happen while i am reading the counter and updating the variable.&lt;/P&gt;&lt;P&gt;as i have a bigger variable i would need to increment it somewhere inside or outside the interrupt handle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;my encoder can generate 1MHz frequency 4 edges.&lt;/P&gt;&lt;P&gt;it is really hard to simulate it and trying to realize if this can even happen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 12:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743449#M45285</guid>
      <dc:creator>Edrianocarlos</dc:creator>
      <dc:date>2018-06-08T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Quadrature encoder Kinetis k64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743450#M45286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The KV4x and KV5x contain Quadrature Encoder/Decoder (ENC) module which support 32-bit position counter.&lt;/P&gt;&lt;P&gt;You can check if these MCU meet your needs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Quadrature Encoder Decoder (ENC).png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61973iD4D2BFAA5E13E52C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Quadrature Encoder Decoder (ENC).png" alt="Quadrature Encoder Decoder (ENC).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>Tue, 19 Jun 2018 09:13:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743450#M45286</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-06-19T09:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Quadrature encoder Kinetis k64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743451#M45287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robin.&lt;/P&gt;&lt;P&gt;I was able to make this one work.&lt;/P&gt;&lt;P&gt;running the core at 100 Mhz reading the counter and inc or dec one variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 00:50:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Quadrature-encoder-Kinetis-k64/m-p/743451#M45287</guid>
      <dc:creator>Edrianocarlos</dc:creator>
      <dc:date>2018-06-21T00:50:43Z</dc:date>
    </item>
  </channel>
</rss>

