NJU6635 New Japan Radio Co.,Ltd, NJU6635 Datasheet - Page 16

no-image

NJU6635

Manufacturer Part Number
NJU6635
Description
16-character 2-line Dot Matrix Lcd Controller Driver
Manufacturer
New Japan Radio Co.,Ltd
Datasheet
Note) This function set instruction must be performed at the head of the program prior to all other instructions
g) Function Set
(except Busy flag/Address read). This function set instruction can not be executed afterwards unless
the interface data length change.
h) Set CG RAM Address
RAM, 1-line or 2-line display, and Pin configuration mode, is executed when the code ”1” is written
into DB
and DB
address is written into DB
together with the CG RAM addressing condition. After this instruction, the data writing/reading is
performed into/from the CG RAM.
Code
Code
Function set instruction which sets the interface data length, the addressing mode for the DD
Set CG RAM address instruction is executed when the code “1” is written into DB
The address data mentioned by binary code “AAAAA “ is written into the address counter (AC)
M1
M0
DL
CG RAM
1
0
A
0
1
0
1
0
1
0
5
(M0) as shown below (character font is fixed 5 x 8 dots).
and the codes of (DL), (A), (M1) and (M0) are written into DB
RS
RS
0
0
Set the interface data length to 8 bits (DB
Set the interface data length to 4 bits (DB
A couple of data must be sent or received.
Set the Addressing Mode 1 for the DD RAM
Set the Addressing Mode 2 for the DD RAM
Set the 32-Character 1-Line Display
Set the 16-Character 2-Line Display
Set the Pin configuration mode A for Common and Segment Driver (Refer to cord.)
Set the Pin configuration mode B for Common and Segment Driver (Refer to cord.)
R/W
R/W
0
0
DB
DB
0
0
4
7
7
to DB
Higher order bit
DB
DB
0
1
0
6
6
as shown above.
DB
DB
1
5
5
DB
DB
DL
A
: (00)
CG RAM address
4
4
DB
DB
A
A
H
FUNCTION
FUNCTION
FUNCTION
FUNCTION
3
3
– (1F)
Lower order bit
DB
7
7
DB
A
to DB
to DB
H
2
2
DB
DB
0
4
M1
)
)
A
1
1
DB
DB
M0
A
4
0
0
(DL), DB
=Don’t Care
NJU6635
3
(A), DB
6
and the
1
(M1),

Related parts for NJU6635