Hi,
Thank your for your interest in NXP Semiconductor products and the opportunity to serve you.
After had a brief look through the statement, I'd like to suggest that you can try the code below instead of the original.
Disable the Quadrature Eecoder Mode
FTM1_QDCTRL &= (~FTM_QDCTRL_QUADEN_MASK);
Enable the Quadrature Eecoder Mode
FTM1_QDCTRL |= (FTM_QDCTRL_QUADEN_MASK);
Hope it helps.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------