If you're having trouble making your "Nokia Knock-Off" from
SparkFun work with 4096 colors, you'll be interested in this.
The Epson S1D15G10 "compatible" controller currently shipped with the Nokia LCD appears to actually be an S1D15G10D08B000. A link to the datasheet is provided below. Before finding this document, I discovered by trial and error how to make 12-bit color work properly.
There is no problem getting the controller to work with 256 colors. SparkFun's example, as well as many others on the 'Net, show how to do this.
An excellent tutorial by James Lynch describes how to make the LCD work
with 4096 colors using both a Philips and an Epson controller. However,
applying his Epson code to the current "compatible" controller always
draws two pixels at a time. This occurs even when the column address
(CASET) and page address (PASET) are set to specify a box of one pixel.
There is also a problem with the number of bytes needed to fill larger
boxes.
Both problems can be solved by setting the controller to a previously undocumented mode. Send the data-control command (DATCTL) with its third parameter (P3) set to 4 instead of 2 (as shown on page 34 in the D08B000 document). This changes the way a pixel's color values are written to RAM. Instead of packing two 12-bit colors into three bytes like this:
RRRRGGGG BBBBRRRR GGGGBBBB
a single pixel is sent using this format:
0000RRRR GGGGBBBB
These routines were used to display all 4096 colors shown in the photo.
Last updated: 27-Dec-2007