Skip the auto shop - Our mechanics make house calls

Q: Engine stopped running while driving and will not start again.

asked by on

The engine of my Nissan stopped running on the way to work a couple of days ago. The starter will run and the engine will turn over. But it will not start. All electronics still work in the car and the starter sounds fine. After scanning the computer a P0340 code popped up telling me it was a camshaft position sensor 1. Being a teenager still in high school, need the car fixed soon and I must do it myself. Should I replace the sensor myself or is there something else that is causing the issue
My car has an automatic transmission.

Hey there. As you know, this P0340 code indicates the camshaft position sensor is either faulty or not connected properly. The camshaft position sensor monitors the speed of the camshaft providing the ECU with this information. The ECU uses this information to control the timing of the ignition and fuel. When this sensor is not working properly, this will cause the ignition timing to be wrong, which will ultimately cause the ignition coils not to produce spark. This is what may be causing your no start issue. To verify the repairs that are needed and to avoid replacing unnecessary parts, your best bet is to have a professional diagnose the code in person and follow through with appropriate repairs.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!
  1. Home
  2. Questions
  3. Engine stopped running while driving and will not start again.

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing

Get a quote

What others are asking

Q: Car will not accelerate properly

That was smart to check fluid levels under the hood before your trip. I'm not sure you could've done anything else to prevent this breakdown. It sounds like you are describing a transmission failure on the Quest. A mechanic with...

Q: Car battery dies when I put in reverse

Your vehicle has a neutral safety switch that will prevent the vehicle from starting when it is in any gear position other than park or neutral. Occasionally, this switch can malfunction causing the car to stall as soon as you...

Q: The test says camshaft, but I put some water in the battery and now work, but not perfect

Hi there, thanks for writing in. Your camshaft position sensor is really failing, and needs to be replaced. This sensor can begin to fail for short intervals with heat and vibration, cool off, then work again for a while. Repeat...

Related articles

P0052 OBD-II Trouble Code: HO2S Heater Control Circuit High (Bank 2 Sensor 1)
P0052 code definition HO2S Heater Control Circuit High (Bank 2 Sensor 1) What the...
How to Avoid Back Pain in a Car
If you have back problems, sitting in a car for an extended period of time can be excruciating. Even without back problems, you could experience discomfort and soreness from...
P2428 OBD-II Trouble Code: Exhaust Gas Temperature Too High Bank 1
P2428 code definition A P2428 trouble code signifies that the PCM has detected a problem in the exhaust gas temperature sensor circuit in bank 1, which subsequently contains the number one...