Error with code 1564 (P1564) on Nissan X-Trail T31 (2007–2013) is one of the most common problems associated with the engine management system. This code indicates a fault in the circuit camshaft position (CMP) sensor or its synchronization with the crankshaft. Owners often encounter it after replacing the timing belt, flashing the ECU, or when operating in high humidity conditions.

Unlike errors in the fuel system or ignition, P1564 on T31 can appear sporadically - the car starts after 3-5 attempts, and a day later it works flawlessly. This complicates diagnostics, since standard scanners (like ELM327) do not always record the code upon first connection. In the article we will analyze all possible reasons, from banal oxidation of contacts to software failures of the ECU, and we will also give step-by-step repair instructions - from the simplest cleaning of connectors to flashing the control unit.

What does error 1564 mean? Nissan X-Trail T31

Code P1564 in the self-diagnosis system Nissan stands for "Camshaft Position Sensor (Bank 1) Circuit Malfunction". In engines QR25DE (2.5 l) and MR20DE (2.0 L), installed on X-Trail T31, this sensor is responsible for synchronizing the operation of the valves with the pistons. If the ECU does not receive the correct signal, it goes into emergency mode, which manifests itself:

  • 🔴 Startup problems — the engine starts, but does not start the first time;
  • 🔴 Floating speed at idle (from 500 to 1500 rpm);
  • 🔴 Power Loss during acceleration, especially at speeds above 3000;
  • 🔴 Check Engine lights up after 5–10 minutes of driving or immediately after starting.

It is important to understand that P1564 is not a death sentence. In 60% of cases, the problem is solved without replacing the sensor. For example, oxidation of contacts in the connector or calibration failure after replacing the timing belt. However, it cannot be ignored: prolonged operation in emergency mode leads to excessive fuel consumption (up to +20%) and increased valve wear.

📊 How often do you get error 1564?
  • Check Engine Light Is Constantly On
  • Only on cold start
  • Occasionally, once a week
  • After washing the engine

The main causes of error P1564

Reasons for the appearance of the code 1564 on X-Trail T31 are divided into three groups: mechanical, electric And software. Let's look at each in detail.

1. Mechanical problems

  • 🔧 Worn or misaligned timing belt — even by 1–2 teeth leads to phase mismatch;
  • 🔧 Camshaft gear damage (chips, play);
  • 🔧 CMP sensor dirty metal shavings or oil (relevant for worn out seals).

2. Electrical problems

  • Oxidation of contacts in the sensor or ECU connector;
  • Broken or shorted wiring (often rubs against the intake manifold);
  • Malfunction of the CMP sensor itself (checked with a multimeter).

3. Software glitches

  • 💻 Incorrect ECU firmware after chip tuning;
  • 💻 Resetting adaptations after disconnecting the battery;
  • 💻 Immobilizer conflict (rare, but found on restyled models).

According to service center statistics, 40% of cases associated with oxidation of contacts, 30% - with mechanical problems (timing belt, gears), and only 20% - with a malfunction of the sensor itself. The remaining 10% comes from software glitches.

How to check the camshaft gear without removing the valve cover?

Experienced technicians use an endoscope (flexible camera) through the oil filler neck. If chips or play are visible on the gear, this is a direct sign of a malfunction. An alternative is to remove the timing belt cover and visually assess the condition.

Diagnosing error 1564: step-by-step instructions

Before rushing to change the sensor, do comprehensive diagnostics. Let's start with the simplest thing - checking contacts and wiring.

Step 1: Visual inspection of the sensor and connectors

Camshaft position sensor on X-Trail T31 located on the cylinder head (intake manifold side). To access:

  1. Remove the decorative engine cover;
  2. Disconnect the sensor connector (latch at the top);
  3. Check the contacts for oxidation or moisture.

If there is a green coating on the connector, clean it alcohol solution and lubricate the contacts LIQUI MOLY Electronic-Spray. Don't use WD-40 — it leaves a film that impairs conductivity.

Step 2: Check the Wiring with a Multimeter

Set the multimeter to resistance test mode (200 Ω). Connect the probes to the contacts 1 and 2 sensor connector (see diagram below). Normal resistance - 500–1500 Ohm. If the device shows 0 (short circuit) or OL (break), the sensor is faulty.

Also check food on the ECU connector (pin 3): must be +5 V with the ignition on. Lack of voltage indicates an open circuit or a malfunction of the control unit.

☑️ CMP sensor diagnostics

Done: 0 / 5

Step 3: Check Timing Timing

If the sensor and wiring are ok, but the error remains, check coincidence of timing marks:

  1. Remove the upper timing belt cover;
  2. Turn the crankshaft clockwise until the mark on the pulley aligns with the pointer;
  3. Make sure the mark on the camshaft gear aligns with the notch on the cover.

A misalignment of even 1 tooth leads to an error P1564. If the labels do not match, it is required tensioner adjustment or replacing the belt.

💡

When checking the timing marks, always turn the crankshaft clockwise ONLY. Reverse rotation can cause the belt to come off and damage the valves.

How to fix error 1564: repair methods

Depending on the cause, solutions P1564 range from basic cleaning of contacts to flashing the ECU. Below - step by step instructions for every occasion.

