s32k144

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k144

528 Views
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 Kudos
Reply
1 Reply

486 Views
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 Kudos
Reply