2024-05-10 08:05 AM
I want to continuously measure the frequency of signal1 relative to signal2.
Signal1 can vary between 1-80 MHz, signal2 between 5-15 MHz.
My approach is:
Timer1 counts signal1.
Timer2 counts signal2 with a counter period of 200. This gives me an event roughly at 10 MHz / 200 = 50 kHz. When this happens, timer1 should be saved to memory (old values can be overwritten) and reset to 0.
How do I implement this in STM32CubeIDE? Especially the "one timer triggers reading of the other timer" is not clear to me.
2024-07-11 08:02 PM
I am also looking for a solution for this where I need to measure RF up to 54MHz. Did you find a solution to that, which input pin do you use for that and is there a code available or you would have written to count the frequency? Thanks, Sid