LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Subaru >> 2018 >> Crosstrek Base, Standard Trans >> Repair and Diagnosis >> Engine Performance >> System >> Engine Control System (Diagnostics) (2 Of 4) >> Diagnostic Procedure with Diagnostic Trouble Code (DTC) >> DTC P0340: Camshaft Position Sensor "A" Circuit Bank 1 Or Single Sensor >> Notes
April 5, 2026: LEMON Manuals is launched! Read the announcement.

DTC P0340: Camshaft Position Sensor "A" Circuit Bank 1 Or Single Sensor: Notes

DTC detecting condition: 

Immediately at fault recognition

Trouble symptom: 

CAUTION: Use the check board when measuring the ECM terminal voltage and resistance. Ref. to ENGINE (DIAGNOSTICS) (H4DO)>General Description>PREPARATION TOOL>HOW TO USE CHECK BOARD .
NOTE: After the faulty parts are repaired or replaced, perform the final check in Basic Diagnostic Procedure. Ref. to ENGINE (DIAGNOSTICS) (H4DO)>Basic Diagnostic Procedure>PROCEDURE .

Wiring diagram: 

Engine Electrical System Ref. to WIRING SYSTEM (CROSSTREK MODEL)>Engine Electrical System>WIRING DIAGRAM .

G12399928Courtesy of SUBARU OF AMERICA, INC.
  1. CHECK POWER SUPPLY OF CAMSHAFT POSITION SENSOR RH  .
    1. Turn the ignition switch to OFF.
    2. Disconnect the connector from camshaft position sensor RH.
    3. Turn the ignition switch to ON.
    4. Measure the voltage between camshaft position sensor RH connector and engine ground.

      Connector & terminal 

      (E36) No. 1 (+) - Engine ground (-):

    Is the voltage 10 V or more?

    Yes:  Go to  2.

    No:  Repair the harness and connector.

    NOTE: In this case, repair the following item:
    • Open circuit or short circuit to ground in harness between main relay connector and camshaft position sensor RH connector
    • Poor contact of coupling connector
  2. CHECK HARNESS BETWEEN ECM AND CAMSHAFT POSITION SENSOR RH (OPEN)  .
    1. Turn the ignition switch to OFF.
    2. Disconnect the connector from ECM.
    3. Measure the resistance between ECM connector and camshaft position sensor RH connector.

      Connector & terminal 

      (E158) No. 78 - (E36) No. 2:

      (E158) No. 51 - (E36) No. 3:

    Is the resistance less than 1 Ω?

    Yes:  Go to  3.

    No:  Repair the open circuit in the harness between the ECM connector and camshaft position sensor RH connector.

  3. CHECK HARNESS BETWEEN ECM AND CAMSHAFT POSITION SENSOR RH (SHORT TO GROUND)  .

    Measure the resistance between camshaft position sensor RH connector and engine ground.

    Connector & terminal 

    (E36) No. 2 - Engine ground:

    Is the resistance 1 MΩ or more?

    Yes:  Go to  4.

    No:  Repair short circuit to ground in harness between ECM connector and camshaft position sensor RH connector.

  4. CHECK HARNESS BETWEEN ECM AND CAMSHAFT POSITION SENSOR RH (SHORT TO POWER SUPPLY)  .

    Measure the voltage between camshaft position sensor RH connector and engine ground.

    Connector & terminal 

    (E36) No. 2 (+) - Engine ground (-):

    Is the voltage 5 V or more?

    Yes:  Repair the short circuit to power in the harness between ECM connector and camshaft position sensor RH connector.

    No:  Go to  5.

  5. CHECK CONDITION OF CAMSHAFT POSITION SENSOR RH  .
    1. Turn the ignition switch to OFF.
    2. Check the installation condition of camshaft position sensor RH.

    Is the camshaft position sensor RH installation bolt tightened securely?

    Yes:  Go to  6.

    No:  Tighten the camshaft position sensor RH installation bolt securely. Ref. to FUEL INJECTION (FUEL SYSTEMS) (H4DO)>Camshaft Position Sensor>INSTALLATION .

  6. CHECK CAMSHAFT POSITION SENSOR RH  .

    Check the waveform of the camshaft position sensor RH. Ref. to ENGINE (DIAGNOSTICS) (H4DO)>CONTROL MODULE I/O SIGNAL .

    Is there any abnormality in waveform?

    Yes:  Replace the camshaft position sensor RH. Ref. to FUEL INJECTION (FUEL SYSTEMS) (H4DO)>CAMSHAFT POSITION SENSOR .

    No:  Repair the following item.

    • Poor contact of ECM connector
    • Poor contact of camshaft position sensor RH connector
    • Poor contact of coupling connector