<?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>MPC5xxx中的主题 What is the logic set for quadrature decode phase AB encoder in eMIOS</title>
    <link>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902629#M13387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There exists many &lt;STRONG&gt;Unified Channel Mode of Operation&amp;nbsp;&lt;/STRONG&gt;such as&amp;nbsp;Input period measurement,&amp;nbsp;Quadrature decode&lt;BR /&gt;(for phase_A and phase_B encoders type) for MPC5553.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does exactly happen when any of these modes is selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's consider&amp;nbsp;q&lt;SPAN&gt;uadrature decode mode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(for phase_A and phase_B encoders type).&amp;nbsp; I want to know what happens in background if I select this mode. What settings have been already made for this encoder type? Where can I get the software code used for its settings?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've referred&amp;nbsp;&lt;STRONG&gt;MPC5553/MPC5554 Microcontroller Reference Manual&amp;nbsp;&lt;/STRONG&gt;to understand basics but not getting idea how it is implemented in firmware code.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2019 06:24:34 GMT</pubDate>
    <dc:creator>poojamarekar</dc:creator>
    <dc:date>2019-05-07T06:24:34Z</dc:date>
    <item>
      <title>What is the logic set for quadrature decode phase AB encoder in eMIOS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902629#M13387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There exists many &lt;STRONG&gt;Unified Channel Mode of Operation&amp;nbsp;&lt;/STRONG&gt;such as&amp;nbsp;Input period measurement,&amp;nbsp;Quadrature decode&lt;BR /&gt;(for phase_A and phase_B encoders type) for MPC5553.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does exactly happen when any of these modes is selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's consider&amp;nbsp;q&lt;SPAN&gt;uadrature decode mode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(for phase_A and phase_B encoders type).&amp;nbsp; I want to know what happens in background if I select this mode. What settings have been already made for this encoder type? Where can I get the software code used for its settings?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've referred&amp;nbsp;&lt;STRONG&gt;MPC5553/MPC5554 Microcontroller Reference Manual&amp;nbsp;&lt;/STRONG&gt;to understand basics but not getting idea how it is implemented in firmware code.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 06:24:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902629#M13387</guid>
      <dc:creator>poojamarekar</dc:creator>
      <dc:date>2019-05-07T06:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: What is the logic set for quadrature decode phase AB encoder in eMIOS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902630#M13388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diagrams shown in the reference manual are the best ones to understand how it works:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70740i38E134044ED37840/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also found very simple testing code in my repository - see attached. You can connect respective signals to pins (the best way is to use very slow signals or manually controlled signals) and then watch the effect in EMIOS registers to understand the functionality. The example is written for count and direction encoders type but it doesn't matter, it works in similar way. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 08:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902630#M13388</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-05-07T08:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: What is the logic set for quadrature decode phase AB encoder in eMIOS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902631#M13389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went through attached testing code. There I found:&lt;/P&gt;&lt;P&gt;edge_count[i] = EMIOS.CH[8].CCNTR.R;&amp;nbsp; /* read edge count */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any requirement for additional settings to use&amp;nbsp;CCNTR?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this CCNTR automatically get updated? Does the mode of operation have any impact on CCNTR?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your reply will help me a lot.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 08:54:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902631#M13389</guid>
      <dc:creator>poojamarekar</dc:creator>
      <dc:date>2019-05-07T08:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: What is the logic set for quadrature decode phase AB encoder in eMIOS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902632#M13390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, CCNTR is automatically updated. You can connect the signals from encoder to the pins and watch the CCNTR. No other settings are required. &lt;/P&gt;&lt;P&gt;The CCNTR is updated in the same way regardles of mode - you will see the same effect also when using Phase_A and Phase_B Encoder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 10:29:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/What-is-the-logic-set-for-quadrature-decode-phase-AB-encoder-in/m-p/902632#M13390</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-05-07T10:29:30Z</dc:date>
    </item>
  </channel>
</rss>

