Hi, for those who doesn't know, 90% of the last years colour nokia phones use the same command set.
For both 320x240 and 160x128 LCDs, althought they are not the same controller, they are command compatible in most times.
I am talking about 262k or 16.7M colour phones, forget those 4096 colours old phones!
I have testesd myself on nokia N82, N81, 2630, 3110 LCDs and all worked!
After lots work and testing, I left it and forgot for more than a year.
Now I saw it again, and decided to share with everybody.
Here are some links. I uploaded to my dropbox. If it it breaks you can download from the others.
Datasheet of both controllers included!
http://dl.dropbox.com/u/23958662/PIC32_ ... PA8201.ziphttp://www.4shared.com/zip/z3IqbEKX/PIC ... A8201.htmlhttp://www.multiupload.nl/F99OOY9MUYIt has the following:
- 9 different size fonts;
- line, square, circle drawing;
- Initialization;
- string and char print functions, supports transparent background font colour!(reads LCD ram first, need some ram);
Remember that most Nokia LCDs need 1.8V for VDDio, 2,7V for Vdd.
That means that you must interface the lcd with 1.8V signal level!
You can use a level converter, like the 74LVCH245A, as I used on my board.
A pic of my dirty setup: (This was the first board, a lot of soldering and test have been done on that poor thing
).
Actually its dumping two SPI flash and showing its contents on the display (I used this to flash and repair a corrupt computer BIOS).
To guide yourself and make it working for any nokia phone (320x240 or 160x128), do the following:
First check your phone, download its schematics.
A nice place, free and lots of info, is
http://www.shrak-mobile.com/eng/On the schematic, search the LCD connector.
If it has D0,D1,D2,D3,D4,D5,D6,D7,WR,RD,CS,RES signals, then it has very high chance to be compatible.
Also if it has CS,SDA,SCL,RES, it will be the same, but in a 9-bit SPI interface (1st bit is data/command,left 8bits are data).
For example:
Check the MC2PA8201 controller datasheet, its for 320x240 screens:
http://spritesmods.com/mcportal/MC2PA8201.pdfOr the SPFD54124B controller for 160x128 screens:
http://www.mdfly.com/newmdfly/products/ ... 54124B.pdfRegards!