<?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 KV5x: How to connect the encoder inputs to a general purpose timer? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564876#M33913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Section 47.2.1 of the KV5x Reference Manual states that "Inputs can be connected to a general purpose timer to aid low speed velocity". How can it be done if there is only one input capture connected to&amp;nbsp;a XBARA outuput( XBARA_OUT42)?&lt;/P&gt;&lt;P&gt;Ari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2016 11:55:33 GMT</pubDate>
    <dc:creator>arimendes</dc:creator>
    <dc:date>2016-08-26T11:55:33Z</dc:date>
    <item>
      <title>KV5x: How to connect the encoder inputs to a general purpose timer?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564876#M33913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Section 47.2.1 of the KV5x Reference Manual states that "Inputs can be connected to a general purpose timer to aid low speed velocity". How can it be done if there is only one input capture connected to&amp;nbsp;a XBARA outuput( XBARA_OUT42)?&lt;/P&gt;&lt;P&gt;Ari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 11:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564876#M33913</guid>
      <dc:creator>arimendes</dc:creator>
      <dc:date>2016-08-26T11:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: KV5x: How to connect the encoder inputs to a general purpose timer?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564877#M33914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;High-speed velocity is easily determined as 'counts per interval', but low-speed is best measured by looking at pulse-width.&amp;nbsp; The two encoder lines will ALWAYS have the same pulse widths (just interleaved!), so it is sufficient to hook just one to a timer-capture input to give you clock-counts-between-edges as pulse-width, the inverse of velocity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 15:06:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564877#M33914</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2016-08-26T15:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: KV5x: How to connect the encoder inputs to a general purpose timer?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564878#M33915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For KV5X, you have to connect the encoder signals ENC_PHA and ENC_PHB to XB_INx for example XB_IN2 and XB_IN3 and use crossbar to route them to XBARA_OUT44(ENC_PHA) and XBARA_OUT45(ENC_PHB), at the same time route one of them to XBARA_OUT42 which is FTM1_CH1, you can set up the FTM1_CH1 in capture mode so that you can test the cycle or pulse width of FTM1_CH1 with high frequency ticks when the motor is in low speed mode as EARL GOODRICH said.&lt;/P&gt;&lt;P&gt;Pls refer to section 29.1.2 XBARA signal output assignment.&lt;/P&gt;&lt;P&gt;If your motor do not works in low speed, the connection to FTM1_CH1 is unnecessary.&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 04:08:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564878#M33915</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-08-29T04:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: KV5x: How to connect the encoder inputs to a general purpose timer?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564879#M33916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your tips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested as Xianjun&amp;nbsp;suggested and it worked well. I also&amp;nbsp;used the&amp;nbsp;&amp;nbsp;XBARB and AOI moudules to do XOR logic of the XB_IN2 and XB_IN3 inputs and output it do the&amp;nbsp;&amp;nbsp;FTM1_CH1 input capture using the XBARA. It was useful to reduce the response time of velocity measurements in low speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Ari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 01:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV5x-How-to-connect-the-encoder-inputs-to-a-general-purpose/m-p/564879#M33916</guid>
      <dc:creator>arimendes</dc:creator>
      <dc:date>2016-09-01T01:09:35Z</dc:date>
    </item>
  </channel>
</rss>

