用2410驱动一个彩屏,群创的7寸屏-AT070TN83,800*480的。上电调试后彩屏只显示五颜六色的竖线, 参数修改了以后也丝毫没有变化,彻底头大了,不知道该怎么办了,希望液晶开发经验丰富的能指点一下。
rLCDCON1=(CLKVAL_TFT_800480<<8)|(MVAL_USED<<7)|(3<<5)|(12<<1)|0;
rLCDCON2=(VBPD_800480<<24)|(LINEVAL_TFT_800480<<14)|(VFPD_800480<<6)|(VSPW_800480); rLCDCON3=(HBPD_800480<<19)|(HOZVAL_TFT_800480<<8)|(HFPD_800480); rLCDCON4=(MVAL<<8)|(HSPW_800480); rLCDCON5=(1<<11)
#define MVAL (13) #define MVAL_USED (0)
#define CLKVAL_TFT_800480 (0) //VCLK=100m/(1*2)=50mHZ
#define HOZVAL_TFT_800480 (800-1) #define LINEVAL_TFT_800480 (480-1)
#define VBPD_800480 ((30-1)&0xff) #define VFPD_800480 ((14-1)&0xff) #define VSPW_800480 ((481-1) &0x3f) #define HBPD_800480 ((41-1)&0x7f) #define HFPD_800480 ((41-1)&0xff) #define HSPW_800480 ((801-1)&0xff)
希望能指点一下迷津,用过这个屏的能指出错误的地方,没用过这个屏的能介绍一下产生花屏的原因,小弟不胜感激!! |