Page 409 of 5135
A66267
IG2 Wire Harness Side
Ignition Switch Connector
I13
A79103
Driver Side J/B
IGN Fuse12
A79064
Engine Room R/B No.4
IG2 Relay
± DIAGNOSTICSSFI SYSTEM (1AZ±FE)
05±239
AVENSIS REPAIR MANUAL (RM1018E)
11 CHECK HARNESS AND CONNECTOR(IGNITION SWITCH ± IG2 RELAY)
(a) Disconnect the battery negative (±) terminal.
(b) Disconnect the ignition switch connector.
(c) Remove the IGN fuse from the driver side J/B.
(d) Remove the IG2 relay from the engine room R/B No.4.
(e) Check for continuity between the wire harness side con-
nectors.
Standard (Check for open):
Symbols (Terminal No.)Specified condition
IG2 (I13±6) ± IGN fuse (1)ContinuityIGN fuse (2) ± IG2 relay (1)Continuity
Standard (Check for short):
Symbols (Terminal No.)Specified condition
IG2 (I13±6) or IGN fuse (1) ± Body groundNo continuityIGN fuse (2) or IG2 relay (1) ± Body groundNo continuity
NG REPAIR OR REPLACE HARNESS OR
CONNECTOR
OK
CHECK AND REPLACE POWER SOURCE CIRCUIT
Page 410 of 5135

A63955
GND CH1
(G2+)
CH2
(NE+)GND 05±226
± DIAGNOSTICSSFI SYSTEM (1AZ±FE)
AVENSIS REPAIR MANUAL (RM1018E)
DTC P0335/12 CRANKSHAFT POSITION SENSOR ºAº
CIRCUIT
DTC P0335/13 CRANKSHAFT POSITION SENSOR ºAº
CIRCUIT
DTC P0339/13 CRANKSHAFT POSITION SENSOR ºAº
CIRCUIT INTERMITTENT
CIRCUIT DESCRIPTION
The crankshaft position sensor (NE signal) consists of a magnet, iron core and pickup coil.
The NE signal plate (crankshaft position sensor plate) has 34 teeth and is installed on the crankshaft. The
NE signal sensor generates 34 signals at every engine revolution. The ECM detects the crankshaft angle
and the engine revolution based on the NE signal, and the cylinder and the angle of the VVT based on the
combination of the G and NE signal.
DTC No.DTC Detection ConditionTrouble Area
P0335/12No crankshaft position sensor signal to ECM during cranking
(2 trip detection logic)
P0335/13No crankshaft position sensor signal to ECM with engine
speed 600 rpm or more (1 trip detection logic)
Open or short in crankshaft position sensor circuit
P0339/13
In condition (a), (b) and (c), when no crankshaft position sen-
sor (NE) signal is input for 0.05 sec. or more.
(a) Engine revolution 1,000 rpm or more
(b) STA signal is OFF
(c) 3 sec. or more has lapsed after STA signal is switched from
ON to OFF.Crankshaft position sensor
Signal plate (crankshaft)
ECM
Reference: Inspection using the oscilloscope.
HINT:
The correct waveform is as shown on the left.
ItemContents
TerminalCH1: G2+ ± NE±
CH2: NE+ ± NE±
Equipment Set5V/DIV, 20ms/DIV
ConditionDuring cranking or idling
05C70±01
Page 411 of 5135

