Forums

Re: [Help Requested] Building a Simple plataform with LCD Touchscreen- going to be uploaded the orcad files in the end

Started by Vladimir Ljaschko June 23, 2009
John,

Thank you for explanation and discription of your experience.
We rejected standard GUI with objects and made all graphic prepared on the SD card. It looks easy and faster.

What I want to say regarding topic...
>From the other side, if to take a look on LCD datasheet (which topicstarter noted) -
This is "normal" LCD with usual LCD interface. I don't see place for intellegent LCD driver with memory and graphic primitives.

Regards
Vladimir

----- Original Message -----
From: John Gentilin
To: l...
Sent: Tuesday, June 23, 2009 9:25 AM
Subject: Re: [lpc2000] Re: [Help Requested] Building a Simple plataform with LCD Touchscreen- going to be uploaded the orcad files in the end

The ILI93xx controller chips have internal memory and support
primitives such as draw a line, set / clear a point.. So you can
attach any microcontroller to it and away you go. Now the
board I am talking about comes with either a ILI9320 or 9325
both operate this way.. I am not sure how the 9322 operates.

The problem I ran into is that 3rd party GUI libs like NanoX/
Microwindows, they render the higher level GUI objects, (buttons,
input boxes) as off screen memory objects and bit blit them onto
the working screen as needed. That is where you start to suck
up the memory..

The test code that comes with the board includes a library called
screen objects that attempts to render objects as a series of rendered
rectangles on top of each other so a button can be defined in a handful
of bytes instead of 15K of off screen memory.. It actually works OK,
but the Screen Object lib code quality is terrible.. All of the source
for this board is freely downloadable. The driver code for the ILI932x
controller and the A2D code for the touchscreen are actually very
good, its just all the other code.. that appears to of been written by
someone else.

Here is a link the the display controller chip
http://www.sparkfun.com/datasheets/LCD/ILI9325.pdf

John Gentilin

ljaschko wrote:
>
>
> Hi John,
>
> LCD 320*240 24bpp. Do you have calculator close at hand?
> I will help you. 307200 bytes.
> Maybe reducing bpp it is possible to place some data in internal
> memory, but what images could be displayed in this case?
>
> Regards
> Vladimir
>
>
> --- In l... ,
> John Gentilin wrote:
> >
> > I don't think you need external RAM just to run the LCD. Here
> > is exactly what you are tying to put together already..
> > http://www.sparkfun.com/commerce/product_info.php?products_id58
>
> > http://store.gravitech.us/arlpwi2tftto.html
> (better pics)
> >
> > Although all the GUI platforms I have been looking at for this board
> > need a bunch of RAM (100-300K) to maintain object state off screen.
> > IMHO, the code provided with this board, the low level LCD and touch
> > screen drivers are good/clear, the rest is a real hack and very hard to
> > follow.
> >
> > Its a cool little board.. I did some development for it.. but I switched
> > to a Mini2440 so I could port Android to it.. For the same price,
> > you can't beat the more powerful board.. http://andahammer.com/
>
> >
> > John Gentilin
> >
> > Vladimir Ljaschko wrote:
> > >
> > >
> > > Hi, Mr. Felipe de Andrade Neves Lavratti,
> > >
> > > Yes, you need external RAM using LCD with such driver.
> > >
> > > Regards
> > > Vladimir
> > >
> > >
> > > ----- Original Message -----
> > > From: Felipe de Andrade Neves Lavratti
> > > To: l...
>
> > > Sent: Tuesday, June 23, 2009 3:27 AM
> > > Subject: [lpc2000] [Help Requested] Building a Simple plataform with
> > > LCD Touchscreen- going to be uploaded the orcad files in the end
> > >
> > > Hello!
> > >
> > > I am building a simple plataform for fun and for supporting other
> users,
> > > after tested I will upload all the OrCad files and software.
> > >
> > > Specifications:
> > >
> > > uC: LPC2478
> > > LCD: Jiya JYG-32024019G(R)-KT6L2-VA
> > > >> ILI9322 LCD DRIVER
> > > >> Quick Sheet:
> > > http://www.jiyalcd.com/english/Upfiles/2008911105426636.pdf
>
> > > > >
> > >
> > > I am waiting for the module's price in order to buy.
> > >
> > > The question I am having now is this: Is necessasry external
> memory to
> > > drive
> > > the display with the mentioned LCD DRIVER?
> > >
> > > I still didn't find the ILI9322 documantation yet on internet.
> > >
> > > Thanks
> > > Fanl.
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
>



An Engineer's Guide to the LPC2100 Series

Vladimir,

Maybe I read too much into the initial post.. The topic starter posted

uC: LPC2478, LCD:
Jiya JYG-32024019G(R)-KT6L2-VA
-> ILI9322 LCD DRIVER

So I assumed they were using the ILI driver chip..
I thought it was actually part of the LCD display itself...
The Jiya data sheet they provided had limited info..

