Recently,I work on S32K144,and i use P&E to generate code.I find that when I use FTM0,FTM1 to input capture,i just open channel 1 in FTM0 and i can accurate calculate the duty cycle.However ,if i open more channel,the input capture fuction looks like having some problem,it can't calculate rasing time.
So in my opinion,it can only use one channel to capture input signal at same time .Does it right? Or there are some special setting i need to be careful?
Your code just store the timestamp of 2 consecutive edges, no mather if it's rising or falling edge.
What is the expected behavior and what goes wrong?