QDEC device tree issue

Hello,

I'm trying to run the QDEC example I find in the nRF Connect SDK.

I'm having issues in setting up the device tree:

The problem is that qdec0 is not found from the C code, even though it is present as an alias in the device tree file:

What is wrong with my device tree?

Thanks

Parents Reply Children
  • That fixed the issue!

    However now I get another error related to pin controls:

    There is no syntax error in the .dts file, what is the issue?

  • Try setting this in prj.conf

    CONFIG_QDEC_NRFX=y

  • I cannot add it as it needs dependencies that cannot be added:

    I put the errors as comments

  • Try adding this in the overlay:

  • Now I get: