Skip to main content
RShan
Associate
Question

LTDC Color Order

I'm trying to find a way to change the color order of the LTDC for RGB565. It apears that the link between the memory and the LTDC pins is fixed. I would like to output in order BGR instead of RGB. Nothing stand out in the reference manual (STM32F468) to me. Any ideas or pointers?

Kind Regards,

Rob

This topic has been closed for replies.

2 replies

Vangelis Fortounas
Associate II

Hi

The color order manipulated by the higher layer drivers.

In case you use STEmWin, the default conf is BGR

by defining this #define GUI_USE_ARGB (1) inside GUIConf.h can change the mode to RGB

RShan
RShanAuthor
Associate

Thanks for the tip Vangelis !