LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Toyota >> 2013 >> Matrix Base, Automatic Trans >> Repair and Diagnosis >> External Pages >> Different variant/trim >> Section 18 (Engine Control System (2AZ-FE) (Diagnostic Codes (P0010-P0456))) >> SFI System >> DTC P0340: Camshaft Position Sensor "A" Circuit (Bank 1 or Single Sensor) >> Description
April 5, 2026: LEMON Manuals is launched! Read the announcement.

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

WARNING: This page is about a different variant/trim than selected.

The camshaft position 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 camshaft position 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 camshaft position 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 one of following conditions is met:
  • No camshaft position sensor signal to ECM while cranking (2 trip detection logic)
  • No camshaft position sensor signal to ECM at engine speed of 600 rpm or more (1 trip detection logic)
  • Missing camshaft position 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 camshaft position sensor circuit
  • Camshaft position sensor
  • Intake camshaft
  • Valve timing
  • ECM

HINT: 

DTC P0340 indicates a malfunction relating to the camshaft position sensor circuit (the wire harness between the ECM and camshaft position sensor, and the camshaft position sensor itself).

Reference: Inspection using an oscilloscope. Refer to DESCRIPTION .