2021-11-30 12:51 AM
I am using 3 Channels to generate 6 pwm using complementary pwm by timer 1.I want to control output of CH1 and CH1N seperatly.
I tried configuring according to this table:
TIM1->CCER &= (uint16_t) ~TIM_CCER_CC1NE; // Disabling compl pwm
HAL_Delay(15000);
TIM1->CCER|=TIM_CCER_CC1NE; // Enabling compl pwm
Enabling compl output again does not work.The output is disabled and never get enabled again.
can someone help to configure bits.I am doing something wrong.How to configure bits to enable and disable output over fly ?
Solved! Go to Solution.
2021-11-30 02:00 AM
2021-11-30 02:00 AM
solved
2021-11-30 01:54 PM
> solved
Perhaps not?
The forum works best if you provide your solution to the problem rather than simply say "solved." The forum exists to help others.