Given the facts now confirmed:
• BMW M40B16
• Manual
• Cuts cleanly at ~4000 rpm and above
• Also happens free-revving
• New crankshaft position sensor
• New ignition coil
There are only two realistic remaining causes on this engine. One is by far the most common.
⸻
MOST LIKELY CAUSE: Ignition Power Stage (Ignition Control Module / ICM)This is the number one cause of a hard 3.8–4.2k rpm cut on M40 engines once CPS and coil are ruled out.
Why this fits perfectly
• The ICM switches the coil at high speed
• At ~4000 rpm the switching frequency becomes high
• A failing ICM:
• Works perfectly at low RPM
• Cuts spark instantly at a repeatable RPM
• Causes a clean cut (no misfire)
• Engine immediately drops to idle and recovers
This is textbook M40 behaviour.
Key point
A bad ICM will do this even with a new CPS and new coil
Resistance tests do not reliably detect ICM failure.
⸻
How to confirm (best test)
Freeze-spray test:
1. Run engine until it cuts at 4000 rpm
2. Spray the ignition module (aluminium heat-sink unit near the coil)
3. Immediately try revving again
✔ If it now revs past 4000 → ICM is faulty
Substitution with a known good unit is the definitive test.
⸻
SECOND POSSIBLE CAUSE (LESS COMMON): Throttle Position Switch WOT contact / wiring faultNot “TPS worn”, but WOT contact shorting or mis-signalling.
Why it can cause this
• At high throttle angle the WOT contact closes
• If the switch or wiring shorts:
• ECU momentarily cuts fuel/ignition
• RPM collapses
• Engine falls back to idle
Quick isolation test
• Unplug the TPS
• Free-rev engine
✔ If it now revs cleanly → TPS or wiring fault
If unchanged → TPS is not the issue(Unplugging it is safe; ECU defaults.)
⸻
What it is NOT (with certainty now)•
Fuel pump or filter (would not cut free-revving)•
Rev limiter•
ECU (extremely rare)•
Lambda sensor•
Idle valve•
CPS or coil (already new)⸻
Final Diagnosis ProbabilityComponent Probability
Ignition power stage (ICM) -80–85%
TPS WOT contact / wiring -10–15%
AFM signal dropout <5%
Still trying to help.
Cheers




That causes an instant, clean cut at a specific RPM, regardless of load.


Engine ground strap disturbed or left marginal (VERY common)
AFM boot / intake leaks introduced
Timing belt installed one tooth out
AFM carbon track wear accelerated
TPS misadjusted after refit (secondary effect)