LilyGO T-Display-S3 display: specs, driver revisions & setup
A 1.9-inch 170×320 IPS ST7789V board on ESP32-S3. Unlike most small boards, the display uses an 8-bit parallel (i80) bus, so SPI-only setups will not work.
LilyGO T-Display-S3 display specifications
Which LilyGO T-Display-S3 revision do you have?
Boards sold under the same name ship with different display driver ICs. Code written for one revision shows a white screen, wrong colours or nothing at all on the other, so identify yours first.
| Revision | Driver IC | How to identify | Library settings |
|---|---|---|---|
| T-Display-S3 (no touch) | ST7789V | No touch panel. | TFT_eSPI: Setup206_LilyGo_T_Display_S3.h (8-bit parallel) |
| T-Display-S3 Touch | ST7789V | Touch controller on I2C (SDA 18, SCL 17): CST816-series at 0x15 by default; early units used a CST328 at 0x1A. | Same display setup (Setup206). LilyGO TouchLib: TOUCH_MODULES_CST_SELF for 0x15, TOUCH_MODULES_CST_MUTUAL for the early CST328. |
LilyGO T-Display-S3 display and touch pins
| Signal | GPIO | Notes |
|---|---|---|
| LCD D0–D7 | 39, 40, 41, 42, 45, 46, 47, 48 | 8-bit parallel data bus |
| LCD WR / RD | 8 / 9 | Write / read strobes |
| LCD CS / DC / RST | 6 / 7 / 5 | Chip select, data/command, reset |
| LCD BL | 38 | Backlight |
| Power On | 15 | Peripheral and LCD power: set HIGH on battery or 5 V header power |
| I2C SDA / SCL | 18 / 17 | Touch controller (Touch version) |
| Touch INT / RST | 16 / 21 | Touch version only |
| Battery voltage | 4 | ADC; reads only when USB-C is unplugged |
| Buttons | 0 (BOOT), 14 |
From LilyGO T-Display-S3 prototype to production
Dev boards are ideal for proving a UI, but their panels are bought on the open market: the controller can change between batches, there is rarely a datasheet, and lifetime is not guaranteed. For a product, specify a module with a fixed driver IC per production lot, a datasheet and a lifecycle commitment.
We do not list a standard module in the exact 1.9″ 170×320 format yet; our direct factories can build to this spec. Send your requirements and we confirm feasibility, MOQ and lead time for your project.
Before you debug code
- Confirm which revision you have (table above): driver IC changes are the most common cause of a white screen.
- Check the backlight pin is not reused in your sketch.
- Change one setting at a time (driver, inversion, colour order), and keep a known-good example to compare against.
Configuration examples
// comment out #include <User_Setup.h> and enable:
#include <User_Setups/Setup206_LilyGo_T_Display_S3.h>void setup() {
pinMode(15, OUTPUT);
digitalWrite(15, HIGH); // LCD and peripheral power
}Guides & comparisons
CST816S Touch Not Working? I2C Scan, Chip ID, Interrupt and Sleep Fixes
A step-by-step checklist for a CST816S capacitive touch controller that isn't found on I2C, fails at start-up, gives no touch events or reports the wrong coordinates, with the settings for ESPHome, ESP-IDF, Arduino and Linux.
GuideHow to Choose a Display for ESP32-S3 (SPI, QSPI, RGB)
Pick the interface and resolution from two numbers: how many bits per second the bus can move and how much memory the frame needs. With worked figures and reference builds.
Frequently asked questions
Why does an SPI User_Setup not work on the T-Display-S3?
The display is wired to an 8-bit parallel (i80) bus on GPIO 39–48, not SPI. In TFT_eSPI, comment out #include <User_Setup.h> in User_Setup_Select.h and enable Setup206_LilyGo_T_Display_S3.h, which sets TFT_PARALLEL_8_BIT, 170×320, inversion on and RGB colour order.
Why is the screen dark on battery or 5 V header power?
GPIO15 switches power to the LCD and other peripherals. LilyGO's FAQ says to set it HIGH at the start of setup() (pinMode(15, OUTPUT); digitalWrite(15, HIGH);) when the board is not powered from USB-C.
The sketch uploads but nothing shows. Is the board faulty?
LilyGO suggests running the Arduino_GFXDemo example first: if it works and TFT_eSPI does not, the User_Setup_Select.h change was lost (a library update overwrites it). LilyGO also notes its examples were tested on arduino-esp32 2.0.14 and that TFT_eSPI did not work on newer cores as of 2024-08 (TFT_eSPI issue #3329).
Which touch controller does the T-Display-S3 Touch use?
LilyGO's touch example defaults to a CST816-series self-capacitance controller at I2C address 0x15 and keeps a switch for early boards that used a CST328 at 0x1A. Run an I2C scan on SDA 18 / SCL 17 to see which one you have.
Sources
- Xinyuan-LilyGO/T-Display-S3 README: pinout and FAQ
- LilyGO wiki: T-Display-S3 quick start
- T-Display-S3 examples/factory/pin_config.h
- T-Display-S3 examples/touch_test/touch_test.ino (CST816 default, early CST328)
- TouchLib address constants (CST328 0x1A, CST816 0x15)
- TFT_eSPI User_Setups/Setup206_LilyGo_T_Display_S3.h
Not sure which display fits your design?
Send us your size, interface and host processor. A display engineer replies within 12 hours with 2–3 options, datasheets and init code. Samples from 1 pc.