What could cause TouchGFX incorrect colors in display and incorrect colors in SDRAM frame buffer values?
- February 21, 2022
- 6 replies
- 4591 views
I am currently trying to display color properly on an RGB panel with parallel interface. However, colors are not displaying properly and I currently do not know what else to troubleshoot. I am using STM32F769I eval board connected to the RGB panel.
I have initialized the 8MB SDRAM where I am allocating one single frame buffer 800x480*3 forTouchGFX. I have verified that I am able to read and write correctly to the SDRAM.
However, when I set:
- LTCD/Display Type to RGB888
- Frame buffers to RGB888
White vertical lines appear on the panel and the SDRAM memory seems to have incorreclty placed 0xFF values.
If I change the configuration to:
- LTCD/Display Type to RGB565
- Frame buffers to RGB565
The result is that the LTCD panel has no noise but colors are incorrect. The SDRAM memory correctly stores the frame buffer colors but the color displayed is not correct. In touchGFX I define a grey color with values 0xAAAAAA which is correctly translated into RGB565 0x55AD but is displayed as purple (green component seems incorrect).
Changing the LTCD/Display Type to RGB888 but leaving frame buffers as RGB565 has the same effect as using LTCD/Display Type RGB565.
Here are the results of the test setups explained:
Target image result
RGB888
RGB565
Any guidance regarding possible causes will be greatly appreciated.