Keep the Elecrow's touch bus free of the USB PHY after Wi-Fi starts (0.2.94, firmware 0.2.80)
The GT911 of the CrowPanel 7.0" sits on GPIO 19 and 20, the ESP32-S3's USB pins. Firmware 0.2.79 freed them once, in a static constructor; the Wi-Fi PHY library then kept the USB PHY on (CONFIG_ESP_PHY_ENABLE_USB, on by default on an ESP32-S3) and the touch went quiet once Wi-Fi came up. The board file turns that option off, frees the pins again in BOOT_TOUCH after Wi-Fi started, and a one-second watchdog frees them whenever anything takes them, with a log line.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
## 0.2.94 (firmware 0.2.80)
|
||||
|
||||
The Elecrow's touch, when Wi-Fi takes its pins.
|
||||
|
||||
- **Elecrow CrowPanel 7.0": the touch bus stays free of the USB PHY.** The GT911 sits on GPIO 19 and 20, the ESP32-S3's USB pins. Firmware 0.2.79 freed them once, before anything else started; the Wi-Fi PHY library then kept the USB PHY on, as it does on an ESP32-S3 by default, and the touch went quiet the moment Wi-Fi came up. The board now tells the PHY library to leave USB off (`CONFIG_ESP_PHY_ENABLE_USB`), frees the pins again after Wi-Fi started, and a one-second watchdog frees them again whenever anything takes them, with a log line (`USB PHY took GPIO19/20 back`) that says so.
|
||||
- Needs firmware 0.2.80 on an Elecrow: press **Update** on the screen. A CYD or Guition loses nothing by waiting. Elecrow firmware: 1,865,680 bytes, 91.8 % of its update slot.
|
||||
|
||||
## 0.2.93 (firmware 0.2.79)
|
||||
|
||||
A third screen: the 7-inch Elecrow CrowPanel, with everything the Guition shows across a wider page.
|
||||
|
||||
Reference in New Issue
Block a user