<?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: LPC1549 QEI POS and INXCNT in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513454#M177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sam@bbinet.com on Fri Aug 28 09:08:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good call! Once I set the MAXPOS, POS reports correctly and INXCNT stays at 0. That's a very strange and unexpected behavior. The user manual is misleading too. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;22.6.2.6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22.6.2.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22.6.2.8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22.6.2.9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;QEI Index Count register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This register contains the current value of the encoder position. Increments or decrements when encoder counts occur, depending on the direction of rotation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Table 306. QEI Index Count register (INXCNT, address 0x4005 8020) bit description&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bit Symbol Description Reset value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;31:0 ENCPOS Current encoder position value. 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:07:03 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:07:03Z</dc:date>
    <item>
      <title>LPC1549 QEI POS and INXCNT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513452#M175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sam@bbinet.com on Thu Aug 27 21:47:03 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody encounter the problem that the POS register never change and the actual position is reported in the INXCNT register instead? So where is the actual index count register?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had no such problem with the QEI in LPC1768 for another project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:07:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513452#M175</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1549 QEI POS and INXCNT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513453#M176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Thu Aug 27 23:41:46 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Quote: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:sam@bbinet.com"&gt;sam@bbinet.com&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;Has anybody encounter the problem that the POS register never change and the actual position is reported in the INXCNT register instead? &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you set MAXPOS ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513453#M176</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1549 QEI POS and INXCNT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513454#M177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sam@bbinet.com on Fri Aug 28 09:08:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good call! Once I set the MAXPOS, POS reports correctly and INXCNT stays at 0. That's a very strange and unexpected behavior. The user manual is misleading too. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;22.6.2.6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22.6.2.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22.6.2.8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22.6.2.9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;QEI Index Count register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This register contains the current value of the encoder position. Increments or decrements when encoder counts occur, depending on the direction of rotation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Table 306. QEI Index Count register (INXCNT, address 0x4005 8020) bit description&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bit Symbol Description Reset value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;31:0 ENCPOS Current encoder position value. 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513454#M177</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1549 QEI POS and INXCNT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513455#M178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Aug 28 09:20:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Quote: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:sam@bbinet.com"&gt;sam@bbinet.com&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;That's a very strange and unexpected behavior. The user manual is misleading too. &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UM:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;22.6.2.2 QEI Maximum Position register&lt;BR /&gt;This register contains the maximum value of the encoder position.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So with MAXPOS&amp;nbsp; = 0, POS is counting from 0 to 0&amp;nbsp; :D&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-QEI-POS-and-INXCNT/m-p/513455#M178</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:07:03Z</dc:date>
    </item>
  </channel>
</rss>

