- ReverseLight: isolated output DO0 (CH422G OC0 -> PC817 -> NPN sink) drives the reverse-lamp relay while the lever is in R on a live bus with ignition on; 10 Hz decision confirmed over 200 ms, written through the panel library's expander object so the backlight cannot undo it; `reverse status|on|off|force` console, default ON (NVS `revlight_en`). Wiki page reverse-lights-output with the wiring. - Sport screen: BMW-style power + torque gauges (lv_meter on a dial-face image, image needle); PNG sources in assets/, tools/png2lvgl.py converter. - Vehicle: final drive ratio + tyre circumference -> road speed, hp from torque; Settings > Vehicle page; `vehicle` console. - Bench simulation (`sim` console) overlays torque / rpm / shaft on the snapshot. - EcuIdent: KWP 1A 86 / 1A 80 read once, stored in NVS, shown on Settings > Vehicle, passive ECU CHANGED? check; `ecu` console. - Ignition fallback from the 0x1D2 lever byte on buses without 0x3B4 (Patrol 2). - Engine data: per-DDE `2C 10` identifier profiles (Patrol 1 vs Patrol 2 rail 00C2 / boost 003A / battery 002F); DiagProbe liveConfigure(). - Wiki: Patrol 2 captures, vehicles page, obd identifier table per DDE, logs.
3.4 KiB
type, tags, updated
| type | tags | updated | |||
|---|---|---|---|---|---|
| entity |
|
2026-10-18 |
Nissan Patrol M57N Swap
The target vehicle (verified — user, 2026-07-15): a Nissan Patrol receiving the bmw-m57n-engine from an E60/E61 donor, with the BMW automatic + EGS wired into the CAN bus. The display system (dual-controller-architecture) replaces/augments instrumentation for the swapped drivetrain.
Drivetrain
- Gearbox: ZF 6HP26X (verified — user, 2026-07-17). The "X" is the xDrive output variant — same internal gearset as the 6HP26, different output housing/shaft to drive a transfer case. Ratios: 4.171 / 2.340 / 1.521 / 1.143 / 0.867 / 0.691.
- This dates the donor: M57N + xDrive means E60/E61, not E65 — the 7-series never took that combination. → open-questions #2
- Final drive (differential) ratio: 4.11:1 (user, 2026-10-13). Tyre rolling circumference: not stated yet; the firmware defaults to 2440 mm (a 265/70 R16,
(unverified)for this car) and both numbers are editable on Main CTRL's Settings → Vehicle page(repo).
[!question] Was the BMW transfer case retained? Open, and it blocks road-speed display. The EGS measures the gearbox output shaft upstream of the transfer case, so the raw→km/h conversion depends on what sits downstream:
- BMW case retained → its rear output is ~1:1, math unaffected
- Deleted, coupled straight to the Patrol driveline → also fine
- A Patrol transfer case in the path → its ratio enters the calculation, and changes with high/low range — road speed would become range-dependent, which the firmware would have to know about
Also needed for km/h: the Patrol's final drive ratio (4.11:1, user 2026-10-13) and tyre size (still open). The firmware now computes
~km/h = shaft rpm ÷ 4.11 × circumferenceon the Driveline and Sport screens(repo); the~stays until the shaft factor (#8) and the tyre are confirmed. → driveline-speed-signals, open-questions #8/#10/#11
Why this matters for research
- The M57-into-Patrol swap is popular (especially in Australia and the Middle East), so swap-community forums likely contain solved CAN-ID lists and gauge projects for exactly this drivetrain.
(unverified)→ can-bus-integration - The bus the display taps is essentially a BMW island in a Nissan vehicle: only the modules the swap harness retains (DDE, EGS, possibly others) are broadcasting. Nissan-side electronics are not on this bus. Confirmed by absence: no DSC/CAS traffic appears, which is why there is no wheel-speed message and why the gearbox output shaft is our only road-speed source. → driveline-speed-signals
- Patrol generation, swap-harness maker (or DIY), and which BMW modules were retained are still unknown → open-questions.
- There is more than one Patrol (2026-10-18). A second Patrol with the same M57N carries a different DDE unit and a differently populated bus (no
0x3B4), and a third setup is expected; the firmware now labels each setup by its DDE identification and adapts to the frames present → vehicles, can-capture-2026-10-18-patrol-2. Patrol 2's donor is an E65 7-series (VIN prefix WBAGM21070 from its1A 86), Patrol 1's an E60 530d.
Related
bmw-m57n-engine · driveline-speed-signals · can-capture-2026-07-17-drive · can-bus-integration · open-questions