Hi,
FIrst post here. Apoligies if this has been covered elsewhere already...
I'm using two external interrupts with an Arduino Nano to measure phase shift of two analog signals which come into digital input pins 2 and 3 from a voltage comparator. Basically I need to find when the delay between the two interrupts is the smallest. I seem to just about get the results I'm after but I'm wondering if I'm overloading the processor? In the docs it says the resolution of the micros() function is 4 micro seconds for Nano. Fair enough, but can I actually run anything on the processors if the interrupts come in right after each other and very frequently? Is this reliable? Are there any info on how much I can load/rely on the interrupts etc?
I'm open to alternative solutions on measuring the phase shift as well if you know any? The frequencies I'm dealing with are less than 10kHz...
Cheers,
Kari