i am using S32K144 MCU and using FTM peripheral instance 0.
I want to generate different frequencies on FTM0_CH0 and FTM0CH1.
But what i observed, if i change frequency/period of one channel by API: Ftm_Pwm_Ip_UpdatePwmPeriodAndDuty(FTM_INSTANCE_0, channel0, 35000, 12000, TRUE );
then frequency of other channel also gets changed.
I get it that MOD register for all channels is same. Thus changing MOD value for changing the frequency will change the period of whole FTM instance.
But what if i want to have different frequencies on channels of same FTM instance.
How can i achieve that?
Solved! Go to Solution.
Hi@gkunalupta
But what if i want to have different frequencies on channels of same FTM instance.
No, this can not be done in same FTM instance.
Hi@gkunalupta
But what if i want to have different frequencies on channels of same FTM instance.
No, this can not be done in same FTM instance.