Hello :
I am using the follow way connect to my lcd with lvds signal .I use th 16bpp mode ,
LCDC_LD0 which is R0 and LCDC_LD12 is B0. They should not active at all.
It is strange that the blue color is not working fine. I using qt to test it
When I set the RGB color to blue most in qt that is (0,0,255) ,it is B1 to B5 are all 1.
The screen looks like crash,nothing is display on the creen,but when I set blue to lower,
the value is below (0,0.180) then it behave normal.
However,the RED and green behave normal.
The AA104SH02 lcd only use the OE signal of the cpu.
It seems that the blue have influence to OE signal of LCD.
I have look the THC63LVDM83D manual ,it should match the requirment of the LCD.
I test it in uboot and linux ,it behave the same.
Can any one have some idea?
another reason may be i.MX25 erratum "TLSbo95476 LCDC: LSCLK is missing",
that is:
LVDS requires a serialized stream where the RGB pixel data and LCD timing
are encapsulated. Using an external circuit which PLL base would be the PIXCLK,
the RGB data and timing could be serialized. This works for 12bpp and 16bpp but
unfortunately for 2bpp, 4bpp, 8bpp, 18bpp and 24bpp, LSCLK skips one cycle
every DE rising, every VSYNC rising and every VSYNC falling. These glitches do
not affect TFT panels because during this time all signals are ignored for the
TFT LCD panel but causes LVDS serialization to fail.
~igor
Hi igor:
I am using 16bpp mode,so it should no influence.
And I have changed the PIXCLK to CLKO .But problem still exist.
Hi wang
reason may be SCLK jitter, as i.MX25 was not designed for lvds
converters usage. One can try to use appropriate clock from
CKO pin, using MCR register.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Dear igor:
I have try the CLKO as the clock in of the LVDS converter ,i measure the CLKO on the scope the frequency is 40MHz,
some time it is jump to 39.85MHz .
The result is same ,the color is wrong.
I am sure that the route of the board is correct. No signal connection wrong on PCB ,and no cable is wrong.
Best regards
wangl
Dear igor:
The SCLK is LCDC_LSCLK of imx257 ,I measure on the scope it is 40MHz and it is stable.
I set the pcd to value 2,and set parent clk of lcdc_lsclk to upll which is 120MHz,so it is LCDC_LSCLK is 40MHz.