Rotary Encoder - Simultaneous Phase A Phase B Change

Showing results for 
Search instead for 
Did you mean: 

Rotary Encoder - Simultaneous Phase A Phase B Change

Contributor II


I'm trying to use the ENC module in my project. When I went through the interrupts, I see there is a kENC_SimultBothPhaseChangeInterruptEnable. I assumed this one would generate an interrupt when both the phase values change. If that is true, then this interrupt should be generated when the position of the rotary encoder changes. But, I don't see this interrupt getting fired when I change my position.

I can see the values changing when I poll for them and read them but no interrupt is being triggered.

I also checked the CTRL register and both the IE and IRQ flags are set for this interrupt. 

1. Is my understanding correct about of what this interrupt does?

2. Has anyone tried getting this interrupt fired?

3. Is there any other way to trigger an interrupt whenever there is a position change in the encoder?



0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hi Thivya,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
After checking, the ENC module hasn't supported the kENC_SimultBothPhaseChangeInterruptEnable request until now actually.
Sorry for bringing any inconvenience to you.
Have a great day,

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.


0 Kudos