cancel
Showing results for 
Search instead for 
Did you mean: 

LTDC color issue

SSchw.7
Associate

Hi,

I am faced with some color issues on a custom board (STM32H7A3). A 800x480 24 bit LCD is connected and the LTDC pixel format is RGB888. For testing is set the background color within LTDC initialisation to:

 hltdc.Init.Backcolor.Blue = 128;

 hltdc.Init.Backcolor.Green = 128;

 hltdc.Init.Backcolor.Red = 128;

i would expect grey but the screen shows light green

0693W00000QKwntQAD.jpgattached the ltdc code

any suggestion what could be wrong?

best regards

Sebastian

2 REPLIES 2
MM..1
Chief III

Seems you mix or misconnect R7 G7 B7 or more. If your LCD is MIPI DSI then other ...

For RGB LCD try 127 then 63 etc. for grey test.

SSchw.7
Associate

Thank you for your fast response.

The interface is parallel RGB. I think you are right, some lines must be misconnected or mixed. I tried 127 and 63. I got light purple and purple. I orderd an adapter to test the data lines. I will post the result as soon as the adapter arrives.

Sebastian