Skip to content
Display Engineer
Sunton · Display dev board

Sunton ESP32-8048S043C display: specs, driver revisions & setup

A 4.3-inch 800×480 IPS RGB display board on ESP32-S3 with GT911 capacitive touch: the usual starting point for LVGL HMIs that later move to a custom carrier board.

Updated Nov 16, 2026

Sunton ESP32-8048S043C display specifications

MCUESP32-S3 (16 MB flash, 8 MB PSRAM)
Display4.3″ · 800×480
Display busParallel RGB565
Driver ICRGB panel (ST7262 class)
TouchGT911 capacitive (I2C)

Which Sunton ESP32-8048S043C revision do you have?

Known display configuration for this board.

RevisionDriver ICHow to identifyLibrary settings
8048S043C (capacitive)RGB panel (ST7262 class)C suffix = capacitive GT911ESP-IDF esp_lcd RGB panel + esp_lcd_touch_gt911; ESPHome mipi_rgb (model: RPI). The older rpi_dpi_rgb platform is deprecated and is removed in ESPHome 2027.5.0

Sunton ESP32-8048S043C display and touch pins

SignalGPIONotes
RGB DE40
RGB HSYNC39
RGB VSYNC41
RGB PCLK42Published configs use 12.5, 16 and 18 MHz; pclk_active_neg is set
Blue B3–B7 (data 0–4)8, 3, 46, 9, 1Labelled blue in the limpens example and ESPHome config
Green G2–G7 (data 5–10)5, 6, 7, 15, 16, 4
Red R3–R7 (data 11–15)45, 48, 47, 21, 14Labelled red in the limpens example and ESPHome config
Display enable (DISP)not connected
Backlight2PWM (LEDC), active high
Touch SDA19GT911, I2C
Touch SCL20GT911, I2C, 400 kHz
Touch RST38GT911
Touch INT18As assigned in the limpens and rzeldent definitions; both examples work by polling
SD card CS / MOSI / SCLK / MISO10 / 11 / 12 / 13From the rzeldent board definition

Same display spec for volume production

Prototyped on the Sunton ESP32-8048S043C? These modules from our direct factories share the panel size and resolution, come with a datasheet and a fixed driver IC per production lot, and are available from 1 pc samples. MOQ and lead time are agreed per project.

From Sunton ESP32-8048S043C 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.

Our direct factories build modules with the same 4.3″ 800×480 format. Same 4.3-inch 800×480 IPS RGB format; PJ4303H03 is a 1000 cd/m² version and PJ4302B04 includes a capacitive touch panel. Samples start at 1 pc; MOQ and lead time are agreed per project with our sales team.

Before you debug code

  1. Confirm which revision you have (table above): driver IC changes are the most common cause of a white screen.
  2. Check the backlight pin is not reused in your sketch.
  3. Change one setting at a time (driver, inversion, colour order), and keep a known-good example to compare against.

Configuration examples

ESP-IDF esp_lcd RGB panel: timing and pins (from the limpens example)c
// 800x480, 16-bit RGB565, frame buffer in PSRAM
#define LCD_PIXEL_CLOCK_HZ (18 * 1000 * 1000)  // limpens: distortion above 18 MHz; rzeldent uses 12.5 MHz
// timings: hsync pulse 4, back porch 8, front porch 8
//          vsync pulse 4, back porch 8, front porch 8
//          pclk_active_neg = true
#define LCD_PIN_HSYNC 39
#define LCD_PIN_VSYNC 41
#define LCD_PIN_DE    40
#define LCD_PIN_PCLK  42
// data_gpio_nums[0..15]: B3-B7, G2-G7, R3-R7
// { 8, 3, 46, 9, 1,  5, 6, 7, 15, 16, 4,  45, 48, 47, 21, 14 }
#define LCD_PIN_DISP_EN  GPIO_NUM_NC
#define LCD_PIN_BK_LIGHT 2
#define TOUCH_PIN_SDA   19
#define TOUCH_PIN_SCL   20
#define TOUCH_PIN_RESET 38
#define TOUCH_PIN_INT   18

Guides & comparisons

Frequently asked questions

Which GPIOs does the GT911 touch controller use on the ESP32-8048S043C?

SDA is GPIO 19 and SCL is GPIO 20. The limpens ESP-IDF example and the rzeldent board definition both assign reset to GPIO 38 and interrupt to GPIO 18, and the rzeldent definition uses I2C address 0x5D at 400 kHz. The limpens example registers no interrupt callback and the ESPHome configuration sets no interrupt pin, so both read touch by polling.

What pixel clock and timings does the ESP32-8048S043C panel need?

Published configurations agree on the porches: HSYNC pulse 4, back porch 8, front porch 8, and the same three values for VSYNC, with pclk_active_neg set, so data is clocked out on the falling edge of PCLK. The pixel clock differs: 12.5 MHz in the rzeldent board definition, 16 MHz in the ESPHome configuration (marked as unsure there), and 18 MHz in the limpens example, whose author notes serious distortion above 18 MHz. One frame is 820 × 500 clocks, so these give about 30, 39 and 44 frames per second.

Why are red and blue swapped on my ESP32-8048S043C?

The two outer groups of data pins are probably assigned the wrong way round. The limpens example and the ESPHome configuration put blue on GPIO 8, 3, 46, 9, 1 and red on GPIO 45, 48, 47, 21, 14. The rzeldent board definition names the same two groups the other way round in its macros. If your colours are swapped, exchange the two groups or change the colour order setting.

How much memory does the ESP32-8048S043C have for the frame buffer?

The board has 16 MB of flash and 8 MB of octal PSRAM. One 800×480 RGB565 frame is 768,000 bytes, so the frame buffer goes in PSRAM: the rzeldent definition sets the frame buffer in PSRAM, and the limpens example allocates two frame buffers there.

Which ESPHome display platform works with the ESP32-8048S043C?

The ESPHome device page for this board uses the rpi_dpi_rgb platform with the pins and timings above. That platform is deprecated and is removed in ESPHome 2027.5.0; new configurations should use mipi_rgb.

Sources

  1. ESPHome devices: Sunton ESP32-8048S043C
  2. ESPHome: MIPI RGB display (mipi_rgb)
  3. ESPHome PR #20691: rpi_dpi_rgb removal set for 2027.5.0
  4. limpens/esp32-8048S043: main/lcd.h (pins, pixel clock; commit 07443644)
  5. limpens/esp32-8048S043: main/lcd.cpp (timings, frame buffers; commit 07443644)
  6. rzeldent/platformio-espressif32-sunton, esp32-8048S043C.json (commit e49cbfed)

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.