Description
Hi,
I'm using a Waveshare ESP32-S3-Touch-LCD-5 (B) with 1024x600 px.
Still struggling to get anything drawn on the display with the provided pio example.
I checked the boards/ESP-LCD.json, I think it should be compatible with this Display ?
In the Board_Supported.h File I changed the "use supported" to 1 and uncommented:
#define BOARD_WAVESHARE_ESP32_S3_Touch_LCD_5_B
(I also tried the Custom config from the Waveshare Wiki Example, Link see below).
With the provided platformio.ini I just receive:
*** missing SConscript file 'C:\Users\User\.platformio\packages\framework-arduinoespressif32\tools\platformio-build.py'
When I uncomment the platform_packages compilation is NOT possible, as the latest version of ESP32_IO_Expander has some major changes and therefore is not working.
So I tried:
lib_deps =
https://github.com/esp-arduino-libs/ESP32_Display_Panel.git#v0.1.4 ;multiple ones here, 0.2.1
https://github.com/esp-arduino-libs/ESP32_IO_Expander.git#v0.0.4 ;multiple ones here, till 0.1.0..
https://github.com/lvgl/lvgl.git#release/v8.3
With these versions, it can be compiled and flashed, but display stays black without anything drawn.
Also tried to get the lv demo widgets to get running, but no luck.
Logging states:
D (5049) ESP_Panel: Panel init start
D (5049) ESP_Panel: Use LCD
D (5049) ESP_Panel: Use RGB bus
D (5049) ESP_Panel: Create LCD bus
D (5050) ESP_Panel: Create LCD device
D (5053) ESP_Panel: Use touch
D (5056) ESP_Panel: Use I2C bus
D (5059) ESP_PanelHost: Add host I2C[0]
D (5062) ESP_Panel: Create touch bus
D (5066) ESP_Panel: Create touch device
D (5069) ESP_Panel: Use IO expander
D (5072) ESP_Panel: Initialize host
D (5076) ESP_PanelHost: Initialize host I2C[0]
D (5080) ESP_Panel: Panel init end
D (5083) ESP_Panel: Panel begin start
D (5086) ESP_Panel: Begin IO expander
D (5090) ESP_Panel: Begin LCD
D (5159) ST7262_CPP: LCD panel @0x3c060bd4 created
D (5160) ESP_PanelLcd: Begin start
D (5161) ESP_PanelLcd: Begin end
W (5161) ESP_PanelLcd: Display on/off function is disabled
D (5164) ESP_Panel: Begin touch
D (5167) ESP_PanelBus_I2C: Panel IO @0x3fca3378 created
D (5172) ESP_PanelTouch: Disable interruption
D (5176) GT911_CPP: Use default GT911 driver data(address: 0x5d)
I (5182) GT911: LCD touch panel create success, version: 1.1.1
W (5187) GT911: Unable to initialize the I2C address
I (5192) GT911: TouchPad_ID:0x39,0x31,0x31
I (5196) GT911: TouchPad_Config_Version:82
D (5200) ESP_Panel: Panel begin end
Initialize LVGL
D (5203) lvgl_port: Initialize LVGL display driver
D (5207) lvgl_port: Malloc memory for LVGL buffer
D (5212) lvgl_port: Buffer[0] address: 0x3fcb264c, size: 40960
D (5217) lvgl_port: Buffer[1] address: 0x3fcbc65c, size: 40960
D (5223) lvgl_port: Register display driver to LVGL
D (5229) lvgl_port: Update display rotation to 0
D (5232) lvgl_port: Current mirror x: 0, mirror y: 0, swap xy: 0
D (5238) lvgl_port: Initialize LVGL input driver
D (5242) lvgl_port: Register input driver to LVGL
D (5246) lvgl_port: Create mutex for LVGL
D (5250) lvgl_port: Create LVGL task
D (5253) lvgl_port: Starting LVGL task
Do you have any input / idea's?
Here's the Waveshare Wiki of the display https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-5
Thanks in advance!
======
Update:
When using
#define BOARD_WAVESHARE_ESP32_S3_Touch_LCD_5 (NOT the _B which would be mine display at hand)
at least the screen shows a white background with a black line..
Also in the provided example of Waveshare some display settings are different than in this library (for 1024x600, but unfortunately do not make any difference):
ESP_PANEL_LCD_RGB_HPW
..
ESP_PANEL_LCD_RGB_VFP