cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32H750-DK + TouchGFX] How to Enable RGB888 (24-bit) Color Depth?

BTKottary27
Associate II

Hello,

I'm currently developing on the STM32H750-DK board using TouchGFX. By default, the TouchGFX Designer configures the display for RGB565 color depth, but I would like to use RGB888 (24-bit) color to achieve better image quality and color accuracy for my UI.

I tried modifying the LTDC and DMA2D initialization functions manually via STM32CubeIDE to set the appropriate pixel formats, but the result was a distorted or corrupted display output. It seems like just changing the pixel format in the LTDC config isn't enough.

Could someone please help me with the correct procedure to enable RGB888 on this board? Specifically, I'm looking for:

  1. Required changes in TouchGFX Designer or the generated code to support RGB888.

  2. Proper configuration of LTDC and DMA2D (e.g., pixel format, blending, buffer alignment).

  3. Any changes needed in the framebuffer settings or HAL display driver.

  4. If there’s an example project or reference implementation that demonstrates RGB888, that would be very helpful.

Thanks in advance for your support!

Best regards,
Brijesh

0 REPLIES 0