GM Service Manual Online
For 1990-2009 cars only

DTC P0340 or P0365 LTD without Turbocharger

Diagnostic Instructions

    • Perform the Diagnostic System Check - Vehicle prior to using this diagnostic procedure.
    • Review Strategy Based Diagnosis for an overview of the diagnostic approach.
    •  Diagnostic Procedure Instructions provides an overview of each diagnostic category.

DTC Descriptors

DTC P0340: Intake CMP Sensor Circuit

DTC P0365: Exhaust Camshaft Position (CMP) Sensor Circuit

Diagnostic Fault Information

Circuit

Short to Ground

Open/High Resistance

Short to Voltage

Signal Performance

Intake CMP Sensor 5V Reference

P0641

P0340

P0641

P0341

Intake CMP Sensor Low Reference

--

P0340

--

--

Intake CMP Sensor Signal

P0340

P0340

P0340

--

Exhaust CMP Sensor 5V Reference

P0641

P0365

P0641

P0366

Exhaust CMP Sensor Low Reference

--

P0365

--

--

Exhaust CMP Sensor Signal

P0365

P0365

P0365

--

Circuit/System Description

The 4X camshaft position (CMP) sensor circuits consist of an engine control module (ECM) supplied 5V reference circuit, low reference circuit, and an output signal circuit. The CMP sensor is an internally magnetic biased digital output integrated circuit sensing device. The sensor detects magnetic flux changes of the teeth and slots of a 4-tooth reluctor wheel attached to the camshaft. As each reluctor wheel tooth rotates past the CMP sensor, the resulting change in the magnetic field is used by the sensor electronics to produce a digital output pulse. The sensor returns a digital ON/OFF DC voltage pulse of varying frequency, with 4 varying width output pulses per camshaft revolution that represent an image of the camshaft reluctor wheel. The frequency of the CMP sensor output depends on the velocity of the camshaft. The ECM decodes the narrow and wide tooth pattern to identify camshaft position. This information is then used to determine the optimum ignition and injection points of the engine. The ECM also uses CMP sensor output information to determine the camshaft relative position to the crankshaft, to control camshaft phasing, and for limp-home operation.

Conditions for Running the DTC

    • The engine is running.
    • DTCs P0340 and P0365 run continuously when the above condition is met.

Conditions for Setting the DTC

P0340

The ECM does not receive 4 camshaft pulses within 3 seconds.

P0365

The ECM does not receive 4 camshaft pulses within 3 seconds

Action Taken When the DTC Sets

DTC P0340, and P0365 are Type B DTCs.

Conditions for Clearing the MIL/DTC

DTC P0340, and P0365 are Type B DTCs.

Reference Information

Schematic Reference

Engine Controls Schematics

Connector End View Reference

Component Connector End Views

Electrical Information Reference

    •  Circuit Testing
    •  Connector Repairs
    •  Testing for Intermittent Conditions and Poor Connections
    •  Wiring Repairs

DTC Type Reference

Powertrain Diagnostic Trouble Code (DTC) Type Definitions

Scan Tool Reference

Control Module References for scan tool information

Circuit/System Verification

  1. With the ignition OFF, inspect the engine wiring harnesses carrying the CMP sensor circuits for the following conditions:
  2. • Close routing of aftermarket electrical equipment
    • Close to solenoids, motors, and relays
      Correct any wire harness routing or component placement conditions, if it is determined to be a possible source of electrical interference.
  3. With the ignition ON, engine OFF, use the live plot function on the scan tool. Select the engine speed parameter and the CMP sensor parameter. Change the minimum spec to 400 RPM for both parameters. Change the maximum spec to 4,000 RPM for both parameters.
  4. Start the engine and observe the scan tool.
  5. Quickly accelerate and release the accelerator pedal several times. Do not accelerate past 4,000 RPM. The 2 graphed lines on the live plot display should track together across the screen.
  6. Operate the vehicle within the Conditions for Running the DTC. You may also operate the vehicle within the conditions that you observed from the Freeze Frame/Failure Records data.

Circuit/System Testing

  1. Ignition OFF, disconnect the harness connector at the B23 camshaft position (CMP) sensor.
  2. Test for less than 1 ohm between the appropriate low reference circuit terminal B and ground.
  3. If greater than the specified value, test the low reference circuit for an open/high resistance. If the circuit tests normal, replace the ECM.
  4. Ignition ON, test for 4.8-5.2V between the appropriate 5V reference circuit terminal A and ground.
  5. If less than the specified range, test the 5V reference circuit for an open/high resistance or short to ground. If the circuit tests normal, replace the K20 ECM.
    If greater than the specified range, test the 5V reference circuit for a short to voltage. If the circuit tests normal, replace the ECM.
  6. Ignition ON, test for 4.8-5.2V between the appropriate signal circuit terminal C and ground.
  7. If less than the specified range, test the affected signal circuit for an open/high resistance or short to ground. If the circuit tests normal, replace the K20 ECM.
    If greater than the specified range, test the affected signal circuit for a short to voltage. If the circuit tests normal, replace the K20 ECM.
  8. Ignition OFF, connect a fused jumper wire to the CMP signal circuit terminal C.
  9. Ignition ON, momentarily touch the other end of the fused jumper wire to the battery negative post. The CMP active counter parameter on the scan tool should increment.
  10. If the CMP active counter increments, replace the B23 CMP sensor.
    If the CMP active counter does not increment, replace the K20 ECM.

Component Testing

Note: You must perform the Circuit/System Testing before proceeding with Component Testing.

  1. Inspect the CMP sensor for correct installation. Remove the CMP sensor from the engine and inspect the sensor and the O-ring for damage.
  2. If the sensor is loose, incorrectly installed, or damaged, repair or replace the CMP sensor.
  3. Connect the CMP sensor connector to the CMP sensor. Turn ON the ignition, with the engine OFF.
  4. Ignition ON, and engine OFF. Observe the CMP Active Counter parameter on the scan tool. Pass a steel object by the tip of the sensor repeatedly. The CMP Active Counter parameter should increment.
  5. If the parameter does not increment, replace the CMP sensor.

Repair Instructions

Perform the Diagnostic Repair Verification after completing the diagnostic procedure.

    •  Camshaft Position Sensor Replacement - Exhaust
    •  Camshaft Position Sensor Replacement - Intake
    •  Control Module References for ECM replacement, setup, and programming