RAiO RA8806 - Display Future
RAiO RA8806 - Display Future
RAiO RA8806 - Display Future
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Version 1.3<br />
<strong>RA8806</strong><br />
Two Layers Character/Graphic LCD Controller<br />
Start<br />
Access DDRAM1<br />
( REG[12h] [1:0] = 0 1 )<br />
Show DDRAM2<br />
N0<br />
Write 16 bytes data ?<br />
Access Page2<br />
( REG[12h] [1:0] = 1 0 )<br />
( REG[12h] [6:4] = 010 )<br />
Set Graphic Mode<br />
( REG[00h] B3 = 0 )<br />
Yes<br />
X add 1<br />
(Set REG[60h])<br />
Set Text Mode<br />
( REG[00h] B3 = 1 )<br />
Set Cursor shifting<br />
Direction, vertical<br />
first then horizontal<br />
( REG[12h] B7 = 1 )<br />
Set XY -axis ( X, Y )<br />
( Set REG[60h],[70h] )<br />
Set Cursor shifting<br />
Direction, horizontal<br />
first then vertical<br />
( REG[12h] B7 = 0 )<br />
Set XY -axis ( X, Y )<br />
( Set REG[60h],[70h] )<br />
Write Right-half font<br />
data to DDRAM1<br />
Y add 1<br />
(Set REG[70h])<br />
Set XY -axis ( X, Y )<br />
and execute Memory<br />
Write CMD<br />
Write Left-half font<br />
data to DDRAM1<br />
Write 16 bytes data ?<br />
N0<br />
Write font data that<br />
already defined at<br />
DDRAM1 to DDRAM2<br />
Y add 1<br />
(Set REG[70h])<br />
Yes<br />
Figure 6-55 : Flowchart of User-created font in DDRAM1<br />
The above flow-chart is an example to create a Full-size in DDRAM1 and show the new font on<br />
screen(DDRAM2). At first, user have to set up the CURX and CURY to define which code data will<br />
be created, and then write 32Bytes bit-map data to DDRAM1. The CURX need to set twice for each<br />
16Bytes data – the left and right of full-size font. Please refer the following Program Example(3). If<br />
we want to create a full-size font as (1) of Figure 6-53 to mapping code – 9205h in Table 6-36. The<br />
result is show (1) of Figure 6-53 on screen.<br />
<strong>RAiO</strong> TECHNOLOGY INC. 90/193 www.raio.com.tw