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>
8.2 KiB
type, tags, updated
| type | tags | updated | ||
|---|---|---|---|---|
| synthesis |
|
2026-07-17 |
Open Questions
The research frontier. Answering any of these should trigger updates across the wiki. Ordered roughly by how much they block progress.
Blocking
(Nothing is blocking as of 2026-07-17 — the CAN map is decoded end-to-end. See #8 for the one live calibration left.)
Active
-
What is the scaling of
0x0BAD3/D4 (output shaft speed)? Narrowed 2026-07-17. The identification is now verified (rises monotonically 1st→6th under drive, zero whenever the output is held) and ×0.125 is a strong hypothesis — it implies a coherent 901→1872 rpm upshift schedule across five independent 6HP26 ratios, where raw-as-rpm would imply 7,200–15,000 rpm against a ~4,500 redline. Remaining assumption: that each gear's max output is its upshift point. One capture closes this — log0x1A2alongside0x0BAat steady speed through the gears; turbine ÷ output gives each ratio directly with no shift-point assumption. The 2026-07-17 capture was filtered to0x0BA/0x1D2only, which is the sole reason it's still open. Still the project's only road-speed signal (no DSC on this bus). → driveline-speed-signals -
Was the BMW transfer case retained, and what's downstream? The 6HP26X measures its output shaft upstream of the transfer case, so raw counts → km/h depends on the path: BMW case retained (rear output ~1:1, math unaffected) / deleted and 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, making road speed range-dependent). → nissan-patrol-swap
-
Is a cruise-control PoC worth pursuing, and under what safety envelope? The bus architecture supports it natively (the DME arbitrates torque requests from the EGS and ACC;
ST_CLCTR_Vreports which regulator has control). But actuation means transmitting frames that command engine torque, with unknown checksum/alive-counter algorithms and no brake-pedal signal on this bus to build the standard cancel interlock from. Design decision, not a research question. → driveline-speed-signals -
What are the Patrol's final drive ratio and tyre size? Needed to turn output-shaft rpm into road speed. Swap-specific — not in any donor documentation. → nissan-patrol-swap
Project context
- Exact donor model year / DDE version and EGS variant? Partly answered 2026-07-17. The gearbox is a ZF 6HP26X (user-confirmed) — the X is the xDrive output variant, which means the donor is an E60/E61, not an E65: the 7-series never took M57N + xDrive. Remaining: model year and DDE version. → bmw-m57n-engine
- Standalone harness or full donor loom? Which BMW modules were retained? Affects which modules broadcast on the swap's bus. → nissan-patrol-swap
- Which Patrol generation, and how is the display being mounted/powered? → nissan-patrol-swap
Hardware
- Operating temperature 0–65 °C (source: waveshare-wiki) — outside automotive norms at both ends (sub-zero winter cabins, sun-baked dashboards). Is the mounting location temperature-controlled enough? Any mitigation (mounting away from vents/sun, accepting reduced lifespan)?
- Transient protection on the 7–36 V input: the board takes vehicle 12 V directly, but ISO 7637 load-dump spikes can exceed 36 V
(unverified). Consider an upstream TVS diode / automotive-rated buck. Also: ignition-switched vs constant power (the isolated digital input could sense ignition). - Fault codes: the UART packet reserves a field for fault codes — DDE fault codes are read via diagnostic protocols (KWP2000/UDS over K-line or CAN), not passively broadcast. Is passive reading even possible?
(unverified)— update 2026-07-17: the same barrier explains why the Launch scanner shows boost/gearbox data our dump lacks (it polls; nothing broadcasts them). A capture while the Launch is connected would record both request and reply frames, handing us the exact bytes to replay. → obd-diagnostic-polling
Answered
-
Was the engine actually running during the 2026-07-15 capture?→ Yes —0x1D0ST_ENGINE_RUN= 2 ("running") in 397/397 frames (verified, 2026-07-17). The coolant trace is genuine warm-up data; the cold-start capture that was blocking #1 is no longer needed. → e65-reverse-engineering-repo -
Gearbox oil temp offset: 0 or +40?→ Neither —raw − 40(verified two ways, 2026-07-17): the source's worked example, plus our own gearbox-at-31 °C vs coolant-at-37 °C warm-up cross-check. → e65-reverse-engineering-repo -
Battery voltage layout: 12-bit LE ×0.015 or 24-bit BE ×0.001?→ 12-bit LE × 0.015 (source: E65 repo worked example0x3D9→14.775 V, 2026-07-17). -
What is the actual engaged gear number, and does it need a drive capture?→0x1D2D1,gear = (D1>>4)−4. No drive capture needed — a per-detent capture sufficed. (verified, 2026-07-17) → gear-box-can-revealings -
What is the manual up-shift (+) value on→ The question was malformed. D4 is a persistent mode (0x1D2D4?0xF0auto /0xF1Sport /0xF2Manual), not a shift-event field;+and−have no distinct codes. (verified, 2026-07-17) -
Is engaged reverse observable?→ Yes, but not on0x1D2(D1 stays0x0Fin R, moving or stationary). Use0x0BAST_GR_GRB= 2. For physical proof of engagement, use turbine speed. (verified, 2026-07-17) → driveline-speed-signals -
Are→ Yes, all observed directly in the drive capture.0x0BAST_GR_GRBvalues 6–A really 2nd–6th?0x0BAD0's low nibble is a complete gear source on its own (P/R/N + 1st–6th, reverse included). (verified, 2026-07-17) → can-capture-2026-07-17-drive -
Is boost passively broadcast?→ No.0x1D0AIP_ENGis barometric (caps at 1108 hPa vs ~2500 needed). Diagnostic polling only. (2026-07-17) -
Which donor vehicle?→ E60/E65 (2003+) (verified — user, 2026-07-15) → bmw-m57n-engine -
Is the EGS on the bus?→ Yes — BMW auto with EGS wired in; gearbox temp and gear position have a real source. (verified — user, 2026-07-15) -
Is the target a Nissan Patrol?→ Yes. (verified — user, 2026-07-15) → nissan-patrol-swap -
CAN transceiver?→ Onboard TJA1051T/3/1J on a terminal block; leave the 120 Ω termination switch OFF when tapping the vehicle bus. (source: waveshare-wiki, 2026-07-15) → esp32-s3-touch-lcd-5b -
Does passive-ish listening actually work on this bus?→ Yes — first live capture pulled 15 IDs cleanly at ~486 frame/s (verified, 2026-07-15). Note the firmware runsTWAI_MODE_NORMAL(ACKs), not LISTEN_ONLY. → can-capture-2026-07-15 -
How to ground the board to the vehicle?→ TJA1051 is non-isolated; share ground with the vehicle (power from 12 V, or ground-wire + laptop on battery to avoid a ground loop). (verified, 2026-07-15) → esp32-s3-touch-lcd-5b -
12 V → 5 V power conversion?→ Not needed: board has a 7–36 V DC wide input. Residual transient concern moved to #6. (source: waveshare-wiki, 2026-07-15)
Sourcing wishlist
Waveshare product page✅ ingested → esp32-s3-touch-lcd-5b-waveshare-wiki- Waveshare schematic PDF (linked from the product page:
ESP32-S3-Touch-LCD-5-Sch.pdf) — would confirm CAN GPIO routing and power path A community DBC / CAN-ID list for the donor platform✅ ingested → e65-reverse-engineering-repoA real candump log from the engine running✅ → can-capture-2026-07-15 (engine confirmed running, 2026-07-17)6HP26.pdf— sitting in the E65 repo'sdocs/. The ZF 6HP26 manual, very likely our exact gearbox: gear ratios would let us convert output-shaft rpm → road speed and self-check the D3/D4 scaling. → driveline-speed-signalscan_message_list.txt(same repo) — full ID → name → sending-module map, 0x00–0xFFF. Not yet mined; useful if the project ever wants non-powertrain data- A capture taken while the Launch scanner is polling — would reveal the request/response byte sequences for boost, gearbox temp and DTCs → obd-diagnostic-polling