cancel
Showing results for 
Search instead for 
Did you mean: 

how to only output stm32 pwm CH1N and disable CH1, in "pwm generation CH1 CH1N" mode

Davi
Associate II

the below code is not working for me

//HAL_TIM_PWM_Start(&htim15,TIM_CHANNEL_1);

HAL_TIMEx_PWMN_Start(&htim15,TIM_CHANNEL_1);

10 REPLIES 10
TDJ
Senior III

Briefly, to enable timer on CH1N use HAL_TIMEx_PWMN_Start(), not HAL_TIME_PWM_Start().
I just wasted all evening before I figured this out.