! Internal LCD drivers
16 common signal drivers
40 segment signal drivers
(can be externally extended to 400 segments
using NT3882)
! Maximum display dimensions
40 characters * 2 lines or
80 characters * 1 line
! Interfaces with 4-bit or 8-bit MPU
! Versatile display functions provided on chip:
Display Clear, Cursor Home, Display ON/OFF,
Cursor ON/OFF, Character Blinking, Cursor
Shift, and Display Shift
! Three duty factors, selected by PROGRAM:
1/8, 11/11, and 1/16
! Displays Data RAM (DD RAM): 80 X 8 bits
(displays up to 80 characters)
! Character Generator RAM (CG RAM):
64 X 8 bits for general data,
8 5 X 8 programmable dot patterns, or
4 5 X 10 programmable dot patterns
! Low voltage reset
! NOVATEK Identification code
! Bonding option for A-type and B-type waveform
Dot Matrix LCD Controller and Driver
! Character Generator ROM (CG ROM):
3 kinds of CG ROM sizes:
192 characters:
160 5 X 8 dot patterns
32 5 X 10 dot patterns
240 characters:
192 5 X 8 dot patterns
48 5 X 10 dot patterns
256 characters:
192 5 X 8 dot patterns
64 5 X 10 dot patterns
Custom CG ROM is also available
! Built-in power-on r eset function
! Logic power supply: single +5V supply
! LCD driver power supply: V
(V
+0.3 - VDD-13.5)
DD
! Three oscillator operations
(Freq. = 250KHz - 270KHz):
• Internal oscillation
• Ceramic resonator
• External clock
! CMOS Process
! Available in 80-pin QFP or in CHIP FORM
- V5
1
General Description
The NT3881D is a dot matrix LCD controller and driver
LSI that can operate with either a 4-bit or an 8-bit
microprocessor (MPU). NT3881D receives control
character codes from the MPU, stores them in an internal
RAM (up to 80 characters), transforms each character
code into a 5 X 7, 5 X 8, or 5 X 10 dot matrix character
pattern, and then displays the codes on the LCD panel.
The built-in Character Generator ROM consists of 256
different character patterns.
The NT3881D also contains Character Generator RAM
where the user can store 8 different character patterns at
run time. These memory features make character display
flexible. NT3881D also provides many display instructions
to achieve versatile LCD display functions. The NT3881D
is fabricated on a single LSI chip using the CMOS
process, resulting in very low power requirements.
With several NT3882 driver ICs connected to the
NT3881D, up to 80 characters can be displayed.
39 - 42 DB0 - DB3 I/O MPU Lower 4 tri-state bi-directional data bus for
transmitting data between MPU and NT3881D.
Not used during 4-bit operation.
43 - 46 DB4 - DB7 I/O MPU Higher 4 tri-state bi-directional data bus for
transmitting data between MPU and NT3881D.
DB7 is also used as busy flag.
47 - 62 COM1 - COM16 O LCD panel Common signal output pins
63 - 80 SEG40 - SEG23 O LCD panel Segment signal output pins
5 V2.4
Page 6
Functional Description
The NT3881D is a dot-matrix LCD controller and driver
LSI. It operates with either a 4-bit or an 8-bit
microprocessor (MPU). The NT3881D receives both
instructions and data from the MPU. Some instructions
set operation modes, such as the function mode, data
entry mode, and display mode; as well as some control
LCD display functions, such as clear display, restore
display, shift display, and cursor. Other instructions
include read and write both data and addresses. All
instructions allow users convenient and powerful functions
to control the LCD dot-matrix displays.
Data is written into and read from the Data Display RAM
(DD RAM) or the Character Generator RAM (CG RAM).
As display character codes, the data stored in the DD
RAM decodes a set of dot-matrix character patterns that
are built into the Character Generator ROM (CG ROM).
The CG ROM, with many character patterns (up to 256
patterns), defines the character pattern fonts. The
NT3881D regularly scans the character patterns through
the segment drivers. The CG RAM stores character
pattern fonts at run time if users intend to show character
patterns that are not defined in the CG ROM. This feature
makes character display flexible. Other unused bytes can
be used as general-purpose data storage.
The LCD driver circuit consists of 16 common signal
drivers and 40 segment signal drivers allowing a variety of
application configurations to be implemented. Additionally,
the user can extend display size by cascading the
segment driver LSI NT3882. The maximum display
dimensions can be either 80 characters in a 1-line display
or 40 characters in a 2-line display.
Character Generator ROM (CG ROM)
The character generator ROM generates LCD dot
character patterns from the 8-bit character pattern codes.
The NT3881D provides 3 CG ROM configurations:
1. 192 Characters:
The CG ROM contains 160 5 X 8 dot character patterns
and 32 5 X 10 dot character patterns. An example is the
NT3881D-01, in which the relation between the character
codes and character patterns is shown in Table 1. The
character codes from 00H to 0FH are used to get
character patterns from the CG RAM. Character codes
from 10H to 1FH and from 80H to 9FH map to full
NT3881D
character patterns. Character codes from E0H to FFH are
assigned to generate 5 X 10 dot character patterns, and
other codes are used to generate 5x8 dot character
patterns.
2. 240 Characters:
The CG ROM contains 192 5 X 8 dot character patterns
and 48 5 X 10 dot character patterns. An example of this
type is the NT3881D-02, in which the relation between the
character codes and character patterns is shown in Table
2.
The character codes from 00H to 0FH are used to get
character patterns from the CG RAM. Character codes
from 10H to 1FH and from E0H to FFH are assigned to
generate 5 X 10 dot character patterns, and other codes
to generate 5 X 8 dot character patterns. No null
character pattern exists in this type. Note that the
underlined cursor, displayed on the 8th duty may be
obscure if the 8th row of a dot character pattern is coded.
We recommend that users display the cursor in the
blinking mode if they code 5x8 dot character patterns is
their custom CG ROM.
3. 256 Characters:
The CG ROM contains 192 5 X 8 dot character patterns
and 64 5 X 10 dot character patterns. No adequate
example is presented here.
The only difference between this type and the just
mentioned second type is that the character codes from
00H to 0FH get character patterns from the CG ROM
rather than from the CG RAM. These character codes are
assigned to generate 5 X 10 dot character patterns. In this
application, the CG RAM would be employed as a
general-purpose data storage.
Custom character patterns are available by maskprogramming ROM. For convenience of character pattern
development, NOVATEK has developed a user-friendly
editor program for the NT3881D to help determine the
character patterns users prefer. By executing the program
on the computer, users can easily create and modify their
character patterns. By transferring the resulting files
generated by the program through a modem or some
other communication method, the user and NOVATEK
have established a reliable, fast link for programming the
CG ROM.
6 V2.4
Page 7
NT3881D
Absolute Maximum Ratings*
Power Supply Voltage (VDD) . . . . . . . . . . -0.3V to +0.7V
Stresses above those listed under "Absolute Maximum
Ratings" may cause permanent damage to this device.
These are stress ratings only. Functional operation of this
device at these or any other conditions above those
indicated in the operational sections of this specification is
not implied or intended. Exposure to the absolute
maximum rating conditions for extended periods may
affect device reliability.
! All voltage values are referenced to GND = 0V
to V5, must maintain VDD ≥ V1 ≥ V2 ≥ V3 ≥ V4 ≥ V5.
! V
1
= 5.0V, GND = VEE = 0V, TA = 25°C)
DC Electrical Characteristics
(V
DD
Symbol Parameter Min. Typ. Max. Unit Conditions Applicable Pin
V
V
V
V
"H" Level Input Voltage (1) 2.2 -
IH1
"L" Level Input Voltage (1) -0.3 - 0.8 V
IL1
"H" Level Input Voltage (2)
IH2
"L" Level Input Voltage (2) GND - 1.0 V
IL2
VDD
V
-1.0
DD
-
VDD
V
V
DB0 - DB7, RS,
R/W, E
OSC1
V
V
V
V
V
V
OH1
OL1
OH2
OL2
COM
SEG
IIL
-IP
IOP
"H" Level Output Voltage (1) 2.4 - - V
"L" Level Output Voltage (1) - - 0.4 V
"H" Level Output Voltage (2)
"L" Level Output Voltage (2) - -
Driver Voltage Descending (COM) - - 2.9 V
Driver Voltage Descending (SEG) - - 3.8 V
0.9 VDD
- - V
0.1 VDD
Input Leakage Current -1 - 1
Pull-up MOS Current 50 125 250
Supply Current Power Supply
- 0.3 0.5 mA Rf oscillation,
Current
V
A
µ
A
µ
IOH = -0.25mA
IOL = 1.2mA
= -0.04mA
I
OH
IOL = 0.04mA
ID = 0.05mA
ID = 0.05mA
VIN = 0 to VDD
VDD = 5V
from external
clock V
f
OSC
=5V,
DD
= fCP =
270KHz
DB0 - DB7
(TTL)
CL1, CL2, M, D
(CMOS)
COM1 - 16
SEG1 - 40
RS, R/W,
DB0-DB7
V
DD
7 V2.4
Page 8
NT3881D
DC Electrical Character (continued)
Symbol Parameter Min. Typ. Max. Unit Conditions Applicable Pin
restore display from shift, and
load address counter with DD
RAM address 00H.
* Restore display from shift and
load address counter with DD
RAM address 00H.
1
I/D
*
Specify direction of cursor
movement and display shift
S
mode. This operation takes
place after each data transfer
(read/write).
Specify activation of display
(D) cursor (C) and blinking of
character at cursor position
(B).
* Set interface data length (DL),
number of display line (N), and
character font (F).
Load the address counter with
a CG RAM address.
Subsequent data access is for
CG RAM data.
Load the address counter with
a DD RAM address.
Subsequent data access is for
DD RAM data.
Read Busy Flag (BF) and
contents of Address Counter
(AC).
Write data to CG RAM or DD
RAM.
Read data from CG RAM or
DD RAM.
time (max)
=
OSC
250KHz)
1.64ms
1.64ms
40µs
40µs
40µs
40µs
40µs
40µs
0µs
40µs
40µs
Note 1: Symbol "*" signifies an insignificant bit (disregard).
Note 2: Correct input value for "N" is predetermined for each model.
16 V2.4
Page 17
Instruction Set (continued)
NT3881D
Instruction Code Function Execution
time (max)
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 (f
OSC
=
250KHz)
I/D = 1 : Increment I/D = 0 : Decrement
S = 1 : Display Shift On
D = 1 : Display On
C = 1 : Cursor Display On
B = 1 : Cursor Blink On
S/C = 1 : Shift Display S/C
R/L
= 1 : Shift Right R/L = 0 : Shift Left
= 1 : 8-Bit DL = 0 : 4-Bit
DL
N = 1 : Dual Line
= 1 : 5x10 dots
F
= 0 : Move Cursor
N
= 0 : Signal Line
F
= 0 : 5x8 dots
DD RAM : Display Data RAM
CG RAM : Character Generator
RAM
ACG : Character Generator
RAM Address
ADD : Display Data RAM
Address
AC : Address Counter
BF = 1 : Internal Operation
BF = 0 : Ready for Instruction
Note 1: Symbol "*" signifies an insignificant bit (disregard).
Note 2: Correct input value for "N" is predetermined for each model.
17 V2.4
Page 18
Interface to LCD
(1) Character Font and Number of Lines
The NT3881D provides a 5 X 7 dot character font 1-line
mode, a 5 X 10 dot character font 1-line mode and a
5 X 7 dot character font 2-line mode, as shown in the
table below.
Number of Lines Character Font Number of Common Signals Duty Factor
Three types of common signals are available as displayed
in the table. The number of lines and the font type can be
selected by the program.
NT3881D
1 5 X 7 dots + Cursor
(or 5x8 dots)
1 5 X 10 dots + Cursor 11 1/11
2 5 X 7 dots + Cursor
(or 5x8 dots)
(2) Connection to LCD
The following 4 LCD connection examples show the various combinations between characters and lines.
NT3881D can directly drive the following combinations:
(a) 5 X 8 Font - 8 character X 1 line (1/8 duty cycle, 1/4 bias)
8 1/8
16 1/16
LCD PANEL
COM1
COM8
SEG1
NT3881D
SEG40
18 V2.4
Page 19
(b) 5 X 10 Font - 8 character X 1 line (1/11 duty cycle, 1/4 bias)
LCD PANEL
COM1
COM8
NT3881D
SEG1
SEG40
COM11
COM9
NT3881D
(c) 5 X 8 Font - 8 character X 2 lines (1/16 duty cycle, 1/5 bias)
LCD PANEL
COM1
COM8
NT3881D
SEG1
SEG40
COM16
COM9
19 V2.4
Page 20
(d) 5 X 8 Font - 16 character X 1 line (1/16 duty cycle, 1/5 bias)
LCD PANEL
COM1
COM8
SEG1
NT3881D
SEG40
COM16
COM9
NT3881D
20 V2.4
Page 21
NT3881D
(3) Bias Power Connection
NT3881D provides 1/4 or 1/5 bias for various duty cycle applications. The power division voltage is described in the following
table. The connection of NT3881D, power supply, and resistors are also shown as follows: