ADV7125 with Imx6 is not working normally

cancel
Showing results for 
Search instead for 
Did you mean: 

ADV7125 with Imx6 is not working normally

493 Views
호영노
Contributor II

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

Below Schematic is my board.

pastedImage_4.png

 pastedImage_5.png

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.

pclk.png


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.)

result.PNG

Below is Signal Data.

rgbSignal.PNG

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?

Labels (4)
0 Kudos
2 Replies

172 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

   I have ever tested ADV7125 on I.MX6Q/D/DL/S platform, and android 4.2.2 OS. it worked fine. I checked your schematic of ADV7125, It seems there is some difference with mine.

    attachment is what I used, for you reference, if you have other question, please contact ADI FAE.

Have a nice day!

TIC Weidong Sun

0 Kudos

172 Views
호영노
Contributor II

Wigros Sun, 

Thanks for kindly reply. 

We already reviewed you mentioned reference..

But my problem is 

iMX6's DISP0_DAT16 ~DISP_DAT23 has no Signal.. (iMX6's Output of Red data is nothing.)

It looks like iMX6 send any data to ADV7125's R0~R7 pin.

So I think that I have to look for setting or code of iMX6. isn't it? 

If you think that some difference of schematic makes this problem,

Please let me know, what is difference..

※ Who is ADI FAE? How can I contact to him?

0 Kudos