Thx Steve !! This info will sure be of good help... This LCD is clearly too wide for my application, but it gives me a clear idea of what to watch out in terms of pins for a given LCD.
 
Best,
 
Alexis.
----- Original Message -----
From: Steven A. Falco
To: General mailing list for gumstix users.
Sent: Sunday, February 04, 2007 4:10 PM
Subject: Re: [Gumstix-users] Monochrome graphical LCD support

The display is an EPSON EG2404S-AR which I bought surplus from the following page:

http://www.allelectronics.com/cgi-bin/item/LCD-92/365/256_X_64_GRAPHIC_LCD_MODULE_.html

This display is around 15 years old, but works fine!  Sadly, the stock is almost sold out.  It is probably physically larger than you would want for a motorcycle.

The hookup is as follows, where the gumstix signal name is shown on the left, and the Epson name is shown on the right:

lclk -> lp (pin 4)
bias -> fr (pin 5)
fclk -> din (pin 8)
pclk -> xscl (pin 9)
dd0 -> d3 (pin 14)
dd1 -> d2 (pin 13)
dd2 -> d1 (pin 12)
dd3 -> d0 (pin 11)

Note that the data bus has to be flipped!  The gumstix driver doesn't work with 1-bpp because the palette is misaligned, which breaks the DMA, but 8-bpp works fine.  I made a slight patch to the driver to properly select gray-scale mode - I'll put it on my branch of the svn tree in a few days when I get a bit of time.

For this particular display, I also had to hack the driver to add the ability to set the acb parameter, because slowing down the bias signal helps with a banding problem (the display shows some horizontal stripes with a fast bias toggle).

Kernel command line for my gumstix is: console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard video=pxafb:mode:256x64-8,mono,pixclock:800000,4pix,passive,left:1,right:1,hsynclen:1,vsynclen:1,pixclockpol:0,hsync:1,vsync:1,acb:255


    Steve


Alexis Chiarello wrote:
BTW Steve,  forgot to ask you, could you give me the reference of the LCD 
you are using on that picture 
(http://docwiki.gumstix.org/Image:Dsc_0032.jpeg) ? I wanna have a look at 
its specs so I know what to watch out for the LCD in my application. If you 
happen to have a schematic of the connections between LCD and gumstix, that 
would be great !

Thx !!

Alexis.
----- Original Message ----- 
From: "Steven A. Falco" <safalco@optonline.net>
To: <gumstix-users@lists.sourceforge.net>
Sent: Saturday, February 03, 2007 12:25 PM
Subject: Re: [Gumstix-users] Monochrome graphical LCD support


There is a bug in the driver for 1bpp mode.  However, even with a
monochrome display, you should be fine running in 8bpp mode.  All that
happens is that the LCD hardware of the CPU "temporally dithers" the
pixels, giving you a synthetic gray-scale display.

If you take a look at http://docwiki.gumstix.org/Image:Dsc_0032.jpeg you
can see what a monochrome display looks like in 8bpp.  The big advantage
of gray-scale is that you can "anti-alias" the characters to remove
"jaggies", yielding a much smoother looking display.  You could also
simply ignore the gray-scale, and just use pixels set to 0xff and 0x00.

The only thing you give up in 8bpp is some memory.  But, it is also
easier to address individual pixels (directly as bytes), rather than
having to do lots of shifting and masking and read-modify-write cycles
in 1bpp mode.

   Steve


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users