S3C6410的默认时序图:
HSD050IDW1-A的时序图:
Mini6410的驱动方式:
- static struct s3cfb_lcd hvga_h50 = {
- .width = ?,
- .height = ?,
- .p_width = ?,
- .p_height = ?,
- .bpp = ?,
- .freq = ?,
- .timing = {
- .h_fp = ?,
- .h_bp = ?,
- .h_sw = ?,
- .v_fp = ?,
- .v_fpe = ?,
- .v_bp = ?,
- .v_bpe = ?,
- .v_sw = ?,
- },
- .polarity = {
- .rise_vclk = ?,
- .inv_hsync = ?,
- .inv_vsync = ?,
- .inv_vden = ?,
- },
- };
将H50的时序图和默认的时序图对比可以确定:- .polarity = {
- .rise_vclk = 1,//上升沿 rising edge
- .inv_hsync = 1,//取反 inverted
- .inv_vsync = 1,//取反 inverted
- .inv_vden = 0, //正常 normal
- },
更新说明:
2012年9月14日15:05:14:
Real6410的配置:
- s3cfb_fimd.vidcon1 = /*S3C_VIDCON1_IHSYNC_INVERT | S3C_VIDCON1_IVSYNC_INVERT |*/ S3C_VIDCON1_IVDEN_NORMAL | S3C_VIDCON1_IVCLK_FALL_EDGE;
相当于:
- .polarity = {
- .rise_vclk = 0,//下降沿 fall edge
- .inv_hsync = 0,//normal
- .inv_vsync = 0,//normal
- .inv_vden = 0, //正常 normal
- },
2012年9月14日15:02:27:(不过有争议的是Real6410的本块屏的vclk用的是下降沿,有待验证!!)
==============================================================================================
根据上图可以确定:
- .width = 800,
- .height = 480,
- .p_width = 108,
- .p_height = 65,
根据上图可以确定:
- .freq = 33 //友善的该值有可能不完全按照数据手册
=======================================================================================================
timing可以这么确定:
得:
- .timing = {
- .h_fp = 40,//对应 行同步前肩
- .h_bp = 40,
//对应 行同步后肩
- .h_sw = 48,
//对应 行宽
- .v_fp = 13,
//对应 场同步前肩
- .v_fpe = ?,
- .v_bp = 29,
//对应 场同步后肩
- .v_bpe = ?,
- .v_sw = 3,
//对应 场宽
- },
阅读(243) | 评论(0) | 转发(0) |