Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] LPC2138, VGA, and SD/MMC

2005-07-26 by Peter Jakacki

I have done 192x480 with 640x480 VGA timing on a 2106. I am just waiting 
on my 2148s so I can run 640x480 with the faster port speeds. Mind you, 
there are limitiations though. At present I only run 4-bits per pixel 
and simply connect 220 ohm resistors from 3 pins straight to the RGB 
lines, the VGA input impedance brings this down to the correct level. I 
could run 8-bits into a ladder network to get 256 colors (no palette). 
The limited (for video) RAM makes it a problem too, but at least I can 
mix high and low res in software.

Oh yes, I have interfaced SD cards as well and have written my FAT16 and 
drawing routines etc in Forth. The whole thing works so well that even 
when it's in video terminal mode I can still enter command sequences as 
Forth execution words for the more complicated drawing commands. I 
suppose it's a bit like postscript.

But as Scotty says "there is only so much I can do with her captain" and 
the limited internal RAM rules out full resolution/hi-color graphics. 
How-ever, there are a plethora of ways to implement video but still, I 
really like the simplicity of the minimal implementation that is 
possible with the LPC2s, plus the small footprint.

*Peter*

achargis wrote:

>Has anyone actually managed to use a standard VGA or SVGA monitor with
>the LPC2138?  I've googled myself to death and can't find much on the
>processor let alone the processor and VGA.
>
>I've also looked at uVGA witch is a viable solution to my problem, but
>if it can be done in the processor itself it would be nice.  I've
>found source and schematics for hooking up other ARM7's but they have
>a built in TFT driver that makes this possiable.
>
>Also I'd like to add an SD/MMC reader to my board so I can load
>external graphics (JPEG and BMP).  Basically I'm trying to build a
>digital picture frame.  CF Card would be more ideal, but I'm sure that
>its also more difficult to implement.
>
>I tried searching the group first, so hopefully my eyes didn't miss
>answers to either question.  This is my first project with ARM so I'm
>also learning the ins and outs and oops.
>
>Jeremy
>  
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.