I am now working on STM32F071 running at 48MHz. I would like to use timer to capture a signal at frequency higher than 400KHz.
Originally I use the input capture interrupt to read the period and duty cycle. The method is ok up to 4xxKHz. Then when the signal frequency becomes higher (600kHz for example), my software in main loop does not have chance to run at all.
I want to ask:
1. Is there any one shot input capture mode so that the software will not keep entering the input capture interrupt ? (if yes, how to set?)
2. What normally people will do if they require to continuously monitor a very high frequency input signal using input capture mode?
Thank you very much.