屏幕背面没有驱动芯片的丝印信息:
右上角芯片的丝印信息如下,不象是驱动芯片:
从厂家官网搜索到的资料有限,百度也找不到更多的资料。我找到的仅有三个版本的资料:
最新的版本TLI范例中LCD有4个型号,我对应的是第2个V1.2:
从代码中我看不出驱动芯片的相关信息:
void lcd_power_on1(void)
{
lcd_command_write(0xC0); //power control1 command电源控制1命令/w/
lcd_data_write(0x0A); //P-Gamma level伽马水平//4.1875v
lcd_data_write(0x0A); //N-Gamma level
lcd_command_write(0xC1); //BT & VC Setting//power contrl2 command/w/
lcd_data_write(0x41);
lcd_data_write(0x07); //VCI1 = 2.5V
lcd_command_write(0xC2); //DC1.DC0 Setting//power control3 for normal mode
lcd_data_write(0x33);
lcd_command_write(0xC5); //VCOM control
lcd_data_write(0x00); //NV memory is not programmed NV存储器未编程
lcd_data_write(0x42); //VCM Setting
lcd_data_write(0x80); //VCM Register Enable
lcd_command_write(0xB0); //interface mode control //Polarity Setting 接口模式控制//极性设置
lcd_data_write(0x02);
lcd_command_write(0xB1); //frame rate control for normal mode 正常模式的帧速率控制
lcd_data_write(0xB0); //Frame Rate Setting//70 frame per second//no division for internal clocks 帧速率设置//每秒70帧//内部时钟无分割
lcd_data_write(0x11); //17 clocks per line period for idle mode at cpu interface CPU接口的空闲模式每行周期17个时钟
lcd_command_write(0xB4); //dispaly inversion control 显示反转控制
lcd_data_write(0x00); // disable Z-inversion , column inversion 禁用Z反转、列反转
lcd_command_write(0xB6); //display function control// RM.DM Setting 显示功能控制//RM。DM设置
lcd_data_write(0x70); //0xF0
lcd_data_write(0x02); //direction of gate scan: G1->G480 one by one, source scan: S1->S960, scan cycle if interval scan in non-display area
//门扫描方向:G1->G480逐个,源扫描:S1->S960,非显示区间隔扫描时扫描周期
lcd_data_write(0x3B); //number of lines to drive LCD: 8*(0x3C) = 480 驱动LCD的行数:8*(0x3C)=480
lcd_command_write(0xB7); //Entry Mode 进入模式
lcd_data_write(0x07); //disable low voltage detection, normal display 禁用低压检测,正常显示,
lcd_command_write(0xF0); //Enter ENG , must be set before gamma setting 输入ENG,必须在gamma设置之前设置
lcd_data_write(0x36);
lcd_data_write(0xA5);
lcd_data_write(0xD3);
lcd_command_write(0xE5); //Open gamma function , must be set before gamma setting打开伽马函数,必须在伽马设置之前设置
lcd_data_write(0x80);
lcd_command_write(0xE5); //Page 1
lcd_data_write(0x01);
lcd_command_write(0XB3); //WEMODE=0(Page 1) , pixels over window setting will be ignored.//frame rate control in partial mode/full colors
//WEMODE=0(第1页),窗口设置上方的像素将被忽略//部分模式/全色的帧速率控制
lcd_data_write(0x00);
lcd_command_write(0xE5); //Page 0
lcd_data_write(0x00);
lcd_command_write(0xF0); //Exit ENG , must be set before gamma setting 退出ENG,必须在gamma设置之前设置
lcd_data_write(0x36);
lcd_data_write(0xA5);
lcd_data_write(0x53);
lcd_command_write(0xE0); //Gamma setting
//y fine adjustment register for positive polarity y正极微调寄存器
lcd_data_write(0x00);
lcd_data_write(0x35);
lcd_data_write(0x33);
//y gradient adjustment register for positive polarity 正极性y梯度调整寄存器
lcd_data_write(0x00);
//y amplitude adjustment register for positive polarity 正极性的y振幅调整寄存器
lcd_data_write(0x00);
lcd_data_write(0x00);
//y fine adjustment register for negative polarity y负极性微调寄存器
lcd_data_write(0x00);
lcd_data_write(0x35);
lcd_data_write(0x33);
//y gradient adjustment register for negative polarity 负极性y梯度调整寄存器
lcd_data_write(0x00);
//y amplitude adjustment register for negative polarity 负极性的y振幅调整寄存器
lcd_data_write(0x00);
lcd_data_write(0x00);
lcd_command_write(0x36); //memory data access control 存储器数据访问控制
lcd_data_write(0x48);
lcd_command_write(0x3A); //interface pixel format setting 界面像素格式设置
lcd_data_write(0x55); //16-bits
lcd_command_write(0x11); //Exit sleep mode
lcd_command_write(0x29); //Display on
delay(10);
}
|