Compiled and downloaded the code to the cheap yellow display. The display did not display ‘Hello, world!’ Here are the messages from the serial monitor. It seems to get stuck at the lvgl library.
15:16:26.589 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
15:16:26.589 -> configsip: 0, SPIWP:0xee
15:16:26.589 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
15:16:26.589 -> mode:DIO, clock div:1
15:16:26.592 -> load:0x3fff0030,len:1448
15:16:26.592 -> load:0x40078000,len:14844
15:16:26.592 -> ho 0 tail 12 room 4
15:16:26.592 -> load:0x40080400,len:4
15:16:26.592 -> load:0x40080404,len:3356
15:16:26.592 -> entry 0x4008059c
15:16:26.803 -> LVGL Library Version: 9.1.0 I checked the Aliexpress site where I bought the display, it seems that this board requires the ST7789 driver, not the ILI9341. It is an ESP32-2432S028Rv3. I changed the lvgl_conf.h to use the ST7789 instead of ILI9341 and recompile. The result is the same. It gets stuck at lvgl.
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1448
load:0x40078000,len:14844
ho 0 tail 12 room 4
load:0x40080400,len:4
load:0x40080404,len:3356
entry 0x4008059c
LVGL Library Version: 9.1.0
5 Answers
I have that same part number, works fine for me.
I suggest you doublecheck the copying of the user_setup.h and lv_config files … the location is critical.
HelloWorld! shows on screen with the below on monitor output :
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1448
load:0x40078000,len:14844
ho 0 tail 12 room 4
load:0x40080400,len:4
load:0x40080404,len:3356
entry 0x4008059c
LVGL Library Version: 9.1.0