So the timer will trigger an external device to create a voltage which the analog comparator is going to compare against?What does the whole thing do?
I assume that you aren't using a bridge here.The typical approach then is to charge up a fully depleted cap and measure the current during the initial charge up. The comparator is probably not a very good tool for this.Unless you have a different approach?
But my question was if you know a better way with only one interrupt
If you know V, n, I, Tc, Td, C, you can solve for ESR from the above.