Input capture on PTC14(FTM1_Ch2) and PTE4 (FTM2_CH2) not working for s32k144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Input capture on PTC14(FTM1_Ch2) and PTE4 (FTM2_CH2) not working for s32k144

ソリューションへジャンプ
1,440件の閲覧回数
Ashwini_vyankatesh
Contributor I

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

0 件の賞賛
返信
1 解決策
1,427件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Ashwini,

It seems like the PTC14 and PTE4 pin are not routed to the FTM modules.

I added them like this:

danielmartynek_0-1625068296859.png

Please double-check the pin configuration and update the generated code.

 

Thanks,

Daniel

元の投稿で解決策を見る

2 返答(返信)
1,428件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Ashwini,

It seems like the PTC14 and PTE4 pin are not routed to the FTM modules.

I added them like this:

danielmartynek_0-1625068296859.png

Please double-check the pin configuration and update the generated code.

 

Thanks,

Daniel

1,419件の閲覧回数
Ashwini_vyankatesh
Contributor I

Thanks Daniel!

Its working now  

0 件の賞賛
返信