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 $119.59 - $907.58 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

Shifter stuck.
These vehicles are known for having problems with the shift cables breaking. I suspect this is what is wrong with your vehicle. A trained mechanic, such as one from YourMechanic, will be able to determine firsthand is this is the...
Trunk latch not catching
Hello, since the hatch won't latch closed, take a look inside the latch and see that it didn't latch close on it's own. If you can see that the tongue has rotated and you can see the circle in the...
Brake pedal pulses when pressed on a '93 Chevy 1500
If the brake pedal pulses, there are only two things that can do that. Either you need shoes because they are warped and new flat shoes don't fit on the warped drums and they will pulse because they are warped...
Transmission oil capacity
The transmission oil capacity after an overhaul is 9.5 quarts. If you are servicing the transmission then expect to use less than 5 quarts, unless you're having a transmission fluid exchange with a fluid exchanger at a shop. A certified...
Fixed wheel bearings and tie rod - still making humming sound front passenger side at 40mph. What else can this be?
Hi there. If this noise still persists, then you either have a tire issue or a differential problem. I usually check the tire tread to see if it is worn unevenly (https://www.yourmechanic.com/article/why-do-tires-wear-unevenly). If it is, then this noise will occur....
Slip indicator light flashing on and brakes lock up while driving what's wrong
Hello. From what you describe, it would appear that your vehicle may be experiencing some sort of issue with the traction control or ABS system. These systems are designed to detect tire slip, and activate the ABS system to help...
White smoke from exhaust cold start up
Hi There, Generally, a white or gray colored smoke (https://www.yourmechanic.com/services/smoke-from-engine-or-exhaust-inspection) is a sign of a potential blown head gasket. A blown head gasket can cause a bit of a vapor to be produced due to the coolant being leaked into...
2008 ford fusion output shaft speed sensor connector part number
You will need to visit the local Ford dealer so you can get the connector since the connector is only available with the transmission harness. The junk yard is the only other place you could go to get just the...

Related articles

P2112 OBD-II Trouble Code: Throttle Actuator Control System - Stuck Closed
P2112 code definition Throttle Actuator Control System - Stuck Closed What the P2112 code means P2112 is a general ODB2 diagnostic trouble...
P2425 OBD-II Trouble Code: Exhaust Gas Recirculation Cooling Valve Control Circuit Open
P2425 P2425 code definition Exhaust Gas Recirculation Cooling Valve Control Circuit Open What the P2425 code means P2425 is an OBD-II generic code that the engine control module (ECM) detected the engine exhaust gas recirculation cooling bypass valve (EGRCBV) control...
B1945 OBD-II Trouble Code: Airbag Crash Sensor #2 Ground Circuit Open
B1945 means there is an open circuit condition in the airbag circuit, likely due to damaged wiring or a faulty sensor.