RA8835A
Version 1.0
Dot Matrix LCD Controller
P1 = 04H
P2 = 86H
HDOT SCR
C = 5AH
P1 = 00H
OVLAY
C = 5BH
P1 = 00H
DISP ON/OFF
C = 59H
P1 = 16H
X = Don’t care
8-1-4 Display Mode Setting Example 2: combining graphics and graphics
◎ Conditions
320x200 pixels, single-panel drive (1/ 200 duty cycle)
First layer: graphics display
Second layer: graphics display
◎ Display Memory Allocation
First layer (graphics): 320/8 = 40 characters per line, 200/1 = 200 lines. Required
memory size = 40x200 = 8000 bytes.
Second layer (graphics): 320/8 = 40 characters per line, 200/1 = 200 lines. Required
memory size = 8000 bytes.
1F40H
2nd graphics layer
(8000 bytes)
0000H
1st graphics layer
(8000 bytes)
3E7FH
1F3FH
Figure 8-3: Two Layer Graphics
◎ Register Setup Procedure
SYSTEM SET
C = 40H
TC/R calculation
P1 = 30H
P2 = 87H
P3 = 07H
P4 = 27H
P5 = 2FH
P6 = C7H
P7 = 28H
fOSC = 6 MHz
fFR = 70 Hz
(1/6) x 9 x [TC/R] x 200 = 1/70
[TC/R] = 48, so TC/R = 2FH
RAiO TECHNOLOGY INC.
www.raio.com.tw
65/88