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>
This commit is contained in:
2026-07-17 15:15:35 +02:00
parent 1f39e5537a
commit 0bd8f5c14d
12 changed files with 2099 additions and 27 deletions
+7 -3
View File
@@ -82,7 +82,11 @@ engaged R → 0x0BA D0 low nibble == 2
>
> Similarly "D5/D6 fluctuate so there are no values" — **D5 = `CHKSM_GRB` (checksum), D6 = `ALIV_GRB` (alive counter)**. The observation was correct; the fluctuation is by design, not noise.
`ST_GR_GRB` = D0 low nibble: `1`=N, `2`=**R**, `3`=P, `5`–`A`=gears 1–6, `0xF`=invalid. Values 1/2/3/5 verified against our capture; 6–A inferred from the matching `0x1D2` ladder `(unverified)`.
`ST_GR_GRB` = D0 low nibble: `1`=N, `2`=**R**, `3`=P, `5`–`A`=gears 1–6, `0xF`=invalid. **All of 1/2/3/5/6/7/8/9/A verified** — 5–A confirmed directly by the 2026-07-17 drive capture ([[can-capture-2026-07-17-drive]]), retiring the earlier inference. Value `4` still unobserved.
**This makes `0x0BA` D0 a complete gear source on its own** — P/R/N and 1st–6th from one nibble, reverse included. `0x1D2` is still required for the **lever** (what the driver selected) and the **mode** (D/S/M), neither of which `0x0BA` carries.
D0 bits 6–7 = `ST_CCLT`, the torque converter lockup clutch (`0`=disengaged, `1`=controlled, `2`=closed) — seen live in the higher gears.
`0x0BA` **D3/D4** carry what is almost certainly **output shaft speed** — undocumented in the source repo, zero in every stationary frame, non-zero the moment the wheels turn. This is the project's only road-speed signal. → [[driveline-speed-signals]]
@@ -92,9 +96,9 @@ engaged R → 0x0BA D0 low nibble == 2
## Still open
- `0x0BA` `ST_GR_GRB` values `6`–`A` (2nd–6th) not directly observed — inferred.
- Value `4` in the `ST_GR_GRB` ladder unaccounted for.
- `0x0BA` D3/D4 **scaling uncalibrated** → [[driveline-speed-signals]].
- `0x0BA` D3/D4 **scaling** — ×0.125 is now a strong hypothesis but not measured → [[driveline-speed-signals]].
- `0x1D2` D0 = `0xF0`, an unrecognized lever code seen once in a discarded log; absent from the drive capture. Probably an EGS-not-initialised transient. The firmware rejects it as `GEAR_UNKNOWN`, which is the right conservative behaviour either way.
## Related