24bit LCD (is it possible)
computer guy
Posts: 1,113
Hi Everyone,
Is it possible to drive the following display with a propeller. I am happy to dedicate an entire prop to it if need be.
www.sparkfun.com/commerce/product_info.php?products_id=8335
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
Is it possible to drive the following display with a propeller. I am happy to dedicate an entire prop to it if need be.
www.sparkfun.com/commerce/product_info.php?products_id=8335
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
Comments
Hope you are not only a computer guy but a computer pro. Otherwise I'd rather give the advice to let it be.
Let's do some calculations:
480x272x24bit = 391680 Bytes. For a double buffer you need 783360 Bytes. If you want to display something useful you'd need some extra RAM to keep images there. So a starting point would be 2MB. The clock-rate is specified as being 9MHz. So you need to transfer 9Mx3 Bytes = 27MB per second. You have 24 I/Os for the RGB plus clock plus VSYNC plus HSYNC = 27 IOs. For adressing 1MB RAM you need 20 IOs for adress bus, you need 8 IOs for Data-Bus and CS, RW, OE signals = 31 IOs. So, it won't work without extra hardware and tricks.
If so, what CPLD would you suggest for the job and what exactly would I need to do it?
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
I guess the most common CPLDs are XILINX and ALTERA. You need the development environment for the choosen CPLD (which usually is for free) and the CPLD programming hardware. I've choosen a XILINX CPLD a while back for no special reason. The hardware you need to connect it to a parallel port is easy to build by yourself and inexpensive.
What is more important is to get familiar with the Hardware Description Language (HDL). And in the beginning this won't be easy - good thing to twist your brain a bit ;o)
Two tips:
* First get the software. The software contains a simulator. So, you can start with programming without having the hardware. Check out in advance whether you like programming CPLDs or not.
* For developing it is good to start with a oversized version of the CPLD. It's simply very hard and you need a lot of experience to calculate the needed size in advance (how many macrocells/ how many product terms do you need). If you're finished with the design you simply see what you need.
I started with a PropRAM CPLD design recently. My goal is to have 2 adress registers in one CPLD. So the one can be used for sequential read to stream the content of RAM to the display, the other one could be used by the propeller to write.
For the Sharp display I'd use 3 x 1MB RAM (or maybe 512k) chips. All attached to the same adress-bus (CPLD) and each one connected to one color channel of the display. Of course on the path to the propeller you need a multiplexer which switches the propeller data-bus to one of those 3 data busses (if the CPLD is big enough you can multiplex there of course).
Post Edited (MagIO2) : 5/29/2009 7:17:50 AM GMT
Whilst your at it, include enough RAM for use as general purpose RAM for XMM from C compilers or for emulators.
What a great set up this could be.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
For additional XMM support it would be nice to have 3 adress-counters. 1 for sequential output of the frame-buffer, 1 for holding the XMM program-counter and one for random access to video RAM and other RAM.
Indeed .. nice.
The prototype of the Atari ST has been build completely with standard TTL ICs.
All I need is a full colour screen that is low power (<= 5v) and can draw complicated images and stuff easily.
Its for a GUI for a project.
Thank you all for your help
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
I agree with others that interfacing that display to the Prop involves a fair bit of work. It would be easier to interface it to an old SBC with TTL display output (ebay!). If you're really up for it, PM me as I can get you one with touch pre-assembled for AU$88 inc gst which would be a bit quicker and cheaper than Sparkfun (whose Touch is sold separately).
A good cost effective option would be the 3" LCD from Tim at Www.Brilldea.Com It takes composite video in and judging from photos posted it comes up pretty well especially for the current US$45 price tag.
The other option are the 4D displays which are also easy to draw stuff on and run from 5 volts. They are smart enough to load images and even video off their own uSD card.
have fun
tubular