RA8835A
Version 1.0
Dot Matrix LCD Controller
6. Instruction Set
6-1 The Command Set
Table-1: Command Set
Command
Code
Read
Command
Class
Command
Hex
Parameters
Description
No. of
Section
Bytes
RD WR A0 D7 D6 D5 D4 D3 D2 D1 D0
SYSTEM
SET
Initialize device and
System
Control
1
1
0
0
1
1
0
0
1
1
0
0
0
1
0
0
0
0
0
1
0
1
40
53
8
0
9-2-1
9-2-2
display
SLEEP IN
Enter standby mode
Enable and disable
display and display
flashing
DISPLAY
ON/OFF
58,
59
1
0
1
0
1
0
1
1
0
0
D
1
9-3-1
Set display start
address and display
regions
SCROLL
1
1
1
0
0
0
1
1
1
0
0
0
1
1
1
0
0
0
0
1
1
0
1
1
1
1
1
0
0
0
0
1
0
44
5D
5C
10
2
9-3-2
9-3-3
9-3-6
CSRFORM
Set cursor type
Set start address of
character generator
RAM
Display
Control
CGRAM
ADR
2
4C
to
CD CD
Set direction of cursor
movement
CSRDIR
1
0
1
0
1
0
0
1
1
0
9-3-4
1
0
0
1
4F
Set horizontal scroll
position
HDOT SCR
OVLAY
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
1
0
0
1
5A
5B
1
1
9-3-7
9-3-5
Set display overlay
format
1
CSRW
CSRR
1
1
0
0
1
1
0
0
1
1
0
0
0
0
0
0
1
1
1
1
0
1
46
47
Set cursor address
Read cursor address
Write to display
memory
2
2
9-r1
Drawing
Control
9-4-2
MWRITE
MREAD
1
1
0
0
1
1
0
0
1
1
0
0
0
0
0
0
0
0
1
1
0
1
42
43
—
—
9-5-1
9-5-2
Memory
Control
Read from display
memory
Notes:
1. In general, the internal registers of the RA8835A series are modified as each command parameter is
input. However, the microprocessor does not have to set all the parameters of a command and may
send a new command before all parameters have been input. The internal registers for the
parameters that have been input will have been changed but the remaining parameter registers are
unchanged. 2-byte parameters (where two bytes are treated as 1 data item) are handled as follows:
a. CSRW, CSRR: Each byte is processed individually. The microprocessor may read or write
just the low byte of the cursor address.
b. SYSTEM SET, SCROLL, CGRAM ADR: Both parameter bytes are processed together. If
the command is changed after half of the parameter has been input, the single byte is
ignored.
2. APL and APH are 2-byte parameters, but are treated as two 1-byte parameters.
RAiO TECHNOLOGY INC.
www.raio.com.tw
11/88