RA8835A
Version 1.0
Dot Matrix LCD Controller
8-1-3 Display Mode Setting Example 1: combining text and graphics
◎ Conditions
320 x 200 pixels, single-panel drive (1/200 duty cycle)
First layer: text display
Second layer: graphics display
8 x 8-pixel character font
CG RAM not required
◎ Display Memory Allocation
First layer (text): 320/8 = 40 characters per line, 200/8 = 25 lines. Required memory
size = 40 x 25 = 1000 bytes.
Second layer (graphics): 320/8 = 40 characters per line, 200/1 = 200 lines. Required
memory size = 40 x 200 = 8000 bytes.
Figure 8-2: Character Over Graphics Layers
◎ Register Setup Procedure
SYSTEM SET
C = 40H
P1 = 30H
P2 = 87H
P3 = 07H
P4 = 27H
P5 = 2FH
P6 = C7H
P7 = 28H
P8 = 00H
TC/R calculation
f
f
OSC = 6 MHz
FR = 70 Hz
(1/6) x 9 x [TC/R] x 200 = 1/70
[TC/R] = 48, so TC/R = 2FH
SCROLL
C = 44H
P1 = 00H
P2 = 00H
P3 = C8H
P4 = E8H
P5 = 03H
P6 = C8H
P7 = XH
P8 = XH
P9 = XH
P10 = XH
CSR FORM
C = 5DH
RAiO TECHNOLOGY INC.
www.raio.com.tw
64/88