2005-2008 Yaris · Service Manual ENGINE

P0340 Camshaft Position Sensor Circuit Malfunction

Diagnostic trouble codes · Vehicles built from Nov 2006

Also covers:

DESCRIPTION

The camshaft position sensor for intake camshaft (G signal sensor) consists of a magnet and MRE element.
The camshaft has a timing rotor for the camshaft position sensor. When the camshaft rotates, changes occur in the air gaps between the timing rotor and MRE element, which affects the magnet. As a result, the resistance of the MRE material fluctuates. The camshaft position sensor converts the camshaft rotation data to pulse signals, and uses the pulse signals to determine the camshaft angle, which it sends to the ECM. Then the ECM uses this data to control fuel injection time and injection timing.
DTC No.
DTC Detection Condition
Trouble Area
P0340
No camshaft position sensor signal during cranking for 4 seconds or more
(2 trip detection logic)
  1. Open or short in camshaft position sensor (for intake camshaft) circuit
  2. Camshaft position sensor (for intake camshaft)
  3. Intake camshaft
  4. Valve timing
  5. ECM
P0340
Following conditions met for 5 seconds or more (1 trip detection logic):
  1. Missing camshaft position sensor signal despite crankshaft position sensor signal inputs normal
  2. Engine speed 600 rpm or more
  1. Open or short in camshaft position sensor (for intake camshaft) circuit
  2. Camshaft position sensor (for intake camshaft)
  3. Intake camshaft
  4. Valve timing
  5. ECM
Following conditions met for 4 seconds or more (1 trip detection logic):
  1. Camshaft position sensor signal voltage less than 0.3 V
  2. Camshaft position sensor signal voltage more than 4.7 V
P0342
Camshaft position sensor signal voltage less than 0.3 V for 4 seconds or more
(1 trip detection logic)
  1. Open or short in camshaft position sensor (for intake camshaft) circuit
  2. Camshaft position sensor (for intake camshaft)
  3. Intake camshaft
  4. Valve timing
  5. ECM
P0343
Camshaft position sensor signal voltage more than 4.7 V for 4 seconds or more
(1 trip detection logic)
  1. Open or short in camshaft position sensor (for intake camshaft) circuit
  2. Camshaft position sensor (for intake camshaft)
  3. Intake camshaft
  4. Valve timing
  5. ECM
If no camshaft position sensor signal is input into the ECM despite the engine revolving, or the camshaft and crankshaft positions are not synchronized, or the camshaft position sensor output voltage is out of standard range, the ECM interprets this as a malfunction in the camshaft position sensor circuit.

WIRING DIAGRAM

Refer to DTC P0335 (Click here).

INSPECTION PROCEDURE

HINT:
  1. Read freeze frame data using an intelligent tester. Freeze frame data records the engine conditions when a malfunction is detected. When troubleshooting, freeze frame data can help determine if the vehicle was running or stopped, 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.
  2. If no problem is found through this diagnostic troubleshooting procedure, troubleshoot the engine mechanical system.


1. CHECK ANY OTHER DTCS OUTPUT (IN ADDITION TO DTC P0340, P0342 AND P0343)
  1. Connect an intelligent tester to the DLC3.

  1. Turn the ignition switch on (IG).

  1. Turn the tester on.

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

  1. Read DTCs.

    Result:
    Result
    Proceed to
    P0340, P0342 or P0343
    A
    P0340, P0342 or P0343 and other DTCs
    B

    HINT:
    If any DTCs other than P0340, P0342 and P0343 are output, troubleshoot those DTCs first.



B
GO TO DTC CHART (Click here)
A


2. INSPECT CAMSHAFT POSITION SENSOR (FOR INTAKE CAMSHAFT) (POWER SOURCE)

  1. A107149E49
    Disconnect the camshaft position sensor (for intake camshaft) connector.

  1. Turn the ignition switch on (IG).

  1. Measure the voltage according to the value(s) in the table below.

    Standard voltage:
    Tester Connection
    Switch Condition
    Specified Condition
    C71-3 (VC) - Body ground
    Ignition switch on (IG)
    4.5 to 5.0 V

  1. Reconnect the camshaft position sensor (for intake camshaft) connector.



