<?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 Weird QEI interrupt behavior on LPC1751 in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Weird-QEI-interrupt-behavior-on-LPC1751/m-p/530167#M1829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by luoldeng on Mon Jan 27 14:10:06 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am enabling only 2 specific interrupts (index pulse, encoder clock pulse) in QEIIES, but when the IRQ handler gets called and I check QEIINTSTAT, there are other interrupt flags shown (position compare, for example). Why?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:06:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:06:47Z</dc:date>
    <item>
      <title>Weird QEI interrupt behavior on LPC1751</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Weird-QEI-interrupt-behavior-on-LPC1751/m-p/530167#M1829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by luoldeng on Mon Jan 27 14:10:06 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am enabling only 2 specific interrupts (index pulse, encoder clock pulse) in QEIIES, but when the IRQ handler gets called and I check QEIINTSTAT, there are other interrupt flags shown (position compare, for example). Why?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Weird-QEI-interrupt-behavior-on-LPC1751/m-p/530167#M1829</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Weird QEI interrupt behavior on LPC1751</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Weird-QEI-interrupt-behavior-on-LPC1751/m-p/530168#M1830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by luoldeng on Tue Jan 28 23:54:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In my setup code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
LPC_QEI-&amp;gt;QEIIEC |= 0xFFFFFFFF;
LPC_QEI-&amp;gt;QEICLR |= 0xFFFFFFFF;
LPC_QEI-&amp;gt;QEIIES = 0x00000021;

NVIC_ClearPendingIRQ(QEI_IRQn);
NVIC_EnableIRQ(QEI_IRQn);
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm pausing the debugger when my QEI interrupt handler fires and this is the peripheral memory:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Felectrifiedfoolingmachine.co%2Fdext0rb%2Fqei.jpg%5B%2Fimg%5D" rel="nofollow noopener noreferrer" target="_blank"&gt;http://electrifiedfoolingmachine.co/dext0rb/qei.jpg[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it allowable for QEIINTSTAT to have flags asserted for interrupts that are not enabled? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would expect QEIINTSTAT to only be either 0x00, 0x01, 0x20, 0x21 in this situation.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Weird-QEI-interrupt-behavior-on-LPC1751/m-p/530168#M1830</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Weird QEI interrupt behavior on LPC1751</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Weird-QEI-interrupt-behavior-on-LPC1751/m-p/530169#M1831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by luoldeng on Fri Jan 31 11:03:06 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevermind, I guess. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Weird-QEI-interrupt-behavior-on-LPC1751/m-p/530169#M1831</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:06:49Z</dc:date>
    </item>
  </channel>
</rss>

