LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Subaru >> 2017 >> Outback 2.5i >> Repair and Diagnosis >> Engine Performance >> System >> Engine Control System (Diagnostics) (P0171 To P0685) (H4DO) >> 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:
  • After servicing or replacing faulty parts, perform Clear Memory Mode Ref. to OPERATION , Clear Memory Mode, and Inspection Mode Ref. to PROCEDURE , Inspection Mode.
  • Use the check board when measuring the ECM terminal voltage and resistance.

Wiring diagram: 

Engine Electrical System Ref. to WIRING DIAGRAM , Engine Electrical System.

Fig 1: Camshaft Position Sensor "A" - Wiring Diagram (Bank 1 Or Single Sensor)
G11583385Courtesy of SUBARU OF AMERICA, INC.
Step Check Yes No
1 CHECK POWER SUPPLY OF CAMSHAFT POSITION SENSOR. 
  1. Turn the ignition switch to OFF.
  2. Disconnect the connector from camshaft position sensor.
  3. Turn the ignition switch to ON.
  4. Measure the voltage between camshaft position sensor connector and engine ground.

Connector & terminal 
(E36) No. 1 (+) - Engine ground (-): 
Is the voltage 10 V or more? Go to step 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 connector
  • Poor contact of coupling connector
2 CHECK HARNESS BETWEEN ECM AND CAMSHAFT POSITION SENSOR CONNECTOR. 
  1. Turn the ignition switch to OFF.
  2. Disconnect the connector from ECM.
  3. Measure the resistance between ECM connector and camshaft position sensor connector.

Connector & terminal 
(E158) No. 54 - (E36) No. 2: 
(E158) No. 42 - (E36) No. 3: 
Is the resistance less than 1 Ω? Go to step Repair the open circuit in the harness between the ECM connector and camshaft position sensor connector.
3 CHECK HARNESS BETWEEN ECM AND CAMSHAFT POSITION SENSOR CONNECTOR. 
Measure the resistance between camshaft position sensor connector and engine ground.
Connector & terminal 
(E36) No. 2 - Engine ground: 
Is the resistance 1 MΩ or
more?
Go to step Repair short circuit to ground in harness between ECM connector and camshaft position sensor connector.
4 CHECK HARNESS BETWEEN ECM AND CAMSHAFT POSITION SENSOR CONNECTOR. 
Measure the voltage between camshaft position sensor connector and engine ground.
Connector & terminal 
(E36) No. 2 (+) - Engine ground (-): 
Is the voltage 5 V or more? Repair the short circuit to power in the harness between ECM connector and camshaft position sensor connector. Go to step
5 CHECK CONDITION OF CAMSHAFT POSITION SENSOR.  Is the camshaft position sensor installation bolt tightened securely? Go to step Tighten the camshaft position sensor installation bolt securely. Ref. to INSTALLATION , Camshaft Position Sensor.
6 CHECK CAMSHAFT POSITION SENSOR. 
Check the waveform of the camshaft position sensor. Ref. to ENGINE CONTROL MODULE (ECM) I/O SIGNAL
Is there any abnormality in waveform? Replace the camshaft position sensor. Ref. to CAMSHAFT POSITION SENSOR Repair the following item.
  • Poor contact of ECM connector
  • Poor contact of camshaft position sensor connector
  • Poor contact of coupling connector