MPC5643L PWM  capture problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5643L PWM  capture problem

1,625 次查看
zcc890406
Contributor II

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.

标签 (1)
0 项奖励
回复
2 回复数

1,459 次查看
PetrS
NXP TechSupport
NXP TechSupport

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

1,459 次查看
zcc890406
Contributor II

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 .

捕获11.PNG

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

0 项奖励
回复