The
driver for up to 16-character 2-line display with double
height function.
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 Inc orporates C and R, ther efore no
external components for oscillation are required.
The microprocessor Interface circuits which operate
2MHz frequency, can be connected directly to 4/8bit
microprocessor.
The character generator consists of 9,600 bits ROM
and 32 x 5 bits RAM. The standard version ROM is
coded with 240 characters including capital and small
letter fonts.
The 16-common and 80-segment drive up to
16-character 2-line LCD panel which divided two
common electrode blocks.
2 2 OSC1 I Oscillation Frequency Adjustment Terminals. Normally Open.
(Oscillation C and R are Incorporated, Osc Freq.=540kHZ)
3 3
OSC
O Oscillation Frequency Adjustment Terminals. Normally Open.
2
This terminal also operates as the clock frequency monitor.
16 16
RS
I Resister selection signal Input
"0":Instruct ion Resister (Writing)
Busy Flag (Reading)
"1":Data Register (Writing / Reading)
17 17 R/W I Read/Write selection signal Input
"0":Write "1":Read
18 18 E I Read/write activation Signal Input
26 – 23 26 – 23 DB7 – DB4 I/O 3-state Data Bus(Upper) to transfer the data between MPU and
NJU6635
DB
.
is also used for the Busy Flag reading.
7
19 – 22 19 – 22 DB3 – DB0 I/O 3-state Data Bus(Lower) to transfer the data between MPU and
NJU6635
.
In serial and 4bit parallel mode, these terminals are not used
and should be open.
32 – 39,
126 – 133
133 – 126,
39 – 32
COM1 –
COM
43 – 122 122 – 43 SEG1 –
SEG
15 15
1,
27 – 31,
40 – 42,
123 – 125,
134 – 137
1,
27 – 31,
40 – 42,
123 – 125,
134 – 137
RESET
DUMMY1
–
DUMMY
80
O LCD Common driving signal Terminals
16
O LCD segment driving signal Terminals
I Reset Terminal. When the “L” level Input over than 1.2ms to
this terminal, the system will be reset.(f
O Dummy Terminal
These terminals are electrically open.
15
=540kHz)
OSC
FUNCTIONAL DESCRIPTION
■
(1)Description for each blocks
(1-1)Register
NJU6635
The
The Register (IR) stores Instruction codes suc h as “Clear Display” and “Ret urn Home”, and addres s
data for Display Data RAM (DD RAM) an d Character Generator RAM (C G RAM). The MPU can wr ite
the Instruction code and address data to the Register (IR), but it can not read out from the Register (IR).
The Register (DR) is a tem porary storing r egister, the data 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 Regis ter (D R) writte n b y the MP U is tr ansf erred f rom the Reg ister autom atical l y to the
DD RAM or CG RAM by Internal operation.
After reading the data in th e Register (DR) b y the MPU, the next address data in the DD RAM or C G
RAM is transferred automatically to the Register (DR) for the next MPU reading.
These two registers are selected by the selection signal RS as shown below:
Table 1. Register operation control by RS and R/W signals.
RS R/W Operation
0 0 Write
0 1 Read busy flag (DB7) and address counter (DB0 to DB7)
1 0 Write (DR to DD or CG RAM)
1 1 Read (DD or CG RAM to DR)
(1-2)Busy Flag (BF)
When the internal circuits are operating, the busy flag is “1”, and any instruction reading is inhibited.
The busy flag (BF) is output from DB
The next instruction should be written after busy flag (BF) goes to “0”.
(1-3)Address Counter(AC)
The address Counter (AC) addresses the DD RAM and CG RAM.
When the address setting instruction is written into the Register (IR), the address information is
transferred from Register (IR) to th e counter (AC) . The selection of either the DD RAM or CG RAM is
also determined 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) “1” automatically.
The address data in the Co unter (AC) is outp ut from DB
in table 1.
(1-4)Display Data RAM (DD RAM)
The display data RAM (DD RAM) consisting of 32 x 8 bits stores up to 32-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 ”
AC AC
incorporates two 8-bit registers, an Instruction Register (IR) and a Data Register (DR).
AC5 AC4 AC3 AC2 AC1 AC0 0 0 0 1 0 0 0
6
Hexadecimal
Table 1. Register Operation
when RS=”0” and R/W=”1” as shown in table 1.
7
to DB0 when RS=”0” and R/W=”1” as shown
6
Hexadecimal
0
NJU6635
8
NJU6635
(1-4-1)16-character 2-line Display
NJU6635
The
which is determined by the Function Set Instruction (A=0 and 1).
“Addressing mode 1” us es sequential address of (00)
last half 16-character. “Addressing mode 2 “ does not use sequential address lik e as (00)
and (40)H through (4F)H for front half 16-character and last half 16-character respectively.
(1-4-2)The relation between DD RAM address and display position on the LCD shown below.
Correspondence between DD RAM Address and display position on the LCD panel.
In case of doub le height size Displa y function, the address of DD RAM which is set as fol lows the
display, operates as 16-character 1-line and the addressing mode is ignored.
has two kinds of addressing mode as “ Addressing mode 1 ” and “ Addressing mode 2 ”
through (1F)H for front half 16-character and
H
through
H
←Display Position
←DD RAM Address
→ (0F)
→ (1F)
← Display Position
← DD RAM Address
→ (0F)
→ (4F)
(Double Height Sized display Function).
← Display Position
← DD RAM Address
→ (0F)
→ (0F)
NJU6635
Lower 4 bit (Hexadecimal)
(1-5)Character Generator ROM(CG ROM)
The Character Gen erator ROM (CG ROM) g enerates 5 x 8 dots c h arac ter patt ern r epres en ted i n 8-bi t
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 is shown in Table 2.
User-defined character pattern ( Custom Font ) are also available by mask option.
Table 2. CG ROM Character Pattern ( ROM version –02 )
Upper 4 bit (Hexadecimal)
NJU6635
(1-6)Character Generator RAM
The character gen erator RAM (CG RAM) s tor es any kinds of character pattern in 5 x 8 dots written by
the user program to dis pla y us er ’s orig inal c harac ter p attern. The CG RAM stores 4 k inds of charac ter
in 5 x 8 dots mode.
To display user’s original character pattern stored in the CG RAM, the address data (00)
should be 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
and CG RAM character pattern (5 x 8 dots)
Character Code
(DD RAM Data)
7 6 5 4 3 2 1 0
←→
Upper bit Lower bit
0 0 0 0 ∗ ∗ 0 0
0 0 0 0 ∗ ∗ 0 1
0 0 0
!
!
!
!
!
0 0 0 0 ∗ ∗ 1 1
Notes: 1. Character code bits 0 and 1 correspond to the CG RAM address 3 and 4 ( 2bits : 4 patterns).
2. CG RAM address 0, 1 and 2 designate a character pattern line position.
The 8th line is the cursor position and the display is performed by logical OR with cursor.
Therefore, in case of the cursor display, the data of 8th line should be “0”.
If there 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 cor responding to the CG RAM data bits 0 to 4 are all shown abo ve.
The bits 5 to 7 of the CG RAM do not exist.
4. CG RAM ch aracter p atterns ar e selected when ch aracter code bits 4 t o 7 are al l “0” and address ed
by character code bits 0 and 1. Theref ore the address (00)
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.
CG RAM Address
4 3 2 1 0
←→
Upper bit Lower bit
0 0 0
0 0 1
0 1 0
0 1 1
00
1 0 0
1 0 1
1 1 0
1 1 1
0 0 0
0 0 1
0 1 0
0 1
!
!
!
!
!
1 1
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0 0 1
1 0 0
1 0 1
1 1 0
1 1 1
Character
Pattern
(CG RAM Data)
4 3 2 1 0
←→
Upper Lower
bit bit
1 1 1 1 0
1 0 0 0 1
1 0 0 0 1
1 1 1 1 0
1 0 1 0 0
1 0 0 1 0
1 0 0 0 1
0 0 0 0 0
1 0 0 0 1
0 1 0 1 0
1 1 1 1 1
0 0 1 0 0
1 1 1 1 1
0 0 1 0 0
0 0 1 0 0
0 0 0 0 0
!
!
!
!
!
!
!
!
!
!
, (04)H, (08)H and (0C)H, select the
H
Character
Pattern
Example (1)
←Cursor Position
Character
Pattern
Example (2)
← Cursor Position
– (03)H
H
NJU6635
(1-7)Timing Generator
The timing generator generates a timing signals for the DD RAM, CG RAM, CG ROM and other
internal circuit operation.
RAM read timing for the display and internal operation timing for MPU access are separately
generated, so that they may not interfere with each other.
Therefore, when the d ata write to the DD R AM for exam ple, there wil l be undesirable Influence, suc h
as flickering, in areas other than the display area.
(1-8)LCD Driver
LCD driver consists of 16-common driver and 80-segment driver.
The 80 bits of charac ter pattern d ata ar e s hifted in th e s hift-r egister and la tched when the 40 bits shift
performed completely. This latched data controls display driver to output LCD driving waveform.
(1-9)Cursor Blinking Control Circuit
This circuits controls cursor On/Off and cursor position character blinks. The cursor or blinks
appears in the digit position at the DD RAM address set in the address counter(AC).
2nd line 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F (Hexadecimal)
Note) The cursor or blinks appears when the address counter (AC) selects the CG RAM.
But the displayed cursor and blink are meaningless.
If the AC stores the CG RAM address data, the cursor and blink are displayed in the meaningless
position.
AC5 AC4 AC3 AC2 AC1 AC0
6
, a cursor position is shown as follows:
H
Cursor Position
← Display Position
← DD RAM Address
Loading...
+ 23 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.