Content originally posted in LPCWare by sam@bbinet.com on Fri Aug 28 09:08:06 MST 2015
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.
Thanks.
Sam.
22.6.2.6
22.6.2.7
22.6.2.8
22.6.2.9
QEI Index Count register
This register contains the current value of the encoder position. Increments or decrements when encoder counts occur, depending on the direction of rotation.
Table 306. QEI Index Count register (INXCNT, address 0x4005 8020) bit description
Bit Symbol Description Reset value
31:0 ENCPOS Current encoder position value. 0