1. Cleaning the contacts and replacing the sensor

If the problem is oxidation or sensor failure:

  1. Disconnect the CMP sensor connector;
  2. Clean your contacts isopropyl alcohol (not acetone!);
  3. Check the circuit with a multimeter (see section "Diagnostics");
  4. If the sensor is faulty, replace it with the original (Nissan 23731-4M215 or equivalent Bosch 0 261 210 115).

The cost of the original sensor is ~2500 rubles, the analogue is ~1200 rubles. Replacement takes 15–20 minutes.

2. Timing belt adjustment

If the timing marks do not match:

  1. Loosen the tension roller;
  2. Align the marks on the crankshaft and camshaft;
  3. Tension the belt (the deflection should be 5–7 mm when pressed with your finger);
  4. Rotate the crankshaft 2 turns and make sure that the marks remain in place.

After adjustment be sure to clear errors scanner or disconnecting the battery for 10 minutes.

3. Flashing the ECU

If the error appears after chip tuning or resetting the settings, you need to sensor calibration:

  1. Connect the diagnostic scanner (Launch X431, Autel MaxiCOM);
  2. Select function ECU Relearn or Throttle Adaptation;
  3. Follow the on-screen instructions (usually requires 2-3 cranking cycles).

Self-flashing without experience is fraught ECU blocking. If you are not sure, contact the service.

💡

After any manipulation of the timing belt or ECU, be sure to follow the procedure throttle learning (Throttle Adaptation). Without it, the engine will operate unstably, and the error may return.

Common repair mistakes and how to avoid them

Many owners X-Trail T31 allow typical mistakesthat lead to relapse P1564 or new problems. That's what can't do:

⚠️ Attention: Never use to clean sensor contacts. sandpaper or metal brushes. This breaks the protective coating and accelerates corrosion. Only a plastic blade or a cotton swab with alcohol is acceptable.
  • Ignore checking timing marks after replacing the belt - even service technicians sometimes forget to do this;
  • Install non-original sensors dubious brands (for example, no-name from AliExpress);
  • Reset errors without eliminating the cause - this only masks the problem.

Another common mistake is incorrect tightening of the sensor. It must be fixed with the moment 8–10 Nm. Over-tightening leads to deformation of the case, under-tightening leads to vibrations and false signals.

Cost of repairs in service vs. do-it-yourself repair

Elimination prices P1564 vary depending on the cause and region. Below is an indicative cost table:

Type of repair Cost of spare parts (RUB) Cost of work (rub.) Total (RUB)
Cleaning the CMP sensor contacts 0 (alcohol only) 500–1000 500–1000
Replacing the CMP sensor 1200–2500 800–1500 2000–4000
Adjusting the timing belt 0 (if the belt is ok) 1500–2500 1500–2500
Replacing timing belt + rollers 3000–5000 3000–5000 6000–10000
Flashing the ECU 0 2000–4000 2000–4000

Do-it-yourself repairs are cheaper, but require tool (multimeter, scanner, timing keys) and experience. For example, replacing the CMP sensor with your own hands will save ~1000 rubles, but an error when adjusting the timing belt can result in bent valves (repair from RUB 30,000).

Prevention of error 1564 on Nissan X-Trail T31

To minimize the risk of P1564, follow these guidelines:

  • 🛠️ Change the timing belt every 60–80 thousand km (even if it is “normal”);
  • 🛠️ Use original spare parts for sensors and rollers;
  • 🛠️ Clean your contacts periodically ECU and sensors (every 2 years);
  • 🛠️ Avoid pressure washing the engine — water gets into the connectors.

It is also useful to reset the ECU adaptations every six months: disconnect the battery for 10 minutes or follow the procedure Throttle Adaptation through a scanner. This helps to avoid adaptations from “sticking” after prolonged use.

💡

If you often drive off-road or in high humidity conditions, treat the sensor and ECU connectors dielectric grease (For example, CRC 2-26). This will prevent oxidation and short circuits.

FAQ: Frequently asked questions about error 1564

Is it possible to drive with P1564?

Short term - yes, but not recommended. The engine operates in emergency mode, which leads to increased valve wear and excessive fuel consumption. Long driving (more than 500 km) can provoke misfire and damage to the catalyst.

Why does the error only appear when it is cold?

This is a typical sign unstable contact in the sensor circuit. When heated, the metal expands and the connection is temporarily restored. Check the CMP sensor connector and wiring for microcracks.

Could error 1564 be caused by bad gasoline?

No, P1564 not related to fuel quality. However, bad gasoline can cause additional errors (For example, P0300 - misfires), which will complicate the diagnosis.

How to reset an error without a scanner?

Disable negative battery terminal for 10–15 minutes. This will clear errors in the ECU memory. However, if the cause is not eliminated, P1564 will return after 1-2 engine starts.

What other errors can accompany P1564?

Often together with P1564 appear:

  • P0340 — general malfunction of the CMP sensor;
  • P0011 — inconsistency of timing phases;
  • P0300 - random misfires.

If the scanner shows several codes, start diagnosing with P1564 - it is often the root cause.