piclist 2001\11\01\081121a >
Thread: LCD panel init problems
face BY : Wollenberg, Frank email (remove spam text)

> -----Original Message-----
> From: Steve Campbell [EraseMEDigitalTech.....spamWORLDNET.ATT.NET]
> Sent: Thursday, November 01, 2001 12:27 AM
> To: @spam@PICLISTEraseMEspamTakeThisOuTMITVMA.MIT.EDU
> Subject: Re: [EE]: LCD panel init problems
> Are you using it in 4 or 8 bit mode?  4 bit is a little
> harder to init but
> there are many sources for LCD code available.  Check for
> some sample code
> and compare your init code with other's.

I'm using LCD in 8 bit mode only. 4 bit has the problem that both the
controlling uC and the LCD controller must be synchronous. LCD modules has
only internal reset circuitry, there's no external reset pin available. So
let us assume:

1)      both uC and LCD module are powered up correctly
2)      uC initialize the LCD module correctly
3)      uC must send 8 bit in two 4bit chunks to the LCD
4)      after the first 4bit, the uC only resets (powering problem, ESD are
what ever)
5)      the uC powers up and will initialize the LCD module

But: the LCD is awaiting the 2nd 4bit chunk, the uC is sending the first
4bit of initialization data.
I don't see, how to synchronize uC and LCD without resetting the LCD module
via a power down/up cycle.

Any ideas ?


GSP Sprachtechnologie GmbH
Frank Wollenberg
Tel.:   +49 (0)30 769929-78
Fax:    +49 (0)30 769929-12
eMail:  KILLspamf.wollenbergKILLspamspamgsp-berlin.de

GSP Sprachtechnologie GmbH
Teltowkanalstr.1, D-12247 Berlin
Tel.:  +49 (0)30 769929-0
Fax:   +49 (0)30 769929-12
eMail: InfoEraseMEspamEraseMEgsp-berlin.de
Web:   http://www.gsp-berlin.de

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email EraseMElistservspammitvma.mit.edu with SET PICList DIGEST in the body


See also: www.piclist.com/techref/lcds.htm?key=lcd
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) LCD panel init problems

month overview.

new search...