<?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: Quadrature Decode (QDEC) Mode support simultaneous counting on both the rising and falling edges in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Quadrature-Decode-QDEC-Mode-support-simultaneous-counting-on/m-p/2171708#M28053</link>
    <description>Understood, thank you very much.</description>
    <pubDate>Thu, 18 Sep 2025 06:57:44 GMT</pubDate>
    <dc:creator>192064963</dc:creator>
    <dc:date>2025-09-18T06:57:44Z</dc:date>
    <item>
      <title>Quadrature Decode (QDEC) Mode support simultaneous counting on both the rising and falling edges</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Quadrature-Decode-QDEC-Mode-support-simultaneous-counting-on/m-p/2168454#M28034</link>
      <description>&lt;P&gt;Hello, does the Quadrature Decode (QDEC) Mode(for count and direction encoders type) of the eMIOS module in the MPC5777c processor support simultaneous counting on both the rising and falling edges by setting the EDSEL bit, and generating an event when the internal counter matches the A1 register?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 916px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/356591i86A90292A49350EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1.PNG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As shown by the underlined part in the above picture, is the EDSEL bit valid in the Quadrature Decode (QDEC) Mode (for count and direction encoders type)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 02:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Quadrature-Decode-QDEC-Mode-support-simultaneous-counting-on/m-p/2168454#M28034</guid>
      <dc:creator>192064963</dc:creator>
      <dc:date>2025-09-12T02:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Quadrature Decode (QDEC) Mode support simultaneous counting on both the rising and falling edges</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Quadrature-Decode-QDEC-Mode-support-simultaneous-counting-on/m-p/2169469#M28037</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;does the Quadrature Decode (QDEC) Mode(for count and direction encoders type) of the eMIOS module in the MPC5777c processor support simultaneous counting on both the rising and falling edges by setting the EDSEL bit,&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No. as EDSEL bit describes, the implementation for each mode is state in mode description.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_1-1757921212696.png" style="width: 759px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/356877iE8C9EB7F7D400C72/image-dimensions/759x569?v=v2" width="759" height="569" role="button" title="petervlna_1-1757921212696.png" alt="petervlna_1-1757921212696.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;petervlna_1-1757921212696.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In QDEC mode (mode 0x0D), the eMIOS hardware automatically handles quadrature decoding, including edge detection and direction.&lt;/P&gt;
&lt;P&gt;The QDEC mode uses two input signals (A and B) and interprets their transitions to determine both count and direction. This logic is independent of the EDSEL bit.&lt;/P&gt;
&lt;P&gt;Therefore, setting EDSEL has no effect in QDEC mode—it is ignored by the hardware.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 07:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Quadrature-Decode-QDEC-Mode-support-simultaneous-counting-on/m-p/2169469#M28037</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-09-15T07:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Quadrature Decode (QDEC) Mode support simultaneous counting on both the rising and falling edges</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Quadrature-Decode-QDEC-Mode-support-simultaneous-counting-on/m-p/2171708#M28053</link>
      <description>Understood, thank you very much.</description>
      <pubDate>Thu, 18 Sep 2025 06:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Quadrature-Decode-QDEC-Mode-support-simultaneous-counting-on/m-p/2171708#M28053</guid>
      <dc:creator>192064963</dc:creator>
      <dc:date>2025-09-18T06:57:44Z</dc:date>
    </item>
  </channel>
</rss>

