Epson Research and Development
Page 17
Vancouver Design Center
Programming Notes and Examples
S1D13503
Issue Date: 01/01/30
X18A-G-002-06
Note
A.
B
Single Panel
C
Dual Panel
AUX[0Fh]
0000 0100
write Red data
AUX[0Fh]
0000 0100
write Green data
AUX[0Fh]
0000 1001
write Blue data
AUX[0Eh]
0000 1110
increment palette address
AUX[0Fh]
0000 0010
write Red data
AUX[0Fh]
0000 0010
write Green data
AUX[0Fh]
0000 0100
write Blue data
AUX[0Eh]
0000 1111
select palette address
AUX[0Fh]
0000 0000
write Red data
AUX[0Fh]
0000 0000
write Green data
AUX[0Fh]
0000 0010
write Blue data
AUX[01h]
1101 0101
program Mode Register bit DISP to 1, and set LCDE to enable
power supply
1001 0000b ‘OR’ {original value for AUX[01h]}
•
b7 = display on (application specific)
•
b4 = LCDE = LCDENB pin = set to enable specific power supply
design (for S5U13503B00C, set bit to 1 to enable power supply)
(application specific)
Write one pixel to the top left corner of the display’s second panel.
If the S5U13503B00C evaluation board is used in indexed mode, there are two video memory banks which begin at
D000:0000 (2 banks x 64K per bank; see the note on page 14). If the base port address is 310h, then read from port address
312h. Next, write 0C0h to location D000:9600h; this will be seen as a white pixel at the top left corner of the display’s
second panel.
AUX
Register
Data
(in Binary)
Notes
See Also
Line Byte Count
Bits Per Pixel
Memory Interface Width
------------------------------------------------------------
Horizontal Resolution
×
1
–
=
2
16
------
640
×
1
–
79
4Fh
=
=
=
Total Display Line Count
Number Of Display Lines
1
–
=
Total Display Line Count
Number Of Display Lines
2
--------------------------------------------------------------
1
–
480
2
---------
1
–
239
0EFh
=
=
=
=
electronic components distributor