I know that interrupt latency depends on what the CPU is doing when the interrupt takes place (arm interrupt latency guide). This effect is called interrupt jitter. For my application I need a mcuan MCU with fixed interrupt latency (zero interrupt jitter). The latency may be arbitrarily high but the jitter must be zero. Do you know any mcuMCU for that?
If there is no any zero jitter mcuMCU, Isis there a way to programmatically compensate latency differences, adding some processor cycles for cases when interrupt latency is lower than maximum?
I need such mcuMCU to measure times between two events with precision up to 1 cycle. Maybe it would be better not to look for specialized mcuMCU but to construct an external circuit for measuring time?