10 years ago.

Enabling 2 QEI

I am using QEI lib by "Aaron Berk " and somehow I can't not enable 2 QEIs I am doing it on STM32F103RB board

if I enable QEI wheel1 (PA_0, PA_1, NC, 394); it works

if I enable QEI wheel2 (PA_2, PA_3, NC, 394); it works

if I enable two in one project. QEI wheel1 (PA_0, PA_1, NC, 394); QEI wheel2 (PA_2, PA_3, NC, 394); only seconds one works.

in case of I change the order of initialization QEI wheel2 (PA_2, PA_3, NC, 394); QEI wheel1 (PA_0, PA_1, NC, 394); only Wheel1 works.

anybody experience the same problem?

1 Answer

10 years ago.

I have not had a chance to play with ST board yet,

but I did have a simmilar problem with LPC1768 MBED,

In that the pins i chose, were not INTERUPT generating,

so only one worked !!

Ceri