S32K116 FTM input capture

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

S32K116 FTM input capture

1,001件の閲覧回数
hanchengyu11
Contributor I

I set FTM0_CH4 for input capture(Capture on Rising Edge Only).After ftm initialization is complete, an interrupt occurs,But there is no input change on the FTM0_CH4 pin。(This pin has to do 5v pull-up)

0 件の賞賛
返信
2 返答(返信)

985件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Which interrupt occurs after ftm initialization is complete? Did you check the flags? 
47.7.1 Timer Overflow Interrupt
The timer overflow interrupt is generated when (TOIE = 1) and (TOF = 1).
47.7.3 Channel (n) Interrupt
The channel (n) interrupt is generated when (CHIE = 1) and (CHF = 1).

Are you testing the code of 3.5. Single-edge capture mode of AN5303 AN5303SW? Or test the examples in the S32K1 SDK?


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

961件の閲覧回数
hanchengyu11
Contributor I

I use 47.7.3 Channel (n) Interrupt ,and the CHF flag is set.

I've used  the examples in the S32K1 SDK, the phenomenon is the same。

 

 

0 件の賞賛
返信