AnsweredAssumed Answered

ADV7125 with Imx6 is not working normally

Question asked by 호영 노 on Nov 21, 2017
Latest reply on Nov 21, 2017 by 호영 노

Hi everyone,
I connected imx6dual with ADV7125 for LCD.
But it is not working normally..

 

Below Schematic is my board.

 

 

Below Step is what I tried,

 

[1] I added u-boot command line to "mx6dl_mvt.h”like this :

video=mxcfb0 : dev=lcd, LCD-720P, if=RGB24, bpp=32

 

[2] I added “lcdif_modedb”(I named "LCD-720P”) to “mxc_lcdif.c” like this :

static struct fb_videomode lcdif_modedb[] = {
{
/* 800x480 @ 57 Hz , pixel clk @ 27MHz */
"CLAA-WVGA", 57, 800, 480, 37037, 40, 60, 10, 10, 20, 10,
FB_SYNC_CLK_LAT_FALL,
FB_VMODE_NONINTERLACED,
0,},
{
/* 800x480 @ 60 Hz , pixel clk @ 32MHz */
"SEIKO-WVGA", 60, 800, 480, 29850, 89, 164, 23, 10, 10, 10,
FB_SYNC_CLK_LAT_FALL,
FB_VMODE_NONINTERLACED,
0,},
{
/* 800x480 @ 60 Hz , pixel clk @ 32MHz */
"LCD-720P", 60, 640, 480, 39683, 45, 114, 33, 11, 1, 1,
FB_SYNC_CLK_LAT_FALL,
FB_VMODE_NONINTERLACED,
0,},
};
(※ I tested so many resolution, so I did not changed name of "LCD-720P" Please ignore it.)

I changed some resolution, but only size was changed and my problem was not solved.. 

Below my result picture was always same(except the size..) 

 

[3] I edited board-mx6q_mvt.c lie this :

static struct fsl_mxc_lcd_platform_data lcdif_data = {
.ipu_id = 0,
.disp_id = 0,
.default_ifmt = IPU_PIX_FMT_RGB24,
};


// At this time, I just testing for LCD..
static struct ipuv3_fb_platform_data mvt_fb_data[] = {
/*
{
.disp_dev = "ldb",
.interface_pix_fmt = IPU_PIX_FMT_RGB666,
.mode_str = "LDB-VGA",
.default_bpp = 32,
.int_clk = false,
.late_init = false,
},
*/
{
.disp_dev = "lcd",
.interface_pix_fmt = IPU_PIX_FMT_RGB24,
.mode_str = "LCD-720P",
.default_bpp = 32,
.int_clk = false,
},
};

 

 

These 3 Step makes launching the my LCD.
but It looks very strange.

I have 2 problem for this.

 

1) PCLK is unstable. (it shaked)

this is my fbset.

mode "640x480-60"
   # D: 25.200 MHz, H: 31.500 kHz, V: 59.999 Hz
   geometry 640 480 640 480 32
   timings 39683 45 114 33 11 1 1
   rgba 8/0,8/8,8/16,8/24
endmode

 

H and V is stable but D (pclk) go from 24MHz to 27MHz.

 


2) I.MX6's "RED" output signal is always no signal. And left, right border line is blurring.
I tried change the bpp and color format(this is meaningless... Because red output signal is always nothing.)

 

Below is Signal Data.

My 640*480 Image has same area of RGB.

And each RGB value are same as 255.

But Green ans Blue looks not same signal and Red is always output nothing. 

(it looks always using only DISP0_DAT0 ~ DISP0_DAT15 and DISP0_DAT16~DISP0_DAT23 is not activated or not using it.)

 

I tried anther color mode (RGB565, RGB666, YUV444... ) and it makes change the blue and green,

but always cannot see a red color and red's signal. 

Also I tried change the another same  board, but result was same.

So I think that it has no problem of connector or ADV7125 chip.

 

What can I do or trying?? 


Please Help me.

 

※ My kernel version is linux 3.0.35.. But I think that this is not affect this problem.. isn't it?

Outcomes