1. Hi,
2. We are using the TI Sitara AM37X Evaluation Module (EVM) Sitara from Mistral for developing a handheld device.The LCD in the kit has been replaced by a 24bit 4.3 inch NEC LCD(NL4827HC19-05B). The driver modifications are as follows:
1.The timing parameters were changed in the file lcd_vga.c
{ /*NEC_LCD_480H_272W */
DISPC_PIXELFORMAT_RGB16, //pixelFmt;
480, //width;
272, //height;
40, //hsw;
1, //hfp;
1, //hbp;
1, //vsw;
0, //vfp;
0, //vbp;
1, //logClkDiv;
9, //pixelClkDiv;
(11 << 0), //dss1ClkSel;
0, //loadMode;
(DISPC_POL_FREQ_IVS | DISPC_POL_FREQ_IHS | DISPC_POL_FREQ_ONOFF),//polFreq;
0x00000000, //lcdDefaultColor;
0x00000000, //lcdTransColor;
0x00000000, //tvDefaultColor;
0x00000000, //tvTransColor;
},
2. changed the output format from 18 to 24 bit
OUTREG32( &g_pDispRegs->DISPC_CONTROL,
DISPC_CONTROL_GPOUT1 |
DISPC_CONTROL_GPOUT0 |
DISPC_CONTROL_TFTDATALINES_24 |
// DISPC_CONTROL_TFTDATALINES_18 |
DISPC_CONTROL_STNTFT
);
3.changed the bitmask in file omap_ddge.cpp
case OMAP_DSS_PIXELFORMAT_RGB16:
*pAlphaBitMask = 0xff000000;
*pRBitMask = 0x00ff0000;
*pGBitMask = 0x0000ff00;
*pBBitMask = 0x000000ff;
bResult = TRUE;
break;
However after booting WinCE the display shows flicker. Any help or pointers to solve the issue is highly appreciated.
Thanks,
Jithendran
3. The data sheet of the LCD available in the following link. minidevs.googlecode.com/files/NEC-NL4827HC19.pdf