How to use S32K's FTM to generate variable-frequency square waves

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

How to use S32K's FTM to generate variable-frequency square waves

ソリューションへジャンプ
1,390件の閲覧回数
海斌蔡
Contributor II

1.What mode is the channel configured into?

output compare or pwm?

2.Can give me an example for that?(The development environment is S32DS)

Thank you very much!!!

0 件の賞賛
返信
1 解決策
1,119件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
You can use both.
OC can clear, set or toggle the corresponding output pin on match.
PWM can be configured in different modes depending on your application requirements.

You may refer to AN5303 Features and Operation Modes of FlexTimer Module on S32K

AN5303SW.zip - please be aware that the project was built for the first 0N77P S32K144 maskset so the header files are outdated.

Regards,
Daniel

元の投稿で解決策を見る

1 返信
1,120件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
You can use both.
OC can clear, set or toggle the corresponding output pin on match.
PWM can be configured in different modes depending on your application requirements.

You may refer to AN5303 Features and Operation Modes of FlexTimer Module on S32K

AN5303SW.zip - please be aware that the project was built for the first 0N77P S32K144 maskset so the header files are outdated.

Regards,
Daniel