About MPC5634M-eMIOS-IPWM Mode

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

About MPC5634M-eMIOS-IPWM Mode

1,838 次查看
2039759305
Contributor I

I  am in trouble with capturing the leading edge and  trailing edge of pulse in IPWM mode of eMIOS,especially the setting of interrupt of it, and I find that the FLAG bit of CSR register of the eMIOS channel  that I use remain cleared.I still don't know why it runs like this.I would appreciated if anyone provide a  demo of it .

0 项奖励
回复
2 回复数

1,667 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

we do not have IPWM example directly for a MPC5634M, but you can refer to Example MPC5646C eMIOS frequency measurement CW210 .

Emios module is similar, so you can reuse the code.

Just be sure you are using right channel, not all channels support IPWM/IPM modes, just a big channels.

pastedImage_2.png

BR, Petr

0 项奖励
回复

1,667 次查看
2039759305
Contributor I

Thank you very much with your help.I have read it ,and got some ideas from it .Thank you!

0 项奖励
回复