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 jdarling@eonclash.com

I don't suppose you could give me some pointers on how exactly you
interface the VGA monitor to the 06?  640x480 would be perfect, I think
with a simple SRAM hanging off for "Video Memory" I could get around the
problem of space to put things and the graphics will be loaded from the
card so again not a problem.  Simply read a block, push it to the SRAM
and once a screen is loaded change the display pointer to the new
screen location (double buffer it basically).  I have a few 512 SRAM
chips laying around and even thou the 2138 doesn't support external
memory, it does have an I2C bus that I could use to access the chip. 
So I come back to would you be kind enough to post a simple examlpe
(heck flash the screen red, then blue, then green).  The DAC doesn't
have me too confused and I've mangled together a rough one for testing
:).

Thanks,
Jeremy

> -------- Original Message --------
> Subject: Re: [lpc2000] LPC2138, VGA, and SD/MMC
> From: Peter Jakacki <peterjak@...>
> Date: Tue, July 26, 2005 4:17 pm
> To: lpc2000@yahoogroups.com
> 
>   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
>  >  
>  >
>  
>    
> 
>  
>  SPONSORED LINKS     Microcontrollers   Microprocessor   Intel
> microprocessors     Pic microcontrollers   8085 microprocessor   
>    
>  
>   YAHOO! GROUPS LINKS  
>    Visit your group "lpc2000" on the web.
>    To unsubscribe from this group, send an email to:
>  lpc2000-unsubscribe@yahoogroups.com
>    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> 
>  
>  
>

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.