P0320 Ignition/Distributor Engine Speed Input Circuit Malfunction
How the System Works & When the Code Sets
There is a toothed reluctor wheel on the crankshaft or on the flywheel, and the sensor reads its teeth passing by and sends pulses to the computer. From the pulse rate the computer calculates engine speed, and from the missing tooth or gap in the wheel it knows the position of the first piston.
The computer monitors this signal continuously and compares it with what it expects and with the camshaft position (CMP) sensor signal. If the signal drops out momentarily, shows noise, or arrives in an electrically incorrect form, it records P0320 as a general circuit fault.
Some manufacturers also use more specific codes with it, such as P0321 (range/performance) and P0322 (no signal).
Symptoms
- Sudden engine stalling while driving or at idle, and it may restart immediately or only after it cools down
- Hard or delayed starting, or the engine not starting even though the starter cranks
- Stumbling, misfire and shaking during acceleration
- Tachometer fluctuating or dropping to zero momentarily
- Check engine light on
Most Common Causes
- Faulty crankshaft position (CKP) sensor, which often fails when hot and works again when it cools
- Corroded, dirty or loose sensor connector terminals
- Broken or chafed wires, or wires close to the exhaust, or a poor ground connection
- Metal filings stuck on the tip of a magnetic sensor, or an incorrect gap between it and the wheel
- Damaged or deformed teeth on the reluctor wheel
- On older cars with a distributor: a faulty sensor or ignition module inside the distributor
- Rarely: a fault in the engine computer
Diagnostic Steps
- Read the codes and freeze frame data, and note whether P0335, P0340 or misfire codes appeared with it.
- Watch the engine speed (RPM) reading on the scan tool while cranking; if it stays at zero the signal is not arriving, and if it fluctuates or drops out the signal is intermittent.
- Identify the sensor type: a two-wire magnetic sensor generates an alternating voltage that is measured with a multimeter on AC while cranking, and its resistance is measured and compared with the specifications. A three-wire Hall effect sensor needs a supply (often 5 or 12 volts depending on the design), a good ground and a signal.
- Check the connector and terminals for corrosion or moisture, and wiggle the wires with the engine running to see whether the idle speed is affected.
- Remove the sensor and check its tip for filings or cracks, and look at the reluctor wheel teeth if possible.
- If the fault appears only when hot, retest after the engine is fully warmed up, or watch the signal with an oscilloscope at the moment of stalling.
- After the repair, clear the codes and carry out the sensor relearn (crank relearn) if the car requires it.
How to Fix It
- Clean the connector and its terminals, or replace it if corroded
- Repair broken or chafed wires and route them away from heat sources, and repair the ground connection
- Replace the crankshaft position sensor with a part that meets the specifications
- On cars with a distributor: replace the distributor sensor, the ignition module or the complete distributor
- Carry out the sensor relearn with the scan tool after replacement when needed
Notes by Vehicle Make
- Hyundai: on the petrol Hyundai Tucson, model years 2004 to 2010, codes P0320, P0321, P0322 and P0323 may be recorded together with hard starting or stalling, and the likely cause is an intermittent loss of the crankshaft position sensor signal; start the diagnosis with the connector terminals before replacing the sensor.
Common Mistakes
- Replacing the sensor straight away when the problem is corroded connector terminals
- Testing the sensor with the engine cold when the fault only appears once it warms up
- Fitting a cheap imitation sensor with a weak signal, so the code or the stalling returns after a short time
- Not checking for filings on the tip of a magnetic sensor before refitting it
Severity & Repair Priority
High. An engine stalling while driving loses power steering assist and part of the braking assist, and the engine may not restart in an unsuitable place. It is best to have the car checked as soon as possible.
P0320 FAQ
What is the difference between P0320 and P0335?
Both relate to the engine rotation signal, but P0335 names the crankshaft position sensor explicitly, while P0320 is an older definition for the engine speed signal from the ignition or distributor. Some manufacturers use the first and some the second for the same sensor.
Can P0320 cause stumbling without stalling?
Yes. If the signal drops out for small fractions of a second, the driver may feel stumbling or misfire before it reaches a complete stall.