Files
ESP32-S3-Touch-LCD-5B/wiki/pages/nissan-patrol-swap.md
T
julian 0bd8f5c14d Drive capture: 0x0BA gear ladder verified, output-shaft scaling narrowed
First capture with the vehicle actually moving (raw/log_20260717_145930.txt,
1857 frames, filtered to 0x0BA + 0x1D2).

Verified, closing yesterday's inference: ST_GR_GRB values 6/7/8/9/A observed
directly = 2nd..6th. So 0x0BA byte 0's low nibble is a COMPLETE gear source
on its own - P/R/N plus 1st..6th, reverse included. 0x1D2 is now needed only
for the lever and the D/S/M mode, which 0x0BA does not carry. Value 4 is
still unaccounted for.

Also caught ST_CCLT (torque converter lockup clutch) live - 422 frames
"controlling", clustered in the higher gears. This matters beyond curiosity:
a closed clutch bolts the turbine to the impeller, so turbine == engine
exactly. Any turbine/engine slip ratio read at road speed must check CCLT
first or it will report "not engaged" for a perfectly healthy locked-up box.
Decoded into driveline_t with that warning attached.

Output shaft: identification now verified (rises monotonically 1139->16702
across gears 1->6, zero whenever the output is held). Scaling narrowed to
x0.125 but NOT adopted - it implies a coherent 901->1872 rpm upshift schedule
across five independent 6HP26X ratios, where raw-as-rpm would imply
7,200-15,000 rpm against a ~4,500 redline. Still rests on the unproven
assumption that each gear's max output is its upshift point, so the field
stays in raw counts. One capture including 0x1A2 settles it: turbine/output
gives each ratio directly.

Gearbox confirmed as ZF 6HP26X (user). Same gearset as the 6HP26, so the
ratio table holds; the X is the xDrive output variant, which dates the donor
to E60/E61 rather than E65 - the 7-series never took M57N with xDrive. That
partly answers a standing open question, and raises a new one: the X box
measures its output shaft upstream of the transfer case, so if a Patrol
transfer case sits in the path its ratio enters the km/h conversion and
changes with high/low range.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 15:15:35 +02:00

2.4 KiB

type, tags, updated
type tags updated
entity
vehicle
swap
project-context
2026-07-17

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

[!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 still needed for km/h: the Patrol's final drive ratio and tyre size. → driveline-speed-signals, open-questions #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.

bmw-m57n-engine · driveline-speed-signals · can-capture-2026-07-17-drive · can-bus-integration · open-questions