<?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>i.MX RT Crossover MCUsのトピックConfigure encoder controller to generate interrupts on phase_a and phase_b on i.MX RT1064 mcu</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Configure-encoder-controller-to-generate-interrupts-on-phase-a/m-p/1583953#M23320</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working with a i.MX RT1064 mcu connected to a encoder.&lt;/P&gt;&lt;P&gt;I have configured the ENC controller of the mcu with default configuration using the config tool and it works succesfully, I detect the movement of the motor connected because I saw the counting of the pulse in debug.&lt;/P&gt;&lt;P&gt;Now, I would want to configure the ENC controller to generate interrupts on the edges of the phase_A and phase_B signals.&lt;/P&gt;&lt;P&gt;My encoder has only these two pins, is possible to do this without the pin trigger, home, index, posmatch ?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Tommaso&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 11:59:42 GMT</pubDate>
    <dc:creator>thomas82</dc:creator>
    <dc:date>2023-01-17T11:59:42Z</dc:date>
    <item>
      <title>Configure encoder controller to generate interrupts on phase_a and phase_b on i.MX RT1064 mcu</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Configure-encoder-controller-to-generate-interrupts-on-phase-a/m-p/1583953#M23320</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working with a i.MX RT1064 mcu connected to a encoder.&lt;/P&gt;&lt;P&gt;I have configured the ENC controller of the mcu with default configuration using the config tool and it works succesfully, I detect the movement of the motor connected because I saw the counting of the pulse in debug.&lt;/P&gt;&lt;P&gt;Now, I would want to configure the ENC controller to generate interrupts on the edges of the phase_A and phase_B signals.&lt;/P&gt;&lt;P&gt;My encoder has only these two pins, is possible to do this without the pin trigger, home, index, posmatch ?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Tommaso&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 11:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Configure-encoder-controller-to-generate-interrupts-on-phase-a/m-p/1583953#M23320</guid>
      <dc:creator>thomas82</dc:creator>
      <dc:date>2023-01-17T11:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Configure encoder controller to generate interrupts on phase_a and phase_b on i.MX RT1064 mcu</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Configure-encoder-controller-to-generate-interrupts-on-phase-a/m-p/1585050#M23344</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;The edges of the PHASEA and PHASEB signals cannot be programmed to interrupt the processor. The only available interrupts for that module are found in T&lt;EM&gt;able 56-2. Interrupt Summary&lt;/EM&gt; of the reference manual &lt;A href="https://www.nxp.com/webapp/Download?colCode=IMXRT1064RM" target="_blank" rel="noopener"&gt;IMXRT1064RM&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_0-1674083974256.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207832i1FB6FE6B97D059BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_0-1674083974256.png" alt="nxf86756_0-1674083974256.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;nxf86756_0-1674083974256.png&lt;/span&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>Wed, 18 Jan 2023 23:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Configure-encoder-controller-to-generate-interrupts-on-phase-a/m-p/1585050#M23344</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2023-01-18T23:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configure encoder controller to generate interrupts on phase_a and phase_b on i.MX RT1064 mcu</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Configure-encoder-controller-to-generate-interrupts-on-phase-a/m-p/1585665#M23355</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for your support.&lt;/P&gt;&lt;P&gt;I have used the position compare interrupt and I resolved.&lt;/P&gt;&lt;P&gt;The problem now is that after the reachment of the position, even if in the ENC1_IRQHANDLER I call the ENC_ClearStatusFlags function, arrive continuosly interrupts (with motor and encoder stopped).&lt;/P&gt;&lt;P&gt;I also have tried to set to 1 the CMPIRQ bit in the CTRL register with the instruction:&lt;/P&gt;&lt;P&gt;ENC1.EncoderId-&amp;gt;CTRL = ENC1.EncoderId-&amp;gt;CTRL | 0x2;&lt;/P&gt;&lt;P&gt;as reported in the reference manual but I don't resolve it.&lt;/P&gt;&lt;P&gt;Kindly could you help me ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 18:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Configure-encoder-controller-to-generate-interrupts-on-phase-a/m-p/1585665#M23355</guid>
      <dc:creator>thomas82</dc:creator>
      <dc:date>2023-01-19T18:08:46Z</dc:date>
    </item>
  </channel>
</rss>

