Skip to main content
hdemi.1
Associate III
January 14, 2023
Question

External clock mode 1

  • January 14, 2023
  • 1 reply
  • 641 views

I am using stm32f0. TIM1 CH1 is external clock source. Code counts every falling edge of oscilator. When Update event is generete, I count event. Thats why I found passing time

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
January 14, 2023

Make sure to clear the auto/local variables.

On TI​M1 and TIM8 be sure to enable output/usage, via MOE bit

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..