User Activity

Hi,I am using STM32G474 Nucleo board and try to use TIM1_CC_IRQHandler. I am using TIM1_UP_TIM16_IRQHandler to check certain conditions and then I'll enable the CC1IE bit in TIM1->DIER register.I configured TIM1 as Center-aligned PWM mode.However, I ...
Hi,I'm using STM32G474 and trying to understand how COMP1 output blanking should be setup. From the reference manual, it can be set by using TIM1_OC5, but I didn't find anywhere mentioning how can i configure the length of the blanking period.Any tip...
void TIM1_UP_TIM16_IRQHandler (void) { volatile uint8_t t; uint32_t sr;   sr = TIM1->SR; sr &= ~TIM_SR_UIF; gpio_set(TIM1_PORT, TIM1_PIN); gpio_clr(TIM1_PORT, TIM1_PIN); TIM1->SR = sr; while (TIM1->SR & TIM_SR_UIF); }Above i...
Kudos from