Add LVGL QSPI LCD with RAM example and SH8601 driver
Introduced the 05_LVGL_WITH_RAM example project for ESP32 targets, including support for QSPI LCD panels (SPD1020, GC9B71, SH8601) and touch controllers. Added SH8601 LCD driver component, related documentation, initialization code, and test applications. Updated .gitignore to allow tracking of the new example directory.
This commit is contained in:
@@ -485,7 +485,8 @@ void app_main(void) {
|
||||
|
||||
esp_lcd_panel_io_spi_config_t io_config = SH8601_PANEL_IO_QSPI_CONFIG(
|
||||
PIN_NUM_LCD_CS, notify_lvgl_flush_ready, &disp_drv);
|
||||
io_config.pclk_hz = 80 * 1000 * 1000; /* Boost to 80MHz for 60FPS */
|
||||
io_config.pclk_hz =
|
||||
40 * 1000 * 1000; /* Reduced to 40MHz for stability (matching demo) */
|
||||
|
||||
ESP_ERROR_CHECK(esp_lcd_new_panel_io_spi((esp_lcd_spi_bus_handle_t)LCD_HOST,
|
||||
&io_config, &lcd_io));
|
||||
@@ -502,10 +503,15 @@ void app_main(void) {
|
||||
.bits_per_pixel = LCD_BIT_PER_PIXEL,
|
||||
.vendor_config = &vendor_config,
|
||||
};
|
||||
ESP_LOGI(TAG, "Install SH8601 panel driver");
|
||||
ESP_ERROR_CHECK(esp_lcd_new_panel_sh8601(lcd_io, &panel_config, &lcd_panel));
|
||||
ESP_LOGI(TAG, "Resetting panel");
|
||||
ESP_ERROR_CHECK(esp_lcd_panel_reset(lcd_panel));
|
||||
ESP_LOGI(TAG, "Initializing panel");
|
||||
ESP_ERROR_CHECK(esp_lcd_panel_init(lcd_panel));
|
||||
ESP_LOGI(TAG, "Turning panel ON");
|
||||
ESP_ERROR_CHECK(esp_lcd_panel_disp_on_off(lcd_panel, true));
|
||||
ESP_LOGI(TAG, "Panel init complete");
|
||||
|
||||
/* Touch Driver Setup (FT5x06) */
|
||||
#if USE_TOUCH
|
||||
|
||||
Reference in New Issue
Block a user