General Community

Hardware Validation: Waveshare 7-inch P4 (ESP32-P4-WIFI6-Touch-LCD-7) on Rev3.2 silicon (docs/open-issues/waveshare-7-inch-rev3.md)

juice404error

Hardware Validation & Developer Feedback: Waveshare ESP32-P4 7-inch Touch LCD (Rev3 Silicon)

Target Issue: homeassistant_espscreen/docs/open-issues/waveshare-7-inch-rev3.md — "The Waveshare 7-inch P4 (ESP32-P4-WIFI6-Touch-LCD-7) on rev3 silicon"
Report Preparation: Community hardware validation and live log diagnostics compiled and structured with the assistance of Gemini AI.


1. Hardware & Software Environment

  • Board & Back Sticker SKU: Waveshare ESP32-P4-WIFI6-Touch-LCD-7
  • Silicon Revision: ESP32-P4 revision v3.2 (ESP-ROM:esp32p4-eco7-20260109, Chip Revision: 302)
  • Memory & Clock: 32 MB Quad SPI Flash, 32 MB PSRAM (200 MHz, 16-bit), 40 MHz Crystal
  • Display & Touch: 7-inch 720x1280 MIPI-DSI panel (ILI9881C controller), Capacitive Touch Panel (GT911 / GT9271)
  • Wireless Interface: ESP32-C6 Wi-Fi 6 co-processor (4-bit SDIO bus interface)
  • Audio Hardware: ES8311 (DAC/ADC, 0x18), ES7210 (Microphone Array, 0x40), NS4150B Class-D PA (GPIO53)
  • Tessera Package Version: screens-v0.4.111 (internal version: 0.70.0, packages/wavesharep47.yaml)
  • Previously Tested Versions: screens-v0.4.110, screens-v0.4.103, screens-v0.4.99
  • Build Environment: ESPHome 2026.11.1 / ESP-IDF 5.5.6

2. Answers to the Developer Issue (waveshare-7-inch-rev3.md)

USB Boot Log Lines & Back Sticker SKU

  • ESP32-P4 (revision v3.2)
  • Chip Revision: 302
  • ESP-ROM:esp32p4-eco7-20260109
  • Back Sticker SKU: Waveshare ESP32-P4-WIFI6-Touch-LCD-7

Test Results of Upstream Changes (2026-11-24 & 2026-11-28) & Impact of engineering_sample: false

  • Tested the November 24 and November 28, 2026 upstream changes using both Tessera's built-in compiler and Home Assistant ESPHome Builder with the esp32: engineering_sample: false override removed from smart-screen.local.yaml.
  • WITHOUT the override, camera stream handling and overall operation were noticeably worse and less stable in both build environments (and default engineering_sample: true triggers an immediate CHIP_LP_WDT_RESET boot loop).
  • Once engineering_sample: false was restored in smart-screen.local.yaml (alongside standard platform: mipi_dsi without mipi_dsi_v3), camera handling and the entire UI immediately became rock-solid, fast, and stutter-free.

Display, Touch & Backlight Status

  • Display (WAVESHARE-7-DSI-TOUCH-A, Reset: GPIO27): Flawless image, stable even under 270° rotation.
  • Touch Panel (SDA: GPIO7, SCL: GPIO8, Reset: GPIO23, Interrupt: GPIO33): Accurate multi-touch response.
  • Backlight (GPIO26 PWM): Smooth, flicker-free dimming and turn-off.

3. System Component Validation Checklist

Component Status Operational Details & Observations
SoC Init (engineering_sample: false) PASSED Factory true causes an immediate CHIP_LP_WDT_RESET boot loop; disabled (false), the system is stable and camera handling is flawless.
Display (MIPI-DSI, WAVESHARE-7-DSI-TOUCH-A) PASSED Standard mipi_dsi delivers a clean picture (no mipi_dsi_v3 override needed). ppa_guard (DIG-734 workaround: 'copied in 2 pieces') is active with 0 panel misses.
Backlight (GPIO26 PWM) PASSED Brightness dimming and power-off work flawlessly.
Touch Panel (I2C: GPIO7/GPIO8, Reset: GPIO23, INT: GPIO33) PASSED GT911/GT9271 initializes reliably.
Audio Subsystem (ES8311 0x18, ES7210 0x40, NS4150B PA GPIO53) PASSED Builds and initializes cleanly with AUDIO_TRANSPORT: "i2s".
Wi-Fi 6 Co-processor (ESP32-C6 4-bit SDIO) PASSED Stable connection (-63 to -69 dBm) with multi-AP roaming.
Battery ADC (GPIO20 + R92 200kΩ / R93 100kΩ divider) PASSED Voltage reading accurate with 3.0x multiplier. Note: ETA6003 charger CHG_STAT pin is not wired to any P4 GPIO (routed exclusively to header J7 pin 9).
Energy Card (HA Energy Dashboard W/kW sensors) PASSED Live 4-way energy flow rendering works smoothly with instantaneous power sensors.
OTA Updates (HA ESPHome Builder) PASSED screens-v0.4.110 uploaded in 24.29s (internal RAM: 23.8%, Flash: 23.4%, static PSRAM: 2.82%). Tessera's built-in compiler threw errors; external HA ESPHome Builder is required. Update to screens-v0.4.111 (0.70.0) succeeded cleanly (3.88 MB / 24% Flash, static internal RAM: 23.9% [156.5 KB / 655 KB]; legacy mipi_dsi_v3 automatically removed).
Live Camera Streams (4x tiles + 1x full-screen) PASSED Continuous operation without memory exhaustion or display resets. Confirmed stable in 0.70.0 with graceful recovery from transient HA HTTP 503 responses.

