About MPC5634M-eMIOS-IPWM Mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About MPC5634M-eMIOS-IPWM Mode

965 Views
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 Kudos
Reply
2 Replies

794 Views
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 Kudos
Reply

794 Views
2039759305
Contributor I

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

0 Kudos
Reply