Closed javiser closed 2 years ago
I (798) ST7789: GPIO_SCLK=6
For some reason, there are development boards that cannot use GPIO06, GPIO08, GPIO09, GPIO19 for SPI clock pins. According to the ESP32C3 specifications, these pins can also be used as SPI clocks. I used a raw ESP-C3-13 to verify that these pins could be used as SPI clocks.
Try this.
Thanks @nopnop2002 for the very quick reply! I had indeed read that text from the README.md
file, but since I was able to use that pin for the clock signal in the past, I didn't really want to believe that this problem would be relevant for me. I just changed the SCLK pin (0 instead of 6, I left the others as they were) and now it works! Thank you so much!
For the record: I am using the ESP-C3-32S-Kit ESP32 WiFi+Bluetooth Development Board with ESP32C3 chip from Ai-Thinker, the one with 2 MB external flash (that may be the reason...). Just in case somebody else has the same problem.
I just changed the SCLK pin (0 instead of 6, I left the others as they were) and now it works!
Probably a hardware issues.
I used a raw ESP-C3-13 like this.
Any pin can be used as SCLK.
Hi, I have been trying to run this demo on an 1.3" display with ST7889 driver connected to a ESP32C3 board. I believe that the pin connections are fine because I managed to get some small example running on Rust with the same wiring. I get this output in the monitor (debug level activated). I don't see any error, but something is still not right.
I have followed the instructions on the page, and I am also using ESP-IDF 4.4 for this (I checked out today the
release/v4.4
branch)Any ideas? Thanks for your help!