<?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 Motor SuiteのトピックRe: Cannot find Quadrature driver example</title>
    <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Cannot-find-Quadrature-driver-example/m-p/713369#M282</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;Encoder Lines in &lt;A href="https://www.nxp.com/docs/en/user-guide/KMSUG.pdf"&gt;Kinetis Motor Suite User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Encoder Lines.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7581iB16DC2C0C86083D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Encoder Lines.png" alt="Encoder Lines.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QEIS_readPositionCounter will not give you velocity.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QEIS_readPositionCounter.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7731iC468F55C8B0C338D/image-size/large?v=v2&amp;amp;px=999" role="button" title="QEIS_readPositionCounter.png" alt="QEIS_readPositionCounter.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;FRDMKV31F_SNSRDVEL_KDS_1_1_0_312&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SNSRDVEL.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7819i0296F67E0BFB4A73/image-size/large?v=v2&amp;amp;px=999" role="button" title="SNSRDVEL.png" alt="SNSRDVEL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&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, 27 Oct 2017 06:44:10 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2017-10-27T06:44:10Z</dc:date>
    <item>
      <title>Cannot find Quadrature driver example</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Cannot-find-Quadrature-driver-example/m-p/713367#M280</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 using KDS3.2 and KSDK 1.3 with KMS and I need a quadrature driver in order to measure thevelocity of a wheel. There is no examples in KSDK 1.3 examples' folders and the qei_sys.h,created by KMS, is a little bit confusing yet. So, is there any examples regarding quadrature encoders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, regarding qei_sys.h generated by KMS. I have some doubts:&lt;BR /&gt;1)&amp;nbsp; in function:&amp;nbsp;void QEIS_init(uint16_t qeiMaxPosCount){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* set the maximum count value equal to (4 * encoderLines) - 1 */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FTM_HAL_SetMod(FTM_ENCODER_BASE, qeiMaxPosCount);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by encoder lines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The function:&lt;/P&gt;&lt;P&gt;uint16_t QEIS_readPositionCounter(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;return FTM_HAL_GetCounter(FTM_ENCODER_BASE);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives me a position counter, that does not represent velocity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I obtain the velocity from this API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 22:14:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Cannot-find-Quadrature-driver-example/m-p/713367#M280</guid>
      <dc:creator>PedroCastro</dc:creator>
      <dc:date>2017-09-25T22:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find Quadrature driver example</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Cannot-find-Quadrature-driver-example/m-p/713368#M281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pedro,&lt;/P&gt;&lt;P&gt;The quadrature encoder interface doesn't contain the velocity calculation.&amp;nbsp; This is done in the encoder block.&amp;nbsp; This block is abstracted from the type of encoder and thus can work with any encoder type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might be better served by looking at a sensored velocity example project for how to work with the encoder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 02:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Cannot-find-Quadrature-driver-example/m-p/713368#M281</guid>
      <dc:creator>linestream-adam</dc:creator>
      <dc:date>2017-09-26T02:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find Quadrature driver example</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/Cannot-find-Quadrature-driver-example/m-p/713369#M282</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;Encoder Lines in &lt;A href="https://www.nxp.com/docs/en/user-guide/KMSUG.pdf"&gt;Kinetis Motor Suite User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Encoder Lines.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7581iB16DC2C0C86083D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Encoder Lines.png" alt="Encoder Lines.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QEIS_readPositionCounter will not give you velocity.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QEIS_readPositionCounter.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7731iC468F55C8B0C338D/image-size/large?v=v2&amp;amp;px=999" role="button" title="QEIS_readPositionCounter.png" alt="QEIS_readPositionCounter.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;FRDMKV31F_SNSRDVEL_KDS_1_1_0_312&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SNSRDVEL.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7819i0296F67E0BFB4A73/image-size/large?v=v2&amp;amp;px=999" role="button" title="SNSRDVEL.png" alt="SNSRDVEL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&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, 27 Oct 2017 06:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/Cannot-find-Quadrature-driver-example/m-p/713369#M282</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-10-27T06:44:10Z</dc:date>
    </item>
  </channel>
</rss>

