English
Language : 

GDM240128A Datasheet, PDF (12/29 Pages) List of Unclassifed Manufacturers – LCD MODULE
User’s Manual
3. STA2 and STA3 are valid in auto mode; STA0 and STA1 are invalid.
4. STA6 is valid in screen peek and screen copy mode.
5. STA5 and STA7 mirror the interior operational status.
5-6-1. Registers Setting, the format is as follows: D1,D2
0
0
1
0
0
N2 N1 N0
D1, D2 is the first and the second parameters respectively, and the last byte is
command code. According to the values of N0, N1, N2, this command has
three meanings.
D1
D2
Code
Function
X Address
(lower 7 bits are valid)
Y Address
(lower 5 bits are valid)
21H (N0=1)
Set cursor pointer
Address
00H
22H (N1=1) Set offset register
(lower 5 bits are valid)
Low address
High address
24H (N2=1) Set address pointer
A、 Set cursor pointer: D1 stands for the horizontal distance (number of
characters) of cursor to the top left corner of the real LCD panel. D2 stands
for the vertical distance (number of character lines). Setting and changing
the cursor position must be performed through resetting the cursor pointer.
The cursor pointer is not related to address pointer and has no auto
change function.
B、 Set CGRAM offset register: Set the high 5 bits of CGRAM’s 16 bit address
in DDRAM. The actual address of CGRAM is:
Offset Adrs: C4 C3 C2 C1 C0
Char. Code:
Line Adrs : +)
D7 D6 D5 D4 D3 D2 D1 D0
R2 R1 R0
Actual.Adrs.: A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
R2~R0: represent one line of the self-designed 8X8 dots characters.
When the internal CGROM mode is set in mode set, the character code
allocated to external character generator is 80H~FFH. When the external
CGROM mode is set in mode set, the character code allocated to the
external character generator is 00H~FFH.
For example: when allocate the units of 1800H~1FFFH(2K)in DDRAM to
CGRAM, the offset register could be set to #03H. Thus, the address of
character whose code is 80H in DDRAM is 1C00H~1C07H.
B、 Set address pointer: set the unit address of DDRAM to be accessed. D1
and D2 are the low address and high address of the unit address
respectively.
5-6-2. Control word setting, the command format is as follows: D1, D2
0
1
0
0
0
0
N1 N0
According to different values of N1 and N0, this command has four functions:
- 11 -