Skip to main content
AFied.1
Associate II
February 18, 2021
Question

Is there a waY to provide a Timers external Clock Signal on CH1, but only if CH2 is Active?

  • February 18, 2021
  • 1 reply
  • 667 views

Hi,

​

I would like to provide / route a Timers external Clock Signal to CH1 pin, but only if CH2 is in Active state.

​

So that it acts kinda like a AND Gate.​

​

Is this possible? If so, how? Is there a sample somewhere I can have a look at?​

​

greetings and thanks,

André​

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
February 18, 2021

Not quite so. What can be done is to input external clock through TIMx_ETR and gate the timer by the slave-mode controller in Gated mode, controlled from CH1 or CH2.

JW