EmbeddedRelated.com
Forums

Graphic LCD

Started by Mukund Deshmukh June 7, 2006
Hi,
Finally I have ported a graphic LCD 128X64 (can be modified for other sizes
also) driver from C51 to LPC21XX.
This is for KS107/108 chip set and compiles under GCC 4.0.0

Any one interested in code?
If there are enough takers, I will put it on yahoo file section.

Best Regards,

Mukund Deshmukh.
Beta Computronics Pvt Ltd
10/1, IT Park, Parsodi,
Nagpur-440022
Cell - 9422113746





An Engineer's Guide to the LPC2100 Series

Hey,

I already have one :) But yours is probably better. I'd love to get
a look at it!

Thanks,

-- Sean

At 00:10 6/07/06, you wrote:

>Hi,
>Finally I have ported a graphic LCD 128X64 (can be modified for other sizes
>also) driver from C51 to LPC21XX.
>This is for KS107/108 chip set and compiles under GCC 4.0.0
>
>Any one interested in code?
>If there are enough takers, I will put it on yahoo file section.
>
>Best Regards,
>
>Mukund Deshmukh.
>Beta Computronics Pvt Ltd
>10/1, IT Park, Parsodi,
>Nagpur-440022
>Cell - 9422113746

I would love to see your driver. We are just starting to work on one
although we are using the Keil RealVeiw compiler.

Thanks for the offer,

TLM

-----Original Message-----
From: l... [mailto:l...] On Behalf
Of Sean
Sent: Tuesday, June 06, 2006 9:23 PM
To: l...
Subject: Re: [lpc2000] Graphic LCD


Hey,

I already have one :) But yours is probably better. I'd love to get
a look at it!

Thanks,

-- Sean

At 00:10 6/07/06, you wrote:

>Hi,
>Finally I have ported a graphic LCD 128X64 (can be modified for other
sizes
>also) driver from C51 to LPC21XX.
>This is for KS107/108 chip set and compiles under GCC 4.0.0
>
>Any one interested in code?
>If there are enough takers, I will put it on yahoo file section.
>
>Best Regards,
>
>Mukund Deshmukh.
>Beta Computronics Pvt Ltd
>10/1, IT Park, Parsodi,
>Nagpur-440022
>Cell - 9422113746







>
> I already have one :) But yours is probably better. I'd love to get
> a look at it!
>
> Thanks,
>
> -- Sean
>
> At 00:10 6/07/06, you wrote:
>
> >Hi,
> >Finally I have ported a graphic LCD 128X64 (can be modified for other
sizes
> >also) driver from C51 to LPC21XX.
> >This is for KS107/108 chip set and compiles under GCC 4.0.0
> >
> >Any one interested in code?
> >If there are enough takers, I will put it on yahoo file section.
> >

After lots of 'google' I found some code for KS107/108.
http://gandalf.arubi.uni-kl.de/avr_projects/arm_projects/#lpc_glcd
Unfortunately, the code was not directly writing to display ram, and display
update caused lots of delay.
Another issue was missing code to check display busy flag.
Both these issue are taken care of in my code.

Best Regards,

Mukund Deshmukh.
Beta Computronics Pvt Ltd
10/1, IT Park, Parsodi,
Nagpur-440022
Cell - 9422113746

Hello,

that is a real interesting thing, because I am at the decision to make
an own one....why reinventing the wheel again ?

I would appreciate your solution - just to look at or take it or use
it as base solution to be enhanced.

Looking forward your upload !

Regards

Ulf

--- In l..., Mukund Deshmukh wrote:
>
> Hi,
> Finally I have ported a graphic LCD 128X64 (can be modified for
other sizes
> also) driver from C51 to LPC21XX.
> This is for KS107/108 chip set and compiles under GCC 4.0.0
>
> Any one interested in code?
> If there are enough takers, I will put it on yahoo file section.
>
> Best Regards,
>
> Mukund Deshmukh.
> Beta Computronics Pvt Ltd
> 10/1, IT Park, Parsodi,
> Nagpur-440022
> Cell - 9422113746
>

I'm considering on adding a graphic LCD display (128x64) to my design
instead of a char display. I would like to see your code posting.

Thanks

Barry

--- In l..., Mukund Deshmukh wrote:
>
> Hi,
> Finally I have ported a graphic LCD 128X64 (can be modified for
other sizes
> also) driver from C51 to LPC21XX.
> This is for KS107/108 chip set and compiles under GCC 4.0.0
>
> Any one interested in code?
> If there are enough takers, I will put it on yahoo file section.
>
> Best Regards,
>
> Mukund Deshmukh.
> Beta Computronics Pvt Ltd
> 10/1, IT Park, Parsodi,
> Nagpur-440022
> Cell - 9422113746
>