A79124
C1
Camshaft Position Sensor
C6
Crankshaft Position SensorR W
2 1
EF BR
G J12
J/CE1326ECM
G2+
NE+
NE± (Shielded)
R
BRE13
E1327
34
2 1
(Shielded)E E
E
R R
Crankshaft
Position
Sensor PlateCamshaft
Timing Roter
A73303
Crankshaft Position Sensor C6
± DIAGNOSTICSSFI SYSTEM (1AZ±FE)
05±227
AVENSIS REPAIR MANUAL (RM1018E)
WIRING DIAGRAM
INSPECTION PROCEDURE
HINT:
Perform troubleshooting of DTC P0335/12, 13 first. If no trouble is found, troubleshoot the engine me-
chanical systems.
Read freeze frame data using
Freeze frame data records the engine conditions
when a malfunction is detected. When troubleshooting, it is useful for determining whether the vehicle
was running or stopped, the engine was warmed up or not, the air±fuel ratio was lean or rich, etc. at
the time of the malfunction.
1 INSPECT CRANKSHAFT POSITION SENSOR(RESISTANCE)
(a) Measure the resistance between the terminals of the
crankshaft posision sensor connector.
Resistance:
985 to 1,600 at cold
1,265 to 1,890 at hot
NOTICE:
ºColdº and ºHotº shown above mean the temperature of
the coils themselves. ºColdº is from ±10C (14F) to 50 C
(122 F) and ºHotº is from 50 C (122 F) to 100 C (212 F).
NG REPLACE CRANKSHAFT POSITION SENSOR
OK
Page 412 of 5135

A66132
Wire Harness SideNE+ NE±
Crankshaft Position Sensor Connector
C6
A65743NE±
NE+
E13
ECM Connector
05±228
±
DIAGNOSTICS SFI SYSTEM(1AZ±FE)
AVENSIS REPAIR MANUAL (RM1018E)
2CHECK HARNESS AND CONNECTOR(CRANKSHAFT POSITION SENSOR ± ECM)
(a)Disconnect the crankshaft position sensor connector.
(b)Disconnect the E13 ECM connector.
(c)Check for continuity between the wire harness side con- nectors.
Standard (Check for open):
Symbols (Terminal No.)Specified condition
NE+ (C6±1) ± NE+ (E13±27)ContinuityNE± (C6±2) ± NE± (E13±34)Continuity
Standard (Check for short):
Symbols (Terminal No.)Specified condition
NE+ (C6±1)or NE+ (E13±27) ± Body groundNocontinuityNE± (C6±2)or NE± (E13±34) ± Body groundNo continuity
NGREPAIR OR REPLACE HARNESS OR CONNECTOR
OK
3CHECK SENSOR INSTALLATION(CRANKSHAFT POSITION SENSOR)
(a)Check the crankshaft position sensor installation . NGTIGHTEN SENSOR
OK
4CHECK CRANKSHAFT POSITION SENSOR PLATE(TEETH OF SENSOR PLATE(CRANKSHAFT))
(a)Check the teeth of the sensor plate.
NGREPLACE CRANKSHAFT POSITION SENSORPLATE (CRANKSHAFT)
OK
CHECK AND REPLACE ECM (See page 01±32)
Page 413 of 5135

