Jump to content

STM32F767ZI + RA8875 Colors wrong


Dalomus

Recommended Posts

Hi all

I use a Nucleo-F767ZI board and a 4.3" touch display (ER-TFTM043-3) with RA8875 display controller (connected via SPI). So the initialization is working but the colors are wrong (black and red are yellow). Can anyone help me with this problem? Thanks in advance

Kind regards

Edited by Dalomus
Link to comment
Share on other sites

This is most likely a mismatch of the color formats.

Check the color format configuration of your GDISP driver (eg. /drivers/gdisp/RA8875/gdisp_lld_conf.h). It defaults to RGB565.
You have to ensure that the display controller on the other end is using the same color format as specified in the GDISP driver configuration.

Link to comment
Share on other sites

  • 3 weeks later...

If both black and red are turning out yellow then the problem is more likely in the controller initialization sequence for your panel.

If you have any code that can initialize the panel copy that into the gdisp driver and see if that solves your problem. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...