Gate timing with calibration pulse