User Activity

Posted on January 19, 2018 at 12:10I am writing a simple timer1 based counter derived from internal clockAs soon as TIMx->CR1 |= TIM_CR1_CEN; is executed the counter is overwritten to 0(irrespective of any value stored in CEN register, if it is writ...
Posted on January 19, 2018 at 11:49I am working on STM32 discovery board to develop a counter functionality of the timer1 using internal clock cycles.The update interrupt flag goes high every time the (CNT ==0) also as soon as I enable the counter t...
Posted on January 15, 2018 at 14:36I am new to STM32 controllers and I wanted to create a sample code for counter in TIM1. I am facing a problem that the update interrupt flag, which is supposed to go high when counter equals ARR register, is going ...