- ota-updates: status table of every OTA cycle (incl. the 570 B abort and the clean failure path), v0.1.3 published/not installed, 'installs are done by the running firmware', flicker cause verified, Wi-Fi lost on reboot, console without reset, B repo now public - esp32-s3-touch-lcd-5b: drop the unmeasured ~50 FPS claim, USB serial is native CDC with the DTR/RTS reset gotcha, new lessons (flash-write flicker, fade stutter, internal RAM, never power the radio off, dual-slot partitions) - dual-controller-architecture: ESP-NOW/Wi-Fi radio sharing, disconnect(true) bug, B updates via A over ESP-NOW - open-questions #14: Wi-Fi UX redesign, remember network, delete v0.1.0 - CLAUDE.md: same FPS / USB-serial corrections; index + log Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
type: entity
|
||||
tags: [hardware, waveshare, display]
|
||||
updated: 2026-07-16
|
||||
updated: 2026-09-27
|
||||
---
|
||||
|
||||
# Waveshare ESP32-S3-Touch-LCD-5B
|
||||
@@ -13,7 +13,7 @@ Controller A of the [[dual-controller-architecture]] — the main in-cabin displ
|
||||
- ESP32-S3-WROOM-1-N16R8 module: dual-core LX7 @ 240 MHz, 16 MB flash, 8 MB OPI PSRAM
|
||||
- 5" IPS 1024×600, 65K colors (16-bit), 550 cd/m², GT911 5-point capacitive touch, tempered glass
|
||||
- 2.4 GHz Wi-Fi + BLE 5, onboard antenna (keep metal away from antenna area)
|
||||
- Runs LVGL 8.4.0 at ~50 FPS via ESP32_Display_Panel v1.0.4 `(repo)`
|
||||
- Runs LVGL 8.4.0 via ESP32_Display_Panel v1.0.4 `(repo)`. Real render FPS has **never been measured**: the Debug-panel "FPS" counts `loop()` passes (and `loop()` sleeps 100 ms), and the old "~50 FPS" figure had no measurement behind it `(verified 2026-09-26)`
|
||||
|
||||
## Power (source: waveshare-wiki)
|
||||
|
||||
@@ -42,7 +42,7 @@ Controller A of the [[dual-controller-architecture]] — the main in-cabin displ
|
||||
| I2C | External header; CH422G expander occupies 0x20–0x27 & 0x30–0x3F, GT911 touch at 0x5D — avoid these addresses |
|
||||
| RTC | PCF85063 + CR927 coin cell |
|
||||
| TF card | SD_CS driven via CH422G EXIO4 |
|
||||
| USB Serial | UART0, debug @ 115200 `(repo)` |
|
||||
| USB Serial | Native USB-CDC (`Serial`, enumerates 303A:1001, ~1 MB/s), console + CANRAW `(repo)`. **Opening the port with default DTR/RTS resets the board** (`rst:0x15`) — set both low before opening (`--dtr 0 --rts 0`) to attach without a reboot `(verified 2026-09-26)` |
|
||||
|
||||
Note: the screen occupies most GPIOs; auxiliary functions (backlight, reset, SD_CS) route through the CH422G IO expander — spare native GPIOs are scarce.
|
||||
|
||||
@@ -52,7 +52,12 @@ Note: the screen occupies most GPIOs; auxiliary functions (backlight, reset, SD_
|
||||
- LCD wants a 16 MHz pixel clock with correct PCLK polarity.
|
||||
- Backlight must be manually sequenced at boot to avoid a white flash.
|
||||
- Flashing: use the Type-C port labeled UART; hold BOOT while connecting if the port isn't recognized (source: waveshare-wiki).
|
||||
- **Flash writes flicker the screen** `(verified 2026-09-26)`: flash and PSRAM share the MSPI cache, so every flash write/erase (NVS save, OTA) briefly cuts off the PSRAM framebuffer the RGB panel streams from; there is no bounce buffer (`ESP_PANEL_LCD_RGB_BOUNCE_BUF_SIZE=0`). `CONFIG_LCD_RGB_RESTART_IN_VSYNC=y` resyncs next frame → flicker, not permanent drift. Mitigated (v0.1.2): Tuning edits saved to NVS once after 3 s idle, backlight off during OTA writes. Real cure: bounce buffers + `CONFIG_SPIRAM_XIP_FROM_PSRAM` → [[open-questions]] #13.
|
||||
- **Full-screen transitions stutter** `(verified 2026-09-26)`: a fade re-renders and alpha-blends all 614k px in software every frame into the PSRAM framebuffer. Screen switches are instant (`LV_SCR_LOAD_ANIM_NONE`) since v0.1.2.
|
||||
- **Internal RAM is nearly full** `(verified 2026-09-26)`: 15.9 KB free, largest block 7.6 KB with display + Wi-Fi up (PSRAM 7.1 MB free); the 60-line LVGL draw buffer is ~120 KB of it. Blocked a TLS task outright → [[ota-updates]], [[open-questions]] #13.
|
||||
- **Never power the Wi-Fi radio off** (`WiFi.disconnect(true)`, `WiFi.mode(WIFI_OFF)`): it de-initialises ESP-NOW, the wireless leg of the link to B → [[dual-controller-architecture]].
|
||||
- **Partition table is dual-slot OTA** since 2026-09-26 (2 × 7.9 MB, no SPIFFS, NVS offset unchanged) → [[ota-updates]].
|
||||
|
||||
## Related
|
||||
|
||||
[[dual-controller-architecture]] · [[can-bus-integration]] · [[esp32-s3-touch-lcd-5b-waveshare-wiki]]
|
||||
[[dual-controller-architecture]] · [[can-bus-integration]] · [[ota-updates]] · [[esp32-s3-touch-lcd-5b-waveshare-wiki]]
|
||||
|
||||
Reference in New Issue
Block a user