--- type: entity tags: [engine, bmw, can-bus] updated: 2026-09-23 --- # BMW M57N Engine The engine at the heart of the project: the display reads its CAN bus and shows live data. Being swapped into a Nissan Patrol → [[nissan-patrol-swap]]. ## This specific engine (verified — user, 2026-07-15) - Donor chassis: **E60/E61 (2003+)** — narrowed from E60/E65 by the 6HP26X gearbox (xDrive output; the 7-series never had M57N + xDrive). **2026-09-23: the DDE identified itself over KWP** ([[diag-route-b-2026-09-23]]): VIN prefix **`WBANC92090` → E60 530d** `(unverified decode)`, ident date 2006-03, part numbers 7 799 764 / 7 799 765 / 7 793 887, and it speaks **KWP2000 not UDS** — all consistent with a DDE6-generation ECU (Bosch EDC16); a 2006 build would mean the **M57N2 231 hp** revision `(unverified)`. Remaining: look up the part numbers to name the exact variant. → [[obd-diagnostic-polling]] - Transmission: **ZF 6HP26X** (user-confirmed 2026-07-17) with its EGS ECU wired into the CAN bus — gearbox temp and gear position have a real data source ([[gear-box-can-revealings]]). ## Overview (unverified) - 3.0 L inline-6 turbo-diesel, second generation ("N" = updated) of the M57 family, produced roughly 2002–2008. - Engine management: Bosch **DDE** (Digitale Diesel Elektronik). - The DDE broadcasts engine data on the vehicle's **PT-CAN at 500 kbps**, which matches the firmware's configured baud rate `(repo)`. E60/E65 also carry a K-CAN (~100 kbps) for body functions — we care about PT-CAN only `(unverified)`. ## Data we want from it Per the project goals: coolant temperature, oil temperature, gearbox oil temperature, gear position/number, battery voltage, fault codes → see [[can-bus-integration]] for the message-ID question. ## Key unknowns - Exact DDE version and donor model year — narrows the CAN matrix further. → [[open-questions]] - Whether the swap harness alters what's broadcast vs. a stock E60. - Values the DDE keeps to itself (boost, MAF, rail pressure, injection quantity, DTCs) are only reachable by polling → [[obd-diagnostic-polling]]. ## CAN IDs The verified E60 map (coolant, gearbox temp, gear, rpm, torque, battery, turbine and output-shaft speed) lives in [[can-id-candidates]]; the firmware decodes exactly that map `(repo, 2026-09-21)`. The E46/E39-era IDs once seeded here (`0x316`, `0x329`, `0x545`) and the firmware's original placeholders (`0x4F`, `0x55`, `0x201`, `0x1001`, `0x101F`) were all confirmed absent from the live bus. ## Related [[nissan-patrol-swap]] · [[can-bus-integration]] · [[dual-controller-architecture]] · [[open-questions]]