firmware icon indicating copy to clipboard operation
firmware copied to clipboard

ESP32-C5 + TFT GMT147SPI (ST7789 1.47") → black screen

Open elijus-coder opened this issue 7 months ago • 5 comments

Ciao ragazzi, ho flashato il firmware ESP32-C5-tft (quello ufficiale con ESP32C5_DEVKITC_1_TFT) sulla mia board ESP32-C5-WROOM-1U. Ho collegato il TFT 1.47" GMT147SPI esattamente come da pins_arduino.h e connections.md:

SCL → GPIO6 SDA → GPIO7 DC → GPIO24 CS → GPIO23 BL → GPIO25 RES → RST della board VDD → 3V3, GND → GND

Il backlight si accende, ma lo schermo rimane completamente nero. Nel file pins_arduino.h è attivo #define ILI9341_DRIVER con 240×320, mentre il mio display è ST7789 170×320. C’è già una build precompilata con ST7789 per ESP32-C5 oppure mi potete indicare i cambiamenti minimi da fare nel pins_arduino.h (attivare ST7789_DRIVER, width/height, inversione, ecc.)? Grazie mille!

elijus-coder avatar Apr 19 '26 19:04 elijus-coder

no italian

rollawda-web avatar Apr 21 '26 17:04 rollawda-web

Same issue here, 2.8" ILI9341 screen staying white. ESP32-C5-WROOM-1U, ESP32-C5-WROOM-1 both (N32R8) tested to rule out broken pin or chip. Continuity tested all wires/pins all good. Claude using about 1 trillion tokens still no fix. I have 0 experience with this stuff and this is my first project of any sorts so I'm way out my depth. Hopefully someone smarter helps.

J-Hou-ss avatar Jul 05 '26 12:07 J-Hou-ss

This issue has been automatically marked as stale due to inactivity. It will be closed in 5 days unless there is further activity.

github-actions[bot] avatar Jul 24 '26 04:07 github-actions[bot]

Closing due to prolonged inactivity. If this is still relevant, please comment or open a new issue with updated details.

github-actions[bot] avatar Jul 29 '26 04:07 github-actions[bot]

For anyone who finds this with a Waveshare ESP32-C5-WIFI6-KIT: the blank screen is a board conflict, not the driver settings.

On that kit GPIO6 is the battery-sense input and has 100 nF capacitors to GND, so it can't carry the SPI clock that the esp32-c5-tft profile puts on it (still GPIO6 in 1.17). The screen never gets a clock, so the backlight comes on and nothing else happens. Moving SCK off GPIO6 fixes it.

  • 2.8" ILI9341 touch screen: I published a ready-to-flash build with the working pins: https://github.com/J-Hou-ss/bruce-waveshare-esp32-c5-ili9341-touch
  • 1.47" ST7789 (172x320) like the one here: Bruce already has a waveshare-c5-tft env for this kit from #2415, with SCK on GPIO10. It isn't in the release downloads, so build it with pio run -e waveshare-c5-tft. I haven't tried that one myself.

J-Hou-ss avatar Nov 13 '26 13:11 J-Hou-ss