P0340
DTC P0340 or P0365
Diagnostic Instructions
* Perform the Diagnostic System Check - Vehicle Diagnostic System Check - Vehicle prior to using this diagnostic procedure.
* Review Strategy Based Diagnosis Strategy Based Diagnosis for an overview of the diagnostic approach.
* Diagnostic Procedure Instructions Diagnostic Procedure Instructions provide an overview of each diagnostic category.
DTC Descriptors
DTC P0340 00
- Intake Camshaft Position Sensor Circuit
DTC P0365 00
- Exhaust Camshaft Position Sensor Circuit
Diagnostic Fault Information
Circuit/System Description
Each camshaft is equipped with a camshaft position sensor that the engine control module (ECM) monitors. The camshaft position sensor is a hall effect switch that works in conjunction with a 4X reluctor wheel. The reluctor wheels are mounted to the camshaft position actuators that are mounted to the end of the camshafts. The ECM uses the camshaft position sensor signals in order to determine the position of the camshafts. The ECM supplies 5 V to the camshaft position sensors on the 5 V reference circuits, and supplies a ground on the low reference circuits. The camshaft position sensors provide a signal to the ECM on the signal circuits.
Conditions for Running the DTC
P0340 Condition 1
* The engine is cranking starter is engaged.
* DTC P0101, P0102, and P0103 are not set.
* Engine Air Flow is greater than 3.0 g/s.
Condition 2
* Engine is running and starter is engaged.
* P0335, P0336, P0641, or P0651, are not set.
P0365 Condition 1
Engine is running starter is not engaged and P0651 is not set.
Condition 2
* Starter is engaged.
* DTC P0101, P0102, or P0103 are not set.
* Engine Air Flow is greater than 3.0 g/s.
Condition 3
* Engine is running or starter is engaged.
* DTC P0335, P0336, P0641, or P0651 are not set.
The DTCs run continuously once the above conditions are met.
Conditions for Setting the DTC
* The ECM detects that the starter is commanded ON, and the engine has been cranking for greater than 2 s, without a camshaft position sensor pulse.
* The ECM detects that the engine has started, but did not receive a camshaft position sensor pulse during the first engine revolution.
* The ECM detects that the engine is running, but does not receive a camshaft position sensor pulse for 80 out of 100 engine cycles.
Action Taken When the DTC Sets
* DTCs P0340 00, and P0365 00 are Type B DTCs.
* The camshaft position actuator is commanded to the park position.
Conditions for Clearing the DTC
DTCs P0340 00, and P0365 00 are Type B DTCs.
Diagnostic Aids
With a DTC set, the engine may crank for an extended period of time during start-up.
Reference Information
Schematic Reference
Engine Controls Schematics [1][2]Electrical Diagrams
Connector End View Reference
Component Connector End Views Hybrid/EV Battery Pack X1 A4
Description and Operation
Hybrid Modes of Operation Description Hybrid Modes of Operation Description
Electrical Information Reference
* Circuit Testing Circuit Testing
* Connector Repairs Connector Repairs
* Testing for Intermittent Conditions and Poor Connections Testing for Intermittent Conditions and Poor Connections
* Wiring Repairs Wiring Repairs
DTC Type Reference
Powertrain Diagnostic Trouble Code (DTC) Type Definitions Powertrain Diagnostic Trouble Code (DTC) Type Definitions
Scan Tool Reference
Control Module References Control Module References for scan tool information
Circuit/System Verification
1. Service Mode active, observe the DTC information with a scan tool. DTC P0641 00 should not be set.
• If DTC P0641 00 is set, refer to DTC P0641, P0651, P0697, or P06A3 Powertrain Management.
2. Engine running, observe the scan tool Intake Camshaft Position Active Counter and Exhaust Camshaft Position Active Counter parameters. Both parameters should be incrementing.
3. Engine running, observe the DTC information with a scan tool. DTC P0340 00 or P0365 00 should not set.
4. Operate the vehicle within the conditions for running the DTC to verify the DTC does not reset. 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 and all vehicle systems OFF, it may take 2 minutes for all Vehicle systems to power down, disconnect the harness connector at the B23F Camshaft Position Sensor - Intake or B23E Camshaft Position Sensor - Exhaust.
2. Test for less than 5 ohm between the low reference circuit terminal 2 and ground.
• If greater than the specified range, test the low reference circuit for an open/high resistance. If the circuit tests normal, replace the K20 Engine Control Module.
3. Service Mode active, test for 4.8-5.2 V between the 5 V reference circuit terminal 1 and ground.
• If less than the specified range, test the 5 V reference circuit for a short to ground or an open/high resistance. If the circuit tests normal, replace the K20 Engine Control Module.
• If greater than the specified range, test the 5 V reference circuit for a short to voltage. If the circuit tests normal, replace the K20 Engine Control Module.
4. Service Mode active, test for 4.8-5.2 V between the signal circuit terminal 3 and ground.
• If less than the specified range, test the signal circuit for a short to ground or an open/high resistance. If the circuit tests normal, replace the K20 Engine Control Module.
• If greater than the specified range, test the signal circuit for a short to voltage or an open/high resistance. If the circuit tests normal, replace the K20 Engine Control Module.
5. If all circuits test normal, test or replace the B23F Camshaft Position Sensor - Intake or B23E Camshaft Position Sensor - Exhaust.
Repair Instructions
Perform the Diagnostic Repair Verification Verification Tests after completing the diagnostic procedure.
* Camshaft Position Sensor Replacement (Exhaust) Camshaft Position Sensor Replacement (Exhaust)Camshaft Position Sensor Replacement (Intake) Camshaft Position Sensor Replacement (Intake)
* Control Module References Control Module References for Engine Control Module replacement, setup, and programming