Rename -> Inst. Cluster (user); power manager: deep sleep on link silence, wake on IO1 or 60 s probe boot; Ota::isBusy; sleep bit in shared header
Firmware / build (push) Successful in 2m59s

This commit is contained in:
2026-09-28 16:38:23 +02:00
parent 43697f3cc8
commit 6854aa1c46
33 changed files with 266 additions and 97 deletions
+6 -6
View File
@@ -1,22 +1,22 @@
# Wiki Schema
This directory is a **personal knowledge wiki** for the ESP32-S3-LCD-1.3 project — Controller B, the slave/extension unit of the BMW M57N → Nissan Patrol swap display system. It is maintained by the LLM agent; the human curates sources and asks questions. Read this file before doing anything in `wiki/`.
This directory is a **personal knowledge wiki** for the ESP32-S3-LCD-1.3 project — Inst. Cluster, the slave/extension unit of the BMW M57N → Nissan Patrol swap display system. It is maintained by the LLM agent; the human curates sources and asks questions. Read this file before doing anything in `wiki/`.
It is the sibling of the wiki in `../../ESP32-S3-Touch-LCD-5B/wiki/` (Controller A). The two repos are separate git repositories with separate remotes. **Never create or edit files outside this repo's directory.** Cross-references into the sibling wiki are plain text, not `[[wikilinks]]` (Obsidian vaults do not link across vaults) — write them as `(sibling: 5B wiki → page-name)`.
It is the sibling of the wiki in `../../ESP32-S3-Touch-LCD-5B/wiki/` (Main CTRL). The two repos are separate git repositories with separate remotes. **Never create or edit files outside this repo's directory.** Cross-references into the sibling wiki are plain text, not `[[wikilinks]]` (Obsidian vaults do not link across vaults) — write them as `(sibling: 5B wiki → page-name)`.
## What this wiki is for
Domain knowledge that is NOT derivable from the firmware repo:
- Waveshare ESP32-S3-LCD-1.3 hardware: pinout, free GPIO, peripherals, power, quirks, gotchas
- The link between Controller A and Controller B: physical layer, packet contract, timing, failure modes, and the wired + BLE redundancy design
- Controller B's outputs into the Nissan Patrol: driving the cluster's RPM and coolant-temperature gauges, driver electronics, cluster behaviour
- The link between Main CTRL and Inst. Cluster: physical layer, packet contract, timing, failure modes, and the wired + BLE redundancy design
- Inst. Cluster's outputs into the Nissan Patrol: driving the cluster's RPM and coolant-temperature gauges, driver electronics, cluster behaviour
- Design decisions and their rationale; what was tried and why it was rejected
- Findings from datasheets, forum posts, Waveshare docs, bench measurements, scope traces
What does NOT belong here: code structure, build commands, firmware implementation details. The repo (its root `CLAUDE.md` and `README.md`) is the source of truth for those. The wiki may *reference* firmware facts when they matter for domain reasoning (e.g. "firmware currently times out after 1 s without a packet"), always marked `(repo)`.
Division of labour with the sibling wiki: **CAN bus decoding, the BMW engine, the donor vehicle and the swap itself live in the 5B wiki.** This wiki only records what Controller B needs from that work (which signals it consumes, which packet fields carry them). Do not duplicate CAN ID tables here — point at the sibling.
Division of labour with the sibling wiki: **CAN bus decoding, the BMW engine, the donor vehicle and the swap itself live in the 5B wiki.** This wiki only records what Inst. Cluster needs from that work (which signals it consumes, which packet fields carry them). Do not duplicate CAN ID tables here — point at the sibling.
## Layout
@@ -46,7 +46,7 @@ wiki/
- `(verified)` — confirmed on real hardware / with a meter or scope by the user
- `(source: X)` — from an ingested source in `raw/` (summarised in `sources/`)
- `(repo)` — what the firmware currently does (not necessarily correct!)
- `(sibling: 5B wiki → page)` — established in the Controller A wiki; check there before relying on it
- `(sibling: 5B wiki → page)` — established in the Main CTRL wiki; check there before relying on it
- `(unverified)` — LLM prior knowledge, forum lore, or a design proposal; treat as a hypothesis
- Contradictions between sources — including between the two repos' copies of the shared protocol header — get flagged inline with a `> [!warning]` callout, not silently resolved.