<?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>S32KのトピックRe: MCSPTE1AK144 kit with Encoder</title>
    <link>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1571664#M19502</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;First off all thanks for answering and yes I am basing it on the MCSPTE1AK144_PMSM_FOC_2Sh example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-12-14 133605.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204829i43C91ED2B583B139/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2022-12-14 133605.png" alt="Screenshot 2022-12-14 133605.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 05:16:52 GMT</pubDate>
    <dc:creator>Canberk</dc:creator>
    <dc:date>2022-12-19T05:16:52Z</dc:date>
    <item>
      <title>MCSPTE1AK144 kit with Encoder</title>
      <link>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1569634#M19430</link>
      <description>&lt;P&gt;I have got&amp;nbsp;&lt;SPAN&gt;MCSPTE1AK144 development kit and I want to use bldc motor with encoder. I changed encoder macro to 1 just like application note said but when ı run the program bldc motor didn't&amp;nbsp;spin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to understand the pospe_sensor.c file and I saw there was two variable named&amp;nbsp;MOTOR_PP_GAIN and MOTOR_PP_SHIFT that effects position value. What are those values, do I have to changed them or my problem could be something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I shared the screenshots of the variables that I talked about&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 10:40:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1569634#M19430</guid>
      <dc:creator>Canberk</dc:creator>
      <dc:date>2022-12-14T10:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: MCSPTE1AK144 kit with Encoder</title>
      <link>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1570844#M19466</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/207090"&gt;@Canberk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;Just to be clear, are you basing it on the MCSPTE1AK144_PMSM_FOC_xSh example? Because in the example MCSPTE1AK144_BLDC_6Step is not implemented with an encoder.&lt;/P&gt;
&lt;P&gt;I think the screenshots you are talking about were not attached, could you please attach them again?&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 01:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1570844#M19466</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2022-12-16T01:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: MCSPTE1AK144 kit with Encoder</title>
      <link>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1571664#M19502</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;First off all thanks for answering and yes I am basing it on the MCSPTE1AK144_PMSM_FOC_2Sh example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-12-14 133605.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204829i43C91ED2B583B139/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2022-12-14 133605.png" alt="Screenshot 2022-12-14 133605.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 05:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1571664#M19502</guid>
      <dc:creator>Canberk</dc:creator>
      <dc:date>2022-12-19T05:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: MCSPTE1AK144 kit with Encoder</title>
      <link>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1573381#M19600</link>
      <description>&lt;P&gt;Hi again &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/207090"&gt;@Canberk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;To use the MCSPTE1AK144 with encoder you must follow the &lt;A href="https://www.nxp.com/document/guide/getting-started-with-the-s32k144-bldc-pmsm-development-kit:GS-MCSPTE1AK144" target="_blank" rel="noopener"&gt;Getting Started with the S32K144 BLDC/PMSM Development Kit&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;In the &lt;STRONG&gt;Plug It In&lt;/STRONG&gt; section, place DEVKIT-MOTORGD jumpers J9, J10, J11 to position 1-2 for PMSM application (Because only for PMSM application is the encoder function available, in this case &lt;EM&gt;MCSPTE1AK144_PMSM_FOC_2Sh&lt;/EM&gt;).&lt;/P&gt;
&lt;P&gt;In my case I left J8 open to establish a 5V voltage level for the encoder.&lt;/P&gt;
&lt;P&gt;Connect the encoder to JP1 as shown in the following figure:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_0-1671672332885.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205187iE5463FC7A90AF152/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_0-1671672332885.png" alt="nxf86756_0-1671672332885.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the &lt;STRONG&gt;Build&lt;/STRONG&gt; section, before clean, build, debug and load, change the &lt;EM&gt;ENCODER&lt;/EM&gt; macro to 1 in the &lt;EM&gt;main&lt;/EM&gt; source code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_1-1671672350159.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205188iD66295330930C8DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_1-1671672350159.png" alt="nxf86756_1-1671672350159.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then in &lt;STRONG&gt;FreeMASTER&lt;/STRONG&gt;, set the resolution of your encoder in the &lt;STRONG&gt;Sensors&lt;/STRONG&gt; tab.&lt;/P&gt;
&lt;P&gt;Finally, Start application and Set speed in the &lt;STRONG&gt;App Control&lt;/STRONG&gt; tab, then in the &lt;EM&gt;Project Tree/Encoder Sensor/Speed&lt;/EM&gt; you will be able to visualize the &lt;EM&gt;Speed Encoder&lt;/EM&gt; in the dynamic graph.&lt;/P&gt;
&lt;P&gt;Regarding the &lt;EM&gt;MOTOR_PP_GAIN&lt;/EM&gt; and &lt;EM&gt;MOTOR_PP_SHIFT&lt;/EM&gt; macros, you don't need to change them, since these are motor parameters, not encoder parameters.&lt;/P&gt;
&lt;P&gt;Hope it helps you!&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 01:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCSPTE1AK144-kit-with-Encoder/m-p/1573381#M19600</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2022-12-22T01:29:41Z</dc:date>
    </item>
  </channel>
</rss>

