-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library not working with espressif32 esp32-s3 Arduino core > 2.0.14 #3329
Comments
I confirm, esp32-s3 reset under 2.0.16 (when init is called), when installing espressif arduino core 2.0.14 works fine |
I confirm, under 2.0.14 it works for ESP32-C3, ESP32-S3. I did not test ESP32 but same code. Under 2.0.15 and 2.0.16. Software reset breaks. Actual code from TFT_eSPI_ESP32.h TFT_eSPI_ESP32_xx.h is: #define SET_BUS_WRITE_MODE *_spi_user = SPI_USR_MOSI "Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unhandled." |
The issue persists under 2.0.17. |
I use PlatformIO Supported Frameworks Rebooting... |
#define TFT_ESPI_VERSION "2.5.43" #define USER_SETUP_ID 70
#define TFT_CS 10 // 10 or 34 (FSPI CS0) // Use pins in range 0-31 |
i met the problem too. |
Same here too; https://github.com/Bodmer/TFT_eSPI/issues/3346#issuecomment-2143324416 A program to transmer images over LoRa and display on a TFT was working on core 2.0.11, but stopped when I updgraded the core. By going backwards with the cores I found the last one that worked was 2.0.14. For later core versions the program would crash on start. ESP32S3, Arduino IDE 1.8.19. |
I also have this issue, device re-starts continuously on tft.init() |
Temporary solution.
|
#define USE_HSPI_PORT |
#define USE_HSPI_PORT |
For my ESP32S3 adding #define USE_HSPI_PORT in the variants/esp32s3/pins_arduino.h file in ESP32 version 3.0.1 works too. Had to make other changes for the backlight control as ledc... functions have changed in version 3. |
I tried defining HSPI and using the latest 3.01 from Espressif. The number of defines lost/forgotten renders code uncompilable. Basically every TFT_xxx define is lost. The GFXglyph typdef is lost. I have common code that is running on ESP32S3DevKit1, Adafruit QT Py S3 and XAIO ESP32C3. Board definitions after 2.0.14 just don't work. Compiler is broken so bad it is unusable. |
Seeing the issue here as well, but defining USE_HSPI_PORT is not working. |
I also see this problem here. I also define USE_HSPI_PORT and it doesn't work. |
I have the same problem. The #define USE_HSPI_PORT seems to work for me, or rolling espressif back to 6.6.0. I'm using IL9341 with Touch Screen in latest TFT_eSPI on a ESP32-S3 N16R8 (enabling or disabling the PSRAM has no effect). The screen has an SDCard reader but I'm not using it. This happens on a base scetch with nothing else in it except for the TFT_eSPI import, the SPI.h import and tft.begin() in the setup so it's clearly some issue with a change made in the espressif framework. Here's my backtrace:
Basically pointing back to the writecommand method that @youngsu999 mentioned earlier. |
I managed to adapt code to the esp32 3.0.x Arduino IDE board definitions. Many things have changed. Setting USE_HSPI_PORT works for all ESP32S3. Does not work for ESP32C3. |
I replaced all my ESP32C3 with ESP32S3. Now able to use ESP32 board definitions 3.0.2 in Arduino-IDE with USE_HSPI_PORT. A few dollars and hours and hours of diag for no gain other than current IDE. |
The #define USE_HSPI_PORT worked for me,but I'm worried that it will slow down the display. |
Same here, When I use #define USE_HSPI_PORT the ESP32-S3 stops crashing but then im unable to use an external SD card. Going back to platformio Espressif version 6.6.0 allows everything to function properly. |
#define USE_HSPI_PORT |
Hello from France ! Programing is a neverending story... Roland |
I run into the same problem: Guru Meditation Error (What does this mean. Are the people kidding?): XIAO ESP32-C3 Setting USE_HSPI_PORT was no solution for me. Downgrading to 2.0.14 worked for me. Does somebody working on solving this issue? |
Hello everyone. I tested this library (V2.5.43) on the following boards
with Arduino Core 3.0.4 and 3.0.3 in platformio and Arduino IDE and even in ESPIDF with arduino-as-component. |
You have made it work for ESP32-C3 under core 3.0.4 Arduino IDE? What config? |
That is great. I would love the User_Config flies for the Lily-T_Display - S3 and the ESP32S3dev-n16r8 with an ili9341 2.8 display |
Same here, I would love to have your platformio.ini and user_config files for T-Display S3, as 'm stuck in a "StoreProhibited" never-ending error regarding heap (funniest part is that the same code works perfectly with an arduino nano esp32....). Not sure if it's the same issue that everyone here has but I'm desperate to know how to proceed |
Tonight I will try to attach a display or two to the c3 boards have and do some tests. I will come back with information later about the C3. |
Sure:
Also for this board i use a init function for ST7789 display. Just call this function from setup after the
Also, for this bord is ok to declare the backlight pin and board ON pin and set on in setup.
For the ESP32S3dev-n16r8 (16MB Flash, 8MB PSRAM) i have the next configs:
ESP32S3dev-n16r8 + ili9341 2.8 display
ESP32S3dev-n16r8 + 3.5 TFT LCD UNO Shield ILI9488 8 bit parallel display 480x320
Also for esp32 simple:
For another boards i will test them in next days and i will post here the working setups. |
My platformio.ini file is :
and the UserSetup.h is :
Optional my partition test:partition.csv is:
|
Thanks. That's great. I'll try it out in a few days |
On Arduino IDE 2.3.3, I succeeded to compile and run on a ESP32S3+ST7789 (https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-2.8) the demo provided for this boad with the latest versions of espressif (3.0.5) and TFT_eSPI (2.5.43) by putting these lines:
For this board, the complete tft_setup.h :
For LVGL, use version 8.4.0. |
indeed these 2 lines :
correctly select SPI. Unlike you, I put them in platformio.ini.
probably that's why I had no problem with this library. it compiles and runs without problems for me on any esp32 (s2, S3) |
thank u very much! |
I just spend about 6 hours bashing my head into the wall until I found this thread. I'm using a Waveshare ESP32-S3 Zero, which has a ESP32-S3FH4R2 on board. I added:
to my platform.ini and everything started working. Prior to that, got an access fault:
Hope this helps others. -Tom |
Device crashes at boot.
Open issue in Arduino repo espressif/arduino-esp32#9618 (comment)
and
Xinyuan-LilyGO/T-Dongle-S3#26
The text was updated successfully, but these errors were encountered: