Sign in

Not a member? | Forgot your Password?

Search lpc2000

Search tips

Subscribe to lpc2000

Free PDF Downloads

An Engineer's Guide to the LPC2100 Series

Advanced Linux Programming

What Every Programmer Should Know About Memory

Introduction to Embedded Systems

C++ Tutorial

Embedded Systems - Theory and Design Methodology

Microcontroller Programming and Interfacing

Introduction to Microcontrollers


More Free PDF Downloads

Discussion Groups

See Also

ElectronicsDSPFPGA

Find us on Facebook





Discussion Groups | LPC2000 | VGA frame generator

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

VGA frame generator - The G Man - Feb 7 13:43:10 2010

Hello,

Is there an LCD to VGA ready-made circuits out there? (basically FPGA+RAM)

I was able to generate VGA 640x480 timing using an LPC2478. This greatly slowed down the system, due to the high load on SDRAM.
Now, to go to higher resolutions, it is not much of an option on LPC2478. I have seen a VGA frame generator chip before that have built in frame buffer and then you can use LPC248 to clock 1024x768 at low frequency to the chip and then the chip will take care of generating the high speed XVGA timings. It found only one company but I was not able to get any communication back from them!

IS there someone that offers a circuit (FPGA/RAM) to take in the LCD signals at low clock rate (4Mhz maybe) and then this circuit will buffer the data on RAM then take the same data and generate the required timings?

My understanding is that this can be easily done using FPGA but I know thing about FPGA!

Gus



Re: VGA frame generator - The G Man - Feb 7 14:04:46 2010

This is the datasheet of the chip http://www.chrontel.com/pdf/7025_7026bs.pdf

If this was at digikey then I will be all set..lol

Gus

--- In l..., "The G Man" wrote:
>
> Hello,
>
> Is there an LCD to VGA ready-made circuits out there? (basically FPGA+RAM)
>
> I was able to generate VGA 640x480 timing using an LPC2478. This greatly slowed down the system, due to the high load on SDRAM.
> Now, to go to higher resolutions, it is not much of an option on LPC2478. I have seen a VGA frame generator chip before that have built in frame buffer and then you can use LPC248 to clock 1024x768 at low frequency to the chip and then the chip will take care of generating the high speed XVGA timings. It found only one company but I was not able to get any communication back from them!
>
> IS there someone that offers a circuit (FPGA/RAM) to take in the LCD signals at low clock rate (4Mhz maybe) and then this circuit will buffer the data on RAM then take the same data and generate the required timings?
>
> My understanding is that this can be easily done using FPGA but I know thing about FPGA!
>
> Gus
>


_____________________________
 Free pdf download: An Engineer's Guide to the LPC2100 Series.


Re: VGA frame generator - Paul Curtis - Feb 7 14:23:08 2010

Hi,

> Is there an LCD to VGA ready-made circuits out there? (basically
> FPGA+RAM)
>
> I was able to generate VGA 640x480 timing using an LPC2478. This greatly
> slowed down the system, due to the high load on SDRAM.
> Now, to go to higher resolutions, it is not much of an option on
> LPC2478. I have seen a VGA frame generator chip before that have built
> in frame buffer and then you can use LPC248 to clock 1024x768 at low
> frequency to the chip and then the chip will take care of generating the
> high speed XVGA timings. It found only one company but I was not able to
> get any communication back from them!
>
> IS there someone that offers a circuit (FPGA/RAM) to take in the LCD
> signals at low clock rate (4Mhz maybe) and then this circuit will buffer
> the data on RAM then take the same data and generate the required
> timings?
>
> My understanding is that this can be easily done using FPGA but I know
> thing about FPGA!

Why not use an OMAP or iMX51, these support HDMI... It's a step up, I
would grant you. ;-)

-- Paul.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks V2 is out for LPC1700, LPC3100, LPC3200, SAM9, and more!


Re: VGA frame generator - Tim Mitchell - Feb 8 4:58:03 2010

----Original Message----
From: l...
[mailto:l...] On Behalf Of The G Man
Sent: 07 February 2010 18:43 To: l...
Subject: [lpc2000] VGA frame generator

> Hello,
>
> Is there an LCD to VGA ready-made circuits out there?
> (basically FPGA+RAM)
>
> I was able to generate VGA 640x480 timing using an
> LPC2478. This greatly slowed down the system, due to the
> high load on SDRAM.
> Now, to go to higher resolutions, it is not much of an
> option on LPC2478. I have seen a VGA frame generator chip
> before that have built in frame buffer and then you can
> use LPC248 to clock 1024x768 at low frequency to the chip
> and then the chip will take care of generating the high
> speed XVGA timings. It found only one company but I was
> not able to get any communication back from them!
>
> IS there someone that offers a circuit (FPGA/RAM) to take
> in the LCD signals at low clock rate (4Mhz maybe) and
> then this circuit will buffer the data on RAM then take
> the same data and generate the required timings?
>
> My understanding is that this can be easily done using
> FPGA but I know thing about FPGA!

