Retire .docs; move UART spec to docs/; correct stale CAN/UART facts in CLAUDE.md
- Delete .docs/CAN_BUS_INTEGRATION.md (placeholder CAN IDs, external transceiver wiring the board does not need); superseded by wiki/pages/can-id-candidates.md - Move UART_PROTOCOL.md to docs/ as the single copy of the packet spec - Move the annotated board photo into wiki/raw/ and add a source page for it - CLAUDE.md: verified 11-bit CAN ID list replaces the placeholders, TWAI_MODE_NORMAL replaces LISTEN_ONLY, UART TX is GPIO 44, dummy-data references removed - Wiki index/log updated; note the schematic PDF is missing from disk Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -1,6 +1,6 @@
|
||||
---
|
||||
type: index
|
||||
updated: 2026-07-17
|
||||
updated: 2026-09-21
|
||||
---
|
||||
|
||||
# Index
|
||||
@@ -33,3 +33,4 @@ Catalog of every page in the wiki. Read this first when answering questions. Kee
|
||||
- [[gear-box-can-revealings]] — **gear fully decoded & VERIFIED** (2026-07-16/17): `0x1D2` byte0 = lever, **byte1 = engaged gear 1–6**, byte4 = Drive/Sport/Manual mode; `0x0BA` = the box's own target gear incl. **reverse**; raw at `raw/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 `0x0BA` gears 2nd–6th directly (making it a complete gear source), catches the lockup clutch live, and produces the ×0.125 output-shaft scaling evidence; raw at `raw/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
|
||||
- [[esp32-s3-touch-lcd-5-intro-photo]] — Waveshare annotated board photo (moved into `raw/` 2026-09-21): terminal-block signal order (VIN/GND/VOUT · SDA/SCL · CAN · RS485 A/B · DO0/DO1 · DI), shared CAN/RS485 120 Ω switch, IO0/IO3/IO4/IO46 strapping pads
|
||||
|
||||
@@ -41,3 +41,11 @@ User pointed at `HeinrichG-V12/E65_ReverseEngineering` (per-ID DBC-style docs, w
|
||||
## [2026-07-16] ingest | First live CAN capture — research map CONFIRMED
|
||||
|
||||
First real dump off the swap's bus, taken with the board's **own new raw-frame logger** (`(repo)`; USB-CDC stream, serial mutex, ~486 frame/s, ~1.4% line loss). Raw filed at `raw/can-capture-2026-07-15-gearshift.csv` (20,596 frames) → [[can-capture-2026-07-15]]. Findings: 15 IDs live incl. **all four researched signal IDs** (0x1D0, 0x1D2, 0x0B5, 0x3B4) + bonus 0x0AA/0x0BA; firmware's placeholder IDs (0x4F/0x55/0x201/0x1001/0x101F) **verified absent**; researched-but-absent: 0x130/0x304/0x192. **0x1D0 b0** drifts 0x55→0x58 (coolant −48, ~37→40 °C); **0x1D0 b1 = 0xFF** (oil temp unpopulated). **0x1D2 gear encoding resolved**: DLC 6, byte0 whole-byte codes (0xE1=P, 0xB4=N, 0x78=D seen live). **0x3B4** at ~5 s rate but payload dormant (0xFF) — engine state unconfirmed. Updated [[can-id-candidates]], [[can-bus-integration]], [[esp32-s3-touch-lcd-5b]], [[open-questions]], index. Also corrected a firmware fact across pages: driver runs **`TWAI_MODE_NORMAL` (ACKs the bus), not LISTEN_ONLY**; TJA1051 is non-isolated → must share vehicle ground. Next: cold-start + confirmed-engine-running capture to lock coolant/battery scaling; use differential (per-position) captures for gear.
|
||||
|
||||
## [2026-09-21] update | .docs folder retired; UART spec moved to docs/; board photo ingested
|
||||
|
||||
The repo's `.docs/` folder was deleted (user decision). `CAN_BUS_INTEGRATION.md` documented the dead placeholder IDs and an external transceiver the board does not need — superseded by [[can-id-candidates]] and [[can-bus-integration]]. `UART_PROTOCOL.md` (the packet spec, shared with Controller B) moved to `docs/UART_PROTOCOL.md` as the single copy; Controller B's duplicate was removed. The annotated board photo moved to `raw/` → [[esp32-s3-touch-lcd-5-intro-photo]]: confirms the terminal-block order, that GPIO 44 exits only as the RS485 A/B pair, and that one 120 Ω switch serves both CAN and RS485. Root `CLAUDE.md` corrected: verified CAN ID list replaces the placeholders, `TWAI_MODE_NORMAL` replaces "LISTEN_ONLY", UART TX is GPIO 44 (was written as 43), dummy-data references removed.
|
||||
|
||||
**Missing source**: the schematic PDF (`ESP32-S3-Touch-LCD-5-Sch.pdf`) was in `.docs/` at the start of the 2026-09-21 session and was not on disk by the time of this cleanup (never git-tracked). Its net list was read earlier that session and is reflected in [[esp32-s3-touch-lcd-5b]]; re-download it into `raw/` — still on the sourcing wishlist in [[open-questions]].
|
||||
|
||||
Sibling wiki instantiated today at `../../ESP32-S3-LCD-1.3/wiki/` for Controller B (link, redundancy, gauge outputs). Cross-references from there use the text form `(sibling: 5B wiki → page)`.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 184 KiB |
@@ -0,0 +1,29 @@
|
||||
---
|
||||
type: source
|
||||
tags: [hardware, waveshare, board-layout]
|
||||
updated: 2026-09-21
|
||||
raw: raw/ESP32-S3-Touch-LCD-5-details-intro.jpg
|
||||
---
|
||||
|
||||
# Waveshare annotated board photo (ESP32-S3-Touch-LCD-5, Rev 1.1)
|
||||
|
||||
`raw/ESP32-S3-Touch-LCD-5-details-intro.jpg` — Waveshare's numbered component photo of the board's rear, moved here from the repo's former `.docs/` folder on 2026-09-21 (that folder was deleted). Board silkscreen reads "ESP32-S3-Touch-LCD-5 Rev 1.1, 800×480 / 1024×600 Pixels".
|
||||
|
||||
## What it shows (read from the image, 2026-09-21)
|
||||
|
||||
- ESP32-S3-WROOM-1 module (1), TF card slot (2), USB-C (3), BOOT (4) and RESET (5) buttons
|
||||
- **Strapping-pin solder pads** (6) labelled IO0 · IO3 · IO4 · IO46 next to a "PWM GND" pad pair — matches the schematic's strapping/backlight-PWM section
|
||||
- LCD FPC connector (8), touch FPC (7)
|
||||
- **16-way 3.5 mm terminal block** (13–19) silkscreened, left→right: `VIN GND VOUT | SDA SCL | CAN_L CAN_H | 485_B 485_A | DO0 DO1 | DI_COM GND DI0 DI1` — i.e. power, I2C, CAN, RS485, the two isolated outputs, and the two isolated inputs. This is the physical proof that **GPIO 44 leaves the board only as the RS485 A/B pair**, not as a TTL pin.
|
||||
- **120 Ω termination switch** (9) labelled "CAN / RS-485, OFF / ON" — one switch serves both buses
|
||||
- Battery switch (10) and MX1.25 battery connector (11); DONE / CHG / PWR LEDs (12); RTC coin cell (21); "2C" I2C address / voltage pads near the USB port (20)
|
||||
|
||||
## Relevance
|
||||
|
||||
- Confirms the terminal-block signal set and that the RS485 pair is the only UART1 exit → `(sibling: 1.3 wiki → controller-link)` open question #1 on how the wire to Controller B is really made
|
||||
- Confirms one shared termination switch for CAN and RS485 — keep it **OFF** when tapping the vehicle CAN bus, which also leaves the RS485 link unterminated on this end
|
||||
- Strapping pads IO0/IO3/IO4/IO46 exist as solder points — the only bare GPIO access on the board, and all four are already committed (G3, VSYNC, CTP_IRQ, HSYNC)
|
||||
|
||||
## Related
|
||||
|
||||
[[esp32-s3-touch-lcd-5b]] · [[esp32-s3-touch-lcd-5b-waveshare-wiki]] · [[dual-controller-architecture]]
|
||||
Reference in New Issue
Block a user