Resolved! Weird behavior of timer after setting CNT register to 0 after specific time
Hi,I have background knowledge of programming and MCUs but I am fairly new to the STM32 ecosystem. I am trying to measure the RPM of a motor using an optical encoder that gives pulses on the output. I have done this on Arduino using the interrupts an...