Resolved! How to initialize and use TIM2 for output compare?
I am using the STM32F303CB controller.System Clock - 72MHz APB1ENR - 72MHz for TimerI followed the below steps as per the reference manual.Timer2 Initialization: RCC->APB1ENR|= RCC_APB1ENR_TIM2EN; TIM2->ARR = 72000-1; TIM2->CCR1= 4000; TIM2->...