Skip to main content
RShan
Associate
April 15, 2019
Question

LTDC Color Order

  • April 15, 2019
  • 2 replies
  • 845 views

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
April 15, 2019

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
April 17, 2019

Thanks for the tip Vangelis !