Posted on May 14, 2013 at 13:57 As the subject above, can sb tell me about the difference between TIM_TimeBaseStructure.TIM_Prescaler and TIM_PrescalerConfig? As below is the code from ST Example Librabry: [CODE] __IO uint16_t CCR1_Val = 5461...
Posted on May 16, 2013 at 08:21If so, when i connect led directly with PA1 as the chasing CCR code you post above, will the led blink as the same frequency as the timer, or what?
Posted on May 15, 2013 at 10:39After check the stm32f4xx_it.c , I recognize that I din't change the capture value to uint32_t yet, that why when i replace TIM3 by TIM2, it go wrong :D. I really appreciate your help,Thanks you so much!! By the...
Posted on May 15, 2013 at 04:44Thanks for your reply, I'm studing step by step , follow examples in ST library, the code above in TIM_BASE example I use STM32-Discovery board, the original code use TIM3 16bit to set frequency for 4 channel in output...