RepositoryCJPJapan
nopnop2002

nopnop2002/esp-idf-ili9340

SPI TFT and XPT2046 touch screen controller driver for esp-idf

263stars
43forks
2issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: st7735

#1 Repository of the week

1
TINIX TRENDING·Topic: bmp

#1 Repository of the week

1
TINIX TRENDING·Topic: ili9325

#1 Repository of the week

🖥️ Wide-range SPI TFT + XPT2046 driver for ESP-IDF

Drive many SPI panels and optional XPT2046 touch directly from ESP-IDF.

This is a SPI TFT and XPT2046 touch screen controller driver for esp-idf by nopnop2002. It targets ESP32 family boards running ESP-IDF V5.0 or later and is built to drive common SPI TFT panels with configurable pins and optional image display.

✨ Highlights

  • Wide display support: Tested with ILI9340/9341/9325, ST7735/7789/7796, ILI9225 across sizes from 0.96" up to 4.0".
  • XPT2046 touch: Supports XPT2046 touch screen controller on compatible boards.
  • Image display: Can display BMP, JPEG and PNG files, with chip-specific notes for decoding.
  • Menuconfig driven: Uses CONFIG_WIDTH/HEIGHT/OFFSETX/OFFSETY and MOSI/SCLK/CS/DC/RESET/BL to fit many generic or preset boards.
  • Board presets: Includes setups for M5Stack and many Shenzhen Jingcal Intelligent SPI panels.
  • Chip-aware limits: Calls out ESP32-C6 needing ESP-IDF V5.1, ESP32-S2/C2 SRAM limits, need for esp_jpeg on ESP32-S2/C2, and PSRAM option for ESP32-S2.

💡 Why it matters

This project stays focused on SPI interface displays and XPT2046 touch, not parallel panels. It documents real memory constraints and workarounds for smaller SoCs instead of assuming enough RAM for every resolution. With explicit tested panels and per-chip notes, it fits direct hardware bring-up on cheap off-the-shelf SPI TFT modules under ESP-IDF.


#ESP32 #TFT #SPI #ILI9341 #XPT2046 #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryC
nopnop2002/esp-idf-st7789

ST7789 Driver for esp-idf

420
Oct 15, 2026
RepositoryC
RobertoBenjami/stm32_graphics_display_drivers

STM32 LCD drivers (currently: spi(dma), gpio, fsmc(dma), st7735, st7783, ili9325, ili9328, ili9341, ili9486, ili9488, hx8347g)

703
Dec 29, 2022
RepositoryC
RobertoBenjami/stm32_hal_graphics_display_drivers

STM32 graphics LCD and Touchscreen drivers (LCD: st7735, st7781, ili9325, ili9328, ili9341, ili9488, Touch: analog resistive, xpt2046, stmpe811)

116
Nov 15, 2024
RepositoryC
HeyWillow/willow

Open source, local, and self-hosted Amazon Echo/Google Home competitive Voice Assistant alternative

3.1k
Nov 1, 2026
RepositoryC
RavenSystem/esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)

3.0k
Nov 8, 2026
RepositoryC
HermannBjorgvin/Clawdmeter

ESP32 display that shows you your Claude Code usage

2.4k
Nov 27, 2026
RepositoryC
lovyan03/LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)

1.8k
Dec 1, 2026
RepositoryC
nopnop2002/esp-idf-parallel-tft

8bit parallel TFT & 4-line resistance touch screen Driver for esp-idf using i2s paralell mode

135
Sep 25, 2026
RepositoryC++
espressif/arduino-esp32

Arduino core for the ESP32 family of SoCs

17.8k
Dec 1, 2026