Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

None: Timer interrupt on stm32f103 (2 Replies)

$
0
0
The weather is fine, so I'm having a little suprise with timer interrupt on update event. I thought that if timer is configured to count up, update event will occure just after the overflow, i.e. when CNT will become equal to zero. According to figures 103-105 from reference manual. But that doesn't seem to be the case for some reason. I tested it with this simple code: RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE); // tick frequency in Hz const uint32_t tickFreq = 1

Viewing all articles
Browse latest Browse all 3049

Trending Articles