Know My EngineEspañol
Home / GM 6.6 Duramax V8 diesel (Silverado/Sierra 2500HD-3500HD 2006+: LBZ, LMM, LML, L5P) / P0340

P0340 on the GM 6.6 Duramax V8 diesel (Silverado/Sierra 2500HD-3500HD 2006+: LBZ, LMM, LML, L5P): what it means

Cam sensor. Chevrolet Silverado 2500HD, Chevrolet Silverado 3500HD, GMC Sierra 2500HD.

Get it checked this week

What P0340 means on this engine

Cam sensor.

The camshaft sensor tells the computer which cylinder is next to fire. Its signal is missing or doesn't line up with the engine. It's usually the sensor or its wiring, and less often a timing problem behind it.

The usual suspects
Sensor or wiring.
What you'll notice
Long cranking before the engine starts, rough running, less power, sometimes stalling.

Can you keep driving?

On this engine: you can drive gently, but get it checked this week.

Usually yes, for a short time. The engine can run without this signal but starts poorly and may stall, so fix it soon.

The part behind it: Crank/cam sensors and MAP sensor

What it does
Tell the computer engine position and boost.
Why it fails
L5P intake MAP sensors foul with soot.
Other signs you'll notice
Low power, MAP codes (P0106, P0236).

In the full guide for this engine

  • How to check it yourself, step by step
  • What fixes it, and who should fix it: you, a shop or a mechanic
  • Where the part sits on a 3D engine you can turn
  • The exact part to ask for
Open the full guidePlans from $39 a year.

Know this about your engine

The one rule for this engine: know which version you have. On the 2011–2016 LML, protect the Bosch CP4.2 fuel pump: clean fuel, drained water separator and on-time filters, because a failure can cost five figures. On 2011+ trucks, DEF heater and NOx sensor faults are common and can limit your speed — they're annoying but rarely damage the engine.

Cars with this engine

Other codes on this engine

Dashboard lights on this engine