quadrature decoder interrupts not working properly

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
1user
Offline
Last seen: 10 months 3 weeks ago
Joined: 2020-11-30 14:53
quadrature decoder interrupts not working properly

I connected a rotary encoder to the dev kit pro and tested it with the quadrature_decoder example. In polling mode it does work perfectly and the X value changes every "click" of the rotary encoder. The ISR reports on the other hand are very irregular and usually show up every 3-5 "clicks" of the rotary encoder.

Do you have an idea what the issue could be?

PM_Dialog
Offline
Last seen: 1 month 1 week ago
Staff
Joined: 2018-02-08 11:03
Hi There,

Hi There,

Thanks for coming to the forums and posting a new question. Exciting news! We’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the NEW forum only - please POST any new threads at  https://www.dialog-semiconductor.com/support

We’ll be fixing bugs / optimizing the searching and tagging over the coming days.

So, could you please put your question on our NEW Forums? We’ll try to respond to you as soon as possible.

https://www.dialog-semiconductor.com/products/bluetooth-low-energy#tab-support_tab_content

Thanks, PM_Dialog