I want to use a hardware encoder to implement a mouse scroll wheel. Do you provide a QEDC routine for me to quickly learn and use? Are there any specific pin requirements for QEDC? Can I use any port and pin freely?
I want to use a hardware encoder to implement a mouse scroll wheel. Do you provide a QEDC routine for me to quickly learn and use? Are there any specific pin requirements for QEDC? Can I use any port and pin freely?
Hi,
The nRF54L15 has a QDEC peripheral and the use of that is demonstrated i the Quadrature Decoder Sensor sample.
But this example is from STM32. Regarding this issue, I asked AI frantically, and they provided incorrect answers. I am now feeling very frustrated, and STM32 states that a Timer timer is required. I am not sure if Nordic's QDEC is also needed. I tried using this demo, and every time I searched for some demos on the HTTP website you provided me, such as Nordic's storage of Flash and Timer, there were too many things popping up every time. I just want to see the demo. Can you provide a better shortcut or have a better PDF document
Hi,
The example works on nRF54L15 DK. You can see that there is an overlay for that specific DK under the board folderer in the project: nrf54l15dk_nrf54l15_cpuapp.overlay. This is the only QDEC example we have avaialble.
Thank you very much for your help,Is QDEC the corresponding application code?
Sometimes when I search for Nordic code, sometimes based on Zephyr, sometimes on Nordic Hal, it's really confusing
Hi,
LinJunXuan said:Thank you very much for your help,Is QDEC the corresponding application code?
I can you elaborate the question? The sample I linked to demonstrate how to use the QDEC Zephyr driver, and when usig with a nRF54L15 this will use the QDEC peripheral.
LinJunXuan said:Sometimes when I search for Nordic code, sometimes based on Zephyr, sometimes on Nordic Hal, it's really confusing
Thank you for the feedback, that is a problem we are aware of and looking into. The samples that are form Zephyr not officially supported, but can often be usefull non the less and Nordic contributes to many of them them (as has been the case for the QDEC sample).