@ Rob
I am using a simple function generator and giving the pulses from it and yes I have connected both the grounds of the arduino board. I am applying the pulses to the BNC connector and from there I am giving the pulses to the digital pin 3 (D3) and I am not using pull down/up resistor. But did you also check the code output? Can you too check the output and then make the comparison with mine?
Thanks