Other Parts Discussed in Thread: DA8XX
On a custom board i have a 240x320 pixel LCD module from Crystalfontz (CFAF240320A-032T). This module is equipped with a OTM3225A controller (should be compatible with the ILI9325 controller) that drives the panel.
I use SPI to initialize the module and set the configuration registers. This seems to work fine as I can write a test pattern via SPI and it shows up correctly. However the only purpose of the SPI interface (in my case) is to configure the module, not to transfer data to be displayed.
For this I use the RGB interface of the module (16bit mode). In 'da8xx-fb.c' I have added the following panel configuration to 'struct da8xx_panel':
/* Crystalfontz CFAF240320A-032T */
[4] = {
.name = "CFAF240320A-032T",
.width = 240,
.height = 320,
.hfp = 6,
.hbp = 6,
.hsw = 1,
.vfp = 6,
.vbp = 6,
.vsw = 1,
.pxl_clk = 5000000,
.invert_pxl_clk = 0,
},
After some more modifications (pinmux, call to 'am33xx_register_lcdc', etc) in ' board-am335xevm.c' I can see (using 'fbset') that the frame buffer device has been configured according to my modifications.
The problem is that I don't get the entire frame buffer to show up on the display. It seems that only parts of the frame buffer are displayed. I can change the timing parameters using 'fbset' and I see that things are changing but I do not manage to show the entire 240x320 frame buffer on the display. I believe there are some timing settings (front porch, back porch, etc.) on the driver chip that need to be changed, but I don't know how.
Has anybody else used CFAF240320A-032T module in RGB16 mode or the OTM3225A controller with the AM335x ? Where could I find additional information to get this working?
Many thanks and kind regards, Felix

