hello,
I want to add FTM Software Output Control in the example project "ftm_combined_pwm_s32k148", I add
FTM_DRV_MaskOutputChannels(INST_FLEXTIMER_PWM1,0xff,true);
FTM_DRV_SetAllChnSoftwareOutputControl(INST_FLEXTIMER_PWM1,0x1,0x1,true);
but channel0 doesn't go to 1 ,why?
please help me.
wang
Hello wqiang19@126.com,
The example does not use Ch0.
So, you must have added it and I don't know the configuration of the channel.
Can you share the whole modified example?
Please see the SDK documentation:
Regards,
Daniel
hello Daniel Martynek,
thank you very much.I have solved it.
FTM_DRV_MaskOutputChannels(INST_FLEXTIMER_PWM1,0xff,true); comment out this line all is ok.
Regards,
wang qiang