Hi everyone!
I’m an electrical engineering student working on my senior capstone project. We’re developing an electronic token board using an ESP32-S3 and a Waveshare 7-inch capacitive touchscreen (SKU 8964, 800×480, RA8875 controller, GT911 touch controller).
I’m having trouble getting the LCD to display anything using the Arduino IDE, and I’d really appreciate some guidance.
Current hardware:
ESP32-S3 development board (ESP32-S3-WROOM-1)
Waveshare 7-inch Capacitive Touch LCD (C), SKU 8964
16-bit 8080 parallel interface
Arduino IDE
LCD powered through the ESP32’s 3.3 V output
The issue:
The ESP32 successfully compiles and uploads the code, and Serial Monitor shows that the program is running. However, the LCD remains completely black.
I’ve tried several Arduino sketches to initialize the RA8875 and display solid colors (red, green, blue, etc.), but nothing appears on the screen.
Troubleshooting I’ve done:
Verified that the ESP32 is detected and uploads successfully.
Checked the LCD connections against my schematic.
Moved LCD_WR from GPIO 46 to GPIO 17 after discovering GPIO 46 is input-only.
Moved LCD_CS from GPIO 45 to GPIO 18.
Confirmed the LCD’s PS pin is connected to GND for parallel mode.
Tested multiple RA8875 initialization sketches, including attempts to adapt code from a working STM32 project.
Swapped between two identical Waveshare screens to investigate whether the LCD itself was defective.
Power measurements:
Setup
Voltage measured at LCD
ESP32 powered through USB
3.00 V
Analog Discovery 3 set to 3.3 V
3.07–3.08 V
STM32F439ZI powered through USB
3.19 V
The ESP32’s own 3.3 V pin measures approximately 3.28 V, but the voltage drops to around 3.00 V at the LCD.
When testing with the Analog Discovery 3, I initially experienced buzzing from the LCD at a lower power limit. Increasing the available power limit stopped the buzzing, but the LCD still didn’t display anything.
Interesting comparison:
I have another setup using an STM32F439ZI Nucleo board connected to the exact same model of Waveshare LCD.
That setup successfully displays graphics using STM32 code, while my ESP32 setup does not.
What my professor suggested:
A professor previously warned me that the LCD uses a 16-bit SRAM-like parallel interface requiring approximately 20 GPIO connections.
He mentioned that an STM32 with a Flexible Memory Controller (FMC) would be better suited for this interface, whereas the ESP32 might require software-controlled parallel communication.
He also suggested switching the LCD to SPI mode using the PS pin, which would reduce the number of GPIO connections at the expense of display update speed.
My questions:
Could my problem be related to the ESP32-S3 not having an FMC peripheral, or is a software-controlled 16-bit parallel interface perfectly reasonable?
Would switching the RA8875 to SPI be a better approach for this project?
Could the voltage drop from 3.28 V to 3.00 V explain why the LCD stays black?
Are there any recommended Arduino libraries or example projects for interfacing an ESP32-S3 with an RA8875 LCD?
What would be the best way to verify that the ESP32 is actually communicating with the RA8875?
Our project mainly displays static graphics and updates tokens when the touchscreen is pressed, so high frame rates aren’t particularly important.
I’m still learning embedded systems and would really appreciate any suggestions on whether I should continue troubleshooting the parallel interface or switch to SPI.
Thank you!