Cannot configure the FTM timer counter frequency of fsl_ftm component?

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

Cannot configure the FTM timer counter frequency of fsl_ftm component?

721件の閲覧回数
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?

ラベル(1)
タグ(2)
0 件の賞賛
返信
2 返答(返信)

439件の閲覧回数
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

439件の閲覧回数
walter_wang
Contributor III

Hi David,

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

Thanks.

Walter

0 件の賞賛
返信