我的也是x35,现在也没配置好。用这个参数可以显示,但是显示不在正中央,字也很小
defined(CONFIG_FB_S3C2410_N240320)
#define LCD_WIDTH 240
#define LCD_HEIGHT 320
#define LCD_PIXCLOCK 100000
#define LCD_RIGHT_MARGIN 36
#define LCD_LEFT_MARGIN 19
#define LCD_HSYNC_LEN 5
#define LCD_UPPER_MARGIN 1
#define LCD_LOWER_MARGIN 5
#define LCD_VSYNC_LEN 1
另外我看了 ACX502BMU 数据手册,感觉水平同步要设为 32 垂直同步为16 上下左右都为0,但是经试验下不行。这几天我搜索了好多,但大家给的参数都不怎么相同。
#define LCD_RIGHT_MARGIN 25
#define LCD_LEFT_MARGIN 0
#define LCD_HSYNC_LEN 4
#define LCD_UPPER_MARGIN 0
#define LCD_LOWER_MARGIN 4
#define LCD_VSYNC_LEN 9
这个最多,但在我的板子上不行,你修改下试试。还有
#define LCD_RIGHT_MARGIN 8
#define LCD_LEFT_MARGIN 20
#define LCD_HSYNC_LEN 4
#define LCD_UPPER_MARGIN 8
#define LCD_LOWER_MARGIN 9
#define LCD_VSYNC_LEN 1
还有
{ /* mini2440 + 3,5" TFT + touchscreen -- SONY X35 */
+ _LCD_DECLARE(
+ 7,
+ 240, 1, 26, 5, /* x timing */
+ 320, 1, 5, 9, /* y timing */
+ 60), /* refresh rate */
+ .lcdcon5 = (S3C2410_LCDCON5_FRM565 |
+ S3C2410_LCDCON5_INVVDEN |
+ S3C2410_LCDCON5_INVVFRAME |
+ S3C2410_LCDCON5_INVVLINE |
+ S3C2410_LCDCON5_INVVCLK |
+ S3C2410_LCDCON5_HWSWP),
+ }
你都试试,反正在我的板子上不行。不知道怎么搞到。good luck!若是解决请告知:xuran141@qq.com
|