Code P0340

Tiny
SPUDWRENCH
  • MEMBER
  • 2007 FORD F-150
  • 4.6L
  • V8
  • 2WD
  • AUTOMATIC
  • 365,000 MILES
Truck runs good on highway way but fuel mileage down. Sometimes stalls when coming to a stop and rough idle. Also whirls over a lot to start. Only active code is p0340. Changed sensor as old sensor failed resistance test and had something loose inside it. New sensor gives same issue. Truck will throw a stuck lean O2 sensor code when preforming a key on engine running diagnostic test.
Also checked and repaired open in wiring from sensor to ECM. I have not removed new sensor to recheck it yet.
Sunday, December 6th, 2020 AT 6:43 AM

1 Reply

Tiny
ASEMASTER6371
  • MECHANIC
  • 52,797 POSTS
Good morning,

I attached the possibilities for the 340 below. You will need a voltmeter to test the reference voltage to the sensor.

https://www.2carpros.com/articles/camshaft-angle-sensor-replacement

https://www.2carpros.com/articles/how-to-check-wiring

Can you give me all the codes that were set?

https://www.2carpros.com/articles/checking-a-service-engine-soon-or-check-engine-light-on-or-flashing

Roy

DR: Camshaft Position (CMP) Sensor

DR: Introduction See: Computers and Control Systems > Diagnostic Trouble Code Tests and Associated Procedures > DR: Camshaft Position (CMP) Sensor - Introduction

DR1 CHECK FOR DIAGNOSTIC TROUBLE CODES (DTCS)

Are DTCs P0340, P0344, P0345, or P0349 present?
Yes

For DTCs P0340, P0344, P0345 or P0349, GO to DR2.

No

For all others, GO to Section 4, Diagnostic Trouble Code (DTC) Charts and Descriptions See: Computers and Control Systems > Diagnostic Trouble Code Tests and Associated Procedures > Diagnostic Trouble Code (DTC) Charts and Descriptions.

DR2 CONTINUOUS MEMORY DTCS P0340, P0344, P0345 AND P0349: CHECK IF THE ENGINE STARTS

Attempt to start the engine.
Does the engine start?
Yes

GO to DR3.

No

RETURN to Section 3, Symptom Charts for further direction. See: Computers and Control Systems > Symptom Related Diagnostic Procedures

DR3 CLEAR AND ATTEMPT TO RETRIEVE THE DTC

Note:If DTCs P0340, P0344, P0345, or P0349 are present, ignition, alternator noise, RFI and CKP concerns should be considered.
Note:For vehicles with variable camshaft timing (VCT), concerns with the engine oil level, oil filter, oil contamination, or the VCT system may cause camshaft positioning errors.

Ignition ON, engine OFF.

Clear the PCM DTCs.

Ignition ON, engine running.

Increase engine speed to greater than 1,500 RPM for 10 seconds. Repeat this 3 times.

Retrieve the continuous memory DTCs.
Are DTCs P0340, P0344, P0345 or P0349 present?
Yes

GO to DR4.

No

GO to Pinpoint Test Z See: Computers and Control Systems > Diagnostic Trouble Code Tests and Associated Procedures > Z: Intermittent - Introduction.

DR4 CHECK THE GENERATOR FOR EXCESSIVE ELECTRICAL NOISE

Note:If the generator/regulator is electrically noisy, the noise decreases when the B+ connector is disconnected.

PCM connector connected.

CMP Sensor connector connected.

Ignition ON, engine running.

Monitor the generator for an audible electric noise.

Ignition OFF.

Generator/regulator B+ connector disconnected.

Ignition ON, engine running.

With the engine running, determine if the generator is still noisy.
Does the noise remain constant when the B+ connector is disconnected?
Yes

For continuous memory DTCs P0340 or P0344, GO to DR5.

For continuous memory DTCs P0345 or P0349, GO to DR13.

No

REFER to Charging System to diagnose the generator is noisy symptom.

DR5 DETERMINE THE CMP SENSOR PHYSICAL TYPE

Ignition OFF.
Is the CMP sensor a synchronizer (gear driven) type?
Yes

GO to DR6.

No

GO to DR7.

DR6 VERIFY THE CORRECT INSTALLATION OF THE CMP SENSOR

Note:A CMP sensor identifies the cylinder 1 power stroke. A sensor that is improperly installed/indexed can identify the wrong cylinder as 1, produce a tip-in hesitation and generate DTC P0340.
Is the CMP sensor installed correctly?
Yes

GO to DR7.

No

INSTALL the CMP sensor correctly.

CLEAR the DTCs. REPEAT the self-test.

DR7 DETERMINE THE CMP SENSOR ELECTRONIC TYPE

Note:The variable reluctance (VR) sensors have 2-wire connectors, Hall-effect sensors have 3-wire connectors.
Is the CMP sensor a VR type?
Yes

GO to DR8.

No

The CMP sensor is a Hall-effect type.

GO to DR19.

DR8 CONTINUOUS MEMORY DTCS P0340 AND P0344: CHECK THE CMP SENSOR RESISTANCE

Note:For vehicles with 2-pin CMP sensors, measure the circuits listed in the table that apply to 2-pin sensors. For vehicles with 3-pin CMP sensors, measure the circuits listed in the table that apply to 3-pin sensors. Refer to connector end views at beginning of pinpoint test.

Ignition OFF.

CMP Sensor connector disconnected.

Measure the resistance between:

image

imageOpen In New TabZoom/Print

Is the resistance within specification?
Yes

GO to DR9.

No

INSTALL a new CMP sensor.

CLEAR the DTCs. REPEAT the self-test.

DR9 CHECK THE CMP CIRCUIT FOR A SHORT TO VOLTAGE IN THE HARNESS

PCM connector disconnected.

Ignition ON, engine OFF.

Removal and Installation
1. Disconnect the camshaft position (CMP) sensor electrical connector.
2. Remove the bolt and the CMP sensor.
To install, tighten to 10 Nm (89 lb-in).

3. To install, reverse the removal procedure.
Lubricate the CMP sensor O-ring seal with clean engine oil prior to installation.
Was this
answer
helpful?
Yes
No
Sunday, December 6th, 2020 AT 8:06 AM

Please login or register to post a reply.

Sponsored links