Hi sir,
I am a new to use the function of FlexPWM capture about MPC5643L. In the process of using, I had a promblem.
I use the PIN of D3 (A[3]) as the input port to capture the signal,but every time signal capture faild. I have already achieced capture use the x[n]. who knows what is the difference between capture A/B[n] and capture x[n] .Thank you can provide source code and some information.
Thank you very much for you hlep.
Hi,
The PWMA[n] and PWMB[n] are just an outputs. The input capture feature is not implemented on these pins. Also you do not have control registers for capture feature on PWMA[n] and PWMB[n]. Only the PWM[X] can be used for this feature and capture control registers are available for PWM[X] pin.
BR, Petr
Hi Petr Stancik,
First of all, thank you very much for your help.
In the chip reference manual pin function table, I discover that this pin has a capture function. The following is a screenshot of my list from the chip reference manual .
The chip reference manual shows that flexPWM_0 about A [3] has a capture function. Now I do not know how to do it.
thank you very much for your help.
Tomas