I would like to replace this using a modern micro but need to use a 0 - 5V input signal. The actual signal is +6V for about 5uS and -12V for around 1uS - see attached.
0-5v is within +6 to -12 so a simple clamp will do. ie a series R and diodes to V+ and GND, or a series R and a diode+resistor to GND
Or, a
resistors only solution also exists, that avoids going > 100mV outside the rails.:
11k series , 47k to GND, 4k7 to +5V gives -83mV to 4.953V from -12V~+6V, rise time of appx 60ns into 10pF load.
or 11.3k, 51k, 4k7 gives 5mV to 4.970V from -12V~+6V, but a clock signal does not need to be anything like that precise.
All I need is to capture as close as possible, the leading edge of the low going pulse.
Capture by what, to what resolution?