How to get input-capture demo for MPC55xx/MPC56xx
01-14-2016
07:46 PM
1,694 次查看
Hi ,
I want to capture the frequency of the input signal.
The input signal may be square wave or pwm wave, and so on.
Anybody know how to get input-capture demo for MPC55xx/MPC56xx ?
tks.
2 回复数
01-15-2016
02:04 AM
1,214 次查看
Hi,
For example you can use the eMIOS module in IPM/IPWM/SAIC modes or the eTimer’s channel capture feature, depends what device you are using. Read eMIOS and eTimer chapters in device Reference manual for more info.
Attached you have code snippets for eMIOS IPWM and eTimer implementations.