VII LCD CONTROLLER BLOCK: LCD CONTROLLER
The following is the
1.Place the LCD controller in
2.The LCD controller starts a
3.Because the bus clock is turned off during HALT2 or SLEEP mode, the
The number of frames can be counted by reading VNDPF (D7)/vertical
Depending on the power supply for the LCD panel, it may be necessary to secure more than one frame of
Example of a
(for controlling the length of time before the LCD power turns on after LCD signals are asserted)
1.Set LPWREN to "0". The LCDPWR signal is fixed low, with control by a
2.Release
3.The LCD signals go active a
4.Allow for a wait time until the power turns on. To set the wait time in terms of the number of frames, count the occurrences of VNDPF = "1" (vertical
5.Set LPWREN to "1" a specified length of time later. The LCDPWR pin goes high, causing the power to the LCD panel to turn ON.
Example of a
(for controlling the length of time before LCD signals are deasserted after the LCD power turns off)
1.Set LPWREN to "0". The LCDPWR pin goes low, and the power to the LCD panel turns off.
2.Allow for a wait time until LCD signals are deasserted. To set the wait time in terms of the number of frames, count the occurrences of VNDPF = "1" (vertical
3.Set
4.LCD signals are deasserted a
Reading/Writing Display Data
The LCD controller contains an exclusive DMA interface, allowing data to be taken in from the display memory by means of DMA transfer. The display data read from the display memory is buffered in the internal 16 ⋅
There are no timing limitations when data is written to the display memory by a user program using the above DMA transfer. Data can be written asynchronously with the display.
Setting the Display Start Address
The LCD controller is initially set in such a way that data is displayed beginning with the initial address of the display memory (the area selected by the VRAMAR bit). Because the display memory address from which to start display can be changed as desired using the screen 1 start address register
The value that should actually be set in this register is an offset address from the beginning of the area in which the display memory exists. When area 7 is used, for example, the start address of the display memory is 0x0, rather than 0x400000. Be aware that the address set here is a halfword address (byte address for portrait mode; described later).
EPSON | S1C33L03 FUNCTION PART |