Page 28
Epson Research and Development
Vancouver Design Center
S1D13503
Programming Notes and Examples
X18A-G-002-06
Issue Date: 01/01/30
3.2.5 Four Colors (Two Bits/Pixel in Color Mode)
When the S1D13503 is configured for two bit pixels in color mode, each pixel can index one of four color LUT entries.
The 16 LUT entries are divided into four separate Look-Up tables or banks, each having four entries (see Figure 6). The
following examples show how to program and select these banks.
Example 7:
In 4 color mode, program red bank 3 LUT entries and select for use.
1.
Determine location of bank 3 in the red LUT.
The first four entries in the 16 entry LUT represent the first bank (bank 0). The following four entries in the LUT rep-
resent the second bank (bank 1), etc. Consequently bank 3 starts at LUT index 0Ch as shown below:
Red Bank 3 is shown in Figure 6.
2.
Write LUT index and Red LUT selection to Look-Up Table Address Register AUX[0Eh].
AUX[0Eh] = LUT index ‘OR’ 0001 0000b
For bank 3, the index will one of the following values: 0Ch, 0Dh, 0Eh, or 0Fh, so the value written to AUX[0Eh] will
be one of the following: 1Ch, 1Dh, 1Eh, or 1Fh. This selects the Red LUT only, indexes C, D, E and F.
3.
Write LUT entry value to Look-Up Table Data Register AUX[0Fh].
For a linear LUT, use the Look-Up table entries in Table 3-9, “S1D13503 Low To High Intensity Color Look-Up Ta-
ble For 4 Colors,” on page 28.
4.
Repeat steps 2 and 3 until all 4 LUT entries have been written.
5.
To display data using Red Bank 3 write 11b to AUX[0F] bits 7,6:
AUX[0Fh] = original AUX[0Fh] ‘OR’ 1100 0000b
Table 3-9: S1D13503 Low To High Intensity Color Look-Up Table For 4 Colors
Index
(hex)
Look-Up
Table
(hex)
C
0
D
5
E
A
F
F
start of bank index
bank number
4
×
=
start of bank 3
3
4
×
12
0Ch
=
=
=
electronic components distributor