0bd8f5c14d
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>
3.3 KiB
3.3 KiB
type, updated
| type | updated |
|---|---|
| index | 2026-07-17 |
Index
Catalog of every page in the wiki. Read this first when answering questions. Keep current on every change.
Entities
- bmw-m57n-engine — the 3.0L BMW diesel whose CAN bus we read; E60/E65 donor (confirmed), DDE ECU, auto box with EGS on bus
- nissan-patrol-swap — the target vehicle: Patrol receiving the M57N + BMW auto; the tapped bus is a BMW island in a Nissan
- esp32-s3-touch-lcd-5b — Waveshare 5" display board (Controller A); onboard TJA1051 CAN transceiver, 7–36 V input, pinout, PSRAM/LCD gotchas
Concepts
- can-bus-integration — the core challenge; current firmware ID map flagged as placeholder, verification plan
- driveline-speed-signals — engine / turbine / output-shaft speeds: turbine speed as physical proof of gear engagement, and the output-shaft field that is our only road-speed source (no DSC on this bus) — the feedback variable for a future cruise-control PoC, with the safety envelope that would require
- dual-controller-architecture — Controller A → UART 5Hz → Controller B (1.3" display); packet format
Synthesis
- can-id-candidates — the E60/E65 CAN ID map — now decoded end-to-end: gear (lever + engaged + mode), coolant, gearbox temp (raw−40), battery (12-bit ×0.015), RPM, turbine speed, engine state all verified; placeholder IDs verified absent; fault codes and boost not passively broadcast
- open-questions — the research frontier: bench-verify the candidate IDs, operating temp, transient protection, fault-code design decision
Sources
- esp32-s3-touch-lcd-5b-waveshare-wiki — official Waveshare product wiki (ingested 2026-07-15); answered CAN-transceiver and power questions, raised the 0–65 °C operating-temp concern
- e60-vfl-can-codes-xlsx — community E60 pre-facelift CAN table (ingested 2026-07-15); E60-specific confirmation of 0x1D0/0x3B4, new 0x304 gear-lever candidate
- listen-and-send-pid-arduino — Arduino ELM327→E46-cluster sketch (ingested 2026-07-15); technique reference for a diagnostic-request fallback, not ID evidence
- can-capture-2026-07-15 — first live CAN dump off the real swap bus (captured with the board's own logger); confirms 15 IDs incl. all four signal IDs, resolves the 0x1D2 gear encoding, verifies placeholder IDs absent; raw at
raw/can-capture-2026-07-15-gearshift.csv - gear-box-can-revealings — gear fully decoded & VERIFIED (2026-07-16/17):
0x1D2byte0 = lever, byte1 = engaged gear 1–6, byte4 = Drive/Sport/Manual mode;0x0BA= the box's own target gear incl. reverse; raw atraw/gear_box_can_revealings.csv+raw/gearbox_engaged_gear.csv - can-capture-2026-07-17-drive — first capture with the vehicle moving (2026-07-17): verifies
0x0BAgears 2nd–6th directly (making it a complete gear source), catches the lockup clutch live, and produces the ×0.125 output-shaft scaling evidence; raw atraw/log_20260717_145930.txt - e65-reverse-engineering-repo — E65 per-ID DBC-style docs (ingested 2026-07-17) — the highest-value source yet: settled the gearbox-temp offset (raw−40) and battery layout (12-bit ×0.015), proved the engine was running in our capture, and revealed turbine speed, output shaft, pedal position and cruise state