The Camshaft Position (CMP) sensor consists of a magnet and an iron core which is wrapped with copper wire, and is installed onto the cylinder head. When the camshaft rotates, each of 3 teeth on the camshaft passes through the CMP 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 CMP 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 either of following conditions are met:
·
No Camshaft Position (CMP) sensor signal to ECM while cranking (2 trip detection logic) ·
Missing CMP sensor signal despite crankshaft position sensor signal inputs normal at engine speed of 600 rpm or more (1 trip detection logic) |
·
Open or short in CMP sensor circuit ·
CMP sensor ·
Camshaft ·
Valve timing ·
ECM |
DTC P0340 indicates a malfunction relating to the CMP sensor circuit (the wire harness between the ECM and CMP sensor, and the CMP sensor itself).
Reference: Inspection using an oscilloscope
The correct waveform is as shown in the illustration.
G2+ stands for the CMP sensor signal, and NE+ stands for the Crankshaft Position (CKP) sensor signal.
Grounding failure of the shielded wire may cause noise in waveforms.
| ECM Terminal Name | CH1: Between G2+ and G2-
CH2: Between NE+ and NE- |
| Tester Range | 5 V/DIV, 20 ms/DIV |
| Condition | Idling |
Refer to DTC P0335 (See page Engine / Hybrid System>2AZ-FE ENGINE CONTROL>SFI SYSTEM>P0335).
Read freeze frame data using the intelligent tester. Freeze frame data records the engine condition 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.
Inspect the camshaft position sensor (See page Engine / Hybrid System>2AZ-FE ENGINE CONTROL>CAMSHAFT POSITION SENSOR>INSPECTION).
OK
NG
Disconnect the camshaft position sensor connector.
Disconnect the ECM connector.
Measure the resistance according to the value(s) in the table below.
| Tester Connection | Condition | Specified Condition |
|---|---|---|
| B15-1 - B33-99 (G2+) | Always | Below 1 Ω |
| B15-2 - B33-98 (G2-) | Always | Below 1 Ω |
| Tester Connection | Condition | Specified Condition |
|---|---|---|
| B15-1 or B33-99 (G2+) - Body ground | Always | 10 kΩ or higher |
| B15-2 or B33-98 (G2-) - Body ground | Always | 10 kΩ or higher |
Reconnect the camshaft position sensor connector.
Reconnect the ECM connector.
OK
NG
Check the camshaft position sensor installation.
Camshaft position sensor is installed correctly.
OK
NG
Remove the cylinder head cover (See page Engine / Hybrid System>2AZ-FE ENGINE MECHANICAL>CAMSHAFT>REMOVAL).
Turn the crankshaft pulley, and align its groove with the alignment mark "0" of the timing chain cover.
Check that the alignment marks of the camshaft timing gears are aligned with the alignment marks of the bearing cap as shown in the illustration.
If not, turn the crankshaft 1 revolution (360°), then align the marks as above.
| *1 | Alignment Marks |
| *2 | Groove |
Alignment marks on camshaft timing gears are aligned as shown in the illustration.
Reinstall the cylinder head cover (See page Engine / Hybrid System>2AZ-FE ENGINE MECHANICAL>CAMSHAFT>INSTALLATION).
OK
NG
Check the teeth of the camshaft.
Camshaft teeth do not have any cracks or deformation.
OK
NG
Replace the camshaft position sensor (See page Engine / Hybrid System>2AZ-FE ENGINE CONTROL>CAMSHAFT POSITION SENSOR>REMOVAL).
NEXT
Connect the intelligent tester to the DLC3.
Turn the engine switch on (IG).
Turn the tester on.
Clear DTCs (See page Engine / Hybrid System>2AZ-FE ENGINE CONTROL>SFI SYSTEM>DTC CHECK / CLEAR).
Switch the ECM from normal mode to check mode (See page Engine / Hybrid System>2AZ-FE ENGINE CONTROL>SFI SYSTEM>CHECK MODE PROCEDURE).
Start the engine and allow the engine to idle for 10 seconds or more.
Enter the following menus: Powertrain / Engine and ECT / DTC.
Read DTCs.
| Result | Proceed to |
|---|---|
| No output | A |
| P0340 | B |
If the engine does not start, replace the ECM.
A
B