From your description (if i've interpreted it correctly) it sounds like an issue i've also encountered.
In my case, it was down to some of the CLDCD register settings that Sharp had specified for that particular LCD being incorrect. These are contained within the structure:-
/* Sharp LQ035 portrait mode ADTFT display parameters */
const structLCD_parameter structSharp_LQ035_LCD =
{
21, /* Horizontal back porch */
11, /* Horizontal front porch */
13, /* HSYNC pulse width */
240, /* Pixels per line */
3, /* Vertical back porch */
4, /* Vertical front porch */
9, /* VSYNC pulse width */ <------ Change this value here from 2 to 9
320, /* Lines per panel */
0, /* Do not invert output enable */
1, /* Invert panel clock */
1, /* Invert HSYNC */
0, /* Do not invert VSYNC */
0, /* AC bias frequency (not used) */
BBP8, /* Bits per pixel */
5213000, /* Optimal clock rate (Hz) */
ADTFT, /* LCD panel type */
0, /* Single panel display */
1, /* HRTFT CLS enable flag */
1, /* HRTFT SPS enable flag */
50, /* HRTFT LP to PS delay */ <------ Change this value here from 9 to 50
3, /* HRTFT polarity delay */
14, /* HRTFT LP delay */
34, /* HRTFT SPL delay */
100 /* HRTFT SPL to CLKS delay */ <------ Change this value here from 209 to 100
};
Hope this helps
Gary
|