Clai Hernandez

m5329 LCD TFT screen

Discussion created by Clai Hernandez on Dec 15, 2008
Latest reply on Dec 24, 2008 by Don Wilson
Hi everyone,

I'm working with M5329EVB over Uclinux (linux-2-6-22-uc1) and latest version of LTIB. I get my TFT screen working and I also can execute the nanox examples. But it don't get a goot screen refresh and image quality it's not quite good.

I'm looking for increase my screen refresh rate but I haven't found it anywhere in linux/drivers/video/m532xfb.c it's any of the atttached options or I hace to modify some register else where?

Thanks.

static u32  fb_wait_params[][6]  = {
/* HWAIT1, HWIDTH, HWAIT2, VWAIT1, VWIDTH, VWAIT2  */
/* 640x480 */ {48,  14, 102, 32,  1, 35},
/* 800x600 */ {110, 59, 85,  42,  3, 24},
/* 240x320 */ {85,  10, 75,  32, 10, 10}
};

#if defined(CONFIG_LCD_640x480)
#define MODE_OPTION "640x480@60"
#define MODE_BPP 32
#define MODE_WIDTH 640
#define MODE_HEIGHT 480
#define MODE_VPW MODE_WIDTH
#define FB_WAIT_PARAMS(p) (fb_wait_params[0][(p)])
#define PIX_CLK_DIV 12
#define LCDC_LDCR_VALUE (MCF_LCDC_LDCR_TM(8) | MCF_LCDC_LDCR_HM(4))


Outcomes