I still looking for LCD graphic code...
may you share it...

Pier
2006/6/7, Mukund Deshmukh :
>
> Hi,
> Finally I have ported a graphic LCD 128X64 (can be modified for other
> sizes
> also) driver from C51 to LPC21XX.
> This is for KS107/108 chip set and compiles under GCC 4.0.0
>
> Any one interested in code?
> If there are enough takers, I will put it on yahoo file section.
>
> Best Regards,
>
> Mukund Deshmukh.
> Beta Computronics Pvt Ltd
> 10/1, IT Park, Parsodi,
> Nagpur-440022
> Cell - 9422113746
>
>
>






Oddly enough I'm just setting up a devboard to drive an MGLS 192x64
screen... so yes, it'd be very handy to have a look through it.

Andy

-----Original Message-----
From: l... [mailto:l...]On Behalf Of
Pier
Sent: 08 June 2006 16:59
To: l...
Subject: Re: [lpc2000] Graphic LCD
I still looking for LCD graphic code...
may you share it...

Pier

2006/6/7, Mukund Deshmukh :
>
> Hi,
> Finally I have ported a graphic LCD 128X64 (can be modified for other
> sizes
> also) driver from C51 to LPC21XX.
> This is for KS107/108 chip set and compiles under GCC 4.0.0
>
> Any one interested in code?
> If there are enough takers, I will put it on yahoo file section.
>
> Best Regards,
>
> Mukund Deshmukh.
> Beta Computronics Pvt Ltd
> 10/1, IT Park, Parsodi,
> Nagpur-440022
> Cell - 9422113746
>
>
>










I have recently been working with the SED1520 controller and 122X32
resolution LCD with some success. I had to create my own 5X7 fonts
though. (Font is not quite complete yet) It looks like the GLCD fonts
although no 5X7 font available, is of the same rotation that I need.
I have been outputting a BMP file from coreldraw, converting to binary
with matlab, and then tweaking slightly to make them look good.

I did write some code (IAR, LPC2103) that rotates an 8X8 block to
rotate a 5X7 font that was 90 degrees CCW the wrong way. In working
on this, I accidently did a couple extra ones like rotating CCW 90
degrees and flipping etc. I anybody finds a good 5X7 font source, I
would be interested, although I'm almost done converting.
I decided not to use the rotation code below to rotate every singe
character before writing it to the LCD. Why waste resources, you
know ?

boB

Here's those basic routines if anybody happened to be interested.
/*
Basic 90 degree clockwise rotation:

For srcx = 0 to 7 (outside loop) { (byte?)

For srcy = 0 to 7 (inside loop) { (bit)

DEST(srcy, 7-srcx) = SRC(srcx, srcy)
}
}
Destination is global here but routine could return a pointer to
destination array */

void rotate8x8cw(char * rotate8x8in) { //Rotate 90 deg CCW 8X8 src ->
8X8 dest

char srcx, srcy; //8 bytes X 8 bits= 64 bits

for(srcx = 0; srcx <=7; srcx++) { //outside (BYTE)loop

for(srcy = 0; srcy <= 7; srcy++) { //inside (BIT )loop

if(rotate8x8in[srcx] & (1 << srcy) ) { //SRC(x,y) == 1 ?
dest8x8rotate[7-srcy] |= ( 1 << (srcx) ); // |1
} else dest8x8rotate[7-srcy] &= ~( 1 << (srcx) ); // &0

} //inside
} //outside

// return 0;
}
--- In l..., "Andrew Berney" wrote:
>
> Oddly enough I'm just setting up a devboard to drive an MGLS 192x64
> screen... so yes, it'd be very handy to have a look through it.
>
> Andy
>
> -----Original Message-----
> From: l... [mailto:l...]On
Behalf Of
> Pier
> Sent: 08 June 2006 16:59
> To: l...
> Subject: Re: [lpc2000] Graphic LCD
> I still looking for LCD graphic code...
> may you share it...
>
> Pier
>
> 2006/6/7, Mukund Deshmukh :
> >
> > Hi,
> > Finally I have ported a graphic LCD 128X64 (can be modified for
other
> > sizes
> > also) driver from C51 to LPC21XX.
> > This is for KS107/108 chip set and compiles under GCC 4.0.0
> >
> > Any one interested in code?
> > If there are enough takers, I will put it on yahoo file section.
> >
> > Best Regards,
> >
> > Mukund Deshmukh.
> > Beta Computronics Pvt Ltd
> > 10/1, IT Park, Parsodi,
> > Nagpur-440022
> > Cell - 9422113746
> >
> >
> >
>
>
>
>

Pier schrieb:
> I still looking for LCD graphic code...
> may you share it...

Look into the files-section.
--
42Bastian