About MPC5634M-eMIOS-IPWM Mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

About MPC5634M-eMIOS-IPWM Mode

1,522件の閲覧回数
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,351件の閲覧回数
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,351件の閲覧回数
2039759305
Contributor I

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

0 件の賞賛
返信