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