一、友坚UT_LCD43E
static struct s3cfb_lcd xxxxx= {
.width = 480,
.height = 272,
.bpp = 32,
.freq = 60,
.timing = {
.h_fp = 2,
.h_bp = 2,
.h_sw = 41,
.v_fp = 2,
.v_bp = 2,
.v_sw = 10,
.v_fpe = 1, //no data,1
.v_bpe = 1,
},
.polarity = {
.rise_vclk = 0,
.inv_hsync = 1,
.inv_vsync = 1,
.inv_vden = 0,
},
};
二、这款lcd用的IC型号是HX8238,参数如下:
static struct s3cfb_lcd xxxwv = {
.width = 320,
.height = 240,
.bpp = 16,
.freq = 60,
.timing = {
.h_fp = 20, // Horizontal front porch
.h_bp = 68, // Horizontal back porch
.h_sw = 33, // Horizontal pulse width
.v_fp = 4, // Vertical front porch
.v_bp = 18, // Vertical back porch
.v_sw = 1, //
.v_fpe = 1, //no data,1
.v_bpe = 1,
},
.polarity = {
.rise_vclk = 0,
.inv_hsync = 0, // 1
.inv_vsync = 0, // 1
.inv_vden = 1, // must be 1, or lcd is not display
},
};
我在210的板子上测试过,都是好的