TouchGFX has framebuffer w 16 bit depth but uses 18 pins for RGB on STM32F429-DISCO?
I could use some clarification about how TouchGFX sets up the the RGB interface/color depth for this board.
In BoardConfiguration.cpp, the frame buffer is set up for 16 bit color depth by default and is forced when using the single frame buffer (I am using the SINGLE_FRAME_BUFFER_INTERNAL option and have removed the external SDRAM chip).
In LCD_LayerDefaultInit(), Layercfg.PixelFormat is set to LTDC_PIXEL_FORMAT_RGB565 if using 16bpp and LTDC_PIXEL_FORMAT_RGB888 if using 24bpp.
However, the RGB interface is wired such that R2-7,G2-7, and B2-7 are used for a total of 18 bits (RGB666). I want to use the Displaytech DT018ATFT display (datasheet: https://www.mouser.com/datasheet/2/116/DT018ATFT-v10-221368.pdf) , which supports both the 16 and 18 bit RGB interface. How are the RGB channels handled in 16 bit color mode and are there any special changes that should be considered for initializing the new display?
