On Feb 15, 10:42 am, jerome <[email protected]> wrote:
> On 13/02/2011 16:05, [email protected] wrote:> Revision: 2468
> > Author: sebastien.lelong
> > Date: Sun Feb 13 07:04:51 2011
> > Log: nokia glcd 3310 sample using 18f4550, simple demo printing chars
> > /trunk/sample/18f4550_nokia_3310.jal
>
> Seb,
> even it's compile without any errors, it's not works as expected:
> lcd_clear_screen() didn't clear the screen ! i think it's a timing issue
> whith 48 Mhz jaluino osc
The 48MHz clock (12Mips)is ok, since the lib uses software SPI you
will be in the specified range of 0..4Mbits/s of the PCD8544 SPI.
try to insert some short delays in the lcd_clear_screen() at the
library, since other routines from this LIB do have them.
Some Displays are 2nd source types, that uses a PCD8544 compatible
chip, these don´t last as long as the original, also they do not match
the specifications of the original exactly, so try another one.
There maybe some problems with connecting so, your level translation
maybe too slow.
Another clue maybe, you should place an Cap between 1 and 10µF as
close as possible to the display across the supply lines.
If you look at the datasheet of the PCD8544, you have to reset the
display in less than 100ms past supply voltage is on, else the display
should not work properly, in worst case it gets destroyed.
I this cannot be done by software, use a RC Power on Reset circuit on
the display and do not connect display reset to the controller.
Mine works on a 12f675 4M intosc and leveltranslation via diode +
pullup resistor, this is fast enough for 1Mips, because i didn´t have
enough pins, cs is hard wired to ground and there is a dummy Var for
nok_cs.
Another one works on a 18f23k20 at 48MHz at 3.0V with no problem, but
i have not tested the whole library functions yet.

Hubert
>
> --
> @+
> J rome

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to