OBD-II reference

All 9.533 generic OBD-II codes, explained in detail.

Causes, inspection steps and sources — a comprehensive DIY archive. Created and maintained with love for the detail. Good luck and have fun!

Powertrain generic / SAE

P0340

Camshaft Position Sensor A Circuit Bank 1 or Single Sensor

The camshaft position sensor, almost always a Hall sensor, tells the engine module which stroke cylinder 1 is in – one crank revolution alone is ambiguous – and measures the actual cam phase with variable timing. Sensor A is the intake camshaft, bank 1 the side with cylinder 1. P0340 means no or too few cam pulses arrive while the crankshaft turns in sync. GM sets it after 5.5 s (or 4 s) of cranking without a cam pulse or fewer than 4 pulses in 3 s running, petrol engines after two trips. Ford checks the ratio of cam to crank events from 200 rpm. The engine usually keeps running but starts longer and loses power as cam timing is held. Bulletins: corroded connectors on GM V8s (PIP5335C), moisture in the oil on short trips in Ford hybrids (SSM 48598).

SystemPowertrain
Typegeneric / SAE
GroupP0
Range / number3 / 40

Possible causes

  • Camshaft position sensor faulty (heat, moisture) high
  • Connector or wiring corroded or open, 5 V reference disturbed high
  • Tone wheel on the camshaft or phaser damaged, loose or at the wrong distance medium
  • Timing drive jumped or wrongly assembled medium
  • Moisture in the engine oil from short trips (Ford hybrids) low

Symptoms

  • Check engine light on
  • Longer cranking before the engine starts
  • Loss of power (cam timing held in its base position)
  • Rough idle, occasionally stalling

Inspection / repair

  • Difficulty: easy
  • DIY: possible

What Pro shows you for P0340

Before you go to the garage: roughly what the repair costs, how long it takes and which components are involved.

  • Repair cost (estimate)(visible in Pro mode)
  • Labour time(visible in Pro mode)
  • 5 affected components(visible in Pro mode)
  • 4 warnings for driving and inspection(visible in Pro mode)

See repair cost, labour time and components?

One key opens all tools by Fabian Brose.

Already have a key? · What is the workshop key?

Sources

References

How to read OBD-II codes

The first letter names the vehicle system, the second digit distinguishes generic from manufacturer-specific, the remaining digits group fault area and number.

PPowertrain: engine, transmission, emissions
BBody: chassis trim, comfort, interior
CChassis: suspension, brakes, steering
UNetwork: CAN, control modules, communication