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: Crankshaft and camshaft sensors
- What it does
- Tell the computer engine speed and position.
- Why it fails
- Sensor or wiring faults.
- Other signs you'll notice
- Stalls, hard start, no start.
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
Know this about your engine
The one rule for this engine: listen for a rattle at the front of the engine, especially at cold start. The single-row lower timing chain on D40/R51 engines is known to stretch (some as early as about 80,000 km) and can fail, causing major engine damage. A double-row upgrade kit exists; fresh oil helps it last.
Cars with this engine
- Nissan Frontier 2002–2015 · 2.5 diesel versions (D22/D40), some markets.
- Nissan NP300 2008–2021 · 2.5 diesel versions, some markets.
- Nissan Navara 2005–2015 · 2.5 diesel (D40). 2015+ uses the 2.3 YS23.
- Nissan Pathfinder 2005–2014 · 2.5 diesel (R51).