Epson Research and Development Page 11
Vancouver Design Center
Programming Notes and Examples S1D13504
Issue Date: 01/02/01 X19A-G-002-07
2.2.3 Re-Programming Registers
The only register which may require modification after the initialization sequence is the Half Frame
Buffer. The Memory Type, DUAL/SINGLE, and the Performance Register bits should never be
modified after initialization.
2.3 Disabling the Half Frame Buffer Sequence:
The Half Frame Buffer can be ENABLED asynchronously.
To DISABLE the Half Frame Buffer, do the following:
1. Disable the display FIFO REG [23] bit 7=1.
2. Set the horizontal resolution to 0 (REG[04]=0).
Setting the horizontal resolution = 0 will shut-off any Half Frame Buffer DRAM accesses
within 1024 PCLK's or less (1024 PCLK’s is the worst case)
3. Wait for VNDP 1->0->1 transitions (REG[0A] bit 7).
Waiting for 1 FRAME delay will guarantee that the Half Frame Buffer is idle.
4. Disable the Half Frame Buffer (REG[1B] bit 0=1).
5. Re-program the horizontal resolution to your original value.
REG[20h] = 0x00
REG[21h] = 0x00 General I/O Control
REG[24h] = 0x00 Look-Up Table Address
for (index = 0; index < 16; ++index) {
REG[26h] = RED[index];
REG[26h] = GREEN[index];
REG[26h] = BLUE[index];
}
Update Look-Up Table based on the
RED[16], GREEN[16], and BLUE[16]
tables defined earlier in your
program.
REG[27h] = 0x00 Look-Up Table Bank Select
REG[23h] = 0x10 Enable the Display FIFO
REG[0Dh] = 0x09 Enable Display
Table 2-1: Initializing the S1D13504 Registers (Continued)