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.
Anybody know how to get input-capture demo for MPC55xx/MPC56xx ?
 
					
				
		
 PetrS
		
			PetrS
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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.
