cancel
Showing results for 
Search instead for 
Did you mean: 

In 'F3, Comparator output to Timer Input channel, connects exactly where?

Red, or blue?

0690X000009ZgqvQAC.png

The difference is, that in the case of red, the comparator output could be used to detect both edges by redirecting to 2nd timer channel (a.k.a. "PWM input mode").

And, in any of these cases, the original input is ORed with the comparator signal, or switched off completely, or something else?

Thanks,

Jan Waclawek

1 ACCEPTED SOLUTION

Accepted Solutions
Vincent Onde
ST Employee

​Hi Jan,

The comparator output is connected before the XOR input, on TIMx_CH1. This is equivalent to the red arrow in your schematics, and allows to use PWM input mode.

The original input is ORed with the comparator signal, as shown below.

Best regards,

Vincent

 0690X00000AAPKtQAP.jpg

View solution in original post

7 REPLIES 7
Vincent Onde
ST Employee

​Hi Jan,

The comparator output is connected before the XOR input, on TIMx_CH1. This is equivalent to the red arrow in your schematics, and allows to use PWM input mode.

The original input is ORed with the comparator signal, as shown below.

Best regards,

Vincent

 0690X00000AAPKtQAP.jpg

@Vincent Onde​  ,

This is good news, thanks for the information.

Could this please be introduced into all the relevant RMs, or, alternatively, could an appnote been written containing this sort of informations (interconnections not detailed enough in the RMs)?

Thanks,

Jan

​Hi Jan,

Yes, we can update the F3 family RMs for the next release to come.

Best regards,

Vincent

Thanks.

Jan

AOrlo.2
Associate II

Hi

The same quastion for me))

But have addition quastion.

So to enable it, I need just disable the input pin on the timer? (How to remap the output of the comparator is clear)

Thanks,

Alex

> So to enable it, I need just disable the input pin on the timer?

Simply don't select given TIMx_CHx in GPIO.

JW

AOrlo.2
Associate II

Ok, thanjs!