It seems that the ESP32-3248S035C has an issue where the capacitive touch does not work on every 2nd reset of the board. Adding "tp.reset()" before "tp.begin()" prevents the problem in my case. No idea why or how, but after spending half day pulling hairs from my head trying to fix it I thought I'll share this here.
It's worth to note that the same issue occurs with the example (called "LVGL_Arduino-3.5CTP-gt911.ino") provided in ESP32-3248S035C documentation (these can be downloaded from links listed in aliexpress ESP32-3248S035C descriptions), which does not use TAMC_GT911 library.
It seems that the ESP32-3248S035C has an issue where the capacitive touch does not work on every 2nd reset of the board. Adding "tp.reset()" before "tp.begin()" prevents the problem in my case. No idea why or how, but after spending half day pulling hairs from my head trying to fix it I thought I'll share this here.
It's worth to note that the same issue occurs with the example (called "LVGL_Arduino-3.5CTP-gt911.ino") provided in ESP32-3248S035C documentation (these can be downloaded from links listed in aliexpress ESP32-3248S035C descriptions), which does not use TAMC_GT911 library.