Error code P0340 on Nissan Primera (especially models P11, P12) is one of the most common problems associated with the engine management system. It indicates a fault in the circuit camshaft position sensor (CPR), which can lead to engine malfunctions, increased fuel consumption, or even the inability to start the car. Unlike errors related to the lambda probe or catalyst, P0340 is often disguised as other problems, such as engine stalling or misfire..
Owners Primera with engines QR20DE, QR25DE or SR20VE encounter this error most often due to the design features of the sensor and its location. In this article we will look at not only standard causes (broken wiring, oxidation of contacts), but also hidden defects, which diagnosticians at service stations often miss. You will learn how to check the DPRV with a multimeter, which “crutches” temporarily solve the problem, and when you cannot do without replacing the sensor.
What does error P0340 mean on Nissan Primera
Code P0340 stands for «No Camshaft Position Sensor Signal» — there is no signal from the camshaft position sensor. This sensor (sometimes called phase sensor) synchronizes the operation of the injection and ignition system with the position of the valves. Without a correct signal, the engine ECU goes into emergency mode, using data only from crankshaft sensor (CPCV), which leads to:
- 🔥 Floating revolutions at idle speed (especially after the engine has warmed up).
- 🚗 Jerking during acceleration or “failures” of the gas pedal.
- ⚡ Difficulty starting (the engine catches, but does not start the first time).
- ⛽ Increased fuel consumption (up to +20% due to non-optimal injection).
On Nissan Primera P12 with engine QR25DE The P0340 error code is often accompanied by code P0345 (sensor circuit malfunction), which narrows down the search for the problem. Important: if the light comes on on the dashboard «Check Engine», but the engine is running stably - this may be false positive due to poor contact in the sensor connector.
- First time
- Regularly (once a month)
- After rain/wash
- Only in winter
The main causes of the P0340 error code
Causes of P0340 on Primera are divided into mechanical, electric And software. In 60% of cases, the problem lies in the sensor itself or its wiring, but there are also less obvious factors:
| Fault type | Reason | How to check |
|---|---|---|
| Electric | Broken or shorted sensor wires | Test the circuit with a multimeter (resistance should be 500–1000 Ohms) |
| Mechanical | Worn or misaligned camshaft gear | Visual inspection through the timing hatch |
| Software | ECU firmware failure (for example, after chip tuning) | Reset errors with a scanner, check the software version |
| Electric | Oxidation of contacts in the sensor connector | Disconnect the connector, clean the contacts with WD-40 |
Feature Nissan Primera — poor insulation of DPRV wires, which often rub against the intake manifold or cylinder head. Also, the error may appear after replacing the timing belt if the camshaft marks were set incorrectly. In this case, the ECU “sees” a discrepancy between the DPRV and DPV signals.
⚠️ Attention: If P0340 only appears at high speeds (above 4000 rpm), the problem is most likely shielding wiring — the sensor signal is “clogged” with interference from the ignition system.
How to diagnose the P0340 code yourself
For diagnostics you will need multimeter, OBD-II scanner (For example, ELM327) and basic electronics skills. Follow the algorithm:
- Treat errors as a scanner. If there are codes in addition to P0340
P0335(DPKV) orP0011(phase displacement), the problem is complex. - Check the sensor connector. Disconnect the chip and inspect for oxidation or moisture. The contacts must be clean, without green deposits.
- Measure the sensor resistance. With the engine off, connect a multimeter to the sensor contacts (usually
1–2or2–3). Norm: 500–1000 Ohm. - Check the supply voltage. With the ignition on (but not the engine running), one of the contacts should have 5 V (powered by ECU).
If the sensor is working but the error remains, call the wiring from the sensor to the ECU. On Primera P11 Wires often fray near the exhaust manifold - check them for a short circuit to ground.
Disconnect the sensor connector|Check the resistance with a multimeter|Measure the supply voltage (5 V)|Inspect the wiring for damage-->
⚠️ Attention: On enginesSR20VE(with system Neo VVL) phase sensor has double signal. If the multimeter shows resistance0 ohmor∞, the sensor is faulty.
Temporary solutions: is it possible to drive with error code P0340
Drive with error code P0340 you can, but undesirably for a long time. The ECU goes into emergency mode using data only from the DPKV, which leads to:
- 📉 Loss of power (up to 15–20%).
- ⛽ Increased fuel consumption (1–2 liters per 100 km).
- 🔧 Risk of catalytic converter damage due to incorrect injection.
If you urgently need to get to a service station or a spare parts store, you can try temporary measures:
- 🔄 Reset the error using the scanner. Sometimes the ECU gets stuck in emergency mode, and a reset helps for 1-2 trips.
- 🔌 Move the sensor connector. If the problem is oxidized contacts, this may temporarily restore the signal.
- 🛠️ Replace the sensor with a known good one. On Primera sensors from Nissan Almera N16 or Renault Megane 2 (analogue
23731-4M000).
Critical: if the P0340 error is accompanied by detonation or knocking in the engine, further operation is prohibited - this can lead to damage to the valves or pistons.
On Nissan Primera P12 The camshaft position sensor is located next to the oil filler neck. To get to it, remove the decorative engine cover (4 x 10 bolts).
Step-by-step instructions for replacing the DPRV sensor
Replacing the sensor with Primera takes 15–30 minutes. You will need:
- 🔧 Key or head on
10 mm. - 🧲 Screwdriver with a flat blade (for removing the chip).
- 🧴 WD-40 or contact cleaner.
- 📦 New sensor (original
23731-4M000or equivalent Bosch 0 261 210 115).
Procedure:
- Disable negative battery terminal (required!).
- Disconnect the sensor connector by pressing the latch.
- Unscrew the sensor mounting bolt (do not lose the washer!).
- Carefully remove the sensor by rocking it from side to side.
- Clean the seat from oil and dirt.
- Install the new sensor, tighten the bolt firmly 8–10 Nm.
- Connect the battery connector and terminal.
After replacement be sure to clear errors scanner. If the P0340 code appears again, there is a problem with the wiring or the ECU.
What should I do if the error remains after replacing the sensor?
1. Check the circuit from the sensor to the ECU for an open circuit (use the wiring diagram for your model).
2. Make sure that the new sensor is compatible with your ECU firmware (on some chip-tuned Primera sensors with a different resistance are required).
3. Check the engine ground - it often oxidizes at the junction with the body (under the battery).
Hidden causes of error P0340, which are not discussed at the service station
If you have already replaced the sensor, checked the wiring, but the error returns, look deeper for the cause. In repair practice Nissan Primera meet non-obvious defects:
- 🔗 Stretched timing belt. If the belt has slipped by 1-2 teeth, the camshaft marks shift and the DPRV produces an incorrect signal. Check the alignment of the marks on the pulleys.
- 🧲 Magnetic chips on the sensor. In engines with high mileage (>200 thousand km), metal dust from camshaft wear sticks to the end of the sensor, distorting the signal. Clean the sensor with alcohol.
- 🖥️ ECU calibration failure. After replacing the timing belt or camshaft, it is required sensor adaptation through diagnostic equipment (for example, Consult-III).
- 🌡️ Sensor overheating. If the engine often operates at high speeds, the DPRV may “go into defense.” Check the temperature of the sensor after the trip - it should not be hot.
On Primera P11 with engine SR20Di The P0340 code sometimes occurs due to faulty distributor. The fact is that the signal from the distributor is used by the ECU to correct the DPRV data. If the distributor “flashes”, this can cause a false alarm.
On engines QR25DE The P0340 error code is often accompanied by floating speed due to valve failure VTC (variable valve timing systems). Check its functionality before replacing the DPRV.
Prevention: How to Avoid Recurrence of P0340
To prevent P0340 from returning, follow these simple rules:
- 🔧 Every 50 thousand km clean the contacts of the sensor and connector from oxidation (use CRC Contact Cleaner).
- 🛡️ Protect your wiring from chafing. On Primera P12 DPRV wires often rub against the inlet pipe - secure them with zip ties.
- 📊 Follow the timing marks. After replacing a belt or chain, always check that the marks on the camshafts and crankshaft are aligned.
- 🔥 Avoid overheating the engine. DPRV is sensitive to high temperatures - monitor the level of antifreeze and the performance of the fan.
If your Nissan Primera frequently used in high humidity conditions (for example, after washing the engine), treat the sensor connector dielectric grease (For example, Liqui Moly Electronic-Spray). This will prevent corrosion of the contacts.
FAQ: Frequently asked questions about error code P0340
Is it possible to drive with error code P0340 for a long time?
Technically possible, but not recommended. The ECU goes into emergency mode, which increases fuel consumption and the risk of damage to the catalyst. If the error appears after replacing the timing belt, driving is dangerous - collisions between pistons and valves are possible.
How much does a camshaft position sensor cost on a Primera?
The price depends on the type of sensor:
- Original (Nissan 23731-4M000): 3000–5000 rub.
- Analogue (Bosch, Febi): 1500–2500 rub.
- Used from disassembly: 800–1500 rub. (risky - limited resource).
On Primera P11 with engine SR20Di the sensor is cheaper (about 2000 rubles) than QR25DE (3000+ rub.).
Can P0340 be caused by bad gasoline?
No, directly - no. However, low-quality fuel can cause detonation, which leads to mechanical damage to the sensor or displacement of the timing marks. If the error appears after refueling, also check knock sensor (code P0328).
Do I need to reset the adaptations after replacing the sensor?
On most Nissan Primera no reset is required - the ECU itself will “pick up” the new sensor after 2-3 startup cycles. However, on models with Neo VVL (For example, SR20VE) may be required phase calibration through a diagnostic scanner.
What happens if you ignore the P0340 code?
The consequences depend on the cause:
- If you're guilty sensor or wiring - increased fuel consumption and loss of power.
- If the problem is displacement of timing marks - risk valve bending (on engines
QR25DEAndSR20VE). - If faulty ECU — failures in the operation of other systems are possible (for example, VTC or ignition).