Toyota
Yaris NCP90 91 92 93
Repair Manual
1Nz-Fe Engine Control System
Sfi System
Check harness and connector (crankshaft position sensor - ecm)
Check crankshaft position sensor plate (teeth of sensor plate)
DTC P0335 Crankshaft Position Sensor "A" Circuit
DTC P0339 Crankshaft Position Sensor "A" Circuit Intermittent
DESCRIPTION
The Crankshaft Position (CKP) sensor system consists of a CKP sensor plate and a pickup coil. The sensor plate has 34 teeth and is installed on the crankshaft. The pickup coil is made of wound copper wire, an iron core and magnet.The sensor plate rotates and, as each tooth passes through the pickup coil, a pulse signal is created. The pickup coil generates 34 signals per engine revolution. Based on these signals, the ECM calculates the crankshaft position and engine RPM. Using these calculations, the fuel injection time and ignition timing are controlled.
| DTC No. | DTC Detection Conditions | Trouble Areas |
| P0335 |
|
|
| P0339 | Under conditions (a), (b) and (c), no CKP sensor signal to ECM for 0.05 seconds or more (1 trip detection logic): (a) Engine speed 1,000 rpm or more (b) Starter signal OFF (c) 3 seconds or more have elapsed since starter signal switched from ON to OFF |
|
Reference: Inspection using an oscilloscope.
- HINT:
- The correct waveform is as shown.
- G2+ stands for the CMP sensor signal, and NE+ stands for the CKP sensor signal.
- Grounding failure of the shielded wire may cause noise in waveforms.
Item Content Terminals CH1: G2+ - NE-
CH2: NE+ - NE-Equipment Settings 5 V/Division, 20 msec./Division Conditions Cranking or idling
WIRING DIAGRAM

INSPECTION PROCEDURE
- HINT:
- If no problem is found through this diagnostic troubleshooting procedure, troubleshooting the engine mechanical system.
- Check the engine speed. The engine speed can be checked by using an intelligent tester. To check, follow the operation below:
- Connect an intelligent tester to the DLC3.
- Start the engine.
- Turn the tester on.
- Select the following menu items: Powertrain / Engine and ECT / Data List / Engine Speed.
- Connect an intelligent tester to the DLC3.
- The engine speed may be indicated as zero despite the engine revolving normally. This is caused by a lack of NE signals from the crankshaft position (CKP) sensor. Alternatively, the engine speed may be indicated as lower than the actual engine speed, if the CKP sensor output voltage is insufficient.
- The engine speed may be indicated as zero despite the engine revolving normally. This is caused by a lack of NE signals from the crankshaft position (CKP) sensor. Alternatively, the engine speed may be indicated as lower than the actual engine speed, if the CKP sensor output voltage is insufficient.
- Read freeze frame data using an intelligent tester. Freeze frame data records the engine conditions when malfunctions are detected. 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.
Connect an intelligent tester to the DLC3.
Turn the ignition switch to ON.
Turn the tester on.
Select the following menu items: Powertrain / Engine and ECT / Data List / Engine Speed.
Start the engine.
Read the values displayed on the tester while the engine is running.
- Standard:
- Correct values are displayed.
- HINT:
- To check the engine speed change, display the graph on the tester.
- If the engine does not start, check the engine speed while cranking.
- If the engine speed indicated on the tester remains zero(0), there may be an open or short in the crankshaft position sensor circuit.
| CHECK FOR INTERMITTENT PROBLEMS (Click here) | |||
| NG | |
![]() |
![]() |
Disconnect the C2 Crankshaft Position (CKP) sensor connector.
Check the resistance.
- Standard resistance:
Tester Connections Conditions Specified Conditions 1 - 2 Cold 985 to 1,600 Ω 1 - 2 Hot 1,265 to 1,890 Ω
- HINT:
- Terms cold and hot refer to the temperature of the coils. Cold means approximately -10 to 50°C (14 to 122°F). Hot means approximately 50 to 100°C (122 to 212°F).
Reconnect the CKP sensor connector.
| REPLACE CRANKSHAFT POSITION SENSOR | |||
| OK | |
![]() |
![]() |
Disconnect the C2 CKP sensor connector.
Disconnect the C20 ECM connector.
Check the resistance.
- Standard resistance (Check for open):
Tester Connections Specified Conditions NE+ (C2-1) - NE+ (C20-122) Below 1 Ω NE- (C2-2) - NE- (C20-121)
- Standard resistance (Check for short):
Tester Connections Specified Conditions NE+ (C2-1) or NE+ (C20-122) - Body ground 10 kΩ or higher NE- (C2-2) or NE- (C20-121) - Body ground
Reconnect the ECM connector.
Reconnect the CKP sensor connector.
| REPAIR OR REPLACE HARNESS OR CONNECTOR | |||
| OK | |
![]() |
![]() |
Check the CKP sensor installation.
- OK:
- Sensor is installed correctly.
| SECURELY REINSTALL SENSOR | |||
| OK | |
![]() |
Check the teeth of the sensor plate.
- OK:
- Sensor plate does not have any cracks or deformation.
| REPLACE CRANKSHAFT POSITION SENSOR PLATE | |||
| OK | |
![]() |
| NEXT | |
![]() |
Connect an intelligent tester to the DLC3.
Turn the ignition switch to ON and turn the tester on.
Clear DTCs (Click here).
Start the engine.
Select the following menu items: Powertrain / Engine and ECT / DTC.
Read DTCs.
- Result:
Display (DTC Output) Proceed To No output A P0335 or P0339 B
- HINT:
- If the engine does not start, replace the ECM.
| REPLACE ECM (Click here) | |||
| A | |
![]() | |
| END | |