LPC2478 can do 1024x768, it should not "greatly slow down the system" as
it's all hardware ... Herbert Demmel on this list has done it.
Solomon do a wide range of standalone LCD controller chips if you want
something standalone but then you have an added problem of transferring
the graphics data into the controller chip. At least on the LPC2478 the
graphics buffer is part of the system ram.

You don't say what you are trying to display on the LCD?

--
Tim Mitchell



Re: VGA frame generator - Mike Harrison - Feb 8 5:32:55 2010

On Mon, 8 Feb 2010 09:52:53 -0000, you wrote:

>----Original Message----
>From: l...
>[mailto:l...] On Behalf Of The G Man
>Sent: 07 February 2010 18:43 To: l...
>Subject: [lpc2000] VGA frame generator
>
>> Hello,
>>
>> Is there an LCD to VGA ready-made circuits out there?
>> (basically FPGA+RAM)
>>
>> I was able to generate VGA 640x480 timing using an
>> LPC2478. This greatly slowed down the system, due to the
>> high load on SDRAM.
>> Now, to go to higher resolutions, it is not much of an
>> option on LPC2478. I have seen a VGA frame generator chip
>> before that have built in frame buffer and then you can
>> use LPC248 to clock 1024x768 at low frequency to the chip
>> and then the chip will take care of generating the high
>> speed XVGA timings. It found only one company but I was
>> not able to get any communication back from them!
>>
>> IS there someone that offers a circuit (FPGA/RAM) to take
>> in the LCD signals at low clock rate (4Mhz maybe) and
>> then this circuit will buffer the data on RAM then take
>> the same data and generate the required timings?
>>
>> My understanding is that this can be easily done using
>> FPGA but I know thing about FPGA!
>
>LPC2478 can do 1024x768, it should not "greatly slow down the system" as
>it's all hardware ...

But the SDRAM bus is shared with LCD access, so a high bandwidth LCD load will slow down anything
that needs to use the SDRAM

_____________________________
 Free pdf download: An Engineer's Guide to the LPC2100 Series.


Re: VGA frame generator - Tim Mitchell - Feb 8 5:44:52 2010

----Original Message----
From: l...
[mailto:l...] On Behalf Of Mike Harrison
Sent: 08 February 2010 10:27 To: l...
Subject: Re: [lpc2000] VGA frame generator

> On Mon, 8 Feb 2010 09:52:53 -0000, you wrote:

> > LPC2478 can do 1024x768, it should not "greatly slow
> > down the system" as it's all hardware ...
>
> But the SDRAM bus is shared with LCD access, so a high
> bandwidth LCD load will slow down anything that needs to
> use the SDRAM

Yes, it does share the bus, but the SDRAM contention is only noticeable
if you copy large blocks using memcpy. In normal operation it doesn't
make much difference. This is why I wondered what he was going to be
doing with it, if you're shifting blocks of graphics around it can have
an impact.

--
Tim Mitchell



Re: VGA frame generator - grou...@demmel.com - Feb 8 9:52:36 2010

Tim Mitchell schrieb:
> ----Original Message----
> From: l...
> [mailto:l...] On Behalf Of The G Man
> Sent: 07 February 2010 18:43 To: l...
> Subject: [lpc2000] VGA frame generator
>
>
>> Hello,
>>
>> Is there an LCD to VGA ready-made circuits out there?
>> (basically FPGA+RAM)
>>
>> I was able to generate VGA 640x480 timing using an
>> LPC2478. This greatly slowed down the system, due to the
>> high load on SDRAM.
>> Now, to go to higher resolutions, it is not much of an
>> option on LPC2478. I have seen a VGA frame generator chip
>> before that have built in frame buffer and then you can
>> use LPC248 to clock 1024x768 at low frequency to the chip
>> and then the chip will take care of generating the high
>> speed XVGA timings. It found only one company but I was
>> not able to get any communication back from them!
>>
>> IS there someone that offers a circuit (FPGA/RAM) to take
>> in the LCD signals at low clock rate (4Mhz maybe) and
>> then this circuit will buffer the data on RAM then take
>> the same data and generate the required timings?
>>
>> My understanding is that this can be easily done using
>> FPGA but I know thing about FPGA!
>>
>
> LPC2478 can do 1024x768, it should not "greatly slow down the system" as
> it's all hardware ... Herbert Demmel on this list has done it.
>
I've done 1024 x 600 (not 768) and would like you to keep in mind, that
the frame refresh rate is only about a bit more than 30 fps, as the
maximum pixel refresh rate which can be done with the LPC2478 is 24 MHz
only (possibly 48 MHz with 32-bit SDRAM, I did not test it with 32 bits).

