How can I detect when a 50 Hz signal is turned on and off, respectively?
I am working with the STM32F446 microcontroller and I need to detect when a 50 Hz (plus-minus 2 Hz) square wave signal is turned on and off, respectively. The signal is connected to a pin that has TIMx_CHy alternate functionality. Is there a way to a...