You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem you have/What new integration you would like
Current RPI_DPI_RGB component only makes use of parallel RGB displays, but there's also support from the IDF itself of the so-called "serial RGB" displays. Such displays use a parallel bus, but they require to latch the colors in separate clocks, for instance, an 8 bit bus that will provide the RED pixel data (8 bits), then the GREEN pixel data (another 8 bits), and finally the BLUE pixel data (another 8 bits), consuming 3 clocks per pixel. This works transparently for the user, since this is taken into account inside the IDF. In order to use this feature, when configuring the panel, the esp_lcd_rgb_panel_config_t structure should contain its member data_width set to a lower number than the bits_per_pixel member. For instance, data_width set to 8, while bits_per_pixel set to 24 (i.e. RGB888). This would mean you don't need to specify the red/green/blue pins separately, just the N pins used in the data_width.
Please describe your use case for this integration and alternatives you've tried:
A lot of LCD modules use this, and it's already implemented in IDF, so it's trivial to make use of.
Additional context
I'm using a A035QN05 display which is a 320*240, "serial RGB", with the following initialization code:
As you can see, there's not much deviation from a standard true "parallel" RGB display, just less pins declared, and the different values in data_width and bits_per_pixel
The text was updated successfully, but these errors were encountered:
I figured that this would only apply when esp-idf v5.x is in use; this new parameter bits_per_pixel is not available on 4.x. For some reason, I can't make my ESP32S3 boot with esphome using 6.9.0 and idf 5.3.1; not sure why. I've tried a lot of things... In any case, I think it's beyond this point.
Describe the problem you have/What new integration you would like
Current RPI_DPI_RGB component only makes use of parallel RGB displays, but there's also support from the IDF itself of the so-called "serial RGB" displays. Such displays use a parallel bus, but they require to latch the colors in separate clocks, for instance, an 8 bit bus that will provide the RED pixel data (8 bits), then the GREEN pixel data (another 8 bits), and finally the BLUE pixel data (another 8 bits), consuming 3 clocks per pixel. This works transparently for the user, since this is taken into account inside the IDF. In order to use this feature, when configuring the panel, the
esp_lcd_rgb_panel_config_t
structure should contain its memberdata_width
set to a lower number than thebits_per_pixel
member. For instance,data_width
set to 8, whilebits_per_pixel
set to 24 (i.e. RGB888). This would mean you don't need to specify the red/green/blue pins separately, just the N pins used in thedata_width
.Please describe your use case for this integration and alternatives you've tried:
A lot of LCD modules use this, and it's already implemented in IDF, so it's trivial to make use of.
Additional context
I'm using a A035QN05 display which is a 320*240, "serial RGB", with the following initialization code:
As you can see, there's not much deviation from a standard true "parallel" RGB display, just less pins declared, and the different values in
data_width
andbits_per_pixel
The text was updated successfully, but these errors were encountered: