User Activity

Posted on April 27, 2013 at 17:44 Hello, I'd like to use 4 channels of TIM5 as independent pulse counter, but CCR1..4 seems to have some non-sense value. Here's the code: void TIM5_Init( void ) { GPIO_InitTypeDef GPIO_InitStru...
Posted on April 26, 2013 at 22:54 Hello, I'm trying to count pulse on PB7 using timer TIM4 ch2. Everything is ok, but I'd like to reset CCR2 so I can start another measure. I tried with TIM_SetCompare2(TIM4, 0); but CCR2 isn't set to 0 after execu...