Hello:
I'm working with F-51320GNB-LW-AB, LCD Module, but I can't do it work.
I have a specific question:
In the initialization (RESET LOW-10ms- and then RESET HIGH-1ms-), just before "the function setup by command input", I obtain V5=2,19;V4=2,22;V3=1,84;V2=1,8;V1=2,05. But the default state is LCD bias set to 1/9(The circuit is OK, I reviewed almost ten times).
This is normal?
The V1,V2....never change to negative, even after the inicialization(with the power control setting).
I'm work to 4MHz, 3x step_up voltage circuit, power control internal, handling the signals A0,RD,WR,CS1,RES
The program is:
I'm working with F-51320GNB-LW-AB, LCD Module, but I can't do it work.
I have a specific question:
In the initialization (RESET LOW-10ms- and then RESET HIGH-1ms-), just before "the function setup by command input", I obtain V5=2,19;V4=2,22;V3=1,84;V2=1,8;V1=2,05. But the default state is LCD bias set to 1/9(The circuit is OK, I reviewed almost ten times).
This is normal?
The V1,V2....never change to negative, even after the inicialization(with the power control setting).
I'm work to 4MHz, 3x step_up voltage circuit, power control internal, handling the signals A0,RD,WR,CS1,RES
The program is:
Code:
----------------------------------------------------------------------
void Inic_Display(void)
{
output_low (COMANDO_RES);
delay_ms(15);
output_high (COMANDO_RES);
delay_ms(3);
output_low (COMANDO_CS1);
output_high (COMANDO_RD);
Write_Display(CMD,RESET_DISPLAY); //0xE2
Write_Display(CMD,LCD_BIAS_1_9); //0xA2
Write_Display(CMD,ADC_SELECT_NORMAL); //0xA0
Write_Display(CMD,COMMON_OUTPUT_NORMAL); //0xC0
Write_Display(CMD,V5_RESISTOR_RATIO); //0x26
Write_Display(CMD,ELECTRONIC_VOLUME_SET); //0x81
Write_Display(CMD,ELECTRONIC_VOLUME_INIT); //0x20
Write_Display(CMD,(POWER_CONTROL_SET |
VOLTAGE_REGULATOR |
VOLTAGE_FOLLOWER |
BOOSTER_CIRCUIT)); //2F
Write_Display(CMD,DISPLAY_ON); //0xAF
delay_ms(3000);
}
----------------------------------------------------------------------
void Write_Display(int comando, int data)
{
if(comando == CMD) //=0x01
{
output_low (COMANDO_A0); //Comando
}
else
{
output_high (COMANDO_A0); //Dato
}
output_low (COMANDO_WR);
DATOS = data;
delay_us(1);
output_high (COMANDO_WR);
delay_us(1);
}
----------------------------------------------------------------------
void PRUEBA(void)
{
Write_Display(CMD,START_LINE_SET+0x1F); //40~7F
Write_Display(CMD,PAGE_ADDRESS_SET+0x03 ); //0xB0~0xB8
Write_Display(CMD,COLUMN_ADDRESS_HIGH+0x04); //0x10~0x18
Write_Display(CMD,COLUMN_ADDRESS_LOW); //00
Write_Display(DATO,0x8F);
Write_Display(CMD,DISPLAY_ON); //0xAF
delay_ms(1000);
}
----------------------------------------------------------------------
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.