Hi,
I am using input capture on PTC14 (FTM1_CH2) using S32k144 EVB. But the output measured frequency its showing is 0Hz always. Same its happening for input capture on PTE4(FTM2_CH2).
Interesting thing is it works (measure correct input frequency) for PTB3 (FTM1_CH0)and PTC5(FTM2_CH0).
I am attaching my code. Let me know if I am missing something.
Thanks in advance.
Regards
-Ashwini
解決済! 解決策の投稿を見る。
Hi Ashwini,
It seems like the PTC14 and PTE4 pin are not routed to the FTM modules.
I added them like this:
Please double-check the pin configuration and update the generated code.
Thanks,
Daniel
Hi Ashwini,
It seems like the PTC14 and PTE4 pin are not routed to the FTM modules.
I added them like this:
Please double-check the pin configuration and update the generated code.
Thanks,
Daniel
Thanks Daniel!
Its working now