cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G431 Comparator output to Timer

STere.1719
Associate II

Hello.

STM32G431CBT6

Is it possible to route the output from the comparator to the input of the Timer input? The reference manual says that this is possible, but there is no description. And in the comparator register there are no options for choosing where to send the output.
Previously, I used stm32f072, and in the comparator settings there is an "OUTSEL"  bit field where you can select where the output will be connected.

I need to measure the signal period (timer in "input capture" mode). 

1 ACCEPTED SOLUTION

Accepted Solutions

In 'G4, the interconnection from comparators to timers is extensive.

For interconnection into the individual channels, see description of TIMx_TISEL register(s) and the links to the input matrix tables from there.

JW

View solution in original post

1 REPLY 1

In 'G4, the interconnection from comparators to timers is extensive.

For interconnection into the individual channels, see description of TIMx_TISEL register(s) and the links to the input matrix tables from there.

JW