The
driver for up to 16-character 1-line or 8-character 2-line
display.
It contains microprocessor interface circuits,
instruction decoder controller, character generator
ROM/RAM and common and segment drivers.
The bleeder resistance generates for LCD Bias
voltage internally.
The CR oscillator incorporates C and R, therefor e no
external components for oscillation are required.
The microprocessor interface circuits which operate
2MHz frequency, can be connected directly to 4bit/8bit
microprocessor.
The character generator consists of 9,600 bits ROM
and 32 x 5 bits RAM. The standard version ROM is
coded with 192 characters including capital and small
letter fonts.
The 16-common and 40-segment drives up to 16character 1-line LCD panels which divided two comm on
electrode blocks.
The rectangle outlook is very applicable to COG or
Slim TCP.
LCD Driving Power Source
Oscillation Frequency Adjust Terminals. Normally Open.
82
83
82
83
OSC1
OSC
2
For external clock operation, the clock should be input on OSC1.
(Oscillation C and R are incorporated, OSC Freq.=270kHz)
Register selection signal input
11 11 RS
“0” : Instruction Register (Writing)
Busy Flag (Reading)
“1” : Data Register (Writing/Reading)
12 12 R/W
Read/Write selection signal input
“0” : Write, “1” : Read
13 13 E Read/Write activation signal input
3-state Data Bus (Upper) to transf er the data between MPU and
22∼19 22∼19 DB
∼DB
7
4
NJU6631A
DB
is also used for the Busy flag reading.
7
3-state Data Bus (Lower) to transfer the data between MPU and
18∼14 18∼14 DB
∼DB
3
0
NJU6631A
These bus are not used in the 4-bit operation.
23∼30
81∼74
81∼74
23∼30
COM
COM
∼COM
1
∼COM
9
LCD Common driving signal Terminals
8
Common driver Location order Select as Shown in T able 4.
16
Pin configuration mode A : M0=0 / mode B : M0=1.
LCD Segment driving signal Terminals
33∼72 72∼33 SEG
∼SEG
1
Segment driver Location order Select as Shown in Table 4.
40
Pin configuration mode A : M0=0 / mode B : M0=1.
NJU6631A
10 10 RESET
Reset Terminal. W hen the “L” level input over than 1.2m s to this
terminal the system will be reset. (f
=270kHz)
OSC
NJU6631A
FUNCTIONAL DESCRIPTI O N
■
(1) Description for each blocks
(1-1) Register
NJU6631A
The
The Register (IR) stores instruction codes such as “ Clear Dis play” and “Return Home”, and address data for
Display Data RAM (DD RAM) and Character Generator RAM (CG RAM) . The MPU can write the instruction
code and address data to the Register (IR), but it cannot read out from the Register (IR).
The Register (DR) is a temporary stored register, the data stored in the Register (DR) is written into the DD
RAM or CG RAM and read out from the DD RAM or CG RAM.
The data in the Register (DR) written by the MPU is transferred automatically to the DD RAM or CG RAM by
internal operation.
When the addres s data for the DD RAM or CG RAM is written into the Register (IR) , the address ed data in
the DD RAM or CG RAM is transferred to the Register (DR). By the MPU read out the data in the Register
(DR), the data transmitting process is performed completely.
After reading the data in the Register (DR) by the MPU, the next address data in the DD RAM or CG RAM is
transferred automatically to the Register (DR) to provide for the next MPU reading.
These two registers are selected by the selection signal RS as shown below :
Table 1. shows register operation controlled by RS and R/W signals.
RS R/W Selected Register Operation
0 0 Write
0 1
1 0 Write (DR to DD RAM or CG RAM)
1 1
incorporates two 8-bit registers, an Instruction Register (IR) and a Data Register (DR).
Table 1. Register Operation
IR
DR
Read busy flag (DB
) and address counter (DB
7
Read (DD RAM or CG RAM to DR)
∼DB
0
)
6
(1-2) Busy Flag (BF)
When the internal circuits are in the operation mode, the busy flag is "1", and any instruction reading is
inhibited.
The busy flag (BF) is output at DB
when RS="0" and R/W="1" as shown in table 1.
7
The next instruction should be written after busy flag (BF) goes to "0".
(1-3) Address Counter (AC)
The address Counter (AC) addressing the DD RAM and CG RAM.
When the address setting instruction is written into the Regis ter (IR), the address inf ormation is transferred
from Register (IR) to counter (AC). The selection of either the DD RAM or CG RAM is also determ ined by this
instruction.
After writing (or reading) the display data to (or from) the DD RAM or CG RAM, the Counter (AC)
increments (or decrements) automatically.
∼DB
The address data in the Counter (AC) is output from DB
when RS="0" and R/W="1" as shown in Table
6
0
1.
(1-4) Display Data RAM (DD RAM)
The display data RAM (DD RAM) consists of 16 x 8 bits, stores up to 16-character display data represented
in 8-bit code.
The DD RAM address data set in the address Counter (AC) is represented in Hexadecimal.
Higher order bit Lower order bit (Example) DD RAM address “08”
0 0 0 1 0 0 0
AC6 AC5 AC4 AC3 AC2 AC1 AC0
AC
Hexadecimal 0 8 Hexadecimal
NJU6631A
(1-4-1) 16-character 1-line Display
NJU6631A
The
which is determined by the Function Set Instruction (A= 0 and 1).
"Addressing mode 1" is using consecutive addres s of (00)
half 8-character. "Addressing mode 2" is not using consecutive addres s lik es as (00)
through (47)
16-character 1-line and 8 character 2-line are also determined by the Function Set Instruction (M1= 0 and 1) .
<Addressing mode 1: A=0, M1=0>
-The relation between DD RAM address and display position on the LCD is shown below.
has two kinds of addressing m ode called "Addressing mode 1" and "Addressing m ode 2"
through (0F)H for front half 8-c haracter and last
H
for front half 8-character and last half 8-character respectively.
H
through (07)H and (40)H
H
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
←Display position
←DD RAM address
(Hexadecimal)
∼COM
COM
1
COM
8
∼COM
9
16
When the display shift is performed, the DD RAM address changes as follows:
(Left Shift Display)
(00)←
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00
(Right Shift Display)
0F 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E
→(0F)
<Addressing mode 2: A=1, M1=0>
-The relation between DD RAM address and display position on the LCD is shown below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
00 01 02 03 04 05 06 07 40 41 42 43 44 45 46 47
←Display position
←DD RAM address
(Hexadecimal)
∼COM
COM
1
COM
8
∼COM
9
16
When the display shift is performed, the DD RAM address changes as follows:
(Left Shift Display)
(00)←
01 02 03 04 05 06 07 40 41 42 43 44 45 46 47 00
(Right Shift Display)
47 00 01 02 03 04 05 06 07 40 41 42 43 44 45 46
→(47)
(1-4-2) 8-character 2-line
2
2
<Addressing mode 1: A=0, M1=1>
-The relation between DD RAM address and display position on the LCD is shown below.
NJU6631A
1 2 3 4 5 6 7 8
COM
∼COM
1
8
1st Line 00 01 02 03 04 05 06 07
2nd Line 08 09 0A 0B 0C 0D 0E 0F
(Hexadecimal)
COM
∼COM
9
16
←Display Position
←DD RAM Address
←
When the display shift is performed, the DD RAM address changes as follows:
(Left Display Shift)
1st Line(00)←
nd Line(08)←
01 02 03 04 05 06 07 08
09 0A 0B 0C 0D 0E 0F 00
(Right Display Shift)
1st Line 0F 00 01 02 03 04 05 06
2nd Line 07 08 09 0A 0B 0C 0D 0E
→(07)
→(0F)
<Addressing mode 2: A=1, M1=1>
-The relation between DD RAM address and display position on the LCD is shown below.
1 2 3 4 5 6 7 8
COM
∼COM
1
8
1st Line 00 01 02 03 04 05 06 07
2nd Line 40 41 42 43 44 45 46 47
(Hexadecimal)
COM
∼COM
9
16
← Display Position
←DD RAM Address
←
When the display shift is performed, the DD RAM address changes as follows:
(Left Display Shift)
1st Line(00)←
nd Line(40)←
01 02 03 04 05 06 07 08
41 42 43 44 45 46 47 00
(Right Display Shift)
1st Line 47 00 01 02 03 04 05 06
2nd Line 07 40 41 42 43 44 45 46
→(07)
→(47)
NJU6631A
(1-5) Character Generator ROM (CG ROM)
The Character Generator ROM (CG ROM) generates 5 x 8 dots character pattern represented in 8-bit
character codes.
The storage capacity is up to 240 kinds of 5 x 8 dots character pattern. The correspondence between
character code and standard character pattern of NJU6631A is shown in Table 2.
User-defined character pattern (Custom Font) are also available by mask option.
NJU6631A
Table 2. CG ROM Character Pattern (ROM version -02)
→
NJU6631A
(1-6) Character Generator RAM (CG RAM)
The character generator RAM (CG RAM) can s tore any kinds of character pattern in 5 x 7 dots written by
the user program to display user’s original character patter n. The CG RAM can stor e 4 kinds of c haracter in 5
x 7 dots mode.
To display user ’s original c haracter pattern stor ed in the CG RAM, the address data (00)
written to the DD RAM as shown in Table 2.
Table 3. shows the correspondence among the character pattern, CG RAM address and Data.
Table 3. Correspondence of CG RAM address, DD RAM character code
Notes : 1.Character code bits 0 to 1 correspond to the CG RAM address 3 and 4 (2 bits : 4 patterns)
2.CG RAM address 0, 1 and 2 designate character pattern Line position.
The 8th line is the cursor position and the dis play is perfor m ed by logical O R with c ursor. Therefor e,
in case of the cursor dis play, the 8th line should be "0". If ther e is "1" in the 8th line, the bit "1" is
always displayed on the cursor position regardless of cursor existence.
3.Character pattern row position correspond to the CG RAM data bits 0 to 4 are shown above.
The bits 5 to 7 of the CG RAM do not exist.
4.CG RAM character patterns are selected when character code bits 4 to 7 are all "0" and it is
addressed by character code bits 0 to 1. Theref ore, the addres s (00)
the same character pattern as shown in Table 2 and Table 3.
5."1" for CG RAM data corresponds to display On and "0" to display Off.
1 0 0
1 0 1
1 1 0
1 1 1
, (04)H, (08)H and (0C)H, select
H
Loading...
+ 22 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.