2005-2008 Yaris · Service Manual ENGINE

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

Diagnostic trouble codes · Vehicles built from Aug 2005

DESCRIPTION

The crankshaft position sensor system consists of a crankshaft position sensor plate and a pickup coil. The sensor plate has 34 teeth and is installed on the crankshaft. The pickup coil is made of an iron core and a magnet. The sensor plate rotates and as each tooth passes through the pickup coil, a pulse signal is generated. The pickup coil generates 34 signals per engine revolution. Based on these signals, the ECM calculates the crankshaft position and engine speed. Using these calculations, the fuel injection time and ignition timing are controlled.
The camshaft position sensor consists of a magnet and an iron core which is wrapped with copper wire, and is installed on 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
Deviation in camshaft position sensor signal and crankshaft position sensor signal (3 trip detection logic)
  1. Mechanical system malfunction (jumped teeth of timing chain, chain stretched)
  2. ECM

HINT:
DTC P0340 is detected when the engine cranks 12 revolutions or more.


WIRING DIAGRAM

A109130E02

INSPECTION PROCEDURE

NOTICE:
Perform electronic throttle learning after replacing the ECM (Click here).

HINT:
  1. Read freeze frame data using the intelligent tester. The ECM records vehicle and driving condition information as freeze frame data the moment a DTC is stored. 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.
  2. Troubleshoot DTCs P0341, P0342 and P0343 first. If no trouble is found, troubleshoot the following mechanical systems.


1. CHECK VALVE TIMING
  1. Check for looseness or a jumped tooth in the timing chain.

    OK:
    The matchmarks of the crankshaft pulley and camshaft pulley align.



NG
ADJUST VALVE TIMING
OK

REPLACE ECM


← P0335 Crankshaft Position Sensor "A" Circuit (+ P0336) (from Aug 2005)P0341 Camshaft Position Sensor "A" Circuit Range / Performance (Bank 1 or Single Sensor) (+ P0342, P0343) (from Aug 2005) →