CMPSensor

Camshaft Position Sensor (CMP)

Group: Engine position and speed

The CMP sensor tells the computer which stroke of the cycle each cylinder is on. The computer uses it to time sequential injection and to control variable valve timing. When it fails you get long cranking times and codes P0340 to P0349 or P0010 to P0017.

Contents

What does the CMP sensor do?

The crankshaft turns twice for every complete engine cycle, so the CKP alone cannot tell whether cylinder 1 is on its compression or exhaust stroke. The CMP reads a notch or wheel on the camshaft and resolves that question. On engines with variable valve timing (VVT, VANOS, VTC) the computer also compares the CMP signal with the CKP signal to know how far the camshaft has been advanced or retarded.

Where is it located?

On the cylinder head, usually at the front or rear of the valve cover, next to the end of the camshaft. Dual overhead cam engines with variable timing have one per camshaft (intake and exhaust) and sometimes one per bank.

Signal type and reference values

  • Almost always Hall effect: 3 wires (5 V or 12 V supply, ground and a 0 to 5 V square-wave signal).
  • Some older engines use 2-wire inductive sensors.
  • CKP/CMP correlation must be within a few degrees; a bigger deviation sets P0016 to P0019.

Values are a guide only: always check the manufacturer's data for your engine.

Symptoms of a bad CMP sensor

  • Long cranking: the engine takes several seconds to start while the computer looks for synchronization.
  • Loss of power or bucking caused by out-of-phase injection.
  • Higher fuel consumption.
  • On some models, the engine stalls or does not start.
  • Check engine light with P0340 or correlation codes.

How to test the CMP sensor step by step

  1. Read the codes: P0340 points to the circuit; P0016 or P0017 mean the signal arrives but does not match the crankshaft (possibly a stretched chain).
  2. Check the connector: CMP sensors close to the valve cover often have oil seeping inside.
  3. With the ignition on, check the supply (5 V or 12 V) and ground at the connector.
  4. With the engine turning, measure the signal: it should switch between 0 and 5 V (on an oscilloscope you will see a clean pulse train).
  5. If the circuit is good and there is a correlation code, verify the timing before replacing sensors.

Trouble codes related to the CMP sensor

Frequently asked questions about the CMP sensor

What is the difference between the CMP and the CKP sensor?
The CKP measures the crankshaft (speed and position). The CMP measures the camshaft to know which stroke each cylinder is on. The engine needs both for correct sequential injection.
Can a P0340 be caused by the timing belt or chain?
Yes. If the timing jumped a tooth or the chain is stretched, the CMP signal arrives out of phase. That is why you should also check for P0016 and verify the timing before replacing the sensor.

Updated September 25, 2026. Values are a guide only: always confirm them in the service manual for your engine.