QEI register read or write hard fault handler

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

QEI register read or write hard fault handler

314 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cbureau on Sat Nov 17 11:05:40 MST 2012
Hello, i try to connect a quadrature encoder on Lpcxpresso lpc1769 board, but when i execute this simple code :
LPC_QEI->CON |=  1;
I optain an hard fault handler:(.
when i debug my example.
can i have an help please ?
Thanks

Now it's good , just a little error in my (#define declaration) . sorry.
0 Kudos
1 Reply

290 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Nov 17 11:25:35 MST 2012
PCONP bit 18 PCQEI Quadrature Encoder Interface power/clock control bit :confused:
0 Kudos