P0040moderate severityPowertrain
O2 Sensor Signals Swapped Bank 1 Sensor 1 / Bank 2 Sensor 1
on 1997 BMW 328is E36 2.8L I6 M52 · RWD
What this code means
The PCM has determined that the upstream O2 sensor signals for Bank 1 and Bank 2 are swapped, likely due to incorrect wiring after sensor replacement.
Symptoms
- Check Engine Light
- Poor fuel economy
- Rough running
- Failed emissions
Common causes
- O2 sensor connectors swapped after service
- Wiring crossed between banks
- Incorrect sensor installation
Diagnostic steps
- Verify which O2 sensor is connected to which bank
- Trace wiring from each sensor to PCM connector
- Check for crossed connectors
Repair notes
Swap the sensor connectors to the correct banks.
🔌 Don't have a code reader?
Any of these will read and clear this code — pick by how deep you want to go.
Bluetooth code reader (~$25)
Veepeak OBDCheck BLE →
Pairs with your phone — reads and clears codes, live data.
Serious DIY (~$100)
BlueDriver Pro →
Enhanced codes (ABS, airbag, TPMS) plus repair reports.
Shop-grade tablet (~$300+)
Autel MaxiCOM MK808S →
Bidirectional tests, service resets, all systems.
As an Amazon Associate, OLP earns from qualifying purchases — how we link. This never changes the specs we publish.
Other Powertrain codes on this vehicle
29CC
Misfire Cylinder 1
29CD
Misfire Cylinder 2
29CE
Misfire Cylinder 3
29CF
Misfire Cylinder 4
29D0
Misfire Cylinder 5
29D1
Misfire Cylinder 6
29D2
Misfire Cylinder 7
29E0
Lambda Additive/Idle Adaptation Limit, Bank 1
29E1
Lambda Additive/Idle Adaptation Limit, Bank 2
29E2
Lambda Multiplicative Part-Load Adaptation Limit, Bank 1