PWM example code when use S32K144

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

PWM example code when use S32K144

1,634 次查看
jxl
Contributor I

Hi,

        I want to get 4-channel PWM signals which have the same frequency and complement  each other when I use S32K144, can I get example code ? Thanks!

0 项奖励
回复
1 回复

1,385 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You can refer to the ftm_combined_pwm_s32k144 SDK example in the S32 Design Studio.

pastedImage_1.png

It utilizes 2 PWM channels in combined complementary mode.

You can add another pair of channels.

One FTM instance has only one counter so all the PWMs will have the same frequency. 

pastedImage_2.png

Regards,

Daniel

0 项奖励
回复