4 years, 5 months ago.

nrf51822 ble nano Quadrature Decoder (qdec)

Hi,

I am working on a project where i have to control a dc motor. The encoder sends approximately 8000*512 pulses pers minute (while reading only rising edge of channel A). I have tried to read this signal with many different approaches (polling, interrupt) with bad results. I was wondering if i can deploy the qdec peripheral the chip has, and if so how?

Pls help!!!!

Be the first to answer this question.