is there some sample code showing how to count external events with TIM3 or TIM4 (with or without interrupt)? I'm using a STM32F429Idisc with HAL library and system workbench.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-08 9:13 AM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-08 10:15 AM
I don't see any in the Cube repo. Shouldn't be hard to generate an example with CubeMX. You want a timer in external clock mode.
If you feel a post has answered your question, please click "Accept as Solution".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-08 10:31 AM
The mechanics here shouldn't be that hard to replicate in HAL. You can set the count period/total for the counter, and don't need to interrupt.
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..
