Q: Code P0340

asked by on November 02, 2016

Hello. I was driving my 06 sonata and then it would not let me accelerate and would no longer drive. I turned it off and back on the it worked. The error code said it was a camshaft sensor so I replaced it and the check engine light was gone. I drove it the next morning and once I hit 70mph the check engine light came back on. What else could it be?

Camshaft Position Sensor Replacement $104.59 - $849.08 Get a Quote

The P0340 problem code references a camshaft position sensor malfunction. The ability to restart the engine suggests it is failing versus has failed. There was an issue with this engine with the cam chain tensioner - which also affects cam timing, and could set a P0340. The Technical Service Bulletin is # 219296, and involves replacing the tensioner. I would consult your Hyundai Service Manager to discuss whether this tensioner replacement has been done on your car, and the possible impact of that problem component.

The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

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


Experienced Mechanic?

Earn up to $70/hr

What others are asking

I have a 2012 Audi Q7 that consumes a quart of oil every 500 miles

This can happen for a couple of different reasons such as worn piston rings or leaking valve guide seals. Blue smoke coming from your exhaust generally means that the motor is burning the engine oil. When this happens, the engine...

My push start car won't work and the remote battery is charged

Hello, thank you for writing in. Without knowing the make and model of the vehicle it is difficult to determine the exact components that are involved with your keyless ignition. Typically this will occur if there is a weak signal...

Mercedes Benz 190e car does not move when I step on the gas pedal a wire popped it's goes down all the way to the floor

You probably broke a throttle cable. It's just a short cable that goes from the accelerator to a complicated looking linkage on the intake manifold. This isn't a common failure so you may want to look hard at the linkage...

Motor smoking and water pump pulley spits out liquid.

This suggests that your water pump may be leaking around the shaft where the pump bolts to the pulley. This is a common place for many water pumps to leak. There is a seal inside this shaft that will often...

Blowing cold air no heat

Since the thermostat has been replaced, there are a couple of other things to look at. The heater hoses going through the firewall in the engine compartment to the heater core behind the dash should be checked. They should be...

The fluid in the power steering pump is overheating.

Hi there. There is a blockage in the system causing the pump to purge and build up to max pressure. Check the hoses and see if there is any issues with fluid flow. If the steering is easy to move...

I have a jerking ticking and popping noise when I accelerate what is it

Would need more information on the car and engine you have but the problem sounds like a misfire from the ignition system or carburetor problems.

Car shakes and squeaks

Improperly balanced tires usually start to vibrate above 50 miles per hour. This may be fixed simply by having the tires balanced. Have an experienced technician, such as one from YourMechanic, also check the condition of the tires and integrity...

Car door only opens from inside

There is a high failure rate with your particular vehicle's door handles. They are engineered with plastic components that wear out over time and break. Replacing the door handle requires the removal of the interior door panel and air bag units. I...

Related articles

P0335 OBD-II Trouble Code: Crankshaft Position Sensor "A" Circuit Malfunction
P0335 code definition P0335 is a OBD-II generic diagnostic trouble code DTC indicating a malfunction in the crankshaft position circuit. What...
P004A OBD-II Trouble Code: Turbocharger/Supercharger Boost Control “A” Circuit/Open
P004A means there is an issue with the turbocharger or supercharger boost control in the “A” circuit due to malfunctioning boost sensor or intercooler
P0191 OBD-II Trouble Code: Fuel Rail Pressure Sensor Circuit Range/Performance
P0191 trouble code definition Fuel Rail Pressure Sensor Circuit Range/Performance is the technical definition for this code Note: This code may be...