Skip to content

k_cycle_get_32() is inaccurate nrf52840 #33871

Answered by teijokk
teijokk asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, I have found solution this issue. Seem that k_cycle_get_32() is inaccurate for this purpose. Proper way to do this is to use nrf52840 GPIOTE IN, PPI, and hw timers. But current problem is that zephyr general gpios and nrfx gpiote libraries cant use together. Maybe i have to change all gpios to use nrfx libraries

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@carlescufi
Comment options

Answer selected by henrikbrixandersen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
platform: nRF Nordic nRFx
3 participants