A05134
KNK Signal Waveform 05±222
± DIAGNOSTICSSFI SYSTEM (1AZ±FE)
AVENSIS REPAIR MANUAL (RM1018E)
DTC P0325/52 KNOCK SENSOR 1 CIRCUIT (BANK 1 OR
SINGLE SENSOR)
DTC P0327/52 KNOCK SENSOR 1 CIRCUIT LOW INPUT
(BANK 1 OR SINGLE SENSOR)
DTC P0328/52 KNOCK SENSOR 1 CIRCUIT HIGH INPUT
(BANK 1 OR SINGLE SENSOR)
CIRCUIT DESCRIPTION
A flat type knock sensor (non±resonant type) has the structure that can detect the vibration in a wider band
of frequency from about 6 kHz to 15 kHz and has the following features.
Knock sensors are fitted on the cylinder block to detect the engine knocking.
Sensor contains a piezoelectric element which generates a voltage when it becomes deformed, which oc-
curs when the cylinder block vibrates due to knocking. If engine knocking occurs, the ignition timing is re-
tarded to suppress it.
DTC No.DTC Detection ConditionTrouble Area
P0325/52Output voltage of the knock sensor 1 decreases beyond a
threshold. (Threshold varies according to an engine speed.)Knock sensor 1
Knock sensor 1 (under±torqued or loose)
ECM
P0327/52Output voltage the knock sensor 1 is 0.5 V or less.
Short in knock sensor 1 circuit
Knock sensor 1
ECM
P0328/52Output voltage the knock sensor 1 is 4.5 V or more.
Open in knock sensor 1 circuit
Knock sensor 1
ECM
Reference:
The correct waveform is as shown.
ItemContents
TerminalKNK1 ± EKNK
Equipment Set0.01 to 10 V/ DIV,
0.01 to 10 msec./ DIV
ConditionAfter warming up the engine,
keep the engine speed 4,000 rpm.
05C6Z±01
Page 414 of 5135
A76872
K1
Knock SensorECM
KNK1
E12
(Shielded)
1 BR D
E
J13 J12 1
B B
J/C EKNK
E12 2
W
2
EFJ12
J13
D
E
BR BR
±
DIAGNOSTICS SFI SYSTEM(1AZ±FE)
05±223
AVENSIS REPAIR MANUAL (RM1018E)
WIRING DIAGRAM
INSPECTION PROCEDURE
HINT:
Read freeze frame data using \f \b\f\f
Freeze frame data records the engine conditions when
a malfunction is detected. When troubleshooting, it is useful for determi\
ning whether the vehicle was running
or stopped, the engine was warmed up or not, the air±fuel ratio was lea\
n or rich, etc. at the time of the mal-
function.
1READ OUTPUT DTC
(a)Clear the DTC (See page 05±149).
(b) Warm up the engine.
(c) Accelerate the engine to 3,000 rpm for 10 seconds or more.
(d)Read the DTC (
See page 05±149).
Result :
Display (DTC output)Proceed to
Only ºP0325/52º is output againA
ºP0325/52, P0327/52 and/or P0328/52º are output againB
B Go to step 3
A
Page 415 of 5135

A65745
E12
ECM ConnectorKNK1
EKNK
A79072
E12
ECM ConnectorKNK1
EKNK
05±224
±
DIAGNOSTICS SFI SYSTEM(1AZ±FE)
AVENSIS REPAIR MANUAL (RM1018E)
2CHECK KNOCK SENSOR
(a)Check the knock sensor installation. Torque: 20 N m (204 kgf cm, 15 ft lbf)
NGTIGHTEN SENSOR
OK
REPLACE KNOCK SENSOR
3CHECK HARNESS AND CONNECTOR(ECM ± KNOCK SENSOR)
(a)Disconnect the E12 ECM connector.
(b)Disconnect the knock sensor connector.
(c)Check for continuity between the wire harness side con- nectors.
Standard (Check for open):
Symbols (Terminal No.)Specified condition
KNK1 (E12±1) ± Knock sensor (K1±2)ContinuityEKNK (E12±2) ± Knock sensor (K1±1)Continuity
Standard (Check for short):
Symbols (Terminal No.)Specified condition
KNK1 (E12±1) or Knock sensor (K1±2) ± Body groundNocontinuityEKNK (E12±2) or Knock sensor (K1±1) ± Body groundNo continuity
NGGo to step 5
OK
4INSPECT ECM(KNK1 VOLTAGE)
(a)Disconnect the E12 ECM connector.
(b)Turn the ignition switch ON.
(c)Measure the voltage between the terminals of the E12 ECM side terminals.
Standard:
Symbols (Terminal No.)Specified condition
KNK1 (E12±1) ± EKNK (E12±2)4.5 to 5.5 V
NGREPLACE ECM
OK
CHECK AND REPLACE ECM (See page 01±32)
Page 416 of 5135
A65174
± DIAGNOSTICSSFI SYSTEM (1AZ±FE)
05±225
AVENSIS REPAIR MANUAL (RM1018E)
5 INSPECT KNOCK SENSOR
(a) Remove knock sensor.
(b) Measure the resistance between the terminals.
Standard:
Symbols (Terminal No.)ConditionSpecified condition
FKN+ (1) ± FKN± (2)20 C (68 F)120 to 280
NG REPLACE KNOCK SENSOR
OK
REPAIR OR REPLACE HARNESS OR CONNECTOR