# Please help on esp32\_s3-ili9488-touch

**URL:** <https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989>\
**Category:** Displays\
**Created:** [July 30, 2025, 11:49am UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989 "2025-07-30T11:49:03Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![basdelouw78](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/basdelouw78/32/1221381_2.png) [@basdelouw78](https://forum.arduino.cc/u/basdelouw78)\
**Post date:** [July 30, 2025, 11:49am UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/1 "2025-07-30T11:49:03Z")

</div>

Hello,

I've been 2 weeks in the project and i've been stil in the part to connect a esp32\_s3-n16R8 to a ili9488 with a XPT2046 touchdriver.

The lib's i'm using are;  
bodmer/TFT\_eSPI@^2.5.1  
paulstoffregen/XPT2046\_Touchscreen

and the pins for communication are:  
#define TFT\_MOSI 11  
#define TFT\_SCLK 12  
#define TFT\_CS 5  
#define TFT\_DC 4  
#define TFT\_RST -1  
#define TFT\_MISO 13  
#define TOUCH\_CS 15  
#define TOUCH\_IRQ 16

For the code i try to startup as simple as possible in [platform.io](http://platform.io)

```arduino
//user_setup
#define USER_SETUP_INFO "Custom Setup for ILI9488 on ESP32-S3 with T_IRQ on 14"
#define ILI9488_DRIVER
#define TFT_MOSI 11
#define TFT_SCLK 12
#define TFT_CS 5
#define TFT_DC 4
#define TFT_RST -1
#define TFT_MISO 13
#define TOUCH_CS 15
#define TOUCH_IRQ 16
#define TFT_WIDTH 480
#define TFT_HEIGHT 320
#define SPI_FREQUENCY 20000000 // Reduced from 40000000 for stability
#define SPI_READ_FREQUENCY 0 // Disable reads if not supported
#define SPI_TOUCH_FREQUENCY 2500000
#define LOAD_GLCD
#define LOAD_FONT4
#define USER_SETUP_LOADED 1

```

```arduino
//main
#include <Arduino.h>
#include <TFT_eSPI.h>
#include <XPT2046_Touchscreen.h>

TFT_eSPI tft = TFT_eSPI();
#define TOUCH_CS 15
#define TOUCH_IRQ 16
XPT2046_Touchscreen ts(TOUCH_CS, TOUCH_IRQ);

void setup() {
  Serial.begin(115200);
  delay(500);
  Serial.println("Starting setup...");

  Serial.println("Before tft.init()");
  tft.init();
  delay(100); // Add delay after init as suggested
  Serial.println("After tft.init()");
  tft.setRotation(0);
  Serial.println("After setRotation()");
  tft.fillScreen(TFT_BLACK);
  Serial.println("After fillScreen()");
  tft.setTextColor(TFT_WHITE);
  tft.setTextSize(2);
  tft.setCursor(10, 10);
  tft.println("TFT OK");
  Serial.println("TFT OK printed");

  Serial.println("Before ts.begin()");
  ts.begin();
  Serial.println("After ts.begin()");
}

void loop() {
  if (ts.touched()) {
    TS_Point p = ts.getPoint();
    Serial.printf("Touch: x=%d y=%d\n", p.x, p.y);
    tft.fillCircle(p.x, p.y, 4, TFT_RED);
    delay(200);
  } else {
    delay(50);
  }
}

```

```arduino
//platform.ini
[env:esp32-s3]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
lib_deps = 
    bodmer/TFT_eSPI@^2.5.0
    paulstoffregen/XPT2046_Touchscreen@^1.3
build_flags = 
    -DARDUINO_USB_CDC_ON_BOOT=1
    -Wl,-Map=output.map
    -DCONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
    -DCONFIG_ESP_TASK_WDT_TIMEOUT=10

```

I comment evry driver out of the user\_setup\_select file.

The only thing after compiling is this in repeat:

Rebooting...  
ESP-ROM:esp32s3-20210327  
Build:Mar 27 2021  
rst:0xc (RTC\_SW\_CPU\_RST),boot:0x8 (SPI\_FAST\_FLASH\_BOOT)  
Saved PC:0x42022c26  
SPIWP:0xee  
mode:DIO, clock div:1  
load:0x3fce3808,len:0x4bc  
load:0x403c9700,len:0xbd8  
load:0x403cc700,len:0x2a0c  
entry 0x403c98d0  
Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.

Core 1 register dump:  
PC : 0x42001d51 PS : 0x00060830 A0 : 0x82001f09 A1 : 0x3fcebbd0  
A2 : 0x3fc95468 A3 : 0x00000001 A4 : 0x60004000 A5 : 0x00000010  
A6 : 0x3fc9690c A7 : 0x00000000 A8 : 0x08000000 A9 : 0x3fcebba0  
A10 : 0x3fc9690c A11 : 0x00000001 A12 : 0xffffffff A13 : 0x00000010  
A14 : 0x00000000 A15 : 0x3fc93a08 SAR : 0x0000001c EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000010 LBEG : 0x42014000 LEND : 0x42014064 LCOUNT : 0x00000002

Backtrace: 0x42001d4e:0x3fcebbd0 0x42001f06:0x3fcebc00 0x420017b3:0x3fcebc30 0x4200384a:0x3fcebc50

ELF file SHA256: e99c734e52221776

The esp is this one:  
[Esp32](https://nl.aliexpress.com/item/1005008790807170.html?gatewayAdapt=glo2nld)

And the display is this one;  
[display](https://aliexpress.com/item/1005003033844928.html)

Is there a problem to let these 2 products work together?

Kind regards Bas

---

<div class="post-metadata">

**Author:** ![sonofcy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sonofcy/32/1283617_2.png) [@sonofcy](https://forum.arduino.cc/u/sonofcy)\
**Post date:** [July 30, 2025, 2:01pm UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/2 "2025-07-30T14:01:54Z")

</div>

Please edit your post and add code tags to the code.  
You will also need to provide a wiring diagram. It can be as simple as a photo of a hand drawn diagram.

---

<div class="post-metadata">

**Author:** ![sonofcy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sonofcy/32/1283617_2.png) [@sonofcy](https://forum.arduino.cc/u/sonofcy)\
**Post date:** [July 30, 2025, 2:03pm UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/3 "2025-07-30T14:03:45Z")

</div>

Also wrap the Serial log in code tags.  
Code tags reduce scrolling and prevent html wrong interpretation.

---

<div class="post-metadata">

**Author:** ![6v6gt](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/6v6gt/32/225488_2.png) [@6v6gt](https://forum.arduino.cc/u/6v6gt)\
**Post date:** [July 30, 2025, 3:02pm UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/4 "2025-07-30T15:02:16Z")

</div>

Try changing this:

> [@basdelouw78](#):
>
> `XPT2046_Touchscreen ts(TOUCH_CS, TOUCH_IRQ);`

to:  
`XPT2046_Touchscreen ts(TOUCH_CS);`

This will show if the interrupt is causing the crash. You do not actually need interrupts and can use polling instead.

Also look at this: [Platformio Release Outdated · Issue #50 · PaulStoffregen/XPT2046\_Touchscreen · GitHub](https://github.com/PaulStoffregen/XPT2046_Touchscreen/issues/50) to see if the parameters you are using are appropriate for the version of XPT2046\_Touchscreen available on PlatformIO.

---

<div class="post-metadata">

**Author:** ![pert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/pert/32/217111_2.png) [@pert](https://forum.arduino.cc/u/pert)\
**Post date:** [July 30, 2025, 7:55pm UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/5 "2025-07-30T19:55:45Z")

</div>

I moved your topic to a more appropriate forum category @basdelouw78.

The #Nano Family > Nano ESP32 category you chose is only used for discussions directly related to the [**Arduino Nano ESP32**](https://docs.arduino.cc/hardware/nano-esp32) board.

In the future, when creating a topic please take the time to pick the [forum category](https://forum.arduino.cc/categories) that best suits the subject of your question. There is an " **About the \_\_\_\_\_ category**" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

---

<div class="post-metadata">

**Author:** ![galacticobmg](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/galacticobmg/32/771579_2.png) [@galacticobmg](https://forum.arduino.cc/u/galacticobmg)\
**Post date:** [July 30, 2025, 8:15pm UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/6 "2025-07-30T20:15:06Z")

</div>

Hello, recently we have discussed similar issues with TFT displays on ESP32-C3/S3 boards. The final conclusion of all of them is that the TFT\_eSPI library does not work with the esp-board package Version later than 2.0.14. Look in your IDE in the Boardmanager (where the processor board is selected) which Version you have installed in the IDE.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [July 30, 2025, 8:19pm UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/7 "2025-07-30T20:19:53Z")

</div>

This is the discussion @galacticobmg is referring to:

> [@How to remove Arduino IDE comletely! from my PC](https://forum.arduino.cc/t/how-to-remove-arduino-ide-comletely-from-my-pc/1394189):
>
> Hello good morning everybody. Right to the point: What can I do if compiling exactly the same sketch on two different PC´s do not lead to the same result ? I have one desktop PC with windows 11 and one Laptop also windows 11 both installed with IDE 1.8.19. I wrote a very short sketch which uses a 2.4" ILI9341 TFT display. // TFT SPI display test with Adafruit and TFT\_eSPI libraries // processor XIAO ESP32-C mini #include "SPI.h" #include "Adafruit\_GFX.h" #include "Adafruit\_ILI9341.h" #inclu…

@basdelouw78 you will likely find some useful information if you read through that. You can start at [**post #13**](https://forum.arduino.cc/t/how-to-remove-arduino-ide-comletely-from-my-pc/1394189/13) in that thread as the preceding posts are irrelevant.

---

<div class="post-metadata">

**Author:** ![basdelouw78](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/basdelouw78/32/1221381_2.png) [@basdelouw78](https://forum.arduino.cc/u/basdelouw78)\
**Post date:** [July 31, 2025, 7:12am UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/8 "2025-07-31T07:12:36Z")

</div>

Thanks for your answer. In the 2.0.14 i get UnknownBoard: Unknown board ID 'esp32-s3-devkitc-1'.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [July 31, 2025, 8:32am UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/9 "2025-07-31T08:32:19Z")

</div>

Hi @basdelouw78. The reason for the error is Arduino IDE remembers the board configuration you had from the previous version of the "esp32" boards platform, but that configuration is not available in the 2.0.14 version of the platform.

Select **Tools \> Board \> esp32 \> ESP32S3 Dev Module** from the Arduino IDE menus and then try compiling or uploading again. The "Unknown board ID" error should no longer occur.

---

<div class="post-metadata">

**Author:** ![basdelouw78](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/basdelouw78/32/1221381_2.png) [@basdelouw78](https://forum.arduino.cc/u/basdelouw78)\
**Post date:** [August 7, 2025, 8:48am UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/10 "2025-08-07T08:48:43Z")

</div>

Ok, managed to fix and go further on the project.

> [@Esp32+ili9488+lora rfm95](https://forum.arduino.cc/t/esp32-ili9488-lora-rfm95/1400782):
>
> I’m trying to fix a project with these 3 components. On this moment ili9488 works with touch but as spi starts rfm95 the touchline goes down and dont restart. I try to seperate the 2 spi lines but no efect. Is there a better way to seperate or devide the 2 components or is it better to get a serial lora module? [Github location](https://github.com/basdelouw78/Gridconnect) of the software. Kind regards Bas #include \<Arduino.h\> #include \<TFT\_eSPI.h\> #include \<SPIFFS.h\> #include "calibration.h" #include "lora.h" // HSPI LoRa met reset + c…

---

<div class="post-metadata">

**Author:** ![baltaridley](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/baltaridley/32/1128741_2.png) [@baltaridley](https://forum.arduino.cc/u/baltaridley)\
**Post date:** [August 9, 2025, 2:42am UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/11 "2025-08-09T02:42:43Z")

</div>

This will only affect if larger but those need to be on separate spi buses as one of the ili9488s data lines miso or mosi dont Chang state with cs.

---

<div class="post-metadata">

**Author:** ![baltaridley](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/baltaridley/32/1128741_2.png) [@baltaridley](https://forum.arduino.cc/u/baltaridley)\
**Post date:** [August 9, 2025, 2:43am UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/12 "2025-08-09T02:43:17Z")

</div>

Sorry it later not it larger (autocorrect wars)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [February 5, 2026, 2:44am UTC](https://forum.arduino.cc/t/please-help-on-esp32-s3-ili9488-touch/1398989/14 "2026-02-05T02:44:44Z")

</div>

Closed on February 5, 2026, 2:44am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
