2005-2008 Yaris · Service Manual ENGINE

P0340 Camshaft Position Sensor "A" Circuit (Bank 1 or Single Sensor)

Diagnostic trouble codes · Vehicles built from Nov 2005

DESCRIPTION

The Camshaft Position (CMP) sensor installed on the cylinder head. The sensor plate has one tooth on its circumference, and is installed on the camshaft timing pulley. When the camshaft rotates, the tooth on the camshaft timing pulley passes through the CMP sensor. The generated voltage in the sensor acts as a signal. The ECM locates each cylinder position based on the combination of this signal and crankshaft position sensor output.
DTC No.
DTC Detection Conditions
Trouble Areas
P0340
No camshaft position sensor signal to ECM while cranking
(The MIL is illuminated and a DTC is immediately set when a malfunction is detected)
  1. Open or short in CMP sensor circuit
  2. CMP sensor
  3. Camshaft timing gear or sprocket
  4. ECM

HINT:
DTC P0340 is detected when the engine cranks 5 revolutions or more and also detected when idling.

Reference: Inspection using the oscilloscope.
A129228E01

HINT:
  1. The correct waveform is as shown on the left.
  2. G stands for the camshaft position sensor signal, and NE+ stands for the crankshaft position sensor signal.
  3. Grounding failure of the shielded wire may cause noise in waveforms.
Item
Contents
Terminal
CH1: G1 - EG
CH2: NE+ - NE-
Equipment Setting
10 ms/Division
Condition
While cranking or idling


WIRING DIAGRAM

Refer to DTC P0335 (Click here).

INSPECTION PROCEDURE

HINT:
Read freeze frame data using an intelligent tester. Freeze frame data record 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.


1. INSPECT CAMSHAFT POSITION SENSOR (POWER SOURCE VOLTAGE)

  1. A122682E01
    Disconnect the C49 camshaft position sensor connector.

  1. Turn the ignition switch on (IG).

  1. Measure the voltage between the terminal of the wire harness side connector and body ground.

    Standard voltage:
    Tester Connections
    Specified Conditions
    VG (C49-3) - Body ground
    9 to 14 V

  1. Reconnect the camshaft position sensor connector.



NG
Go to step 8
OK


2. CHECK HARNESS AND CONNECTOR (CAMSHAFT POSITION SENSOR - ECM)

  1. A122683E01
    Disconnect the C49 camshaft position sensor connector.

  1. Disconnect the C50 ECM connector.

  1. Check the resistance.

    Standard resistance (Check for open):
    Tester Connections
    Specified Conditions
    G1 (C49-2) - G1 (C50-26)
    Below 1 Ω
    G- (C49-1) - EG (C50-34)

    Standard (Check for short):
    Tester Connections
    Specified Conditions
    G1 (C49-2) or G1 (C50-26) - Body ground
    10 kΩ or higher
    G- (C49-1) or EG (C50-34) - Body ground

  1. Reconnect the camshaft position sensor connector.

  1. Reconnect the ECM connector.



NG
REPAIR OR REPLACE HARNESS OR CONNECTOR
OK


3. CHECK SENSOR INSTALLATION (CAMSHAFT POSITION SENSOR)

  1. A122684E01
    Check the camshaft position sensor installation.

    OK:
    Sensor is installed correctly.



NG
SECURELY REINSTALL SENSOR
OK


4. CHECK VALVE TIMING

  1. G035846E01
    Remove the cylinder head cover (Click here).

  1. Turn the crankshaft pulley until the grooves of the crankshaft damper and oil pump are aligned.

  1. Check that the timing mark of the camshaft timing sprocket and the straight pin hole of the crankshaft timing sprocket are in the positions shown in the illustration.If not, turn the crankshaft 1 revolution (360°), then align the marks as above.

    OK:
    Timing marks on camshaft timing gears are aligned as shown in the illustration.

  1. Reinstall the cylinder head cover (Click here).



NG
ADJUST VALVE TIMING
OK


5. CHECK CAMSHAFT TIMING GEAR OR SPROCKET
  1. Check the teeth of the camshaft timing gear or sprocket.

    OK:
    The teeth do not have any cracks or deformation.



NG
REPLACE CAMSHAFT TIMING GEAR OR SPROCKET
OK


6. REPLACE CAMSHAFT POSITION SENSOR

NEXT


7. CHECK WHETHER DTC OUTPUT RECURS (DTCS P0340)
  1. Connect an intelligent tester to the DLC3.

  1. Turn the ignition switch on (IG) and turn the tester on.

  1. Clear DTCs (Click here).

  1. Start the engine.

  1. Select the following menu item: Powertrain / Engine and ECT / DTC.

  1. Read DTCs.

    Result:
    Display (DTC Output)
    Proceed To
    No output
    A
    P0340
    B



B
REPLACE ECM
A

END

8. CHECK FUSE (ECD2 FUSE)

  1. A107902E03
    Remove the ECD2 fuse from the engine room relay block.

  1. Check the ECD2 fuse resistance.

    Standard resistance:
    Below 1 Ω

  1. Reinstall the ECD2 fuse.



NG
CHECK FOR SHORT IN ALL HARNESSES AND CONNECTORS CONNECTED TO FUSE AND REPLACE FUSE
OK

CHECK ECM POWER SOURCE CIRCUIT


← P0335 Crankshaft Position Sensor "A" Circuit (from Nov 2005)P0380 Glow Plug / Heater Circuit "A" Malfunction (from Nov 2005) →