The CKP sensor detects crankshaft speed, and is used by the PCM to determine ignition timing, timing for fuel injection of each cylinder, and engine misfire detection.