Warning powertrain.ignition

P0340 — Camshaft Position Sensor (CMP) circuit fault. Engine doesn't know when to inject fuel to specific cylinders — falls back to synchronous injection, fuel economy worsens

Crankshaft position sensor

What it means

Common causes

  • Break in CMP wiring
  • Signal wire shorted to ground
  • Failed CMP sensor — typical replacement
  • Damaged reluctor on the camshaft
  • Corroded CMP connector
  • Miswired after head service

How to diagnose

  1. 01

    Read all stored and pending codes with an OBD-II adapter — get the full picture, not just the one code.

  2. 02

    Capture freeze-frame data (RPM, coolant temperature, engine load) at the exact moment the code triggered.

  3. 03

    Inspect the named subsystem with our app's AI explanation — get vehicle-specific causes for your make, model and year.

Decode P0340 on your actual car

Plug in an OBD-II adapter and get an AI-powered diagnosis tailored to your vehicle make, model and year — in 30 seconds.

Try the demo

Related codes