2022-07-12 06:36 AM
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
attached the ltdc code
any suggestion what could be wrong?
best regards
Sebastian
2022-07-12 07:07 AM
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.
2022-07-12 07:45 AM
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