|
关于SSD1289的LCD屏驱动,
小弟最近困扰在6226平台调试SSD1289的LCD驱动,根据厂商给的初始化代码,
发现屏是有显示了,但是不全下面有部分不能显示,而且显示的图像很模糊,好像有三组重影一样,请大侠帮忙,谢谢,在DMA传输的时候如何,确定传输的数据存储的空间?
初始化代码
SSD1289_SEND_CMD_DATA( 0x0028, 0x0006 );
delayms(100 );
SSD1289_SEND_CMD_DATA( 0x0000, 0x0001 );
delayms(100 );
SSD1289_SEND_CMD_DATA( 0x0001, 0x233f);
SSD1289_SEND_CMD_DATA( 0x0010, 0x0000 );
SSD1289_SEND_CMD_DATA( 0x0007,0x0033);
SSD1289_SEND_CMD_DATA( 0x0011,0x4830);
SSD1289_SEND_CMD_DATA( 0x0002,0x0600);
SSD1289_SEND_CMD_DATA( 0x0003,0x6262); //0x6262
SSD1289_SEND_CMD_DATA( 0x000B,0x5308);
SSD1289_SEND_CMD_DATA( 0x000C,0x0004);
SSD1289_SEND_CMD_DATA( 0x000F,0x0000);
SSD1289_SEND_CMD_DATA( 0x000D,0x000B);
SSD1289_SEND_CMD_DATA( 0x000E,0x3000);
SSD1289_SEND_CMD_DATA( 0x001E,0x00AE); //0x00ae
SSD1289_SEND_CMD_DATA( 0x0025,0x8000);
SSD1289_SEND_CMD_DATA( 0x0044,0xEF00);
SSD1289_SEND_CMD_DATA( 0x0045,0x0000);
SSD1289_SEND_CMD_DATA( 0x0046,0x013F);
delayms(100 );
SSD1289_PREPARE_SEND_DATA; |
|