elric63 french wrote:
I have solved my problem!
In fact it's was a bad init on the Horizontal Adress Range (AP) Register it must initialized with the value of 0x50 and not 0x40.
I have same problem with grayscale in LCD BG320240BFPHH and change AP from 0x40 to 0x50, but screen becomes horizontally and vertically divided. How to resolve this?
My init code:
lcd_wr_cmnd(SYSTEM_SET);
delay_us(30);
lcd_wr_data(0x30);
lcd_wr_data(0x87);
lcd_wr_data(0x07);
lcd_wr_data(79);
lcd_wr_data(81);
lcd_wr_data(LCD_Y_SIZE - 1);
lcd_wr_data(0x50);
lcd_wr_data(0x00);