Beginner with timer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-08-28 3:14 AM
Posted on August 28, 2012 at 12:14
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,
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-08-28 8:08 AM
Posted on August 28, 2012 at 17:08
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
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
