Create your free account and get 10 bonus questions when you confirm your email. No card needed. Create free account

Try it free

P0320: crank sensor, stalling

Crankshaft Position Sensor 'A' Circuit (Engine Speed / Position Reference)

Severity: high

Updated: 29 Nov 2026 · Generic OBD-II code (SAE J2012 / ISO 15031-6). Written with AI and reviewed; translated automatically from the Spanish original.

What it means

Code P0320 relates to the engine speed (crankshaft) reference system, according to SAE J2012 / ISO 15031-6. The engine control module (ECM/PCM) needs to know the exact position and rotational speed of the crankshaft to calculate ignition and injection timing. This information is normally obtained from a crankshaft sensor (magnetic reluctance, Hall effect or similar) that reads a tone wheel or toothed ring attached to the crankshaft. When the ECU does not receive a valid signal from that sensor, or the signal is inconsistent with the rest of the engine data, it records fault P0320. It indicates a problem with the circuit, the signal or the position reference itself, not necessarily a mechanical fault in the engine. That is why it is worth distinguishing whether the sensor is faulty, the wiring is damaged, or the problem comes from the tone wheel the sensor reads.

Can I keep driving?

Only as far as you need to, and gently.

This fault can cause serious damage or affect safety. Avoid motorways, heavy loads and high revs, and have it diagnosed as soon as possible. If the engine shakes, loses power or a red light comes on, stop where it is safe.

If in doubt, put safety first: a red or flashing warning light, smoke, a burning smell or any change in the brakes or steering are reasons to stop.

Got P0320? Ask about your car

Tell us your car and what you notice: we answer right here, no account needed.

How the ECU detects it

The ECU continuously evaluates the crankshaft sensor signal while the engine turns, comparing the sequence of teeth or pulses received with the expected values. The fault is detected when no signal arrives, when the signal is inconsistent, or when the calculated speed and position do not match other parameters. It is usually recorded at start-up or during operation, and the warning lamp comes on when the fault persists or repeats over successive driving cycles.

Symptoms

  • The malfunction indicator lamp (MIL / check engine light) comes on and stays on.
  • The engine is difficult to start, or will not start, especially when warm.
  • The engine stalls suddenly and may restart after a while.
  • Uneven idle, jerking or vibration when accelerating.
  • Loss of power or poor throttle response.
  • In some cases the rev counter fluctuates or reads zero intermittently.

Common causes

  • Faulty crankshaft position sensor (internal wear or failure due to temperature).
  • Sensor connector or wiring loose, corroded, crushed or with an intermittent contact.
  • Dirt, metal filings or traces of oil stuck to the sensor or the tone wheel.
  • Incorrect air gap (distance between sensor and tone wheel) due to displacement or faulty fitting.
  • Damaged tone wheel or toothed ring (broken, worn or missing teeth).
  • Fault in the sensor's power supply or earth, or in the ECU that manages it.
  • Electromagnetic interference from deteriorated or poorly shielded wiring.
  • The most common causes vary by make and engine.

What to check

  • Visually inspect the crankshaft sensor connector and wiring: look for stripped wires, chafing, loose or corroded connectors.
  • Clean the connector with suitable contact cleaner and check that it clicks in properly and has no moisture. Disconnect the battery before handling connectors.
  • Use a scanner to read live engine speed data and, if the vehicle allows, the sensor signal, to see whether the signal is intermittent or absent.
  • Clear the code and carry out a road test or start-up test to see whether it returns, noting the conditions under which it occurs.
  • Measure the sensor's power supply, earth and signal with a multimeter or oscilloscope according to the manufacturer's wiring diagram. Caution: the sensor circuit works at low voltages, but do not handle coil or high-tension leads without the necessary knowledge.
  • Check the sensor's resistance or waveform. Reference values depend on the make: consult the workshop manual for your engine.
  • Check the air gap between sensor and tone wheel with a feeler gauge. The value depends on the make: consult the workshop manual for your engine.
  • Inspect the tone wheel or toothed ring for damaged or missing teeth, and check for metal filings. If part of the engine or transmission has to be dismantled, leave this to a professional.
  • If all of the above is correct, check the engine ECU and the CAN network; this check is for a garage with diagnostic equipment.

Common diagnostic mistakes

  • Replacing the sensor without first checking the wiring and connector, which are often the real cause.
  • Ignoring the tone wheel and sensor cleaning, which can cause the same fault even when the sensor is new.
  • Confusing P0320 with timing faults (P0016 or others), which have different causes.
  • Not checking the air gap, or fitting the sensor without a feeler gauge or the correct tightening torque.
  • Clearing the code and considering the problem solved without repeating the road test.

Typical repairs

From the simplest and cheapest to the most expensive. Which one applies depends on the diagnosis.

  • Clean and retighten the sensor connector, and repair or replace damaged wiring.
  • Remove filings or dirt from the sensor and the tone wheel.
  • Adjust the sensor air gap to the manufacturer's specifications.
  • Replace the crankshaft position sensor with one of the correct reference for your engine.
  • Replace a damaged tone wheel or toothed ring: this usually requires dismantling part of the engine or transmission, work for a professional.
  • Repair or replace the engine ECU, or correct a CAN network fault, only in exceptional cases, after ruling out the above and with professional diagnosis.

Frequently asked questions

Can I keep driving with code P0320 if the car starts fine?

It is risky. Even if the engine starts, the ECU may lose the crankshaft position reference and the engine may stall suddenly, even while moving. This can endanger your safety and that of other road users, especially on main roads or on bends. It is advisable to limit use of the vehicle and have it checked at a garage as soon as possible.

Can I just clear it? Clearing the code does not fix the fault: if the cause is still there, it comes back, and with the engine warning light on the car will fail its roadworthiness test (MOT in the UK).

General information about a generic code. The exact causes depend on the make and engine: confirm them with a diagnosis before replacing parts.

Related codes

  • P0335 Crankshaft position sensor circuit (circuit or signal fault), more specific than P0320, which indicates the system in general.
  • P0336 Crankshaft position sensor range or performance: the signal exists but is erratic or out of range.
  • P0337 Crankshaft position sensor circuit low input, signal below the expected threshold.
  • P0338 Crankshaft position sensor circuit high input, signal above the expected threshold.
  • P0016 Crankshaft position and camshaft position correlation: indicates timing misalignment, not a sensor fault.

More codes: ignition system and misfires

All OBD codes in English