Notices
2009 - 2014 F150 Discuss the 2009, 2010, 2011, 2012, 2013 and 2014 Ford F150
Sponsored by:
Sponsored by: Moser

P0340 and P0345 codes

Thread Tools
 
Search this Thread
 
Old Dec 27, 2023 | 02:54 PM
  #1  
twhite65's Avatar
twhite65
Thread Starter
|
2nd Gear
Joined: Dec 2023
Posts: 2
Likes: 2
P0340 and P0345 codes

Hello! I have performed a complete timing job on my 2010 Fordf150, 5.4L 3v engine, 170k miles. Dropped oil pan and cleaned it. Replaced timing chains, tensioners, guides, and crank sprocket with Cloyes timing kit, replaced Cam phasers with new Ford phasers. Replaced vvt solenoids, cam position sensors, coil packs, new Melling 360 high volume oil pump, (oil pressure is great) 5w30 oil and Motocraft filter. After doing this, I crank the motor and get codes P0340 and P0345 (camshaft position sensor on each side. Engine starts, runs for a bit but real rough idle, then dies. I thought I did something wrong, so I did the timing again step by step. I still get the same codes after the second time around. I have good voltage to cam position sensors, and good continuity to PCM. I know I put timing chains on correctly matching the timing marks etc….I did remove camshafts and after putting them back in and putting timing parts in, then installed roller followers back in. But I still get these two codes, and the codes come back after I clear them, and engine runs rough. Not sure why. Driving me crazy!! Anyone have any ideas or suggestions? Terry.
 
Reply
Old Dec 28, 2023 | 09:43 AM
  #2  
steve(ill)'s Avatar
steve(ill)
Hotshot
20 Year Member
Joined: Jul 2005
Posts: 11,931
Likes: 180
Read the definition of the 340 and 345 codes again... Many times it is ELECTRICAL/ WIRING problem... Not the cam / phasers / timing.
 
Reply
Old Dec 28, 2023 | 09:45 AM
  #3  
steve(ill)'s Avatar
steve(ill)
Hotshot
20 Year Member
Joined: Jul 2005
Posts: 11,931
Likes: 180
internet search.............
Code P0340 indicates there is a problem with the electrical wiring of the circuit attached to the camshaft position sensor. This issue can result in the display of a multitude of other codes that relate directly to your vehicle's camshaft. In addition, your powertrain control module (PCM) could also be damaged.
 
Reply
Old Mar 5, 2024 | 05:37 PM
  #4  
2009FordF1504.6L's Avatar
2009FordF1504.6L
1st Gear
Joined: Mar 2024
Posts: 1
Likes: 0
Originally Posted by twhite65
Hello! I have performed a complete timing job on my 2010 Fordf150, 5.4L 3v engine, 170k miles. Dropped oil pan and cleaned it. Replaced timing chains, tensioners, guides, and crank sprocket with Cloyes timing kit, replaced Cam phasers with new Ford phasers. Replaced vvt solenoids, cam position sensors, coil packs, new Melling 360 high volume oil pump, (oil pressure is great) 5w30 oil and Motocraft filter. After doing this, I crank the motor and get codes P0340 and P0345 (camshaft position sensor on each side. Engine starts, runs for a bit but real rough idle, then dies. I thought I did something wrong, so I did the timing again step by step. I still get the same codes after the second time around. I have good voltage to cam position sensors, and good continuity to PCM. I know I put timing chains on correctly matching the timing marks etc….I did remove camshafts and after putting them back in and putting timing parts in, then installed roller followers back in. But I still get these two codes, and the codes come back after I clear them, and engine runs rough. Not sure why. Driving me crazy!! Anyone have any ideas or suggestions? Terry.


I’m having this exact same issue before and after completing a full timing job and new PCM that was recommended by the dealer.

Have anyone figured this out?

I have a 2009 Ford F150 4.6L 260k mikes.
 

Last edited by 2009FordF1504.6L; Mar 5, 2024 at 05:39 PM.
Reply
Old Mar 14, 2024 | 02:36 PM
  #5  
gyro11's Avatar
gyro11
3rd Gear
Joined: Mar 2024
Posts: 3
Likes: 0
My 02 4.6 has terrible lope at idle and throwing 340 code i hav changed out sensor 3 times still loping and 340 code
 
Reply
Old Mar 17, 2024 | 11:30 PM
  #6  
meborder's Avatar
meborder
Moderator
10 Year Member
Photogenic
Photoriffic
Shutterbug
Joined: Jul 2011
Posts: 6,514
Likes: 670
From: Sioux Falls Area
Club FTE Gold Member
Just helped a buddy of mine with his 06 with the 5.4. Throwing the same code along with others. After doing plugs and coils the p0340 code was sill there and the truck still ran like crap.

replacing the sensor did not change anything.

the final fix was replacing the VCT solenoid. The screen had gotten torn and jammed up the solenoid.

not saying that this is your problem, but it was definitely our problem. Unfortunately the 2008 and up are harder to change than the 04-07.



 
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
RayBay
1999 - 2016 Super Duty
6
May 5, 2026 08:14 PM
Nitrodude
Modular V8 (4.6L, 5.4L)
16
Jul 21, 2025 06:44 AM
Deckmonkey
2004 - 2008 F150
7
Feb 21, 2025 04:36 PM
Fordmaicoman
2004 - 2008 F150
21
Apr 4, 2019 05:12 PM
Zachery Blankenship
1999 - 2016 Super Duty
4
Mar 8, 2019 10:38 PM




All times are GMT -5. The time now is 02:34 PM.

story-0
10 Ways Ford is LOSING to the Competition

Slideshow: 10 ways Ford is losing to the competition

By Joe Kucinski | 2026-06-15 09:52:01


VIEW MORE
story-1
Top 6 Best Deals Available on New Fords & Lincolns Right Now

Some great targets in today's expensive world.

By Brett Foote | 2026-06-15 09:35:19


VIEW MORE
story-2
This Hennessey Takes the Expedition Tremor's Off-Roading Capability to the Next Level

Slideshow: The VelociRaptor Expedition gains a lift, upgraded suspension, Brembo brakes, and trail-ready equipment while retaining the stock 440-horsepower EcoBoost V6.

By Verdad Gallardo | 2026-06-12 11:01:55


VIEW MORE
story-3
Top 10 Fords at 2026 Carlisle Ford Nationals

Slideshow: Top 10 Fords at 2026 Ford Nationals

By Joe Kucinski | 2026-06-09 11:10:08


VIEW MORE
story-4
3 Best / 3 Worst Parts of Modern Ford Ownership

Based on years of owning multiple modern Ford products.

By Brett Foote | 2026-06-09 10:53:36


VIEW MORE
story-5
10 Amazing Upgrades That Solve Common Ford Truck Owner Headaches

SPONSORED: From muddy boots to rain-soaked cargo, these upgrades address some of the most common frustrations Ford truck owners face every day.

By Pouria Savadkouei | 2026-06-08 18:50:34


VIEW MORE
story-6
Every 2026 Ford Engine Explained

Here's everything you need to know about every Ford engine available for the 2026 model year.

By Brett Foote | 2026-06-05 12:58:01


VIEW MORE
story-7
10 Ugly Ford Trucks That We Still Kinda Love

Slideshow: 10 ugly Ford trucks that we still kinda love.

By Joe Kucinski | 2026-06-03 09:51:16


VIEW MORE
story-8
10 Things Every Truck Owner NEEDS (2026 Edition)

Slideshow: the best gifts for dads & grads

By Michael S. Palmer | 2026-06-03 15:43:58


VIEW MORE
story-9
Rezvani's Latest Post-Apocalyptic Monster Is a Ford F-150 Raptor Underneath

Slideshow: Called the Fortress, the 850-horsepower pickup combines Raptor underpinnings with military-inspired features, survival equipment, and a starting price of $285,000.

By Verdad Gallardo | 2026-06-03 11:38:36


VIEW MORE