KV11z-PWM

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

KV11z-PWM

446 次查看
CMooN
Contributor I

Hi,

I am using (ftm_simple_pwm.c) for center-aligned PWM. I want to create a PWM at channel3 of FTM0. I can create a PWM and change its duty cycle from 0 to 100 at the channel1 of FTM0. But, I can't create it at channel3 of FTM0. Could you please help me? Thanks for any help. 

0 项奖励
回复
1 回复

388 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @CMooN

In order to utilize another channel in the same FTM, it is necessary to initialize it like the previous channel. There might be a missed step starting up channel 3, resulting in no signal showing. The example "frdmkv11z_ftm_pwm_twochannel" shows how to initialize two channels in the same FTM. I hope you find this useful!

 

Could you please help me confirm this works?

Best regards, Julian

0 项奖励
回复