I want to count short LVTTL pulses (about 20-25 nanosecond.)
Right now, I use an Arduino with four IN74AC161N binary counters, but this solution has some Arduino limitations.
I count pulses, send the numbery to USB-serial every 20ms (the Arduino can't be faster) and use analog output to set proportional level (with worth Arduino's DAC.)
I thought about a solution based on internal counter. I found that the STM32 has HRTIM (hi-res timer) and it has a resolution of 180-300 ps! It's great, but I think it's using a sledgehammer to crack a nut.
How I can calculate what controller is good for me? STM32, ESP8266, ESP32 or any else?