4. Detailed Technical Findings & Benchmarks

Live Camera Stream & Memory Bus Stability (glass.h / Panel misses)

  • Preview Tiles (4x 618x294 px): Load times between 77 ms and 129 ms.
  • Full-Screen Live View (1280x720 px, 270° rotation): 185 ms open time, 77 ms JPEG decode (~14 FPS), 12–13 ms frame render time.
  • Bus & Frame Integrity: Logs consistently reported the panel ran dry 0 times since boot (0 skipped in all). Free internal RAM stayed continuously above 430,964 bytes (0.69.0), and free PSRAM remained between 22.3 MB and 25.8 MB.
  • 0.70.0 (screens-v0.4.111) Update Check: Remained rock-solid with 0 panel underruns. Under 4x concurrent live camera streams, lowest free internal RAM was 333,692 bytes (~325 KB) with 0 failed allocations and 0 PSRAM fallbacks (free PSRAM: ~23.4–25.7 MB); adaptive loop throttling (pressure module) held streams steady at 6–9 FPS per tile and ~14 FPS full-screen. Exiting full-screen view and restarting all 4 tile streams simultaneously triggered a transient HA HTTP 503 ("not a picture (answer 503, 40 bytes)"), which the firmware handled cleanly by falling back to static snapshots and recovering all 4 live streams 1 second later. Opening the page dots dock while 4 live camera overlays ("squeezed mark", 250–450 ms each) were rendering caused a brief main-loop spike (touchscreen: 684 ms, lvgl: 696 ms).

Factory ESP32-C6 Firmware & wifi_chip.h Behavior

Under ESPHome 2026.11.1 (host 3.1.0), the ESP32-C6 co-processor logs E (5390) eh_init_evt: major version mismatch — OTA coprocessor from host at boot, and wifi_chip::firmware() hits the 5000 ms RPC timeout returning ESP-Hosted unknown (host 3.1.0). Wi-Fi connectivity (-63 to -69 dBm) and 4 concurrent camera streams operate without issue.

Compiler & ESPHome 2026.11.1 Deprecation Notes

  1. Tessera's built-in compiler failed; HA ESPHome Builder compiles cleanly (24.29s).
  2. ESPHome 2026.11.1 warnings: legacy image: format, deprecated active_high in esp32_hosted, duplicate LV_USE_IMAGE build flag.
  3. Additional 0.70.0 notes: LVGL 9 lv_obj_*_flag deprecation warnings and a minor snprintf truncation warning (page_bar.h:171) in smart_display C++ headers; touchscreen polling stopped notice ("update_interval:" can be safely removed from YAML).

5. Working Override Configuration

substitutions:
  # Use i2s instead of aec to avoid ESPHome 2026.10.2+ C++ compilation errors
  AUDIO_TRANSPORT: "i2s"

esp32:
  # CRITICAL: Must be set to false on Rev3.2 (eco7) silicon for stable camera handling and to prevent WDT boot loops
  engineering_sample: false

sensor:
  # Hardware Battery Voltage Measurement (GPIO20)
  - platform: adc
    pin: GPIO20
    name: "Battery Voltage"
    id: battery_voltage
    update_interval: 60s
    unit_of_measurement: "V"
    device_class: voltage
    state_class: measurement
    accuracy_decimals: 2
    filters:
      - multiply: 3.0 # R92 (200k) + R93 (100k) divider ratio

  # Calculated Battery Percentage (LiPo 3.2V - 4.2V range)
  - platform: template
    name: "Battery Level"
    id: battery_level
    unit_of_measurement: "%"
    device_class: battery
    state_class: measurement
    accuracy_decimals: 0
    lambda: |-
      float v = id(battery_voltage).state;
      if (isnan(v)) return {};
      if (v >= 4.20) return 100.0;
      if (v <= 3.20) return 0.0;
      return (v - 3.20) / (4.20 - 3.20) * 100.0;

  # Wi-Fi RSSI and Auto-Reconnect Logic
  - platform: wifi_signal
    name: "Wi-Fi Signal dBm"
    id: wifi_signal_dbm
    update_interval: 30s
    on_value:
      then:
        - if:
            condition:
              sensor.value_below:
                id: wifi_signal_dbm
                value: -80.0
            then:
              - logger.log: "Wi-Fi jel gyenge (<-80 dBm), AP keresés kezdeményezése..."

![20261201 163145](/wishlist/images/Qrd7FAxXTA5xI5wED9i88okJvpvUIwAqQQvNrfCF.jpg)

![20261201 163157](/wishlist/images/gbdDSiU4ficKs89BFoRuNqeLcUgVoIsBqlOdV0RX.jpg)

![20261201 163302](/wishlist/images/NiPu97zgDpauLHRsFAKMip9yfH1p4ByxxT6uxm3C.jpg)

**Build & Live Logs**
https://drive.google.com/drive/folders/1eZ9n6qs5XJu2YARmshs-TAIPut1aMkBp

Discussion 0

Add a comment

Start the conversation

Share an example, ask a question or explain how you would use this.

Add your thoughts, a screenshot or a useful link.

Markdown & basic HTML
Paste or drop images · URLs on their own line become previews0 / 10,000
Create your account to join in

We need a verified email address to reach you about your contribution. Your address stays private.

Continue with GitHub

Your draft stays in this tab. Return here after verification.