OBD DiagnosticsFree OBD-II tools by Diag Hive

Codes › P0340

P0340: Camshaft position sensor A circuit (bank 1 or single sensor)

Powertrain (engine and transmission) · Ignition system or misfire · Standard code (the same on every make)

What it means

The camshaft position sensor tells the engine computer which stroke each cylinder is on, so it can time the injectors and, on many engines, the spark. P0340 means the signal is missing or wrong; the related codes narrow it down (range, low, high, intermittent) and name the bank and sensor (A is usually intake, B exhaust).

This guide also covers: P0341 (Camshaft position sensor A circuit range / performance (bank 1)); P0342 (Camshaft position sensor A circuit low (bank 1)); P0343 (Camshaft position sensor A circuit high (bank 1)); P0344 (Camshaft position sensor A circuit intermittent (bank 1)); P0345 (Camshaft position sensor A circuit (bank 2)); P0346 (Camshaft position sensor A circuit range / performance (bank 2)); P0347 (Camshaft position sensor A circuit low (bank 2)); P0348 (Camshaft position sensor A circuit high (bank 2)); P0365 (Camshaft position sensor B circuit (bank 1)); P0366 (Camshaft position sensor B circuit range / performance (bank 1)); P0390 (Camshaft position sensor B circuit (bank 2))

Symptoms

Common causes

  1. Failed camshaft position sensor
  2. Wiring or connector damage, or oil leaking into the connector
  3. Timing chain or belt stretched, slipped or installed one tooth off (especially with P0341 or timing codes)
  4. Damaged reluctor on the camshaft

How to diagnose it

  1. Check for other codes: cam and crank correlation or camshaft timing codes together point toward timing rather than the sensor.
  2. Inspect the connector for oil, corrosion and bent pins.
  3. Test the sensor's power, ground and signal; compare the cam and crank signals on a scope if you can.
  4. If the timing chain or belt was recently replaced, verify the timing marks.

Calculators that help with this code

Diag Hive tools that put numbers on the diagnosis.

Is it safe to drive?

Often yes for a short distance, but the engine may stall or not restart. Have it checked soon.

Got this code right now? Diag Hive reads your car's codes with an OBD-II adapter, shows the freeze frame, and its AI tells you what to check first on your vehicle.

Other guides

More tools in Diag Hive

Other free tools