Nanosecond resolution with external interrupt
Posted: Wed Jan 31, 2018 11:06 am
Hello everybody,
I'm studing ESP8266 specs and i haven't wrote a single line of code (yet). What i want to do is to capture the exact rising and falling time of a signal within 10-20 nanoseconds resolution. I have done different experiments with arduino uno and due, but as you know the processors on those boards are not fast enough for the job.
What i thought to do is to configure the interrupts on the ESP to capture the rising and falling edges and timestamp them with the systick (using the processor cycle count). So, i'm curious to know if its possible to reach the precise timing i need with the 160Mhz processor of the ESP-12E and if it's possible to configure the ESP to fire the interrupt without any delay?
Thanks in advance,
Bilhan.
I'm studing ESP8266 specs and i haven't wrote a single line of code (yet). What i want to do is to capture the exact rising and falling time of a signal within 10-20 nanoseconds resolution. I have done different experiments with arduino uno and due, but as you know the processors on those boards are not fast enough for the job.
What i thought to do is to configure the interrupts on the ESP to capture the rising and falling edges and timestamp them with the systick (using the processor cycle count). So, i'm curious to know if its possible to reach the precise timing i need with the 160Mhz processor of the ESP-12E and if it's possible to configure the ESP to fire the interrupt without any delay?
Thanks in advance,
Bilhan.