Article for each platform RGB565 and RGB888 difference

AM335x platform used small partner should know, OK335xS LCD Interface development platform is RGB888 mode, and the LCD interface OK335xD development platform is RGB565 mode. If xS mirrored xD programmed into the platform, then LCD displays unusual color.

Why is this?

Is the correspondence between RGB565 and RGB888 is not a figure below that right?

Article for each platform RGB565 and RGB888 difference

To this end, I specifically looked at the AM335x the datasheet, find the following description:

Article for each platform RGB565 and RGB888 difference

As can be seen from the figure, although the upper patterns corresponding to RGB565 and RGB888 are LCD [15: 0], but R [7: 3] and B [7: 3] corresponding to the data bits is reversed LCD, xD and different xS development platform model, the two signals on the floor just do the exchange line, therefore, will lead xS xD mirror placed on the platform, abnormal color display.

Then other platforms RGB565 and RGB888 mode of correspondence between what is it?

please watch the following part.

First look i.MX6UL platform, the CPU can be found in the datasheet:

Article for each platform RGB565 and RGB888 difference

As can be seen from the figure, RGB565 mode using LCD_D [15: 0], RGB888 mode using LCD_D [23: 0]. OKMX6UL-C chassis uses RGB888 mode, if you want to reduce the number of traces, use RGB565 mode, be sure to clear correspondence between the LCD and the data bits of RGB, otherwise the video.

Next we look at i.MX6DL / i.MX6Q development platform, the CPU can be found in the datasheet:

Article for each platform RGB565 and RGB888 difference

Article for each platform RGB565 and RGB888 difference

Can be seen from the figure, there are three RGB565 mode configuration, the user can select the appropriate configuration according to the actual situation of the multiplexed pin.

Finally, we look at AM5718 platform, the CPU can be found in the datasheet:

Article for each platform RGB565 and RGB888 difference

Can be seen from the figure, the arrangement pattern AM5718 RGB565 RGB888 platform and platform iMX6UL modes and the like.

In summary, we combed the AM335x, the difference between part RGB565 and RGB888 mode i.MX6 and AM5718 series platform LCD display.

When we use the LCD display, we must understand the correspondence between the pin and the LCD RGB mode.

Guess you like

Origin blog.51cto.com/14771003/2485303