s32k144

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

s32k144

353件の閲覧回数
zhouqicheng
Contributor I

Hello, when using ftm to count the number of rising edges,

1. Which function to use to stop and clear FTM_ DRV_ The value of GetInputCaptureMeasurement,

2. Currently using FTM_ DRV_ Deinit stopped, but cannot restart during reinitialization,

3. When the value overflows, are all subsequent values incorrect? Is it just an overflow value error

0 件の賞賛
1 返信

311件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @zhouqicheng 

We do not see any functions in the SDK to stop and/or clear the FTM counter.

If you refer to the Counter (CNT) register in the reference manual, the following description is provided: "Reset clears the CNT register". This means that the ways to stop and/or clear the counter is by a reset or by disabling it as you are doing. 

 

B.R.

VaneB

0 件の賞賛