schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
312 stars 77 forks source link

ILI9341 Touchpad Issue exists only in actual firmware version #320

Closed TubaFonse closed 9 months ago

TubaFonse commented 9 months ago

Dear Wolle, I think, we need your help:

Only in the actual firmware the touchpad don't work!

Now I re-tested my configuration (ESP32-S3-DevKitC-1-N16R8 CPU with ILI9341 Display and TP, PCM5102A Decoder) in my previous firmware (built 22.09.2023) without problems!

My settings:

define TFT_CONTROLLER 0 // (0)ILI9341

define DISPLAY_INVERSION 0 // (0) off (1) on

define TFT_ROTATION 1 // 1 or 3 (landscape)

define TFT_FREQUENCY 40000000

define TP_VERSION 0 // (0)ILI9341,

define TP_ROTATION 3 // 1 or 3 (landscape)

TubaFonse commented 9 months ago

sometimes the touchpad reacts, I tried to tip on different points, and got on serial monitor:

18:35:14 Touchpoint not valid x=210, y=52 18:35:22 Touchpoint not valid x=252, y=54 18:35:25 Touchpoint not valid x=293, y=41 18:35:30 Touchpoint not valid x=117, y=113 18:35:32 Touchpoint not valid x=67, y=105 18:35:39 Touchpoint not valid x=187, y=106

TubaFonse commented 9 months ago

It seems, it's a timing problem: when I stay longer on the same point in the upper area, the touchpad reacts and the buttons in the lower area are shown. The coordinates are correct, but the TP now reacts slower than in the older firmware version (September Version).

TubaFonse commented 9 months ago

Is there a general timing / interrupt handling priority problem? I also have problems to switch between the stations with IR remote control. I have to press many times the same IR button before the task recognises my request.