P0340: Camshaft position sensor (CMP) – circuit
The camshaft sensor signal is missing or implausible.
Medium severityCan I drive? Briefly; risk of stalling and hard starting.
What P0340 means
The cam sensor tells the ECU which cylinder is on its compression stroke (for sequential injection). Many engines start without it, but with difficulty, and go into limp mode. On diesels, some engines won't start at all without the cam signal.
Symptoms
- Hard starting (long cranking)
- Engine in limp mode, lack of power
- Sometimes stalls
Possible causes (most common first)
- Faulty sensor
- Wires / connector
- Damaged cam reluctor wheel
- Jumped timing (see P0016)
How to check, step by step
- Check the supply (5 V or 12 V), ground and signal
- Compare with the crankshaft signal (oscilloscope)
- Check the timing synchronisation if the sensor is good
How it's repaired
- New sensor
- Wiring
- Adjusting / replacing the timing
Parts often replaced for P0340
Related codes
The descriptions are general. The same code may have particularities on certain engines; before replacing a part, check the diagnosis steps or ask a mechanic. Updated: 01.12.2026