Files
ESP32-S3-Touch-LCD-5B/wiki/sources/can-capture-2026-07-17-drive.md
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

113 lines
6.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
type: source
tags: [can-bus, capture, verified, gear, egs, speed, drive]
updated: 2026-07-17
---
# Drive Capture — 2026-07-17 (VERIFIED)
Raw at `raw/log_20260717_145930.txt` — 1,857 frames over ~34 s, captured with the CANNY 5.3 Pico (tab-separated: ID, "CAN", DLC, data bytes, ASCII, timestamp ms, RX0). Filtered to **`0x0BA` (1,681 frames) and `0x1D2` (176)** only.
**The first capture with the vehicle actually moving and the box shifting.** It closes the `0x0BA` gear-ladder question outright and produces the first real evidence for the output-shaft scaling.
## ✅ `ST_GR_GRB` values 6–A — VERIFIED
The 2026-07-16/17 pages carried `0x0BA` gears 2nd–6th as `(unverified)`, inferred from the parallel `0x1D2` D1 ladder. **All five values now observed directly:**
| Nibble | Gear | Frames |
|---|---|---|
| `1` | N | 248 |
| `2` | R | 408 |
| `3` | P | 207 |
| `5` | 1st | 189 |
| **`6`** | **2nd** | **238** |
| **`7`** | **3rd** | **77** |
| **`8`** | **4th** | **93** |
| **`9`** | **5th** | **127** |
| **`A`** | **6th** | **94** |
(verified, 2026-07-17)
**Consequence: `0x0BA` D0's low nibble is a complete gear source on its own** — P, R, N and 1st–6th from one nibble, including the reverse that `0x1D2` D1 cannot express. `0x1D2` remains necessary only for the **lever** (what the driver selected) and the **mode** (`0xF0`/`0xF1`/`0xF2`), which `0x0BA` does not carry.
Value `4` still never observed. The `0xF`=invalid marker never appeared either.
## `ST_CCLT` — torque converter lockup clutch, caught live
`0x0BA` D0 bits 6–7. Across this capture: **1,259 frames = `0` (disengaged), 422 frames = `1` (controlled/slipping)**, the latter clustered in the higher gears — which is exactly when the clutch is supposed to start locking up to kill converter slip at cruise.
Relevant to the turbine-speed engagement test: **when the clutch is locked, turbine speed = engine speed exactly**, so a ratio ≈ 1.0 at road speed means "locked up", not "not engaged". → [[driveline-speed-signals]]
## Output shaft (`0x0BA` D3/D4) — behaves as road speed
Grouped by `ST_GR_GRB`, read as 16-bit Intel:
| Gear | Frames | Min | Avg | Max |
|---|---|---|---|---|
| 1 | 189 | 0 | 1139 | 1728 |
| 2 | 238 | 40 | 2911 | 4832 |
| 3 | 77 | 1640 | 6133 | 7888 |
| 4 | 93 | 2192 | 9152 | 11464 |
| 5 | 127 | 5160 | 12991 | 17272 |
| 6 | 94 | 13640 | 16702 | 18312 |
Monotonic with gear, overlapping across shift points, starting at zero. A vehicle accelerating through the box. Combined with the earlier finding that the field is **zero in every stationary frame including engaged-in-D**, the identification as output shaft speed is settled; only the *scaling* remains open.
## 🔬 Scaling evidence: ×0.125 (strong hypothesis, not verified)
Assuming each gear's **max** output is the instant it upshifted, multiplying by the 6HP26 ratio should recover engine speed at that shift:
| Gear | raw max | ×0.125 → output rpm | 6HP26 ratio | **implied engine rpm** |
|---|---|---|---|---|
| 1 | 1728 | 216 | 4.171 | **901** |
| 2 | 4832 | 604 | 2.340 | **1413** |
| 3 | 7888 | 986 | 1.521 | **1500** |
| 4 | 11464 | 1433 | 1.143 | **1638** |
| 5 | 17272 | 2159 | 0.867 | **1872** |
| 6 | 18312 | 2289 | 0.691 | *1582 (not an upshift — 6th is top)* |
A smooth, gently-rising upshift schedule — textbook M57N under light throttle. Five independent gear ratios landing on a coherent curve is not an easy coincidence.
The alternative (raw = rpm directly) implies upshifts at **7,200 → 15,000 rpm**. The M57N redlines around 4,500. Ruled out.
> [!warning] Why this is still `(unverified)`
> One assumption remains unchecked: **max-output-per-gear = the upshift point**. Plausible while accelerating, but not proven from this log. (The 6HP26 ratio assumption is now **confirmed** — see below.)
>
> **`0x1A2` was not in this capture.** Turbine ÷ output gives each gear ratio *directly*, with no assumption about shift points, and simultaneously cross-checks the box identity against the ratio table. One capture including `0x1A2` (and `0x0AA`) converts this from inference to measurement. → [[open-questions]] #8
## ✅ Gearbox identified: ZF **6HP26X**
User-confirmed 2026-07-17. Two consequences:
1. **The ratio assumption above holds.** The 6HP26X shares the 6HP26 internal gearset; the "X" is the output end — a different housing and output shaft to drive a transfer case. `(unverified — from LLM prior knowledge; the repo's `docs/6HP26.pdf` would confirm from a document)`
2. **The donor is an xDrive chassis** — so **E60/E61, not E65**: the 7-series never took M57N + xDrive. Partly answers [[open-questions]] #2. → [[bmw-m57n-engine]]
### New question this raises
The EGS measures the **gearbox output shaft**, which on an X box sits **upstream of the transfer case**. So `0x0BA` D3/D4 is propshaft-*input* speed, and the raw→km/h conversion depends on what's downstream:
- BMW transfer case retained → its rear output is ~1:1, math unaffected
- Transfer case 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**, making road speed range-dependent
→ [[nissan-patrol-swap]], [[open-questions]] #10
## `0x1D2` — consistent, plus auto-mode gears
| D0 | D1 | D4 | Frames | Reading |
|---|---|---|---|---|
| `D2` | `0F` | `F0` | 43 | R — no gear number, as established |
| `78` | `5F` | `F0` | 28 | D, 1st |
| `E1` | `0F` | `F0` | 23 | P |
| `B4` | `0F` | `F0` | 23 | N |
| `78` | `6F` | `F0` | 22 | D, 2nd |
| `78` | `7F`/`8F`/`9F`/`AF` | `F0` | 11/10/10/6 | D, 3rd–6th |
Two useful confirmations: the D1 ladder holds **in automatic Drive** (`D4=F0`), where the earlier evidence came only from the manual gate; and R again shows `D1=0F` while moving, so reverse is unnumbered under all conditions, not just at rest.
Note `0x1D2` D0 = `0xF0` — the unrecognized lever code seen in an earlier discarded log — **does not appear here**. Consistent with it being a transient EGS-not-initialised state rather than a real lever position.
## Related
[[gear-box-can-revealings]] · [[driveline-speed-signals]] · [[can-id-candidates]] · [[e65-reverse-engineering-repo]] · [[nissan-patrol-swap]] · [[bmw-m57n-engine]]