cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F100RBT6 TIM15_CH1 and TIM15_CH1N complementary pwm mode does not generate the complementary output

FAleg.1
Associate II

STM32F100RBT6 TIM15_CH1 and TIM15_CH1N complementary pwm mode does not generate the complementary output

I have a problem with my complementary output generation at Timer 15 Channel 1. I have set all parameters at CubeMX and have set

HAL_TIM_PWM_Start(&htim15,TIM_CHANNEL_1);

HAL_TIMEx_PWMN_Start(&htim15,TIM_CHANNEL_1);

inside USER CODE BEGIN 2.

The output for PB14 (TIM15_CH1) works very well but PB15 (TIM15_CH1N) is always set to 0 and nothing actually takes place. I don't know what is wrong since I have set all parameters the way I always do when dealing with for instance TIM1 for complementary output.

Below there is an image with further details regarding the pins and features I am using in the microcontroller.

Thank you in advance.

0693W000003PPEjQAO.png

11 REPLIES 11

Yes, my point was merely that it seems to be an old problem with the MX Cube, still existing problem

Ah I see.

JW