Skip to content

arch/nrf52|nrf53: add qencoder support#18713

Merged
linguini1 merged 3 commits intoapache:masterfrom
raiden00pl:nrf_qenco
Apr 12, 2026
Merged

arch/nrf52|nrf53: add qencoder support#18713
linguini1 merged 3 commits intoapache:masterfrom
raiden00pl:nrf_qenco

Conversation

@raiden00pl
Copy link
Copy Markdown
Member

Summary

arch/nrf52|nrf53: add qencoder support
boards/nrf52840-dk: add qencoder example
boards/nrf5340-dk: add qencoder example

Impact

qencoder support for nordic chips, nrf91 has no QDEC peripheral so it was not update

Testing

nrf52840-dk:

nsh> qe
qe_main: Hardware initialized. Opening the encoder device: /dev/qe0
qe_main: Number of samples: 0
qe_main:   1. 0
qe_main:   2. 0
qe_main:   3. 0
qe_main:   4. 0
qe_main:   5. 0
qe_main:   6. 0
qe_main:   7. 0
qe_main:   8. 10
qe_main:   9. 18
qe_main:  10. 22
qe_main:  11. 26
qe_main:  12. 26
qe_main:  13. 26
qe_main:  14. 26
qe_main:  15. 22
qe_main:  16. 20
qe_main:  17. 18
qe_main:  18. 13
qe_main:  19. 12
qe_main:  20. 8
qe_main:  21. 4
qe_main:  22. 4
qe_main:  23. 2
qe_main:  24. 0
qe_main:  25. 28
qe_main:  26. 24
qe_main:  27. 24
qe_main:  28. 24
qe_main:  29. 30
qe_main:  30. 2
qe_main:  31. 5

nrf5340-dk:

nsh> qe
qe_main: Hardware initialized. Opening the encoder device: /dev/qe0
qe_main: Number of samples: 0
qe_main:   1. 0
qe_main:   2. 0
qe_main:   3. 0
qe_main:   4. 0
qe_main:   5. 0
qe_main:   6. 0
qe_main:   7. 0
qe_main:   8. 0
qe_main:   9. 0
qe_main:  10. 0
qe_main:  11. 0
qe_main:  12. 0
qe_main:  13. 0
qe_main:  14. 0
qe_main:  15. 0
qe_main:  16. 0
qe_main:  17. 0
qe_main:  18. 0
qe_main:  19. 0
qe_main:  20. 0
qe_main:  21. 5
qe_main:  22. 9
qe_main:  23. 15
qe_main:  24. 19
qe_main:  25. 20
qe_main:  26. 20
qe_main:  27. 20
qe_main:  28. 20
qe_main:  29. 15
qe_main:  30. 12
qe_main:  31. 8
qe_main:  32. 2
qe_main:  33. 29
qe_main:  34. 26
qe_main:  35. 22
qe_main:  36. 20
qe_main:  37. 16
qe_main:  38. 14
qe_main:  39. 14

@github-actions github-actions bot added Area: Documentation Improvements or additions to documentation Arch: arm Issues related to ARM (32-bit) architecture Size: XL The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces. Board: arm labels Apr 11, 2026
add qencoder support for nrf52 and nrf53

Signed-off-by: raiden00pl <raiden00@railab.me>
add qencoder support and enable qe example for jumbo config

Signed-off-by: raiden00pl <raiden00@railab.me>
add qencoder support and enable qe example for config

Signed-off-by: raiden00pl <raiden00@railab.me>
@linguini1 linguini1 merged commit e274655 into apache:master Apr 12, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Area: Documentation Improvements or additions to documentation Board: arm Size: XL The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants