Content originally posted in LPCWare by cybersteve on Tue Sep 23 07:00:31 MST 2014
Can anyone supply me (point me to) a basic QEI project (Keil or IAR). I have found lots of references and inclusions in other projects, but not have been able to construct a simple project that can return the encoder position from the LPC1768 QEI interface. I am not looking for a high speed decode, as for BLDC motor control, just the ability to return the position of a rotary encoder.
I have found the lpc17xx_qei.c and lpc17xx_qei.h files, but could not make a project from them because of missing references.
Bit of a novice, sorry.
Thanks