This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352 24-bit mode LCD

Hi,

In the AM335x silicon errata (http://www.ti.com/lit/er/sprz360f/sprz360f.pdf), the 16 bit mode LCD is RGB and in 24 bit mode the LCD is BGR. Is it correct ?

I adapted board-am335xevm.c to support my new screen (I'm using beaglebone black with custom CAPE) and the red and blue colors are swapped.

Here's what I added in the board specific file:

static const struct display_panel disp_panel = {
WVGA,
24,
24,
COLOR_ACTIVE,
};

static struct lcd_ctrl_config lcd_cape_cfg = {
&disp_panel,
.ac_bias = 255,
.ac_bias_intrpt = 0,
.dma_burst_sz = 16,
.bpp = 24,
.fdd = 0x80,
.tft_alt_mode = 1,
.stn_565_mode = 0,
.mono_8bit_mode = 0,
.invert_line_clock = 1,
.invert_frm_clock = 1,
.sync_edge = 0,
.sync_ctrl = 0,
.raster_order = 0,
};

Our custom CAPE is routed as stated in the errata..

Am I missing something ?

Thank you !

Best regards,