<?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: How do I use encoder's signal by etimer ? in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673130#M468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, please keep us posted about your progress.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately i do not have an encoder to test it - but i'm pretty sure you could resolve it with the actual toolbox offerings.&lt;/P&gt;&lt;P&gt;Keep in touch!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jun 2017 10:49:43 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2017-06-12T10:49:43Z</dc:date>
    <item>
      <title>How do I use encoder's signal by etimer ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673125#M463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sir:&lt;/P&gt;&lt;P&gt;I find MBD_toolbox not having the bolck as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19744iE96D6360FA81DF6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I use encoder to get position signal, how&amp;nbsp;do&amp;nbsp;I do in MBD_toolbox?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks a lot.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Roger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 06:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673125#M463</guid>
      <dc:creator>rogerdai</dc:creator>
      <dc:date>2017-06-03T06:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use encoder's signal by etimer ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673126#M464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can now use the &lt;STRONG&gt;eTimer_configuration&lt;/STRONG&gt; and &lt;STRONG&gt;eTimer_capture&lt;/STRONG&gt; blocks that offers you a high degree of flexibility in choosing what to do.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19827i8077E5456046B916/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 06:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673126#M464</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-03T06:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use encoder's signal by etimer ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673127#M465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel:&lt;/P&gt;&lt;P&gt;I found that the capture block is not the function I want.&lt;/P&gt;&lt;P&gt;Will there &amp;nbsp;upgrade MBD_toolbox version to add CNTR block in the future?&lt;/P&gt;&lt;P&gt;Beacause the encoder IC sends out absolute position's pulses to MCU when encoder IC is reset, but the capture can't catch the pulses.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The attachment is my Model.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Roger&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 06:05:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673127#M465</guid>
      <dc:creator>rogerdai</dc:creator>
      <dc:date>2017-06-12T06:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use encoder's signal by etimer ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673128#M466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think i'm getting what you are trying to do.&lt;/P&gt;&lt;P&gt;So the encoder IC will have 3 outputs: A, B and INDEX&lt;/P&gt;&lt;P&gt;A and B signal are quadrature signals and can help you identify the direction and number of counts.&lt;/P&gt;&lt;P&gt;The INDEX is a signal generated only one per rotation period to signal a rotation completion. In the software you can use the eTimer CAPTURE to get high-to-low or low-to-high transitions of this signal. Have a look at this video starting with 3.20 minute:&amp;nbsp;&lt;A href="https://community.nxp.com/videos/7832"&gt; Video Link : 7832&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nonetheless, you may or may not chose to use the INDEX in your algorithm. Since the encoder is a relative type of sensors - you will need to start the movement from a well defined position - usually in industry this is done by aligning the motor rotor with phase A: first you force the rotor to align with B phase and then you polarize the A phase and the rotor will be force to be aligned with that.&lt;/P&gt;&lt;P&gt;Then you start to count the relative counts for A/B signals. To know when a rotation is complete (emulate the INDEX) you can do a MODULO with the number of count per revolution given by your encoder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way there is no need for the third input INDEX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow - we will consider your feedback in case we will to an update for the MPC5744P toolbox. This request is logged as&amp;nbsp;&lt;A href="http://sw-jira.freescale.net/browse/AST-648" style="color: #3b73af; background-color: #ffffff; text-decoration: underline; font-size: 14px;" title="View this issue in JIRA"&gt;AST-648&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can figure it out and resolve the application with the actual support level from the Toolbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 10:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673128#M466</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-12T10:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use encoder's signal by etimer ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673129#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks your reply.&lt;/P&gt;&lt;P&gt;I'll try to use capture to resolve my problem.&lt;/P&gt;&lt;P&gt;I look forward to seeing the update for the MPC5744P toolbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 10:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673129#M467</guid>
      <dc:creator>rogerdai</dc:creator>
      <dc:date>2017-06-12T10:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use encoder's signal by etimer ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673130#M468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, please keep us posted about your progress.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately i do not have an encoder to test it - but i'm pretty sure you could resolve it with the actual toolbox offerings.&lt;/P&gt;&lt;P&gt;Keep in touch!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 10:49:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-do-I-use-encoder-s-signal-by-etimer/m-p/673130#M468</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-06-12T10:49:43Z</dc:date>
    </item>
  </channel>
</rss>

