I need to measure the time between two signals to get the phase. The problem is that the frecuency of the signals are around 100kHz. I don't know how is the best way to get the phase (which are around 200ns). I see to use input capture but the best frecuency of the timers is the TIMER_CLOCK1 which is 42MHz -> 23ns of period, but it bad accurracy. Are any way to get the phase with the Arduino Due? Using Sysclk or anything with that microcontroller which used the 84MHz. I have a the circuit with two comparators that trigger when each signal passes through 0V down flank. So I can use two pins of arduino or modify the circuit if it's necesary more pins.
My idea is something like this but i see your coments: