LPC1769 Quadrature Encoder Interface

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1769 Quadrature Encoder Interface

2,583 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by denn4208 on Tue Feb 03 16:43:35 MST 2015
I have two issues with the QEI module
1.  I only have the index pulse detected interrupt enabled (QEIIE bit 0) however the intterupts status (QEIINTSTAT) Shows multiple interrupts.
2. The counter will always reset on an index pulse.  I have not set the RESPI bit in the QEICON register
Is there an errata on this module that I have not found?

The first issue is not a big deal I can mask the interrupts that I am looking for.
any help or ideas would be appreciated.
标签 (1)
0 项奖励
回复
2 回复数

1,940 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Pavel975 on Mon Oct 19 06:11:50 MST 2015
Hi,

I have the same Problem with QEI on my LPC1765. The masking Register QEIIE seams to not work. Ive spent already quite some time trying to find the solution there but without satisfying effect. If one bit is set there (e.g. Index Interrupt) always all QEI Interrupts are coming which cause (by fast running motor) lots of interrupts to handle per second. Have you found solution for that problem beside handling (filtering) all the interrupts? Or is there an official errata/fix for that issue available already ?
I attached screen shot from debugger showing QEIIE and QEIINTSTAT registers.
0 项奖励
回复

1,940 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xianghuiwang on Mon Feb 09 15:51:55 MST 2015
Hi,
Did you check your confirm your interrupt enable settings in the debug window as well?
Try run the LPCOpen example code maybe:
http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages
regards,
0 项奖励
回复