Page 1 of 1

ESP32-S3 LCD

Posted: Wed Feb 08, 2023 1:23 pm
by PoolkerLoïc
Hello,

I'm working on the ESP32-S3 to integrate an I80 LCD 8-bit parallel panel.
The IC (an ILI9488) can support a write clock up to 25MHz.
When configuring the i80 bus interface, I can choose the clk_src, for ESP32-S3 it can be:
LCD_CLK_SRC_PLL160M
LCD_CLK_SRC_PLL240M
LCD_CLK_SRC_XTAL
but in lcd_i80_select_periph_clock (components/esp_lcd/src/esp_lcd_panel_io_i80.c) the LCD_CLK_SRC_PLL240M case is missing.
With PLL160MHz I can configure the pclk_hz up to 20MHz, but with PLL240MHz I could go up to 24MHz.
I tried adding the LCD_CLK_SRC_PLL240M case, and it works fine as lcd_ll_select_clk_src selects the correct clock source.

I wonder if there are any plans to add the LCD_CLK_SRC_PLL240M case in components/esp_lcd/src/esp_lcd_panel_io_i80.c?


Regards,

Loïc

Re: ESP32-S3 LCD

Posted: Thu Feb 09, 2023 2:01 am
by ESP_morris
Thanks for reporting this. We will fix it ASAP!

Edit: Fixed for the master branch: https://github.com/espressif/esp-idf/co ... 9060d2b68e

Will backport the fix to 5.0 release soon.