<?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: MCSPTE1AK344 encoder mode in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1598845#M20667</link>
    <description>&lt;P&gt;Thanks for your answer. I&amp;nbsp; tried your solution and I can see encoder speed value but I could'nt run motor with encoder mode. when I switch to encoder mode motor was vibrating.&lt;/P&gt;&lt;P&gt;How can I run motor with encoder mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 11:20:36 GMT</pubDate>
    <dc:creator>Canberk</dc:creator>
    <dc:date>2023-02-14T11:20:36Z</dc:date>
    <item>
      <title>MCSPTE1AK344 encoder mode</title>
      <link>https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1592069#M20373</link>
      <description>&lt;P&gt;I have got MCSPTE1AK344 and I wanna operate pmsm motor with encoder. I set Encoder Macro to 1 and changed motor_pp and encoder pulses variables to my motor's specification but still I couldn't run the motor with encoder mode. there are some other changes that I need to make. I shared the changes that I make&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Canberk_0-1675324283206.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209292iB4EAD89E56BDBFB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Canberk_0-1675324283206.png" alt="Canberk_0-1675324283206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Canberk_1-1675324330725.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209294i1023333D862FFF38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Canberk_1-1675324330725.png" alt="Canberk_1-1675324330725.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 07:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1592069#M20373</guid>
      <dc:creator>Canberk</dc:creator>
      <dc:date>2023-02-02T07:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: MCSPTE1AK344 encoder mode</title>
      <link>https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1594279#M20471</link>
      <description>&lt;P&gt;Hi,&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;To use the &lt;EM&gt;encoder mode&lt;/EM&gt;, in addition to following the &lt;EM&gt;Getting Started&lt;/EM&gt; you have to do the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Connect the encoder to connector &lt;EM&gt;JP1&lt;/EM&gt; (check &lt;EM&gt;DEVKIT-MOTORGD Schematics&lt;/EM&gt; if necessary).&lt;/LI&gt;
&lt;LI&gt;Change the macro &lt;EM&gt;#define ENCODER 1&lt;/EM&gt; and load the program on the board.&lt;/LI&gt;
&lt;LI&gt;In FreeMASTER, &lt;EM&gt;Sensors&lt;/EM&gt; tab define the resolution of the encoder (in my case 1000 pulses).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_1-1675728646336.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209849i25740A35881DD468/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_1-1675728646336.png" alt="nxf86756_1-1675728646336.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the Project tree, go to &lt;EM&gt;Encoder Sensor/Speed&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_3-1675728700844.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209851iD79B5A83A558D4C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_3-1675728700844.png" alt="nxf86756_3-1675728700844.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the &lt;EM&gt;variable watch&lt;/EM&gt; define the &lt;EM&gt;speed required&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_4-1675728735661.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209852i9C4C66272DD6FAE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_4-1675728735661.png" alt="nxf86756_4-1675728735661.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Finally change the state from &lt;EM&gt;STOP&lt;/EM&gt; to &lt;EM&gt;RUN&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_5-1675728770724.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209853iD4FD48D3422050DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_5-1675728770724.png" alt="nxf86756_5-1675728770724.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;And you can see the speed in&lt;EM&gt; encoder mode&lt;/EM&gt; in the scope.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_6-1675728797987.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209854iF331E47510249D87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_6-1675728797987.png" alt="nxf86756_6-1675728797987.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps you. Please let me know if you have more questions about it.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 00:18:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1594279#M20471</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2023-02-07T00:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: MCSPTE1AK344 encoder mode</title>
      <link>https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1598845#M20667</link>
      <description>&lt;P&gt;Thanks for your answer. I&amp;nbsp; tried your solution and I can see encoder speed value but I could'nt run motor with encoder mode. when I switch to encoder mode motor was vibrating.&lt;/P&gt;&lt;P&gt;How can I run motor with encoder mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 11:20:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1598845#M20667</guid>
      <dc:creator>Canberk</dc:creator>
      <dc:date>2023-02-14T11:20:36Z</dc:date>
    </item>
  </channel>
</rss>

