Incorrect pins for the ESP32-S3-LCD-1.28 development board with GC9A01 Driver #3283
Replies: 17 comments 27 replies
-
try this: |
Beta Was this translation helpful? Give feedback.
-
the above numbers are the GPIOx numbers and not the dev board pin numbers. which is needed? i thought it would be the dev board pin numbers. also, be aware that the referenced schematic documents the RP2040-Touch-LCD-1.28 and not the ESP32S3….. (url name mismatch). try this link instead: https://files.waveshare.com/wiki/ESP32-S3-LCD-1.28/Esp32-s3-lcd-.128-sch.pdf |
Beta Was this translation helpful? Give feedback.
-
These are the correct pin outs and you use the GPIO pins. But somehow the connection is still not being made. |
Beta Was this translation helpful? Give feedback.
-
Hi!
So it's hitting its head at the well due to a Tried to |
Beta Was this translation helpful? Give feedback.
-
Just found a hint on Reddid (https://www.reddit.com/r/arduino/comments/1bsl0l5/waveshare_esp32s3_128in_lcd_display_with_wifi/): You also need to |
Beta Was this translation helpful? Give feedback.
-
In the repo, there is already a file that looks like if it was for this device. But it's missing the |
Beta Was this translation helpful? Give feedback.
-
Hello, I'd like to report that I'm able to run the example in 2.5.34 with this custom setup #define USER_SETUP_ID 305
#define USER_SETUP_INFO "ESP32-S3-LCD-1.28"
#ifdef ILI9341_DRIVER
#undef ILI9341_DRIVER
#endif
#define GC9A01_DRIVER
#define TFT_WIDTH 240
#define TFT_HEIGHT 240
#define TFT_MOSI 11
#define TFT_SCLK 10
#define TFT_CS 9
#define TFT_DC 8
#define TFT_RST 12
#define TFT_BL 40
#define TFT_BACKLIGHT_ON HIGH
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6
#define LOAD_FONT7
#define LOAD_FONT8
#define LOAD_FONT8N
#define LOAD_GFXFF
#define SMOOTH_FONT
#define SPI_FREQUENCY 80000000 Maybe something changed in the library? Are you using these settings? I had issues with different ones: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Oh yes, amazing! all of the examples and custom configs were not working for me until i added #define USE_HSPI_PORT to the end of the User (or custom) setup file. Now it is smooth sailing with pretty round pictures and LVGL! |
Beta Was this translation helpful? Give feedback.
-
I wish I'd found this thread before I spent so much time debugging LOL I am using setup 302 (Setup302_Waveshare_ESP32S3_GC9A01) as the discription matches the board name, but as above the Key Part to stop the ESP32-S3 from crashing is to add this line into the user setup: |
Beta Was this translation helpful? Give feedback.
-
I've been dealing with the same issue for a similar board from SpotPear Adding I'm really curious as to why though. I've been trying to track it down. I also tracked it to That expands to The problem here is with With Unfortunately, if you feed 0 into
Edit: the framework only supports the use of SPI 3 for general purpose use. That's why FSPI is defined to zero, it should not be used. See the ESP IDF here: https://github.com/espressif/esp-idf/blob/9b3eda09741b5c7dae8f22fe60d193dcc3a7ec44/components/soc/esp32c3/include/soc/soc.h#L26C17-L26C106 |
Beta Was this translation helpful? Give feedback.
-
waveshare Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled |
Beta Was this translation helpful? Give feedback.
-
I'm using the Waveshare ESP32S3 touch version of this board (link below) and to get it to work I also needed to add #define USE_HSPI_PORT to the end of the user setup file (in this case Setup302_Waveshare_ESP32S3_GC9A01.h). Thanks to everyone who contributed or I don't think I would have got this to work. |
Beta Was this translation helpful? Give feedback.
-
Hello, does tft.setRotation(x) work with values other than 0 with your GC9A01 driver? |
Beta Was this translation helpful? Give feedback.
-
Okay yes true, my mistake, I meant the GC9D01 0.71" display. |
Beta Was this translation helpful? Give feedback.
-
Hello I was hoping to get some help beacuse this board has been giving me problems and i have cannot get it to work so I was hoping that someone who got the screen to work could provide me with the user setup file and the code they got working on it. To clarify i am using the ESP32-S3-Touch-LCD-1.28 and the end goal of my project is to have a gps module display data on the screen while recording the data to and sd card. Thank you for any help provided. |
Beta Was this translation helpful? Give feedback.
-
the issue is solve by defining #define USE_HSPI_PORT // Force HSPI for esp32 v3.0 or above https://github.com/vishalsoniindia/TFT_ESPI_not_working_with_esp32_v3.0.0_Above |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I really would appreciate any help I could get because I cannot even figure out where the issue lies.
I am using this device (https://www.waveshare.com/esp32-s3-lcd-1.28.htm) that has a built in ESP32-S2, this means I have no cables or connections other than the USB-C cable
Tried run examples from the TFT library and other scripts that I obtained that use TFT scripts but nothing shows up on my screen.
I have used a demo script (unrelated to TFT) that does work, and it had the following pin configuration:
I went into the "User_Setup.h" file and the only definitions I have uncommented are the ones below as well as the "LOAD_FONT" ones:
#define USER_SETUP_INFO "User_Setup"
#define GC9A01_DRIVER
#define TFT_SDA_READ
I went into "User_Setup_Select.h" and commented out line 27 (//#include <User_Setup.h>) and uncommented (#include <User_Setups/Setup46_GC9A01_ESP32.h>)
and then I went into User_Setups/Setup46_GC9A01_ESP32.h and I have the following code

I also tried:
#define TFT_MOSI 11
#define TFT_SCLK 10
#define TFT_CS 9
#define TFT_DC 8
#define TFT_RST 12
and I get nothing on my screen when I run any of the tests and diagnostics.
And my serial monitor does not show expected results.
And I also tried a different setup file called Setup302_Waveshare_ESP32S3_GC9A01.h because I thought it matched up more with the build in ESP32 rather than an external device.
And this was my code, but I still do not get anything on my screen:
#define USER_SETUP_ID 302
#define GC9A01_DRIVER
#define TFT_MISO -1
#define TFT_MOSI 11
#define TFT_SCLK 10
#define TFT_CS 9 // Chip select control pin
#define TFT_DC 8 // Data Command control pin
#define TFT_RST 12 // Reset pin (could connect to RST pin)
#define TFT_BL 40
#define TFT_BACKLIGHT_ON HIGH
#define LOAD_GLCD // Font 1. Original Adafruit 8 pixel font needs ~1820 bytes in FLASH
#define LOAD_FONT2 // Font 2. Small 16 pixel high font, needs ~3534 bytes in FLASH, 96 characters
#define LOAD_FONT4 // Font 4. Medium 26 pixel high font, needs ~5848 bytes in FLASH, 96 characters
#define LOAD_FONT6 // Font 6. Large 48 pixel font, needs ~2666 bytes in FLASH, only characters 1234567890:-.apm
#define LOAD_FONT7 // Font 7. 7 segment 48 pixel font, needs ~2438 bytes in FLASH, only characters 1234567890:.
#define LOAD_FONT8 // Font 8. Large 75 pixel font needs ~3256 bytes in FLASH, only characters 1234567890:-.
#define LOAD_GFXFF // FreeFonts. Include access to the 48 Adafruit_GFX free fonts FF1 to FF48 and custom fonts
#define SMOOTH_FONT
#define TFT_WIDTH 240
#define TFT_HEIGHT 240
Beta Was this translation helpful? Give feedback.
All reactions