ESP32-S3 LCD

PoolkerLoïc
Posts: 1
Joined: Wed Feb 08, 2023 12:48 pm

ESP32-S3 LCD

Postby PoolkerLoïc » Wed Feb 08, 2023 1:23 pm

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

ESP_morris
Posts: 289
Joined: Wed Sep 05, 2018 6:23 am

Re: ESP32-S3 LCD

Postby ESP_morris » Thu Feb 09, 2023 2:01 am

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.

Who is online

Users browsing this forum: MicroController and 80 guests