EmbeddedRelated.com
Forums

LPC2478-LCD resolution 1024x768

Started by micro_augustin April 8, 2009
Hello,
In this moment I work with 1024x127/13Mhz clock/60hz. I can increase the clock, LCD suport this (NL10276BC13-01C), but when I increase the vertical pixel size LCD controller signal from LPC are missing.
Thanks for help in this problem!
Augustin

An Engineer's Guide to the LPC2100 Series

Hi Augustin,

How many bpp do you use? RAM bus width?
I worry that you are too optimistic to get this microcontroller running with such resolution/frequency. LPC2478 can't give more than it can give.
I've tested with 800/480/24 bpp. I was necessary to reduce frequency to 12 MHz. Signal was presented, but synchronization lost.

Best regards
Vladimir
Hi Vladimir,
In 1024x127 work inclusive 24 bpp. I have two memory SDRAM 16Mb x 16bit, result 16Mb x 32 bit, procesor clock 72Mhz. I dont undertand why is present this resolution(1024x768) in user manual. I was satisfief if it work in 8 bpp, even 4 bpp.
All the best,
Augustin
Hi Augustin,

Let me compare:
Your: 1024 768 1(8bpp) = 786432
My: 800 x 480 x 2(16 bpp) = 768000

My system works with 24 MHz pixel, your should work too.
Unfortunatelly, (or fortunately!) I don't need such resolution.

Maybe something wrong in your 8bpp initialization?
1, 2, 4, or 8 bpp are palettized color

Regards
Vladimir
Hi,

I implemented a table color, so thi is not a problem. I think at 127 vertical pixel size. Whit 128 size the lcd signals are missing.
Vladimir, if you have time, I want to get initialisation step by step. The problem is in memory,AHB or LCD initialisation. Something escape me.
Regards,
Augustin
Hi, Augustin,

Yes, sequence of initialization inluences of result. I had discussion on some internet forum. My advice was to use Olimex 2478 starter kit example as reference, and it worked.
You may find this example in IAR Evaluation edition
\Program Files\IAR\ARM\examples\NXP\LPC24xx\IAR-LPC-2478\LDC_Demo\

Note: example is not for pallette mode.

Best regards
Vladimir
Hi Vladimir,
I use example from IAR-Olimex board for my LCD (via LVDS board). I will check again my initialisation.
Thanks!
All the best!
Augustin
Hi Vladimir,
Like a curiosity, I disconnected the flat cable of TFT mounted in the IAR-OLIMEX LPC2478-STK and I increase the horizontal pixel size (and the clock too). At 546 value work and at 547 value the signals is missing (and LCD-Demo bloked).
240 x 546 = 131040 LCD-Demo
127 x 1024 = 130048 My LCD

240 x 547 = 131280 *dont work LCD-Demo

I think that: 16kb x 8 = 131072. This value is set somewhere and she is overpass.

Regards,
Augustin
Hi Augustin,

Hm, magic value?

Your situation with missing signals looks strange.
I've met synchronization troubles with 24 bpp 800H 480V, picture is here : http://electronix.ru/forum/index.php?showtopicR192
but all signals were presented. It overpasses your magic value.
By the way, this is prototype of the final device:
http://electronix.ru/forum/index.php?showtopic`925

Best regards
Vladimir
Hi Vladimir,
I see the picture. Very good job!
The bad value still exist! I work to eliminate it!

Regards,
Augustin