Using the RGB LCD panel driver on esp32s3 for VGA output, PCLK pin is not required (IDFGH-10021) #11298
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Feature Request
Feature request for IDF
Is your feature request related to a problem?
Hello, I'm currently using the esp_lcd_panel_rgb driver to generate VGA output on an esp32s3. Everything works well except that currently the pclk output pin (pclk_gpio_num in esp_lcd_rgb_panel_t) is currently required to be set to >= 0, or esp_lcd_new_rgb_panel fails.
For VGA output, this pin is not required, so since this pin must be set, it's a GPIO pin that cannot be used for something else.
See https://github.com/bitfixer/esp32s3vga for how I am using the driver for VGA output.
Describe the solution you'd like.
Please make the pclk pin an optional parameter like the DE or DISP pins in the rgb lcd driver.
Here is a patched version of lcd_rgb_panel_configure_gpio which works for this purpose:
Describe alternatives you've considered.
Setting pclk to an unconnected GPIO pin does work, but means there is a GPIO pin taken up that cannot be used for something else.
Additional context.
No response
The text was updated successfully, but these errors were encountered: