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

no-image

NJU6635

Manufacturer Part Number
NJU6635
Description
16-character 2-line Dot Matrix Lcd Controller Driver
Manufacturer
New Japan Radio Co.,Ltd
Datasheet
(3) Instructions
peripheral ICs operating different cycles. The operation of NJU6635 is determined by this control signal
from MPU. The control information includes register selection signals (RS), read/write signals (R/W) and
data bus signals (DB
Read Data from CG
Note) The execution time mentioned in Table 5. is based on fcp or f
Set DD RAM
Write Data to CG or
DD or MK RAM
Set CG RAM
INSTRUCTION
Maker Test
Clear Display
Return Home
/ Font Size Set
Entry Mode Set
Display
Control
Cursor or Display
Shift
Function Set
Read Busy
or DD or MK RAM
Explanation of
Abbreviation
=Don’t Care
The NJU6635 incorporates two resisters, which are Instruction Register (IR) and a Data Register (DR).
These two registers store control information temporarily to allow interface between NJU6635 and MPU or
Table 5. Shows each instruction and its operating time.
Flag & Address
If the oscillation frequency is changed, the execution time is also changed.
ON/OFF
Address
Address
RS R/W DB
1
DD RAM : Display data RAM, CG RAM : Character generator RAM
ACG : CG RAM address, ADD : DD RAM address, Corresponds to cursor address
AC : Address counter used for both DD and CG RAM
0
0
0
0
0
0
0
0
0
0
0
1
to DB
1
0
0
0
0
0
0
0
0
0
1
0
7
).
BF
0
0
0
0
0
0
0
0
1
7
DB
0
0
0
0
0
0
0
1
Write Data(DD RAM)
Read Data(DD RAM)
6
C O D E
DB
0
0
0
0
0
0
1
DD RAM address
Table 5. Table of Instruction
5
DB
DL
0
0
0
0
0
1
CG RAM address
4
S/C R/L
DB
AC
A
(CG RAM)
(CG RAM)
0
0
0
0
1
3
DB
AC
D
0
0
0
1
2
DB
M1 M0
I/D
C
0
0
1
1
DB
0
1
E
S
B
0
All “0” code is using for maker
testing.
Display clear and sets DD
RAM address 0 in AC.
Sets DD RAM address 0 In AC
and
shifted to original position.
DD
unchanged.
Sets cursor move direction and
species shift of display are
performed In data read/write.
I/D=1:Increment,
I/D=D:Decrement,S=1:Accopa
nies display shift.
Sets
cursor On/Off(C) and blink of
cursor position character(B)
Move cursor and shifts display
without changing DD RAM
contents.
S/C=1 : Display shift
S/C=0 : Cursor shift
R/L=1 : Shift to right
R/L=0 : Shift to the left
Sets interface data length(DL),
Display address mode(A)
DL=1 : 8 bits, DL=0 : 4 bits
A=0 : Addressing mode 1
A=1 : Addressing mode 2
M1=0 : 32-Character 1-Line
M1=1 : 16-Character 2-Line
M0=0 : Pin configuration
M0=1 : Pin configuration
Sets CG RAM address. After
this instruction, the data is
transferred on CG RAM.
Sets DD RAM address. After
this instruction, the data is
transferred on DD RAM.
Read
contents.
BF=1 : Internally operating
BF=0 : Can accept instruction
Writes data into CG or DD
RAM.
Reads data from CG or DD
RAM
OSC
RAM
=540kHz.
returns
DESCRIPTION
of
busy
display
contents
flag
display
On/Off(D),
and
mode A
mode B
remain
being
AC
NJU6635
EXEC TIME
(f
OSC
315.9 s
=540kHz)*
18.5 s
18.6 s
18.6 s
18.6 s
18.6 s
18.5 s
18.6 s
28 s
28 s
0 s

Related parts for NJU6635