LPC11E68 QEI Emulation Using SCTimer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11E68 QEI Emulation Using SCTimer

565 Views
mikenn
Contributor III

Hello. 

I need a QEI peripheral to realize an accurate 32 bit count from a quadrature encoder but my processor LPC11E68 does not have a QEI peripheral.  Is this possible with the SCTimer, and if so, how?

0 Kudos
Reply
1 Reply

556 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello mikenn,

 

I think yes, you can add logical XOR gate , together with SCTIMER to make a quadrature encoder.

There is an application using  PLU and SCTIEMR , you can have a look at the theory, replace PLU with XOR gate.

Sorry it is in Chinese, no English version, try translate it into English. 

https://www.nxpic.org.cn/module/forum/thread-622747-1-1.html  

BR

Alice

0 Kudos
Reply