Most TFTs do support 60 Hz +/- 5 Hz frame refresh rate only, the one we
use luckily goes down to 25 Hz enabling us to realize this project. We
are using a 16-bit wide SDRAM causing a bandwidth usage of about 65% for
display refreshing (according to the bandwidth calculator available on
NXP's website), we are operating the TFT in 16 bit color mode.

As we run the complete program in the flash memory and have nearly all
variables and buffers in the internal SRAM, the performance of the whole
system is unbelievable good for a 72 MHz controller with a (dumb)
built-in display controller. The only drawback I can see is that we need
to go down to 4.5 MHz for the SD card interface to avoid flickering
during SD card reading / writing.

Hope that helps you to estimate "what can be done with a LPC2478".

Have a nice day
Herbert

_____________________________
 Free pdf download: An Engineer's Guide to the LPC2100 Series.


Re: VGA frame generator - mayotte_d - Feb 8 10:28:23 2010

There is this componenless vga project in the mbed project here:

http://mbed.org/projects/cookbook/

I have been waiting for the author to release the details but nothing yet.
--- In l..., groups@... wrote:
>
> Tim Mitchell schrieb:
> > ----Original Message----
> > From: l...
> > [mailto:l...] On Behalf Of The G Man
> > Sent: 07 February 2010 18:43 To: l...
> > Subject: [lpc2000] VGA frame generator
> >
> >
> >> Hello,
> >>
> >> Is there an LCD to VGA ready-made circuits out there?
> >> (basically FPGA+RAM)
> >>
> >> I was able to generate VGA 640x480 timing using an
> >> LPC2478. This greatly slowed down the system, due to the
> >> high load on SDRAM.
> >> Now, to go to higher resolutions, it is not much of an
> >> option on LPC2478. I have seen a VGA frame generator chip
> >> before that have built in frame buffer and then you can
> >> use LPC248 to clock 1024x768 at low frequency to the chip
> >> and then the chip will take care of generating the high
> >> speed XVGA timings. It found only one company but I was
> >> not able to get any communication back from them!
> >>
> >> IS there someone that offers a circuit (FPGA/RAM) to take
> >> in the LCD signals at low clock rate (4Mhz maybe) and
> >> then this circuit will buffer the data on RAM then take
> >> the same data and generate the required timings?
> >>
> >> My understanding is that this can be easily done using
> >> FPGA but I know thing about FPGA!
> >>
> >
> > LPC2478 can do 1024x768, it should not "greatly slow down the system" as
> > it's all hardware ... Herbert Demmel on this list has done it.
> >
> I've done 1024 x 600 (not 768) and would like you to keep in mind, that
> the frame refresh rate is only about a bit more than 30 fps, as the
> maximum pixel refresh rate which can be done with the LPC2478 is 24 MHz
> only (possibly 48 MHz with 32-bit SDRAM, I did not test it with 32 bits).
>
> Most TFTs do support 60 Hz +/- 5 Hz frame refresh rate only, the one we
> use luckily goes down to 25 Hz enabling us to realize this project. We
> are using a 16-bit wide SDRAM causing a bandwidth usage of about 65% for
> display refreshing (according to the bandwidth calculator available on
> NXP's website), we are operating the TFT in 16 bit color mode.
>
> As we run the complete program in the flash memory and have nearly all
> variables and buffers in the internal SRAM, the performance of the whole
> system is unbelievable good for a 72 MHz controller with a (dumb)
> built-in display controller. The only drawback I can see is that we need
> to go down to 4.5 MHz for the SD card interface to avoid flickering
> during SD card reading / writing.
>
> Hope that helps you to estimate "what can be done with a LPC2478".
>
> Have a nice day
> Herbert
>



Re: VGA frame generator - The G Man - Feb 9 10:28:44 2010

yes you can do 1024x768 on an LCD but *NOT* on a VGA monitor. You will need a clock of 60Mhz++!

Even whne I run it at 640x240 on a VGA monitor, I need 25Mhz which really slows down the system.... the problem is not in the resolution but in the high clock speed.

Gus

--- In l..., "Tim Mitchell" wrote:
>
> ----Original Message----
> From: l...
> [mailto:l...] On Behalf Of The G Man
> Sent: 07 February 2010 18:43 To: l...
> Subject: [lpc2000] VGA frame generator
>
> > Hello,
> >
> > Is there an LCD to VGA ready-made circuits out there?
> > (basically FPGA+RAM)
> >
> > I was able to generate VGA 640x480 timing using an
> > LPC2478. This greatly slowed down the system, due to the
> > high load on SDRAM.
> > Now, to go to higher resolutions, it is not much of an
> > option on LPC2478. I have seen a VGA frame generator chip
> > before that have built in frame buffer and then you can
> > use LPC248 to clock 1024x768 at low frequency to the chip
> > and then the chip will take care of generating the high
> > speed XVGA timings. It found only one company but I was
> > not able to get any communication back from them!
> >
> > IS there someone that offers a circuit (FPGA/RAM) to take
> > in the LCD signals at low clock rate (4Mhz maybe) and
> > then this circuit will buffer the data on RAM then take
> > the same data and generate the required timings?
> >
> > My understanding is that this can be easily done using
> > FPGA but I know thing about FPGA!
>
> LPC2478 can do 1024x768, it should not "greatly slow down the system" as
> it's all hardware ... Herbert Demmel on this list has done it.
> Solomon do a wide range of standalone LCD controller chips if you want
> something standalone but then you have an added problem of transferring
> the graphics data into the controller chip. At least on the LPC2478 the
> graphics buffer is part of the system ram.
>
> You don't say what you are trying to display on the LCD?
>
> --
> Tim Mitchell
>



Re: VGA frame generator - The G Man - Feb 9 10:32:48 2010

We have a large application that runs from internal flash+SDRAM and most variables are in SDRAM so yes using LCD is slowing down the system.

I have done a lot of experiments and know what LPC can/can't do. All I am looking for is a frame generator circuit that will take 1024x768 from LPC2478 at low clock rate, maybe 4Mhz and then the circuit will buffer the frame-buffer and send it to VGA monitor at standard clock rate (over 60Mhz)

There are already chips that do that but I only found one company, which is not responding!

Gus

--- In l..., "Tim Mitchell" wrote:
>
> ----Original Message----
> From: l...
> [mailto:l...] On Behalf Of Mike Harrison
> Sent: 08 February 2010 10:27 To: l...
> Subject: Re: [lpc2000] VGA frame generator
>
> > On Mon, 8 Feb 2010 09:52:53 -0000, you wrote:
>
> > > LPC2478 can do 1024x768, it should not "greatly slow
> > > down the system" as it's all hardware ...
> >
> > But the SDRAM bus is shared with LCD access, so a high
> > bandwidth LCD load will slow down anything that needs to
> > use the SDRAM
>
> Yes, it does share the bus, but the SDRAM contention is only noticeable
> if you copy large blocks using memcpy. In normal operation it doesn't
> make much difference. This is why I wondered what he was going to be
> doing with it, if you're shifting blocks of graphics around it can have
> an impact.
>
> --
> Tim Mitchell
>



Re: VGA frame generator - The G Man - Feb 9 10:33:10 2010

OMAP, nice! but will be an overkill for our application

Gus

--- In l..., "Paul Curtis" wrote:
>
> Hi,
>
> > Is there an LCD to VGA ready-made circuits out there? (basically
> > FPGA+RAM)
> >
> > I was able to generate VGA 640x480 timing using an LPC2478. This greatly
> > slowed down the system, due to the high load on SDRAM.
> > Now, to go to higher resolutions, it is not much of an option on
> > LPC2478. I have seen a VGA frame generator chip before that have built
> > in frame buffer and then you can use LPC248 to clock 1024x768 at low
> > frequency to the chip and then the chip will take care of generating the
> > high speed XVGA timings. It found only one company but I was not able to
> > get any communication back from them!
> >
> > IS there someone that offers a circuit (FPGA/RAM) to take in the LCD
> > signals at low clock rate (4Mhz maybe) and then this circuit will buffer
> > the data on RAM then take the same data and generate the required
> > timings?
> >
> > My understanding is that this can be easily done using FPGA but I know
> > thing about FPGA!
>
> Why not use an OMAP or iMX51, these support HDMI... It's a step up, I
> would grant you. ;-)
>
> -- Paul.
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks V2 is out for LPC1700, LPC3100, LPC3200, SAM9, and more!
>



Re: VGA frame generator - 42Bastian - Feb 9 10:53:21 2010

The G Man schrieb:

> OMAP, nice! but will be an overkill for our application

But if you care for reducing number of chips, there are others around,
like PXA320 which have a LCD controller which can do also VGA.

Ok, depends how much of your application is already done.

Why don't use a second LPC as "intelligent" GFX controller with its own
SRAM connected via SPI ?

--
42Bastian
+
| http://www.sciopta.com
| Fastest direct message passing kernel.
| IEC61508 certified.
+

_____________________________
 Free pdf download: An Engineer's Guide to the LPC2100 Series.