Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Flickering display: only one of two buffers gets filled.: (4 Items)
   
Flickering display: only one of two buffers gets filled.  
Hello,

I have a 4D Systems LCD Panel (4dcape-43) connected to a beaglebone black running qnx.
I'm using the devg-omaplxx driver contained in the BSP (bsp-nto650-ti-beaglebone-sp1-trunk-201209071340).

A logic analyser connected to the lcd interface shows that every valid frame is followed by an empty one. Therefore the 
display is flickering.

I suppose Photon is only filling one buffer. The Datasheet for my TI am335 processor shows that the lcd controller reads
 from two alternating buffers using DMA.
Please reply if you have any idea concerning this error.

Regards,

Florian

Please don't hesitate to ask if you need further information.

-----
/etc/system/config/display.conf:

device {
noautoshutdown=1
drivername=omapl1xx
vid=0
did=0
deviceindex=0
modeopts=/etc/system/config/omapl1xx_4DCAPE_43.conf
display {
xres=480
yres=272
refresh=60
pixel_format=rgb565
}
Attachment: Text omapl1xx_4DCAPE_43.conf 2.33 KB
Re: Flickering display: only one of two buffers gets filled.  
Hi, Florian!

> I suppose Photon is only filling one buffer

As far as I can see the driver should always configure both frame buffers with the same address.

> Therefore the  display is flickering.

I suppose this is a driver problem.

Regards,
Andrey
Re: Flickering display: only one of two buffers gets filled.  
Thank you for your reply,

it was indeed a driver problem.
I found that one of my parameters in the LCD configuration file was wrong.

Those settings do work with the 4DCAPE-43 (T):

# devg-omapl1xx.so parameters for tailoring to specific boards and display modes:
hsw=41,hfp=8,hbp=47,vsw=10,vfp=3,vbp=9,lpp=298,syncc=1,synce=0,ivs=1,ihs=1,ipc=0,bias=0,acb=0,acbi=0,pcd=22,type=1,lcdx=
480,lcdy=272,irq=36,refresh=60,display=lcd



Good luck for anyone using this display,

Florian
photon on beaglebone black  
Hi Florian,
I know its an old post but hoping you can remember...

was there anything else you had todo to get the 4dcape working?
Mine just shows a white screen, I have used you configuration files with no luck...