Hi cheng wang,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Could you please give me some help?
-- From my experience, I'd like to suggest you choose the SCTimer to decode the complicated PWM, as the SCTimer has the event and state feature, it allows the developer to implement a lot of application,
so please give a try, and contact me freely if you encounter any problems.
Thank you , I need to detect the phase difference between two PWM with same frenquency. Are there any difference between event and interrupt ?
As is known to all, an orthogonal encoder is used to convert a linear shift into an impulse signal.By monitoring the number of pulses and the relative phases of the two signals, the user can track the rotation position, direction and speed.
Such as when phase A is in rsing edge,I need to know the voltage of phase B to determine the direction,could you please give me some information to use the event registers ?