Cannot configure the FTM timer counter frequency of fsl_ftm component?

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot configure the FTM timer counter frequency of fsl_ftm component?

368 Views
walter_wang
Contributor III

I'm trying the SDK components, and want to create an basic timer with fsl_ftm component, but once it has been added to project, in the properties page there is no setting of input clock, pre-scaler, etc, so I don't know the counting frequency. (I disabled all PWM/fault pin/external clock because I only want a pure counter). I'm using FRDM-K22F so I made KSDK and PE enabled.

I've checked the help of this component, even generated codes, but still no idea.

Not sure if my way is correct to use this component? But I do not find any other timer components for FTM of Kinetis?

Labels (1)
Tags (2)
0 Kudos
2 Replies

86 Views
DavidS
NXP Employee
NXP Employee

Hi Wang,

Once you have installed and configured the fsl_ftm PE component, you need to use the FMT_HAL API to continue the configuration as far as I can see.

I haven't tried it yet though.

Regards,

David

86 Views
walter_wang
Contributor III

Hi David,

If so, this might be the only way to make proper time configured...

Thanks.

Walter

0 Kudos