I just followed the tutorial in Get Started With Round Display
From Step1 to Step5
And after I uploaded the “HardwareTest.ino” to my board
The serial Monitor showed this error, and the display didn’t show anything.
Error Message:
XIAO round screen - LVGL_Arduino
Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x42026816 PS : 0x00060830 A0 : 0x820268ec A1 : 0x3fcebe30
A2 : 0x00000010 A3 : 0x00000001 A4 : 0x60004000 A5 : 0x00000009
A6 : 0x000000ff A7 : 0x00000000 A8 : 0x08000000 A9 : 0x3fcebe00
A10 : 0x3fca3698 A11 : 0x00000001 A12 : 0x02625a00 A13 : 0xffffffff
A14 : 0x00000031 A15 : 0x00000000 SAR : 0x0000001c EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000010 LBEG : 0x4202cc18 LEND : 0x4202cc5f LCOUNT : 0x00000003
Backtrace: 0x42026813:0x3fcebe30 0x420268e9:0x3fcebe60 0x420268f4:0x3fcebe80 0x42001fcb:0x3fcebea0 0x42001fe7:0x3fcebec0 0x42002303:0x3fcebee0 0x4202d7da:0x3fcebf00 0x4037e0b6:0x3fcebf20
ELF file SHA256: 8d26448727f8f7da
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x28 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403791c6
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x508
load:0x403c9700,len:0x4
load:0x403c9704,len:0xad0
load:0x403cc700,len:0x29e4
entry 0x403c9880
Here’s the code:
#include <lvgl.h>
// uncomment a library for display driver
#define USE_TFT_ESPI_LIBRARY
// #define USE_ARDUINO_GFX_LIBRARY
#include "lv_xiao_round_screen.h"
#include "lv_hardware_test.h"
void setup()
{
Serial.begin( 115200 ); //prepare for possible serial debug
Serial.println( "XIAO round screen - LVGL_Arduino" );
lv_init();
lv_xiao_disp_init();
lv_xiao_touch_init();
lv_hardware_test();
}
void loop()
{
lv_timer_handler(); //let the GUI do its work
delay( 5 );
}
Thank you!