Reset the Elecrow's GT911 the way Elecrow's own V3.0 example does (0.2.96, firmware 0.2.82)
CI / checks (push) Waiting to run
CI / firmware (add-on) (push) Blocked by required conditions
CI / firmware (min_version) (push) Blocked by required conditions

The 2 ms reset of ESPHome's expander support (0.2.81) left the chip silent: "Calibration error" with the PCA9557
answering at 0x18. A component of smart_display's (elecrow_touch_reset.h, setup priority 700: after the I2C bus,
before the GT911 driver) writes the expander as Elecrow's V3.0 ESPHome example does: every pin an output and low,
20 ms, the reset released, 100 ms, the interrupt line back to an input. The driver's reset and interrupt pins are gone.
This commit is contained in:
Xandrossian
2026-09-21 13:30:41 -07:00
parent da28d19961
commit 4ec8c7a935
9 changed files with 96 additions and 36 deletions
+7
View File
@@ -1,3 +1,10 @@
## 0.2.96 (firmware 0.2.82)
The Elecrow's touch chip reset the way Elecrow does it.
- **Elecrow CrowPanel 7.0" V3.0: Elecrow's own reset sequence.** Firmware 0.2.81 reset the GT911 through ESPHome's expander support, a 2 ms pulse the chip ignored on the unit tested (its log still said `Calibration error`, with the PCA9557 answering at 0x18). The board file now runs the sequence of Elecrow's V3.0 ESPHome example, byte for byte, before the touch driver looks for the chip: every expander pin an output and low, 20 ms, the reset released, 100 ms, the interrupt line back to an input (`smart_display: elecrow_touch_reset`, components/smart_display/elecrow_touch_reset.h). The log says `GT911 reset through the PCA9557`, or that no expander answered (a V2.0 board, which boots its GT911 by the pull-up).
- Needs firmware 0.2.82 on an Elecrow: press **Update** on the screen. Elecrow firmware: 1,866,128 bytes, 91.9 % of its update slot.
## 0.2.95 (firmware 0.2.81)
The Elecrow's touch chip brought out of reset.
+1 -1
View File
@@ -54,7 +54,7 @@ REFS = {'cyd': 'main', 'guition': 'main', 'elecrow': 'main'}
# is the small one. The Elecrow CrowPanel 7.0" (app 0.2.93) is the Guition's kind at 800x480, without the Rotation.
LARGE_BOARDS = ('guition', 'elecrow')
# Firmware shipped with this app release; screens below it get an update offer.
FIRMWARE_VERSION = '0.2.81'
FIRMWARE_VERSION = '0.2.82'
# The Auto standby switch a screen offers Home Assistant automations.
AUTO_STANDBY_MIN_FIRMWARE = '0.2.41'
# The settings page the screen opens itself, and the screen.settings tile that opens it.
+1 -1
View File
@@ -1,5 +1,5 @@
name: ESP Screen Manager
version: "0.2.95"
version: "0.2.96"
slug: esp_screen_manager
description: Choose tiles for your CYD and Guition touchscreen, without reflashing.
url: https://gittea.trippedonmy.name/Xandrossian/homeassistant_espscreen