lpcware

CMSIS QEI Example

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Aug 4, 2017 by William Bonsmann
Content originally posted in LPCWare by amadeu placido on Thu Sep 06 16:03:01 MST 2012
Greetings,

Lately I've been trying to make the quadrature encoder interface work, unfortunatelly all I've felt was frustration. I'm using the LPC4350-DB1 board, and have configured the pins using the SCU. However I'm not sure where the problem is.
I am also currently using an encoder that has no INDEX channel (only A and B channels). No matter how hard I try, I keep reading 0 from the position register.
And to make it worse, there was no sample code of this driver, so I'd like know if anyone used this peripheral with any luck, or have noticed any detail related to this and would be willing to share the knowledge.

Cheers!

Outcomes