s32k144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

s32k144

525 次查看
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 回复

483 次查看
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 项奖励
回复