LPC1769 QEI postion reset on Index

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

LPC1769 QEI postion reset on Index

251 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mwalczak on Thu Sep 06 11:50:00 MST 2012
All,

Can anyone give me a hint on how to the the QEI Position count to reset on an index pulse or  to force a reset.

I have tried setting the RESP and RESPI bit but have had no luck.  I do have interrupts occurring  on an index.  THe documentation for this device is maddening.

Mike
0 Kudos
1 Reply

208 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cfb on Sat Sep 08 06:28:18 MST 2012
[FONT=Arial][SIZE=2]This may be relevant: Application note AN10898 'LP1700 BLDC Motor Control' includes the following note:[/SIZE][/FONT]
[FONT=Arial][SIZE=2][/SIZE][/FONT]
[FONT=Arial][SIZE=2]"the feedback pins are connected to both the MCFB pins and some GPIO pins, this is because of the MCPWM.1 errata in the LPC1700 errata sheet. Please see this errata for more information."[/SIZE][/FONT]
[FONT=Arial][SIZE=2][/SIZE][/FONT]
[SIZE=2][FONT=Arial]e.g. they connect MCFB2 (P1.24 / QE IDX) to GPIO2 (P0.18)[/FONT] [/SIZE]
0 Kudos