STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Caprure compare Interrupt

I try to generete interrupt when CNT register reach any value. But It generete when I enabled to interrupt EGR bit is always zero. when I try to change accept first bit not effected.It is configuration  capture = TIM_GetCapture2(ExternalOSCTimer); TI...

0693W00000Y9bCXQAZ.png 0693W00000Y9bCSQAZ.png
hdemi.1 by Associate III
  • 807 Views
  • 3 replies
  • 0 kudos

STM32F407 RTC sporadically showing future time

Most of the future time occurs around 12:00 in the morning, here are the instances captured on the device:1. The actual time is: 2023-01-11 11:59:55, the STM32F407 RTC time is: 2023-01-12 12:00:002. The actual time is: 2022-12-31 11:59:58, the STM32F...

zhuij.1 by Associate II
  • 1154 Views
  • 5 replies
  • 0 kudos

Resolved! Reconfigure the synchronized timers

Hi, I'm using STM32F407 development board. I synchronized TIM2 as master and TIM5 as slave. Timer initialization functions:void TIM2Config (void) { // 1. Enable the TIM2 clock RCC->APB1ENR |= RCC_APB1ENR_TIM2EN; // 2. Set clock coeff. as 2, ena...

0693W00000Y9oyoQAB.png 0693W00000Y9p1iQAB.png