cancel
Showing results for 
Search instead for 
Did you mean: 

LL library STM32 OUTPUT compare preload pwm setting enable is unsuccessful,May I ask what is the reason?

Bence
Associate II

When I set Output compare preload to enable in the configuration interface, the generated code shows disable0693W000001cFw5QAE.png0693W000001cFvvQAE.png

13 REPLIES 13

Ok, I know, thank you. My solution is to enable it again during initialization.

Hi @Nesrine.JLASSI (ST Employee) How to configure to change The TIM_OC_InitStruct.OCState from LL_TIM_OCSTATE_DISABLE to LL_TIM_OCSTATE_ENABLE?

Hi @Bence​ 

The cc1E bit to which it refers is wired in the driver and activated in the START functions. 

it's not STM32CubeMX configuration.

Regards,

Nesrine

Got it,Thanks!

Best Regards,

Bence