
Downloaded from www.Manualslib.com manuals search engine
120-1 6
Ignition System
Remove camshaft sensor (arrow) from front of right cylinder
head.
Disconnect camshaft sensor harness from cable duct above
right cylinder head.
Installation is reverse of removal, noting the following:
Use new O-ring when installing sensor.
Be sure wiring is rerouted in same orientation.
Use scan tool to read out and clear ECM fault memory.
Tightening torque Intake camshaft sensor to timing chain 5 Nm
(3.5 ft-lb)
cover
Knock sensors
Knock sensors, replacing (M52, M52 TU and M54
engines)
The knock sensors are bolted to the left side of the cylinder
block under the intake manifold.
- Remove intalte manifold as described in 113 Cylinder Head
Removal and Installation.
D~sconnect knock sensor electrical harness connector (A) on
left side of engine cylinder block.
Remove knock sensor
mount~ng bolts (arrows) on side of
cyllnder block. Remove sensors.
Note the installed angle of the
lnocl~ sensor on the bloc/( be-
fore removing it. Reinstall the sensor
in the same position. Be
sure to use a torque wrench when tightening the sensor
mounting bolt.
< Clean lknock sensor contact surface on engine bloclc and
sensor (arrows) before installing
ltnock sensor.
Tightening torque
Knock sensor to head 20 Nm (15 ft-lb)
- Use scan tool to read out and clear ECM fault memory.
Knock sensors, replacing
(M62 and M62 TU engines)
The
knock sensors are bolted to the side of the cylinder block
under the
intake manifold.

Downloaded from www.Manualslib.com manuals search engine
Ignition System
Remove intake manifold as described in 113 Cylinder Head
Remaval and Installation.
Remove knock sensor mounting bolts (arrows) on side of
cylinder block. Remove sensors.
I CAUTION- I
Note the installedangle of the knock sensors on the bloclt be-
fore removalit. Reinstall the sensors in the same position. Be
sure to use
a torque wrench when tightening the sensor
mounting bolts.
Clean
lknoclc sensor contact surfaces on engine bloclc and
sensors before installing.
Tightening torque
Knock sensor to engine
bloclc 20 Nm (15 ft-lb)
- Use scan tool to read out and clear ECM fault memory.
- Installation is reverse of removal.

Downloaded from www.Manualslib.com manuals search engine
.-. .
Battery, Starter, Alternator
Warnings and cautions
WARNING -
Wear goggles, rubber gloves, and a rubber apron when
working around the battery or battery acid (electrolyte).
Battery acid contains sulfuric acid and can cause skin
irritation and burning.
If acid is spilled on your skin or
clothing, flush the area at once with large quantities of
water. If electrolyte gets into your eyes, flush them with
large quantities of clean water for several minutes and
call a physician.
Batteries that are being charged or are fully charged
give off explosive hydrogen gas. Keep sparks and open
flames away. Do not
smoke.
CA UTIOI\C
Only use a digital multimeter when testing automotive elec-
trical components.
. If a repair procedure specifies disconnecting the bat-
tery, follow the instruction for safety reasons.
Prior to disconnecting the battery, read the battery dis-
connection cautions in
001 General Cautions and
Warnings.
Models with MS43 engine management: Allow at least
3 minutes to elapse after turning ignition ley to OFFpo-
sition before disconnecting battery. This willallow sum-
cient tinie to complete the DMJL (fuel tank pressure)
test
* Disconnecting the battery cables may erase fault codes
stored in ECM memory.
Always disconnect the negative
(-) battery cable first
and reconnect it last. Cover the battery post with an in-
sulating material whenever the cable is removed.
Do not disconnect battery, alternator or starter wires
while the engine is running.
0 Never reverse the battery cables. Even a momentary
wrong connection can damage the alternator or other
electrical components.
Do not depend on the color of insulation to tell battery
positive and negative cables apart. Label cables before
removing.
The slide-tilt sunroof may fail to function properly
after
disconnecting and reconnecting the battery. Reinitial-
ize sunroof as described in 540 Sunroof.

Downloaded from www.Manualslib.com manuals search engine
121-11
Battery, Starter, ~lternatorl
Alternator 1997 - 98 5281 1997 540i
/-- -----,
I'
-----------
F15 / 7.5A/ :
&.. .... , 30 1 Xi0015
Battery
Hol in run 61 E (D+) Alternator
and stsrt
lBL
(Generator)
1 .--------,charge , . I , indicator I xGoli i
I <"9,7,a,T
Alternator, basic
On 1997-1 998 6-cylinderand 1997 V-8 models, the charging
system indicator light is supplied voltage
(+) to one side of the
light bulb, and the other side of the bulb is connected to the
voltage regulator.
With the engine off and the key in the run position, voltage
from the ignition switch flows through the regulator to ground,
completing the circuit and illuminating the charge indicator
bulb.
When the vehicle is started and the alternator begins to pro-
duce voltage, the output of the diode trio increases and the
light is turned off.
Alternator with multi-function control
(MFR)
Alternator with multi-function control
(MFR)
The multi-function controlled alternator is used on:
* 1999-2002 6-cylinder models
* 1998-2002 V-8 models
4 On cars with multi-function control alternator, the charge in-
dicator lamp is activated by means of an electronic switch in-
tegrated in the alternator controller. This switch receives its
voltage supply from terminal
15 on the 3-pin connector at the
rear of the alternator. The controller measures internally the
voltage difference between terminal 30 and terminal
15 and
signals the DME ECM to turn the charge indicator lamp on.
The controller features integrated fault detection. The battery
charge indicator lamp will come on in the event of:
* Failure of belt drive
No charge due to an
electrical/electronic fault
Interruption in excitation circuit
Over-voltage due to a defective controller output stage Fault or break in charge line
No charge due to alternator fault

Downloaded from www.Manualslib.com manuals search engine
130-1
130 Fuel injection
General ........................... .I3 0.2
Tools and test equipment .............. .I3 0.3
Warnings and cautions ................ .I3 0.5
Fuel Supply ....................... .I3 0.6
Relieving system fuel pressure .......... .I3 0.6
Siemens MS 41 . 1. ................... 1 30-7
ECM relay. testing .................... .I3 0.7
Mass air flow (MAF) sensor.
checking and replacing
................ .I3 0.9
Engine coolant temperature (ECT) sensor.
testing and replacing
.................. 130-10
Intake air temperature (IAT) sensor.
testing and replacing
................. .I3 0.1 1
Throttle position sensor (TPS).
testing and replacing
.................. 130-1 2
ldle speed control valve.
checking and replacing
............... .I3 0.1 3
Fuel injectors. checking and replacing .... 130-15
Evaporative emissions. overview ....... .I3 0.1 6
Secondary air injection. overview ....... .I3 0-17
Engine control module (ECM).
removing and installing
................ 130-18
Siemens MS 41.1 ECM pin assignments . .I3 0.19
Siemens MS 42.0 and MS 43.0. ..... .I3 0.23
ECM relay. testing ................... .I3 0.27
Mass air flow (MAF) sensor.
checking and replacing
............... .I3 0.28
Engine coolant temperature (ECT) sensor.
testing and replacing
................. .I3 0.30
Intake air temperature (IAT) sensor.
testing and replacing
................. .I3 0.31
MS 42.0 throttle valve assembly. replacing . 130-32
MS 43.0 throttle valve assembly. replacing . 130-35
Throttle cable. adjusting (MS 42.0) ...... .I3 0.38
ldle speed control valve. checking
and replacing
....................... .I3 0.38
Evaporative emissions control diagrams . . 130- 39
Evaporative emissions control.
(MS
42.0 and MS 43.0). .............. .I3 0.39
Engine control module (ECM).
removing and installing
................ 130-40
Siemens MS 42.0 and MS 43.0
ECM pin assignments ................. 130-41
Bosch M5.2 (M62 up to 911997)
BOSC~ M5.2.1 (M62 911997 to 911998) 130-46
M5.2 system features ................. 130-47
M5.2.1 system features ............... 130-47
ECM relay. testing ................... 130-49
Oxygen sensors. checking ............. 130-51
Fuel injectors. checking and replacing .... 130-52
Mass air flow (MAF) sensor. replacing .... 130-53
ldle speed control valve. testing
and replacing
....................... 130-54
Throttle position sensor (TPS).
testing and replacing
................. 130-55
Engine coolant temperature (ECT) sensor.
testing and replacing
................. 130-55
Intake air temperature (IAT) sensor.
testing and replacing
................. 130-57
Auxiliary throttle valve (ADS) (M62 and
M62 TU engine). replacing ..... 130-57
Evaporative system pressure
leak diagnosis. overview
(5.2.1 only) ..... 130-58
Bosch 5.2 ECM pin assignments
(M62 UP to 911 997) ................... 130-59
~osch 5.2.1 ECM pin assignments
(M62 911 997 to 911 998) ............... 130-62
BOSC~ ME 7.2 ..................... 1 30-66
ME 7.2 system overview ............... 130-67
EDK adaptation ..................... 130-69
ECM relay. checking .................. 130-69
Engine coolant temperature
(ECT) sensor. testing
................. 130-71
Engine coolant temperature
(ECT) sensor. replacing
............... 130-71
Oxygen sensors. replacing ............. 130-72
Fuel injectors. removing and installing .... 130-72
Mass air flow (MAF) sensor.
removing and installing
................ 130-73
Evaporative system pressure
leak diagnosis. overview
............... 130-74
Secondary air injection. overview ........ 130-75
Bosch ME 7.2 ECM pin assignments .... 130-76

Downloaded from www.Manualslib.com manuals search engine
Fuel Injection
Warnings and cautions
For personal safety, as well as the protection of sensitive
electronic components, adhere to the warnings and cautions
on the following pages.
WARNING-
Gasoline is highly flammable and its vapors are explosive.
Do not smoke or work on a car near heaters or other fire
hazards when diagnosing and repairing fuel system prob-
lems. Have a fire extinguisher available in case of an emer-
gency
Renew fuel system hoses, clamps and O-rings any
time they are removed.
When working on an open fuel system, wear suitable
hand protection, as prolonged contact
with fuel can
cause illnesses and skin disorders.
* The ignition system produces high voltages that can be
fatal. Avoid contact with exposed terminals. Use ex-
treme caution when
working on a car with the ignition
switched on or the engine running.
CAUTION-
- Disconnecting the battery may erase fault code($ storedin
memory Check for fault codes prior to disconnecting the
battery cables. Read the battery disconnection cautions in
001 General Warnings and Cautions.
a Connect and disconnect the DME system wiring and
1 test equipment leads only when the ignition is switched
off.
Wait at least 1 minute after turning off the ignition be-
fore removing the engine control module (ECM) con-
nector. If the connector is removed before this time,
residualpower in the system relay may damage the
control module.
Fuel system cleaners and other chemical additives oth-
er than those specifically recommended by BMW may
damage the catalytic converter, the oxygen sensor or
other fuel supply components.
* Do not connect any test equipment that delivers a 12-
volt power supply to terminal 15 (+) of the ignition coil.
The current flow may damage the ECM. In general,
connect test equipment only as specified by BMW or
the equipment maker.
Only use a digital
multirneter for electrical tests. Only
use an LED test light for
quiclc tests.

Downloaded from www.Manualslib.com manuals search engine
130-6
Fuel Injection
Fuel supply to the injection system is provided by a high pres-
sure electric pump mounted inside the fuel tank. The pump is
powered via the fuel pump relay. If the relay is faulty, the fuel
pump will not run and the engine will not start.
NOTE-
* Fuel delivery volume and fuel pressure are critical to prop-
er operation. Fuel pressure direcfly influences fuel deliv-
ery
Fuel pump relay, fuel pressure and fuel volume tests are
given in 160 Fuel Tank and Fuel Pump.
Relieving system fuel pressure
The fuel system retains fuel pressure in the system when the
engine is off. To prevent fuel from spraying on a hot engine,
system fuel pressure should be relieved beforedisconnecting
fuel lines. One method is to tightly wrap
ashop towel around a
fuel line fitting and loosen or disconnect the fitting. Cleanli-
ness is essential when working with fuel components. Thor-
oughly clean the unions before disconnecting fuel lines.
When system faults are detected, a diagnostic trouble code
(DTC) is stored in the engine control module (ECM). The MIL
also iiluminates if an emissions-related fault is detected
When faults arise, or if the malfunction indicator lamp (MIL) is
illuminated, begin troubleshooting by connecting BMW ser-
vice tester
DISplus. MoDiC, GTI or equivalent scan tool. The
capabilities of OBD
II software has the potential to save hours
of diagnostic time and to help avoid incorrect component re-
placement and possible damage to system components.
CAUTION-
- The tests in this section may set fault codes (DTCs) in the
ECM and illuminate the
MIL. Affer all testing is completed,
access and clear DJC fault memory using an
OED I1 or
BMW compatible scan tool. See OBD On-Board Diag-
nostics.
0 Only use a digital multimeter for electrical tests.
. Relay positions can vary Be sure to confirm relay posi-
tion by identifying the wiring in the socket using the wir-
ing diagrams found in ELE Electrical Wiring
Diagrams.

Downloaded from www.Manualslib.com manuals search engine
Fuel Injection 1
Working in right rear of engine compartment:
Release interior ventilation filter cover latch
(A) and re-
move cover.
Release plastic locking tab
(6).
Rotate duct inward (arrow) to unlock from bulk head and
remove duct.
Release spring
lock (C) to remove lower iilter housing.
Slide filter housing away from inner fender to remove.
- Remove electrical box (E-box) cover fasteners and remove
cover.
NOTE-
OBD I1 fault memory (including an illuminated MIL) can
only be reset using an electronic scan tool. Removing the
connector from the ECM or disconnecting the battery will
not erase the fault
memory.
The BMW-dedicated 20-pin diagnostic linlc connector
(DLC) is in the right rear of the engine compartment.
The 16-pin OBD
I1 diagnostic connector (arrow) is located
inside the car on the lower left dash panel.
ECM relay, testing
Fuses lor ECM In E-bbx 502130488
4 The engine control module (ECM) relay is energized via the
ECM and supplies battery positive
(B+) power to many of the
engine management components and subsystems.
If this re-
lay is faulty, the engine will not start.
Relay positions can vary. Be sure to confirm relay position by
identifying the wiring in the socket using the wiring diagrams
in
ELE Electrical Wiring Diagrams.
NOTE-
The ECM relay is also referred to as the DME main relay.