2022-08-10 02:39 AM
2022-08-10 03:12 AM
Read the datasheet, 12-bit ADC characteristics chapter.
JW
2022-08-10 04:04 AM
2022-08-10 05:13 AM
For the MCU or the ADC? Both should be in the Data sheet, surely?
2022-08-10 05:42 AM
2022-08-10 05:51 AM
Considsr the timer max clock frequency to be around the logic limit. Of course timer clock can be lower frequency than io input signal... for example using an input prescaler. Or using input signal as timer clock.... that is a different question. Channels 1 and 2 to use first as more versatile.
2022-08-10 08:16 AM
I can't find this information in the DS or RM.
I think for input capture the limit is the timer clock frequency, or perhaps 1/2 sysclock if there is resync of the input signal.
The real question is how fast you can drain the captured data.
I rated this at 1/10 of the system clock frequency using DMA. With a 64 MHz sysclock consider 6.4M capture/sec. At 8M capture/sec some capture were missing.
This is on one channel. If there are several channels, this capture rate must be shared.
2022-08-10 10:31 AM
To measure anything useful perhaps 12 MHz or below, and perhaps at some integer submultiple of the APB / TIMCLK
Instead of riddles, perhaps actually state what the goal is, and we can postulate if that's feasible, or that your approach is perhaps not suitable.
Would be good for servo 50 Hz PWM
At 500-1000 KHz, with it interrupting, perhaps unrealistic.