ra8806 RAIO Technology Inc., ra8806 Datasheet - Page 88
ra8806
Manufacturer Part Number
ra8806
Description
Two Layers Character/graphic Lcd Controller
Manufacturer
RAIO Technology Inc.
Datasheet
1.RA8806.pdf
(184 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ra8806L2N-S
Manufacturer:
ST
Quantity:
2 100
Part Number:
ra8806L2N-S
Manufacturer:
RAIO
Quantity:
20 000
Company:
Part Number:
ra8806P1N-S
Manufacturer:
RAIO
Quantity:
4 000
- Current page: 88 of 184
- Download datasheet (7Mb)
Preliminary Version 1.2
RAiO
TECHNOLOGY INC.
6-11-2 Create Font in DDRAM
Program Example(2):
The DDRAM are 9.6KByte RAM, so it could create 600 Half-Size or 300 Full-Size characters. Table
6-35 is the font code mapping table in DDRAM for Half-Size characters. Table 6-36 is the font code
mapping table in DDRAM for Full –Size characters. These font codes were also fix in RA8806. The
register CURX and CURY are used to point the address that bit-map data to create font.
According to the register setting of user-created font in DDRAM, please refer to the below table.
MAMR
CURX
CURY
Reg.
// Create a half-size font in CGRAM and show on the screen.
// font_data[] = {00, 82, 44, 28, FE, 10, 10, 10, FE, 10, 10, 38, 54, 92, 10, 00}
Access_DDRAM1();
LCD_Text();
LCD_DataWrite( 0x05 );
Access_CGRAM();
Only_Show_DDRAM1();
LCD_CmdWrite( CURY );
LCD_DataWrite( 0x02 );
LCD_CmdWrite( CURX );
LCD_DataWrite( 0x10 );
LCD_CmdWrite( MWCR);
for( i = 0; i < 16; i++ )
LCD_GotoXY( 5 , 5 );
LCD_CmdWrite( MWCR);
LCD_DataWrite( 0x8F );
{
}
Delay2us(50);
LCD_DataWrite( font_data[i] );
Table 6-34 : Register Definition for Created-font in DDRAM
Bit_Num
Bit [6:4]
Bit [1:0]
Bit [5:0]
Bit [7:0]
Bit 7
Cursor Increase enable
Display mode
Select memory for write cycle
Both registers are Indicate which font
code data will be created.
Description
88/184
// Show as (2) of Figure 6-53
// MAMR[1:0] = 00b
// MAMR[6:4] = 001b
// Create 6
// Write font-data from 1
// B0h, Memory write command
// 16 continuous write for font bit-map
// Set Cursor position ( 5 , 5 )
// Corresponding font code( 8F05h )
Two Layers Character/Graphic LCD Controller
th
half-size char
st
REG[12h]
REG[60h]
REG[70h]
Reference
byte
www.raio.com.tw
RA8806
Related parts for ra8806
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
RAIO Technology Inc.
Datasheet:
Part Number:
Description:
Two Layers Character/graphic Lcd Controller Specification
Manufacturer:
RAIO Technology Inc.
Datasheet:
Part Number:
Description:
Character/graphic Lcd Controller
Manufacturer:
RAIO Technology Inc.
Datasheet:
Part Number:
Description:
128x33 Dot Matrix Lcd Driver
Manufacturer:
RAIO Technology Inc.
Datasheet:
Part Number:
Description:
Dot Matrix Lcd Controller
Manufacturer:
RAIO Technology Inc.
Datasheet:
Part Number:
Description:
144x65 Character/graphic Lcd Driver
Manufacturer:
RAIO Technology Inc.
Datasheet:
Part Number:
Description:
Dot Matrix Lcd Controller
Manufacturer:
RAIO Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
RAIO Technology Inc.
Datasheet: