Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
4 years, 5 months ago.
nrf51822 ble nano Quadrature Decoder (qdec)
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?