<?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: Interface blocks for incremental encoder or resolver to be used in DevKit-MPC5744P Rev. E in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1405822#M6916</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/169811"&gt;@eCarMaker&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In MBDT there is no such resolver block, but if you use Matlab 2021b or newer, you can find a "Resolver Decoder" block in the "Motor Control Blockset" addon. I think you can use this block with MBDT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Adrian&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jan 2022 07:42:49 GMT</pubDate>
    <dc:creator>adriantudor</dc:creator>
    <dc:date>2022-01-27T07:42:49Z</dc:date>
    <item>
      <title>Interface blocks for incremental encoder or resolver to be used in DevKit-MPC5744P Rev. E</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1400897#M6885</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I want to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DevKit-MPC5744P Rev. E,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DevKit MotorGD and&amp;nbsp;Linix motor (45ZWN24-40), which have resolver or incremental encoder for speed control of PMSM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any Simulink file which handels the position and speed measurements using resolver and encoder using MPC5744P, Rev. E?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could you please provide the files for Rev. E with FreeMaster GUI.&lt;/P&gt;&lt;P&gt;Thanks so much for your support in advance!&lt;/P&gt;&lt;P&gt;eCarMaker&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 10:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1400897#M6885</guid>
      <dc:creator>eCarMaker</dc:creator>
      <dc:date>2022-01-18T10:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Interface blocks for incremental encoder or resolver to be used in DevKit-MPC5744P Rev. E</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1401570#M6888</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/169811"&gt;@eCarMaker&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Unfortunately, we don't have a complete example as you request, but as a starting point, you can use this model that configures the mcu peripheral to use a motor encoder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We use Etimer in Quadrature count mode and we count the pulses at a fixed period of time. And from here you can calculate the motor speed and position.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Adrian&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 08:53:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1401570#M6888</guid>
      <dc:creator>adriantudor</dc:creator>
      <dc:date>2022-01-19T08:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Interface blocks for incremental encoder or resolver to be used in DevKit-MPC5744P Rev. E</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1405507#M6911</link>
      <description>&lt;P&gt;Hello Adrian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;Is there any resolver block if the servomotor has a resolver instead of incremental encoder?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 19:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1405507#M6911</guid>
      <dc:creator>eCarMaker</dc:creator>
      <dc:date>2022-01-26T19:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Interface blocks for incremental encoder or resolver to be used in DevKit-MPC5744P Rev. E</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1405822#M6916</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/169811"&gt;@eCarMaker&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In MBDT there is no such resolver block, but if you use Matlab 2021b or newer, you can find a "Resolver Decoder" block in the "Motor Control Blockset" addon. I think you can use this block with MBDT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 07:42:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1405822#M6916</guid>
      <dc:creator>adriantudor</dc:creator>
      <dc:date>2022-01-27T07:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Interface blocks for incremental encoder or resolver to be used in DevKit-MPC5744P Rev. E</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1409229#M6965</link>
      <description>&lt;P&gt;Hello Adrian,&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;Do you mean this block, which introduced in Matlab 2020a&amp;nbsp; &lt;A href="https://de.mathworks.com/help/mcb/ref/resolverdecoder.html#responsive_offcanvas" target="_self"&gt;Resolver Decoder&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;I am wondering which interfaces in DevKit-MPC5744P Rev. E can be used as an&amp;nbsp;&lt;SPAN&gt;excitation&amp;nbsp;signal for the resolver.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Reagrds&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Feb 2022 16:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1409229#M6965</guid>
      <dc:creator>eCarMaker</dc:creator>
      <dc:date>2022-02-05T16:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Interface blocks for incremental encoder or resolver to be used in DevKit-MPC5744P Rev. E</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1409499#M6967</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/169811"&gt;@eCarMaker&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Do you mean this block, which introduced in Matlab 2020a&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://de.mathworks.com/help/mcb/ref/resolverdecoder.html#responsive_offcanvas" target="_self" rel="nofollow noopener noreferrer"&gt;Resolver Decoder&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Yes, I'm talking about this one.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the SGEN peripheric. To understand this signal generator peripheric, I recommend starting from the "sgen_mpc574xp" example (you can find it in MPC57xx MBDT).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Be very careful that the output current of this peripheric is not so strong (max 200uA according to the "&lt;SPAN&gt;MPC5744P Data Sheet" file&lt;/SPAN&gt;). If your sensor will need a higher current or a higher peak-to-peak voltage, then you must use an additional electronic circuit (like an amplifier).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 07:44:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1409499#M6967</guid>
      <dc:creator>adriantudor</dc:creator>
      <dc:date>2022-02-07T07:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Interface blocks for incremental encoder or resolver to be used in DevKit-MPC5744P Rev. E</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1419094#M7042</link>
      <description>&lt;P&gt;Thanks Adrian,&lt;/P&gt;&lt;P&gt;my goal to control a PMSM motor with incremental Encoder ( 4000 pulses per mechanical rotation)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;PTA0, PTA1 are connected for ENC A and ENC B respecively.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;First of all I tried using the same setting you set in&amp;nbsp;&lt;/SPAN&gt;eTimer_config Block which you provieded in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EncoderMPC5744P_RevE.zip.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The counter of eTimer is increasing from 0 to 65535 ((2^16) -1 ).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Using the same setting the motor needs to rotate 16,38 mechanical rotations (65535/ 4000 pulses = 16,38) to reset the counter of eTimer. My expectation is to reset the counter of eTimer every mechanical rotation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I did as described in &lt;A href="https://www.nxp.com/docs/en/application-note/AN4561.pdf" target="_self"&gt;AN4561, page 11&lt;/A&gt; but unfortunately, no success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maximum number of Edges of 4 x 4000=16000&lt;BR /&gt;COMP1= (16000/2)-1= 7999 DEC ==&amp;gt; 0x1F3F&lt;BR /&gt;COMP2= 16000/2= -8000 DEC ==&amp;gt; 0x1F40&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could you please help here and many thanks in advance!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 17:16:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Interface-blocks-for-incremental-encoder-or-resolver-to-be-used/m-p/1419094#M7042</guid>
      <dc:creator>eCarMaker</dc:creator>
      <dc:date>2022-02-24T17:16:09Z</dc:date>
    </item>
  </channel>
</rss>

