This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to read the encoder pulses count from the servo motor using QDEC example program.

Hi,

We need to interface ASDA a2 delta AC  servo motor  with  NRF52840 in our project.In this servo motor i need to get the position value and direction  so i interfaced servo motor with nrf 52840 .I have tried the example program QDEC in the peripheral folder. This servo motor has  3 pulse pin as A,B,  and Z  so i have connected these pins to the NRF52840  but if i compile the program  i am not able to get the position value from the ac servo motor  only  it is printing as QDEC example started and it is printing as system reset . can you plz tell me  what is the problem.

Related