How to setup TIM14 in capture mode but disable TI1 input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-04 1:14 PM
I'd like to use TIM14 to time some events but only using software capture triggering. I'd like to setup TIM14 to count continuously through its whole range and use the CC1G bit in the TIM14_EGR to capture the timer. I'd like it to ignore TI1 or disable TI1 but I don't see any option to do this. Thanks,
Solved! Go to Solution.
- Labels:
-
STM32G0 Series
-
TIM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-04 11:39 PM
If you don't set any TIM14_CH1 in the GPIO AF matrix, there will be no TI1 edge.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-04 1:46 PM
Please include the STM32 part number, or at the very least the family.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-04 11:39 PM
If you don't set any TIM14_CH1 in the GPIO AF matrix, there will be no TI1 edge.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-05 8:56 AM
Hi TDK, the specific part is STM32G030C6 but from all the families I have used so far the TIM is identical so I did not think this made a difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-05 8:58 AM
Hi waclawek.jan, I kind of figured this but did not know if this would ground the TI1 input or not. It would have been helpful if ST had a basic schematic of the input macro cell in the data sheet like TI does. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-05 2:21 PM
Yes, this is a piece of information ST never cared to clarify, treat it as such.
JW
