MCU: FS32K144UAT0VLLT
100LQFP
after this line PWM output is high 3.3v. how to make it low
so now I have changed duty cycle to zero
any other way can we make it low during that time?
Hi @Bhuvana,
The FTM_DRV_UpdatePwmChannel() function can be called in the runtime to change the duty cycle.
Refer to ftm_pwm_s32k144 SDK example for more information.
Also, the FTM module allows masking the PWM output (RM rev.14, Section 47.5.17) or control the output by SW (Section 47.5.15 Software Output Control Mode).
There are these SDK API: FTM_DRV_ControlChannelOutput(), FTM_DRV_MaskOutputChannels().
Regards,
Daniel