<?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: S32DS 3.5 S32K311 Quadrature Decoder issues</title>
    <link>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1805502#M31612</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228229"&gt;@Luisandro&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;In your shared project, or in the image you posted, I couldn't find the definitions as shown in the Application Note for the LCU0, and ADC, are you configuring them differently because of your custom board?&lt;/P&gt;
&lt;P&gt;I will be waiting for your response.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 21:22:46 GMT</pubDate>
    <dc:creator>Julián_AragónM</dc:creator>
    <dc:date>2024-02-12T21:22:46Z</dc:date>
    <item>
      <title>S32DS 3.5 S32K311 Quadrature Decoder issues</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1802740#M31495</link>
      <description>&lt;P&gt;Hello! I am developing a project with the S32K311 device and I am having issues to get the quadrature decoder working. I did all configuration following the instructions in the chapter 4.2.5 of the document AN13767.&lt;/P&gt;&lt;P&gt;I instantiated, configured and initialized the modules TRGMUX, LCU and eMIOS, but when I try to read the encoder counts with the method Emios_Icu_Ip_GetEdgeNumbers() I get always zero. I already measured the signals on my board and the encoder pulses are present at the microcontroller pins PTB5 [14] ENC_PHB and&amp;nbsp;PTB4 [15] ENC_PHA.&lt;/P&gt;&lt;P&gt;I attached my project in this post.&lt;/P&gt;&lt;P&gt;Can someone help me to understand what I am missing?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 14:27:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1802740#M31495</guid>
      <dc:creator>Luisandro</dc:creator>
      <dc:date>2024-02-06T14:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS 3.5 S32K311 Quadrature Decoder issues</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1802835#M31500</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228229"&gt;@Luisandro&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I will be testing your project, and I will come back to you on any findings.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;As a&amp;nbsp;&lt;/EM&gt;&lt;I&gt;note,&lt;/I&gt;&amp;nbsp;I am going to test it with a S32K312.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 17:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1802835#M31500</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-02-06T17:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS 3.5 S32K311 Quadrature Decoder issues</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1804449#M31563</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228229"&gt;@Luisandro&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I apologize for the late reply.&lt;/P&gt;
&lt;P&gt;It seems the project you sent is missing some pins configurations, could you confirm you followed section&amp;nbsp;&lt;STRONG&gt;4.2.1. Port control and pin configuration&amp;nbsp;&lt;/STRONG&gt;from the AN?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1707432262237.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262609iEE81FB867F46D386/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1707432262237.png" alt="Julin_AragnM_0-1707432262237.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, as a note, please keep in mind ENC_PHA &amp;amp; ENC_PHB are assigned to PTA19/20, not to PTB4/5 as you mentioned:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_2-1707432453826.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262611i8E88DC76FA0B7F24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_2-1707432453826.png" alt="Julin_AragnM_2-1707432453826.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 22:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1804449#M31563</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-02-08T22:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS 3.5 S32K311 Quadrature Decoder issues</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1804739#M31576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I followed the pin configuration instruction in section 4.2.1. I am not using the development kit, I am using a custom board, so for me the encoder signals &lt;SPAN&gt;ENC_PHA &amp;amp; ENC_PHB&amp;nbsp;&lt;/SPAN&gt;are actually connected to the pins&amp;nbsp;&lt;SPAN&gt;PTB4/5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will attach the project again, see file third_project_s32k311_20240209.zip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For me the pins configuration is showing correctly. See the screenshot below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luisandro_0-1707491577404.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262679iA18417B925DC74A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luisandro_0-1707491577404.png" alt="Luisandro_0-1707491577404.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 15:14:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1804739#M31576</guid>
      <dc:creator>Luisandro</dc:creator>
      <dc:date>2024-02-09T15:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS 3.5 S32K311 Quadrature Decoder issues</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1805502#M31612</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228229"&gt;@Luisandro&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;In your shared project, or in the image you posted, I couldn't find the definitions as shown in the Application Note for the LCU0, and ADC, are you configuring them differently because of your custom board?&lt;/P&gt;
&lt;P&gt;I will be waiting for your response.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 21:22:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1805502#M31612</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-02-12T21:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS 3.5 S32K311 Quadrature Decoder issues</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1805820#M31638</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I'm configuring it differently because my custom board does not have ADC or PWM, it only has the encoder. My board does not control the speed of the motor, it only monitors position and speed based on the encoder counts.&lt;/P&gt;&lt;P&gt;Let me know if you need any other info.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Luisandro&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 12:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-3-5-S32K311-Quadrature-Decoder-issues/m-p/1805820#M31638</guid>
      <dc:creator>Luisandro</dc:creator>
      <dc:date>2024-02-13T12:48:28Z</dc:date>
    </item>
  </channel>
</rss>