NG
Go to step 10
OK


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

  1. A148721E05
    Disconnect the camshaft position sensor (for intake camshaft) connector.

  1. Disconnect the ECM connector.

  1. Measure the resistance according to the value(s) in the table below.

    Standard resistance (Check for open):
    Tester Connection
    Condition
    Specified Condition
    C71-1 (VVI+) - C20-99 (G2+)
    Always
    Below 1 Ω
    C71-2 (VVI-) - C20-98 (G2-)
    Always
    Below 1 Ω

    Standard resistance (Check for short):
    Tester Connection
    Condition
    Specified Condition
    C71-1 (VVI+) or C20-99 (G2+) - Body ground
    Always
    10 kΩ or higher
    C71-2 (VVI-) or C20-98 (G2-) - Body ground
    Always
    10 kΩ or higher

  1. Reconnect the camshaft position sensor (for intake camshaft) connector.

  1. Reconnect the ECM connector.



NG
REPAIR OR REPLACE HARNESS OR CONNECTOR
OK


4. CHECK SENSOR INSTALLATION (CAMSHAFT POSITION SENSOR FOR INTAKE CAMSHAFT)

  1. BR03795E17
    Check the camshaft position sensor (for intake camshaft) installation.

    OK:
    Sensor is installed correctly.



NG
SECURELY REINSTALL SENSOR
OK


5. INSPECT INTAKE CAMSHAFT (TIMING ROTOR)
  1. Check the timing rotor of the intake camshaft.

    OK:
    Camshaft timing rotor does not have any cracks or deformation.



NG
REPLACE INTAKE CAMSHAFT
OK


6. REPLACE CAMSHAFT POSITION SENSOR (FOR INTAKE CAMSHAFT)

NEXT


7. CHECK WHETHER DTC OUTPUT RECURS (P0340, P0342 OR P0343)
  1. Connect an intelligent tester to the DLC3.

  1. Turn the ignition switch on (IG).

  1. Turn the tester on.

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

  1. Clear DTCs.

  1. Start the engine and allow the engine to idle for 10 seconds or more.

  1. Turn the ignition to off.

  1. Start the engine again and allow the engine to idle for 10 seconds or more.

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

  1. Read DTCs.

    Result:
    Result
    Proceed to
    No output
    A
    P0340, P0342 or P0343
    B

    HINT:
    If the engine does not start, replace the ECM.



B
REPLACE ECM
A


8. ADJUST VALVE TIMING
A159445E01

HINT:
There are no marks on the cylinder head to match-up for the purpose of checking valve timing. Valve timing can only be inspected by lining up the colored plates on the timing chain with the marks on the pulleys. It may be necessary to remove and re-install the chain to match up the timing marks (Click here).


NEXT


9. CHECK WHETHER DTC OUTPUT RECURS (P0340, P0342 OR P0343)
  1. Connect an intelligent tester to the DLC3.

  1. Turn the ignition switch on (IG).

  1. Turn the tester on.

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

  1. Clear DTCs.

  1. Start the engine and allow the engine to idle for 10 seconds or more.

  1. Turn the ignition to off.

  1. Start the engine again and allow the engine to idle for 10 seconds or more.

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

  1. Read DTCs.

    Result:
    Result
    Proceed to
    No output
    A
    P0340, P0342 or P0343
    B

    HINT:
    If the engine does not start, replace the ECM.



B
REPLACE ECM
A

END

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

  1. A148721E06
    Disconnect the camshaft position sensor (for intake camshaft) connector.

  1. Disconnect the ECM connector.

  1. Measure the resistance according to the value(s) in the table below.

    Standard resistance (Check for open):
    Tester Connection
    Condition
    Specified Condition
    C71-3 (VC) - C20-70 (VCV1)
    Always
    Below 1 Ω

    Standard resistance (Check for short):
    Tester Connection
    Condition
    Specified Condition
    C71-3 (VC) or C20-70 (VCV1) - Body ground
    Always
    10 kΩ or higher

  1. Reconnect the camshaft position sensor (for intake camshaft) connector.

  1. Reconnect the ECM connector.



NG
REPAIR OR REPLACE HARNESS OR CONNECTOR
OK

REPLACE ECM


← P0335 Crankshaft Position Sensor "A" Circuit (+ P0339) (from Nov 2006)P0351 Ignition Coil "A" Primary / Secondary Circuit (+ P0352, P0353, P0354) (from Nov 2006) →