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.
Solved! Go to Solution.
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
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