Couldn't find a properly labeled engine wiring harness, so tried to make one myself. The RealOEM diagram isn't very accurate, but you can make out what is going on. This is based off my experience with a couple of post-2000 EURO e46 m54 wiring harnesses. Also added the two similar diagrams already out there
MS43
No SAP
CPS = camshaft position sensor
CPS below starter = crankshaft position sensor
MS45.1
No IAT and the MAF is 5 pin.
MS43
No SAP
CPS = camshaft position sensor
CPS below starter = crankshaft position sensor
MS45.1
No IAT and the MAF is 5 pin.