Here is a link to a reseller that lists the displays and data sheets
http://www.displayfuture.com/Display/TFT.asp?Cat=2&OrderField=MatrixDigit
A similar display with the ILI9325 driver..
http://www.displayfuture.com/engineering/specs/TFT/KWH028Q02-F05.pdf

When you said " We rejected standard GUI with objects", did you
work on the EasyThai BlueScreen code ?? Was I dumping on code
you wrote :-)

John Gentilin

Vladimir Ljaschko wrote:
> John,
>
> Thank you for explanation and discription of your experience.
> We rejected standard GUI with objects and made all graphic prepared on
> the SD card. It looks easy and faster.
>
> What I want to say regarding topic...
> From the other side, if to take a look on LCD datasheet (which
> topicstarter noted) -
> This is "normal" LCD with usual LCD interface. I don't see place for
> intellegent LCD driver with memory and graphic primitives.
>
> Regards
> Vladimir
>
> ----- Original Message -----
> From: John Gentilin
> To: l...
> Sent: Tuesday, June 23, 2009 9:25 AM
> Subject: Re: [lpc2000] Re: [Help Requested] Building a Simple
> plataform with LCD Touchscreen- going to be uploaded the orcad files
> in the end
>
> The ILI93xx controller chips have internal memory and support
> primitives such as draw a line, set / clear a point.. So you can
> attach any microcontroller to it and away you go. Now the
> board I am talking about comes with either a ILI9320 or 9325
> both operate this way.. I am not sure how the 9322 operates.
>
> The problem I ran into is that 3rd party GUI libs like NanoX/
> Microwindows, they render the higher level GUI objects, (buttons,
> input boxes) as off screen memory objects and bit blit them onto
> the working screen as needed. That is where you start to suck
> up the memory..
>
> The test code that comes with the board includes a library called
> screen objects that attempts to render objects as a series of rendered
> rectangles on top of each other so a button can be defined in a handful
> of bytes instead of 15K of off screen memory.. It actually works OK,
> but the Screen Object lib code quality is terrible.. All of the source
> for this board is freely downloadable. The driver code for the ILI932x
> controller and the A2D code for the touchscreen are actually very
> good, its just all the other code.. that appears to of been written by
> someone else.
>
> Here is a link the the display controller chip
> http://www.sparkfun.com/datasheets/LCD/ILI9325.pdf
> John Gentilin
>
> ljaschko wrote:
> >
> >
> > Hi John,
> >
> > LCD 320*240 24bpp. Do you have calculator close at hand?
> > I will help you. 307200 bytes.
> > Maybe reducing bpp it is possible to place some data in internal
> > memory, but what images could be displayed in this case?
> >
> > Regards
> > Vladimir
> >
> >
> > --- In l...
> ,
> > John Gentilin wrote:
> > >
> > > I don't think you need external RAM just to run the LCD. Here
> > > is exactly what you are tying to put together already..
> > > http://www.sparkfun.com/commerce/product_info.php?products_id58
>
> > > >
> > > http://store.gravitech.us/arlpwi2tftto.html
>
> > > > (better pics)
> > >
> > > Although all the GUI platforms I have been looking at for this board
> > > need a bunch of RAM (100-300K) to maintain object state off screen.
> > > IMHO, the code provided with this board, the low level LCD and touch
> > > screen drivers are good/clear, the rest is a real hack and very
> hard to
> > > follow.
> > >
> > > Its a cool little board.. I did some development for it.. but I
> switched
> > > to a Mini2440 so I could port Android to it.. For the same price,
> > > you can't beat the more powerful board.. http://andahammer.com/
>
> > >
> > >
> > > John Gentilin
> > >
> > > Vladimir Ljaschko wrote:
> > > >
> > > >
> > > > Hi, Mr. Felipe de Andrade Neves Lavratti,
> > > >
> > > > Yes, you need external RAM using LCD with such driver.
> > > >
> > > > Regards
> > > > Vladimir
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Felipe de Andrade Neves Lavratti
> > > > To: l...
>
> >
> > > > Sent: Tuesday, June 23, 2009 3:27 AM
> > > > Subject: [lpc2000] [Help Requested] Building a Simple plataform with
> > > > LCD Touchscreen- going to be uploaded the orcad files in the end
> > > >
> > > > Hello!
> > > >
> > > > I am building a simple plataform for fun and for supporting other
> > users,
> > > > after tested I will upload all the OrCad files and software.
> > > >
> > > > Specifications:
> > > >
> > > > uC: LPC2478
> > > > LCD: Jiya JYG-32024019G(R)-KT6L2-VA
> > > > >> ILI9322 LCD DRIVER
> > > > >> Quick Sheet:
> > > > http://www.jiyalcd.com/english/Upfiles/2008911105426636.pdf
>
> > > >
> > > > >
> > > >>
> > > >
> > > > I am waiting for the module's price in order to buy.
> > > >
> > > > The question I am having now is this: Is necessasry external
> > memory to
> > > > drive
> > > > the display with the mentioned LCD DRIVER?
> > > >
> > > > I still didn't find the ILI9322 documantation yet on internet.
> > > >
> > > > Thanks
> > > > Fanl.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >