AnsweredAssumed Answered

Colour conversion issue STM32f429 L8 8BPP Mode

Question asked by Andrew Stevenson on Aug 17, 2017
Latest reply on Aug 22, 2017 by horbach.markus

Hello all,

 

I'm using the STM32F429 Discovery Kit and running the LTDC in 8 BPP (L8) mode. I have STemWin and am displaying their colour bar sample. I have a problem with colour conversion where the colour bars appear correct in the WIn32 simulator but are incorrect on the discovery kit.

 

For the simulator I have in LCDConf.c:

#define COLOR_CONVERSION GUICC_888

#define DISPLAY_DRIVER GUIDRV_WIN32

 

On the discovery I have:

#define COLOR_CONVERSION_0 GUICC_323
#define DISPLAY_DRIVER_0 GUIDRV_LIN_8

 

In both cases I am using the default palette.

 

Can anyone advise me which of the other many colour conversions would be the correct one to use on the discovery so that the colours match the simulator?

 

 

Thank you,

 

Regards,

Andrew.

Outcomes