Iam simulating the circuit using LTSpice software. Need to hold few ns time at the output of the comparator. Do anyone help me?
Need to hold few ns time
Finely; a few does not equal 100.I want to hold the output of the comparator for at least 100ns.
From your circuit.In this circuit, Why this V2 and R1 are left unconnected?
You must be using an interrupt? How are you using the data? If you are poling the pin it will take a long time. Are you using a counter input?When there is change in input it takes approximately 64 ns
From your circuit.
You must be using an interrupt? How are you using the data? If you are poling the pin it will take a long time. Are you using a counter input?
Yes Iam feeding pulses into the interrupt pin of Arduino.
There are 4 pulses of 2nS. Total time is about 20nS. The Arduino can do nothing in this time.
Yes, Arduino can't do anything. So, only I want the Comparator output to hold for 100/500 ns for every 2ns pulses.
Do you want the Arduino to see all 4 pulses?
yes.
I can make a circuit where the output goes high on the first pulse. The output will stay until the Arduino reads and resets the circuit back to low.
Yes, it should happen for all the N pulses. Not only for first pulse.
If you want to know how fast the response is. Make a loop: set pin high, set pin low, conditional branch, loop. Watch the pin with a scope. You can do nothing in 64nS.Arduino Uno has clock frequency 16MHz. When there is change in input it takes approximately 64 ns to respond.