This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

320x240 Parallel RGB

Dear DaVinci Developer,

I want to use 320x240 TFT with my DM355,  Now we are using 800x480 TFT on our product. My old collegue have made some changes on "dm355fb.c" , "dm355fb_dlcd.c" , "davincifb.c" files on kernel , so he could use that kernel with 800x480 paralel RGB. As far as I understood from code is that, he has changed some parameters and definition from "720" to "800".

Now , I dont know how can I use that 320x240 tft to drive.

Is it a good way  changing all "800" to "320" and "480" to 240?

Are there any other parameters for changing ?

 

Best Regards

 

 

  • Adjusting the resolution as you suggest would be a good start however you will likely have tweak additional parameters to get the timing correct for the LCD to function properly, much of the timing information should come from the LCD manufacturer's documentation and will have to be programmed into various VENC registers. Though this document is old you may want to take a look at SPRAAN0, in particular appendix A.5 which contains descriptions of how the driver for a LCD connected to a DM6446 (which has the same VPBE/VENC hardware) was setup, you will likely have to customize the same values for your particular LCD.