cancel
Showing results for 
Search instead for 
Did you mean: 

Can the timer be used to divide incomming pulses and send the result out?

MSipo
Senior II

Is it possible to configure 1 or more timers to divide incomming pulses on a pin by a factor (for example 😎 and send out the result on another pin?

Like this:

0693W00000WJKegQAH.pngThat way I would not need to implement the counter in software.

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

This should be possible with the timers, e.g. with the function Output Compare Toggle. Details can be found in AN4013 or in the respective reference manual, section Output compare mode.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Peter BENSCH
ST Employee

This should be possible with the timers, e.g. with the function Output Compare Toggle. Details can be found in AN4013 or in the respective reference manual, section Output compare mode.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.