2012-08-28 03:14 AM
Hi,
I'm beginner with stm32 (and other microcontroller), I read datasheet of stm32 discovery, but i don't understand how to do a simple counter. I understand how to initialize counter, but not how to use it. I search on web, but i don't find examples very concrete, do you know where i can find concrete example to learn to use timer on stm32. I don't ask you a complete code of counter but just a little explain. Regards,2012-08-28 08:08 AM
Which board/part, exactly?
What do you want the timer to count? Input pulses, internal clocks? All the STM32 firmware libraries come with a quite large collection of TIM programming examples. Have you reviewed any of those? STM32F4xx_DSP_StdPeriph_Lib_V1.0.1\Project\STM32F4xx_StdPeriph_Examples\TIM\InputCapture