From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: Fano.Ramparany@rd.francetelecom.fr
Cc: eCos Disuss <ecos-discuss@sourceware.cygnus.com>
Subject: Re:[ECOS] LCD on EP7211
Date: Fri, 02 Feb 2001 06:28:00 -0000 [thread overview]
Message-ID: <4.3.2.7.2.20010202091410.00b3f270@larwe.com> (raw)
In-Reply-To: <3A7A7F6E.7CBB489@rd.francetelecom.fr>
Hi Fano,
> > I've interfaced a color QVGA LCD, which is working great! (with
>
>What are the exact references of the color LCD you are using on the
>EDB7212, and how difficult is it to adapt the driver to this new screen?
>There's
>an application note available on Cirrus Logic web site dedicated to the use
>of a color screen. Did you use this documents?
I did use that document (AN179) as a starting point. However, the version
that Cirrus had on their website [at least until recently] shows the
nibbles to the LCD swapped. They did update this, however I find that the
new document is still wrong, at least for my LCD it gives scrambled output.
I had to work out by trial and error which data lines from the EP7212
should go to which data lines on the LCD.
My LCD is an 8-bit-interface parallel CSTN LCD made by Nan Ya. Touch screen
is an option, we have not ordered it though (touch screens always get
covered in fingerprints, which is bad for a digital picture frame!)
The only LCD code I am using from eCos is a heavily adapted (i.e.
non-general-purpose) version of the lcd_on function. I am also not using
any of Cirrus's LCD code. My GDI is much more complicated than any of the
sample code that is available to me. The reason for this is that I have to
support:
* Fast YUV to RGB colorspace conversion for displaying MPEG video ;)
* Pretty much instant screen rotation (so that user can flip the frame
between portrait and landscape orientation and all GUI elements will
redisplay correctly).
* Scalable proportional-space fonts (as well as a simple debugging-type 8x8
fixed-space font engine based on the eCos code, this quick and dirty engine
is used in the flash upgrader code)
* Must support other video devices. The 4:4:4 model is only used in the
lowest-end passive model. The higher-end models use an external TFT-LCD
controller for higher resolution, 16bpp and 24bpp display modes.
* Some very simple realtime 3D code (mapping JPEG images onto a couple of
simple polygons for cool effects bouncing images around the screen and
making polyhedra out of them). This is very "fun" to do quickly in the
4:4:4 3bytes=2pixels model :/
Because of all these requirements, a lot of the code can't really be
optimized. I have written some very suboptimal (performance-wise) code that
works in the general case situations. Later in the design cycle I will
write platform-specific optimized functions.
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/
"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."
next prev parent reply other threads:[~2001-02-02 6:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-02 1:32 Fano Ramparany
2001-02-02 6:28 ` Lewin A.R.W. Edwards [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-02-02 1:27 Fano Ramparany
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4.3.2.7.2.20010202091410.00b3f270@larwe.com \
--to=larwe@larwe.com \
--cc=Fano.Ramparany@rd.francetelecom.fr \
--cc=ecos-discuss@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).