I'm using a LCD with a ST7701S driver and it has an 18-bit RBG interface. To control it I am using a STM32H7 with the LTDC peripheral. I have been prototyping with the STM32H745-Disco which has a LCD with a 24-bit RGB interface. To my understanding the LTDC does not offer a pixel format that is 18 bits.
Can I still use ARGB8888 or RGB888 pixel format in the LTDC with the 18-bit interface? Will I want to connect the lower or upper 6 bits of each color channel to the LCD? For example, R0-R5 of the MCU to R0-R5 of the LCD or R2-R7 of the MCU to R0-R5 of the LCD? What would the effect be of doing either of these?