Ignition

P0340

Camshaft position sensor "A" circuit (bank 1 or single sensor)

Generic (SAE J2012) · last verified 2026-11-26

What it means

The engine computer is not receiving a usable signal from the camshaft position sensor. This sensor tells the computer which stroke each cylinder is on, so the signal affects fuel injection and ignition timing.

Safety implications

An intermittent camshaft signal can cause the engine to stall without warning. If the engine has stalled in traffic, treat this as urgent. Do not replace the sensor until the circuit and timing are checked.

Possible causes

  • ·Faulty camshaft position sensor
  • ·Damaged wiring, connector or corroded pins in the sensor circuit
  • ·Metal debris on the sensor tip or a damaged reluctor wheel
  • ·Timing chain or belt wear causing the signal to fall outside the expected range
  • ·Engine computer circuit fault (less common)

Common symptoms

Long crank or no startEngine stall or intermittent stallRough running or misfireReduced powerOther codes for camshaft or crankshaft correlation

Recommended diagnostic tests

  1. 01Inspect the sensor connector and wiring for damage or corrosion
  2. 02Check sensor signal with a scan tool while cranking
  3. 03Verify sensor power, ground and reference voltage
  4. 04Check for metal debris on the sensor
  5. 05Verify timing marks and chain condition if the signal is erratic

Related components

Camshaft position sensorTiming chain or beltEngine wiring harness

Related codes

Reference and verification

  • Generic OBD-II diagnostic trouble code definitions (SAE J2012)

    SAE International · retrieved 2026-11-26

    Limitation: Generic definition. Engine and sensor configuration vary by vehicle.

  • Generic code definition. Several engine variants share the same code, so the sensor part number depends on the exact engine.

Want this narrowed to your vehicle?

WrenchClue researches your year, make, model and engine for causes, tests and reference pricing.

Diagnose this code