I am working on the emWin GUI lib. My mcu is lpc1837, my lcd driver chip is ssd2119, the screen size is 320*240, the lcd interface is a 8088 8-bits bus. So I use the GUIDRV_FLEXCOLOR_F66714 driver. The emWin lib version is V5.36.
this is the bus/cache configuration function.
GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66714, GUIDRV_FLEXCOLOR_M16C0B8);
When the GUI is initialized, I traced the bus write call back functions. I found the following registers are written by the GUI lib.
REG11H<- 0x0030 //this is not good
I have written the register 0x0011 with a value 0x6270 in the _InitController function. The gui lib will write it again. According to the SSD2119 datasheet, 0x0030 is not a good value for this register. It makes the LCD screen not work normally.
This is a bug in the emwin lib? or it is my configuration error?