Files
ESP32-S3-Touch-LCD-5B/wiki/pages/bmw-m57n-engine.md
T
julian 7a7398243b Diag day: Route A+B verified live, DTCs read, donor identified as E60 530d
- diag probe: add mode 03 (diag dtc), BMW KWP on 0x6F1 with extended
  addressing (diag ident, diag bmw), read-only service whitelist
  (1A/18/21/22), MAX_PAYLOAD 64->384, full hex+ascii dump of BMW replies
- tools/diag_session.py: one-session probe runner, logs into wiki/raw/
- wiki: Route A results (11 mode-01 PIDs, rpm/coolant cross-checked, mode
  09 silent), Route B verified (0x6F1 [12] -> 0x612), 1A 86 ident with
  VIN prefix WBANC92090 (E60 530d), DTCs P0101/P0113/P0500/P0545/P0030
  (disconnected-sensor swap leftovers), open-questions #2/#7 updated

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-23 12:54:24 +02:00

2.6 KiB
Raw Blame History

type, tags, updated
type tags updated
entity
engine
bmw
can-bus
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.

nissan-patrol-swap · can-bus-integration · dual-controller-architecture · open-questions