Possible BUG: CubeIDE TIM1 CH1N PWM F411 Low Layer
There is strange behaviour with CH1 and CH1N in TIM1 (STM32F411) when using CubeIDE and Low Layer.
If you set CH1 in PWM mode 1 it works after:
LL_TIM_CC_EnableChannel(TIM1, LL_TIM_CHANNEL_CH1);
LL_TIM_EnableCounter(TIM1);
If you set CH1N in PWM mode 1 you have to additionally Enable Output by:
LL_TIM_CC_EnableChannel(TIM1, LL_TIM_CHANNEL_CH1N);
LL_TIM_EnableCounter(TIM1);
LL_TIM_EnableAllOutputs(TIM1);
You can also Enable CH1N output by:
TIM_BDTRInitStruct.AutomaticOutput = LL_TIM_AUTOMATICOUTPUT_ENABLE;
TIM_OC_InitStruct.OCMode = LL_TIM_OCMODE_PWM2;
It works only for PWM2 not for PWM1.
This is only an output problem. Timer and interrupts work normally.
