User Activity

Hi, I have a code in which I am controlling a PWM output in Center Aligned Mode using Timer 2 Channels 2 (inverted polarity) and 3, both having their duty cycles changed by the functions:__HAL_TIM_SET_COMPARE(&htim2,TIM_CHANNEL_2,(duty_c-0.05)*400);_...
STM32F100RBT6 TIM15_CH1 and TIM15_CH1N complementary pwm mode does not generate the complementary outputI 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...
I want to blink a LED and I have written this code:#include "stm32f10x.h"int main(){ // initialize the clock for Port C RCC->APB2ENR |= (1<<4); // enable clock for GPIO C ( check it on memory and bus architecture) // set pin 9 of GPIOC ...