Solved
How to control complementary pwm output ?
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 ?
