P0340 Camshaft Position Sensor Circuit Malfunction
Diagnostic trouble codes · Vehicles built Oct 2014 – Dec 2014
DESCRIPTION
The camshaft position sensor consists of a magnet and an iron core which is wrapped with copper wire, and is installed on the cylinder head. When the camshaft rotates, each of the 3 teeth on the camshaft pass through the camshaft position sensor. This activates the internal magnet in the sensor, generating a voltage in the copper wire. The camshaft rotation is synchronized with the crankshaft rotation. When the crankshaft turns twice, the voltage is generated 3 times in the camshaft position sensor. The generated voltage in the sensor acts as a signal, allowing the ECM to locate the camshaft position. This signal is then used to control ignition timing, fuel injection timing, and the VVT system.| DTC No. |
DTC Detection Condition |
Trouble Area |
| P0340 |
When one of the following conditions is met:
|
|
- HINT:
- DTC P0340 indicates a malfunction related to the camshaft position sensor (+) circuit (the wire harness between the ECM and camshaft position sensor, and the camshaft position sensor itself).
-
Reference: Inspection using an oscilloscope.

- HINT:
- G2 stands for the camshaft position sensor signal and NE stands for the crankshaft position sensor signal.
- Grounding failure of the shielded wire may cause noise in the waveforms.
- G2 stands for the camshaft position sensor signal and NE stands for the crankshaft position sensor signal.
Tester Connection
Tool Setting
Condition
Specified Condition
D97-93 (NE+) - D97-117 (NE-)
5 V/DIV, 20 msec./DIV.
Idling
The correct waveform is as shown
D97-94 (G2) - D97-118 (G2-)
5 V/DIV, 20 msec./DIV.
Idling
The correct waveform is as shown
MONITOR DESCRIPTION
If no signal is transmitted by the camshaft position sensor despite the engine running, or the rotations of the camshaft and crankshaft are not synchronized, the ECM interprets this as a malfunction of the circuit.MONITOR STRATEGY
| Required Sensors/Components (Main) |
Camshaft position sensor |
| Required Sensors/Components (Related) |
Crankshaft position sensor |
| Frequency of Operation |
Continuous |
CONFIRMATION DRIVING PATTERN
- Connect the intelligent tester to the DLC3.
- Turn the ignition switch to ON and turn the intelligent tester on.
- Clear the DTCs (even if no DTCs are stored, perform the clear DTC procedure).
- Turn the ignition switch off and wait for at least 30 seconds.
- Turn the ignition switch to ON and turn the intelligent tester on.
- Start the engine.
- Idle the engine for 20 seconds or more.
- Enter the following menus: Powertrain / Engine and ECT / DTC.
- Read the pending DTCs.
- HINT:
- If a pending DTC is output, the system is malfunctioning.
- If a pending DTC is not output, perform the following procedure.
- If a pending DTC is output, the system is malfunctioning.
- Enter the following menus: Powertrain / Engine and ECT / Utility / All Readiness.
- Input the DTC: P0340.
- Check the DTC judgment result.
Intelligent Tester Display
Description
NORMAL
- DTC judgment completed
- System normal
ABNORMAL
- DTC judgment completed
- System abnormal
INCOMPLETE
- DTC judgment completed
- Perform driving pattern after confirming DTC enabling conditions
N/A
- Unable to perform DTC judgment
- Number of DTCs which do not fulfill DTC preconditions has reached ECU memory limit
- HINT:
- If the judgment result shows NORMAL, the system is normal.
- If the judgment result shows ABNORMAL, the system has a malfunction.
- If the judgment result shows INCOMPLETE or N/A, perform the Confirmation Driving Pattern and check the DTC judgment result again.
- If the judgment result shows NORMAL, the system is normal.
- DTC judgment completed
WIRING DIAGRAM


INSPECTION PROCEDURE
- HINT:
- Read freeze frame data using the intelligent tester. Freeze frame data records the engine conditions when malfunctions are detected. When troubleshooting, freeze frame data can help determine if the vehicle was moving or stationary, if the engine was warmed up or not, if the air-fuel ratio was lean or rich, and other data from the time the malfunction occurred.
| 1. INSPECT CAMSHAFT POSITION SENSOR (RESISTANCE) |
Inspect the camshaft position sensor (Click here).
|
|
||||
| OK | |
| 2. CHECK HARNESS AND CONNECTOR (CAMSHAFT POSITION SENSOR - ECM) |
Disconnect the camshaft position sensor connector.
Disconnect the ECM connector.
Measure the resistance according to the value(s) in the table below.
- Standard Resistance:
Tester Connection
Condition
Specified Condition
D10-1 - D97-94 (G2)
Always
Below 1 Ω
D10-2 - D97-118 (G2-)
Always
Below 1 Ω
D10-1 or D97-94 (G2) - Body ground
Always
10 kΩ or higher
D10-2 or D97-118 (G2-) - Body ground
Always
10 kΩ or higher
|
|
||||
| OK | |
| 3. CHECK SENSOR INSTALLATION (CAMSHAFT POSITION SENSOR) |
Check the camshaft position sensor.

- OK:
- Sensor is installed correctly.
|
|
||||
| OK | |
| 4. INSPECT CAMSHAFT TIMING GEAR ASSEMBLY (TEETH) |
Check the teeth of the camshaft timing gear assembly.
- OK:
- Teeth do not have any cracks or deformation.
|
|
||||
| OK | |
| 5. REPLACE CAMSHAFT POSITION SENSOR |
Replace the camshaft position sensor (Click here).
| NEXT | |
| 6. CHECK WHETHER DTC OUTPUT RECURS |
Connect the intelligent tester to the DLC3.
Turn the ignition switch to ON.
Turn the intelligent tester on.
Clear the DTCs.
Start the engine and idle it for 10 seconds or more.
Enter the following menus: Powertrain / Engine and ECT / DTC / Pending.
Read the DTCs.
Result Result
Proceed to
No DTC is output
A
P0340 is output
B
- HINT:
- If the engine does not start, replace the ECM.
|
|
||||
| A | ||
| ||
