https://autopapyrus.com/catalog/bmw/3-series/guides/computer-diagnostics-of-the-engine-electrical-system/
BMW 3 Series 1.8 (N42) (2004): Computer Diagnostics of the Engine Electrical System
The N42 engine's electrical system is controlled by the DME control unit (BMS 46 system). Diagnosis consists of reading the fault memory through the OBD port, checking the vehicle electrical system voltage, and inspecting the connectors of the suspect sensors. The N42 has one special feature, the Valvetronic system. It has its own eccentric shaft position sensor with two angle sensors, and the control unit constantly compares their signals.
Key figures
- RPM in limp-home modeabout 1200 rpm. This indicates the control unit has switched to its emergency program because of Valvetronic (step 6)
- Temperature above which the false Valvetronic fault appearsabove 60 °C. This explains why the problem shows up after warm-up (step 6)
- Normal battery voltage with the engine running13.5-14.5 V. This is the multimeter check of the alternator (step 8)
- Spark plug tightening torque25 N·m (18 lb-ft). For a torque wrench with a 16 mm socket when replacing spark plugs (step 9)
Check these values against the manufacturer’s specification for your vehicle before you start.
Parts
9| № | Part | Genuine part no. |
|---|---|---|
| 01 | Valvetronic eccentric shaft sensorif faultyFind on Amazon → | 11377527016 |
| 02 | Ignition coilsif faultyFind on Amazon → | 12131712219 |
| 03 | Spark plugsif faultyFind on Amazon → | 12120037607 |
| 12129071003 | ||
| 12120141871 | ||
| 04 | Crankshaft position sensorif faultyFind on Amazon → | 13627548994 |
| 05 | Camshaft position sensorif faultyFind on Amazon → | 12147506273 |
| 12147518628 | ||
| 06 | Oxygen sensorsif faultyFind on Amazon → | |
| 07 | Coolant temperature sensorif faultyFind on Amazon → | |
| 08 | Intake air temperature sensorif faultyFind on Amazon → | 13627566986 |
| 09 | Batteryif faultyFind on Amazon → |
Amazon links search by the part name and genuine number; use Amazon's fit check for your car before ordering. We may earn a commission from qualifying purchases.
Part numbers are from the manufacturer's original catalogue. Check them against your VIN before ordering.
Tools
4Read the codes yourself
A scanner plugged into the OBD2 port under the dashboard shows which fault codes the car has stored, before you buy any parts. Cars sold in the US from 1996, and petrol cars in Europe from 2001 (diesels from 2004), have this port.
- Basic code reader, about $20–40: reads and clears engine codes Amazon →
- Bluetooth scanner with a phone app, about $30–100: live sensor data, and on many cars ABS and airbag codes too Amazon →
Check that the scanner lists your make and model year before you buy. We may earn a commission from qualifying purchases.
There's a full repair manual for this car
Every system, wiring diagrams and torque specs — not just this job. Haynes and 27 more.
See manuals →
Step by step
11 steps- Check the battery before connecting the scanner. You need a healthy, charged battery: when the voltage sags, the control units set false electrical system faults (the P0560-P0563 code group). The standard battery on the 316i/318i is 12 V, about 50 Ah, maintenance-free. The terminals must be clean and tight.
- Find the OBD diagnostic port. On facelift E46 models, it is a 16-pin connector on the left side, on the driver's side, under the dash panel. Turn the ignition on, but do not start the engine.
- Connect a scanner that can read BMW-specific codes. Generic readers show only general P0xxx codes, while BMW's factory DME codes are much more precise. In practice, people use factory or compatible software and adapters (INPA, DIS, Rheingold and similar). Technicians note that some E46 cars have communication problems. If that happens, check the cable, the port's power supply fuse and the ground.
- Read the DME fault memory. Write down all codes along with their status (permanent or intermittent) and the conditions under which they appeared. Take a photo of the screen. Do not clear faults at this stage, or you will lose information.
- Interpret the codes by group. Misfires: P0300 and P0301-P0304. Crankshaft sensor: P0335-P0339. Camshaft sensor: P0340-P0344. Ignition coils: P0350-P0362. Oxygen sensors: P0130-P0167. Coolant temperature and intake air temperature sensors: P0110-P0119. Electrical system voltage: P0560-P0563. Alternator circuit: P0620-P0622. Valvetronic faults (for example, eccentric shaft sensor, signal plausibility) can be read only with factory DME codes.
- If the EML light is on and the engine holds elevated RPM (about 1200 rpm), loses power and responds sluggishly to the pedal, this is the control unit's limp-home mode. A false fault is known on the N42: DME-27CE (Valvetronic load monitoring, plausibility, code P3229). It appears after warm-up above 60 °C during long periods of low-load operation. First check the DME software version. This case applies to cars built from September 2001 to February 2002 and is fixed by reflashing the control unit with dealer equipment (DIS CD29.0 or newer). A 2004 car most often already has the corrected software, so if you get this fault, look for a real Valvetronic problem.
- Perform a visual inspection. Check the connectors and wiring harnesses of the eccentric shaft sensor and other sensors for oxidation, oil leaks and chafing. Inspect the coil connectors and the condition of the spark plugs (they show which cylinder is running incorrectly).
- With the engine running, check the voltage at the battery terminals with a multimeter. The reference for a healthy alternator is about 13.5-14.5 V. Noticeably lower or higher means a problem with the alternator or the regulator. For reference, the alternator on the 316i/318i is about 70 A (up to 90 A with an automatic transmission).
- Test the suspect component by swapping it with a known good one, for example by moving the coil from the faulty cylinder to the neighboring one. If the fault follows the coil, the coil is bad. When replacing spark plugs, the tightening torque is 25 N·m (18 lb-ft) (16 mm wrench), and the gap for the stock plugs is 0.7-0.8 mm; otherwise follow the manufacturer's specification for your plug.
- For sensor and coil resistances and the exact voltage thresholds for the N42, check the manufacturer's specification, as there are no universal figures here.
- After fixing the cause, clear the faults with the scanner, start the engine and warm it up to operating temperature. Take a test drive and read the memory again: if the fault returns, the cause has not been eliminated.
Common mistakes and warnings
- Do not disconnect or connect sensor connectors, or remove the battery terminals, with the ignition on
- Reflashing the DME control unit, adaptation and coding must be done only with special equipment
- If you lack experience, go to a repair shop
- Do not clear codes until you have written them down
Spotted a mistake? Tell us →
Our articles
Brand stories
The History of BMW
BMW AG stands for Bayerische Motoren Werke, or "Bavarian Motor Works." BMW is a major manufacturer of cars, engines…
Read →
Garage
Fuel Quality Indicators: What Octane and Cetane Numbers Mean
What is an octane number? What about a cetane number? Which fuel should you choose for a high-compression engine?…
Read →
Before you buy
How to Pick Up Your Car from the Dealership the Right Way
If you've decided to buy a car from a dealership, it isn't enough to simply choose a model you like, pay for it, and…
Read →