06.11.2014 Views

RAiO RA8806 - Display Future

RAiO RA8806 - Display Future

RAiO RA8806 - Display Future

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Version 1.3<br />

<strong>RA8806</strong><br />

Two Layers Character/Graphic LCD Controller<br />

6-11 User-Defined Font<br />

The <strong>RA8806</strong> embedded a 512Byte CGRAM for user to create new character. The user could create<br />

font, special symbol or pattern in this memory. If user only uses one DDRAM, then the other one could<br />

also use as CGRAM.<br />

Therefore, the <strong>RA8806</strong> provides 3 regions for user to create new character(symbol or pattern) as<br />

following:<br />

1. 512 Bytes CGRAM<br />

2. 9.6K Bytes DDRAM1 (When user only shows DDRAM2 data on screen)<br />

3. 9.6K Bytes DDRAM2 (When user only shows DDRAM1 data on screen)<br />

Table 6-31 : Font Code for User-Created<br />

Region Size Code and Range Capacity<br />

CGRAM<br />

512 bytes<br />

Half-Size : 8F00h ~ 8F1Fh<br />

Full-Size : 9F00h ~ 9F0Fh<br />

32 Half-Size chars<br />

16 Full-Size chars<br />

DDRAM1<br />

9.6 Kbytes<br />

Half-Size : 8000h ~ 8E27h<br />

Full-Size : 9000h ~ 9E13h<br />

600 Half-Size chars<br />

300 Full-Size chars<br />

DDRAM2<br />

9.6 Kbytes<br />

Half-Size : 8000h ~ 8E27h<br />

Full-Size : 9000h ~ 9E13h<br />

600 Half-Size chars<br />

300 Full-Size chars<br />

6-11-1 Create Font in CGRAM<br />

The CGRAM is a 512Byte RAM, so it could create 32 Half-Size or 16 Full-Size characters. The<br />

Table 6-32 is the font code mapping table in CGRAM. Note the font codes were fix in <strong>RA8806</strong>. And<br />

the Font# was defined in Bit[3:0] of REG[CURY].<br />

Table 6-32 : CGRAM Font Code Mapping Table<br />

Font#<br />

Code<br />

0<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

Half-Size<br />

8F00 8F01 8F02 8F03 8F04 8F05 8F06 8F07 8F08 8F09 8F0A 8F0B8F0C8F0D8F0E<br />

8F0F<br />

Full-Size<br />

9F00<br />

9F01<br />

9F02<br />

9F03<br />

9F04<br />

9F05<br />

9F06<br />

9F07<br />

Font#<br />

Code<br />

8<br />

9<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

Half-Size<br />

8F10 8F11 8F12 8F13 8F14 8F15 8F16 8F17 8F18 8F19 8F1A 8F1B8F1C8F1D8F1E<br />

8F1F<br />

Full-Size<br />

9F08<br />

9F09<br />

9F0A<br />

9F0B<br />

9F0C<br />

9F0D<br />

9F0E<br />

9F0F<br />

<strong>RAiO</strong> TECHNOLOGY INC. 84/193 www.raio.com.tw

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!