The engine turns over on the starter but won't fire. Or it cuts out once it's hot and starts again after it has cooled down. A scan shows P0335 or P0340. These codes point to the crankshaft position sensor or the camshaft position sensor, but the sensor itself may not be the faulty part. The cause is the wiring, an oil-soaked plug, a damaged tone ring or the timing, and a new sensor won't fix any of those.
What these sensors do
The crankshaft position sensor tells the engine control unit how fast the engine is turning and where each piston is. Without that signal the control unit doesn't know when to fire the injectors and the spark, so the car may not start at all. The camshaft position sensor tells the control unit which stroke each cylinder is on. Without the cam signal, some engines take longer to fire and some won't start.
- P0335 means a fault in the crankshaft position sensor circuit.
- P0336 means the crankshaft signal doesn't look right to the control unit.
- P0337, P0338 and P0339 mean the crankshaft signal is too low, too high or drops out now and then.
- P0340 means a fault in the camshaft position sensor circuit.
- P0341, P0342 and P0343 mean the camshaft signal doesn't look right, is too low or is too high.
P0016 and P0017 mean the crankshaft and camshaft signals don't line up with each other. That can be a sensor fault, but it can also mean the timing chain has stretched, the timing belt has jumped a tooth or the variable valve timing isn't working as it should.
Symptoms you may notice
- The engine turns over normally on the starter but doesn't fire.
- The engine cuts out once it's warm and starts again after it has stood for a while.
- The rev counter needle stays at zero while the engine is turning over on the starter.
- The engine stutters, misfires or loses power for a moment while you drive.
- The engine warning light comes on.
Possible causes
- The sensor has failed inside. A sensor that is starting to fail can work when it's cold and drop out when it gets hot.
- The wiring is chafed or broken.
- The plug is loose or corroded. On some engines oil leaks past the sensor's seal and gets into the plug.
- The sensor tip is covered in metal particles, or the gap between the sensor and the tone ring is wrong.
- The tone ring on the crankshaft or the camshaft is damaged.
- The timing chain has stretched or the timing belt has jumped a tooth.
- The battery is weak, and on a cold morning the voltage drops so low while starting that the control unit stores a cam or crank code.
What we check
- We read all stored codes and the freeze frame data.
- We watch the engine speed signal in live data while the engine turns over on the starter.
- We look at the crank and cam signals on an oscilloscope. That shows us whether a signal drops out and whether the two line up.
- We measure the sensor's supply voltage, ground and signal wire at the plug.
- We check the wiring, look for oil in the plug and check the battery voltage while the engine is starting.
- If P0016 or P0017 is stored, we check the timing and the variable valve timing before we touch the sensors.
- Only then do we decide whether the sensor, the wiring or the timing needs work.
What you can check yourself
- Write the codes down before you clear anything.
- Note when the fault shows up. Does it happen with a cold engine, a hot engine or after a long drive?
- Watch the rev counter while the engine turns over on the starter. If the engine turns but the needle doesn't move, tell us. That can point towards the crank signal.
- Don't keep the starter running for a long time. Give it ten seconds at most and then a short break.
- If the engine rattles for a few seconds after a cold start and P0016 is stored, don't keep driving it. A badly stretched timing chain can damage the engine.
- Don't buy a cheap unbranded sensor as a first guess. A poor-quality sensor can give a weak or wrong signal straight out of the box.
If the engine turns slowly or not at all, read our battery guide at https://diagno.ee/en/forum/13-car-wont-start-battery and if it misfires while you drive, read our misfire guide at https://diagno.ee/en/forum/12-p0300-misfire-causes
If your car has a fault code, enter it on https://diagno.ee/en/ and see right away what may be wrong. Our answers are based on AI and workshop experience. We find the final cause in the workshop.
Fault code pages for reference
- P0335: https://diagno.ee/en/code/P0335
- P0336: https://diagno.ee/en/code/P0336
- P0339: https://diagno.ee/en/code/P0339
- P0340: https://diagno.ee/en/code/P0340
- P0341: https://diagno.ee/en/code/P0341
- P0016: https://diagno.ee/en/code/P0016
- P0017: https://diagno.ee/en/code/P0017
Come and see us, and we'll find the cause. We check the signals, the wiring and the timing before anyone sells you a new sensor. You can book a diagnostic check here: https://diagno.ee/en/#broneeri
Has your car cut out when hot or refused to start with a P0335 or P0340 code? Did it turn out to be the sensor, the wiring or the timing?