KV11z-PWM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KV11z-PWM

424 Views
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 Kudos
Reply
1 Reply

366 Views
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 Kudos
Reply