LILYGO T-ETH-Lite-ESP32S3 and ST7796S Display - Whitescreen problem #3509
Replies: 3 comments 3 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
What are you getting from the serial port? 1- Disconnect MISO line for now and modify to this "#define TFT_MISO -1" in the User_Setup.h Now what are you getting from the serial port? BR, |
Beta Was this translation helpful? Give feedback.
-
Hi Tim, thanks for your help! I have found the solution. I was convinced that the RESET pin can be selected at will. Since IO48 is not led out via the pin header on the T-ETH-Lite, I selected IO15. Both work:
I've disconnected MISO (defined -1), I won't need it anyhow. And #define USE_HSPI_PORT had no effect (even with the working solution with the RST pin). I think the thread can be closed. May it help other lost souls. Regards René PS: If you have a tip on how I can run TFT_eSPI (later also with LVGL) and the rest of my program on the two seperate CPUs of the ESP32-S3, let me know. |
Beta Was this translation helpful? Give feedback.
-
What I wanted to do:
The prerequisite is the use of a T-ETH-Lite with ESP32-S3. I am looking for a 3.5 inch display that runs as smoothly as possible. This discussion led me to the ST7796 display. I wanted to use it via 4 line SPI at 80 MHz. I also wanted to activate DMA, as described here for the ESP32-S3.
I connected the 40-pin FPC of the ordered ST7796 LCD with Capacitive Touch according to the Datasheet and the pins, especially for SPI communication, according to the ESP32-S3-Box Setup (see screenshots below). LilyGo provides the ESP32-S3-Box in the Platformio.ini for the T-ETH-Lite-ESP32S3. I don't use an SD card or Ethernet.
Problem:
To ensure that my code (see below) works, I have connected an RGB LED. This flashes as intended in the code. Otherwise, the code only intends to color the display red. To see a change, the display color should change with every LED action. The display simply remains white (Backlight switched on).
I use VSCode with PlatformIO and the Arduino Framework.
Code:
User_setup.h:
main.cpp:
platformio.ini:
Pin assignment
Regards René
Beta Was this translation helpful? Give feedback.
All reactions