cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup TIM14 in capture mode but disable TI1 input

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,

1 ACCEPTED SOLUTION

Accepted Solutions

If you don't set any TIM14_CH1 in the GPIO AF matrix, there will be no TI1 edge.

JW

View solution in original post

5 REPLIES 5
TDK
Guru

Please include the STM32 part number, or at the very least the family.

If you feel a post has answered your question, please click "Accept as Solution".

If you don't set any TIM14_CH1 in the GPIO AF matrix, there will be no TI1 edge.

JW

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.

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

Yes, this is a piece of information ST never cared to clarify, treat it as such.

JW