LM12864LFW
LCD Module User Manual
Prepared by:
Checked by:
Approved by:
K.C.
Date: 2008-07-01
Date:
Date:
Rev. Descriptions
Release Date
0.1
Preliminary New release
2008-07-01
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 1 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
Table of Content
1. Basic Specifications .............................................................................................................. 3
1.1
Display Specifications ............................................................................................................................................ 3
1.2
Mechanical Specifications ...................................................................................................................................... 3
1.3
Block Diagram ........................................................................................................................................................ 3
1.4
Terminal Functions ................................................................................................................................................. 4
2. Absolute Maximum Ratings .................................................................................................. 5
3. Electrical Characteristics ...................................................................................................... 5
3.1
DC Characteristics ................................................................................................................................................. 5
3.2
LED Backlight Circuit Characteristics ..................................................................................................................... 5
3.3
AC Characteristics ................................................................................................................................................. 6
4. Function Specifications ......................................................................................................... 7
4.1
Basic Setting .......................................................................................................................................................... 7
4.2
Adjusting the LCD display contrast ........................................................................................................................ 7
4.3
Resetting the LCD module ..................................................................................................................................... 7
4.4
Display Memory Map ............................................................................................................................................. 8
4.5
Internal Registers ................................................................................................................................................... 8
4.6
Display Control Instructions ................................................................................................................................... 9
5. Design and Handling Precaution ........................................................................................ 10
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 2 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
1. Basic Specifications
1.1 Display Specifications
1) LCD Display Mode
: STN, Negative, Transmissive
2) Display Color
: Display Data = “1” : Light Gray (*1)
: Display Data = “0” : Deep Blue (*2)
3) Viewing Angle
: 6 H
4) Driving Method
: 1/64 duty, 1/ 9bias
5) Back Light
: White LED backlight
Note:
*1. Color tone may slightly change by Temperature and Driving Condition.
*2. The Color is defined as the inactive / background color
1.2 Mechanical Specifications
1) Outline Dimension
: 93.0 x 70.0 x 13.8MAX
(see attached Outline Drawing for details)
1.3 Block Diagram
BLA, BLK
LED Backlight Circuit
LCD Panel
128 x 64 pixels
VDD, VSS
Power
S6B0108
S6B0108
VOUT, V0
Booster
or
or
Circuit
equivalent
equivalent
DB0 - DB7
RS, R/W, E, /RST
CS1
CS2
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 3 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
1.4 Terminal Functions
Pin
Pin
No. Name
I/O
Descriptions
1
VSS Power Negative Power Supply, Ground (0V)
2
VDD Power Positive Power Supply
3
V0
Power LCD Contrast reference
4
RS
Input RS = H; DB0 – DB7 = Display RAM data
RS = L; DB0 – DB7 = Instruction data
5
R/W
Input In read mode
6
E
Input
R/W = H;
Data read form the LCD module,
data appears at DB0 – DB7 and can be read by the host
while, E = H and the device is being selected
In write mode
R/W = L;
Data write to the LCD module,
data appears at DB0 – DB7 will be written into the LCD module
at E = H  L and device is being selected
7
DB0
I/O
Data bus;
:
:
:
Three state I/O terminal for display data or instruction data
14
DB7
I/O
15
CS1
Input Chip selection,
When CS1=1 (*1)
enable access to the Left Side (64 column) of the LCD module
16
CS2
Input Chip selection
When CS2=1 (*1)
enable access to the Right Side (64 column) of the LCD module
17
/RST
Input Reset signal
/RST = L,
Display off
display start line register becomes 0
no command or instruction data could be accepted
/RST = H,
Normal running
18 VOUT Output Power Booster output for V0
19
BLA Power Positive Power for LED backlight
20
BLK Power Negative Power for LED backlight
Note:
*1.
Display or instruction data could write into the LCD module’s driver/controllers individually
or at the same time.
Only read display or instruction data form one of the driver/controller in the LCD module at
a time, otherwise unexpected data collision may occur.
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 4 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
2. Absolute Maximum Ratings
Items
Symbol
Min.
Max.
Unit
Condition
Supply Voltage
V DD
0
7.0
V
V SS = 0V
Operating Temperature
T OP
-20
70
 C
No Condensation
Storage Temperature
T ST
-30
80
 C
No Condensation
Cautions:
Any Stresses exceeding the Absolute Maximum Ratings may cause substantial damage to the
device. Functional operation of this device at other conditions beyond those listed in the
specification is not implied and prolonged exposure to extreme conditions may affect device
reliability.
3. Electrical Characteristics
3.1 DC Characteristics
V SS =0V, V DD =5V, T OP =25  C
Items
Symbol
MIN.
TYP.
MAX.
Unit
Applicable Pin
Operating Voltage
V DD
4.8
5.0
5.2
V
VDD
Input High Voltage
V IH
3.5
-
V DD
V
RS, R/W, E, CS1, CS2,
Input Low Voltage
V IL
0
-
0.4
V
DB0-DB7
Operating Current
I DD
-
6.5
15
mA
VDD, VSS
3.2 LED Backlight Circuit Characteristics
V BLK =0V, If BLA =80mA, T OP =25  C
Items
Symbol
MIN.
TYP.
MAX.
Unit Applicable Pin
Forward Voltage
Vf BLA
-
4.9
-
V
BLA, BLK
Forward Current
If BLA
-
-
120
mA BLA, BLK
BLA
BLK
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 5 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
3.3 AC Characteristics
V SS =0V, V DD =5V, T OP =25  C
Item
Symbol
MIN.
TYP.
MAX.
Unit
E cycle time
tc
1500
-
-
ns
E high level width
twh
700
-
-
ns
E low level width
twl
700
-
-
ns
E rise time
tr
-
-
18
ns
E fall time
tf
-
-
18
ns
Address set-up time
tasu
210
-
-
ns
Address hold time
tah
15
-
-
ns
Data set-up time
tdsu
300
-
-
ns
Data delay time
td
-
-
480
ns
Data hold time (write)
tdhw
15
-
-
ns
Data hold time (read)
tdhr
30
-
-
ns
Host Write Timing Diagram
Host Read Timing Diagram
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 6 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
4. Function Specifications
4.1 Basic Setting
To drive the LCD module correctly and provide normally display, please use the following setting
Display start line (Z address)= 0
LCD Display = on
Note:
These setting/commands should issue to both controllers while start up.
See the Display Control Instructions section for details.
LCD module
4.2 Adjusting the LCD display contrast
VDD
A Variable-Resistor must be connected to the
LCD module for providing a reference to V0.
Adjusting the VR will result the change of LCD
display contrast.
V0
VR
The recommended value of VR is 25k to 50k
VOUT
VSS
4.3 Resetting the LCD module
The LCD module should be initialized by setting /RST terminal at low level when turning the power
on.
When /RST pull low, the LCD module will:
- Display off
- Display start line register becomes 0. (Z-address=0)
While /RST is low, no instruction can be accepted except status read. Therefore, execute other
instructions after making sure that DB4=0 (clear /RST) and DB7=0 (ready) by status read
instruction. The conditions of power supply at initial power up are as follow:
Item
Symbol
MIN.
TYP.
MAX.
Unit
Reset time
trs
2.0
-
-
us
Rise time
tr
-
-
150
ns
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 7 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
4.4 Display Memory Map
Page (X)
address
data
LCD Display (front view)
D0
0
:
D7
D0
1
:
D7
D0
2
:
D7
D0
3
:
D7
D0
4
:
128x64 pixels
D7
D0
5
:
D7
D0
6
:
D7
D0
7
:
D7
Column(Y) Address
00h  3Fh
00h  3Fh
Chip Select
CS1=1, CS2=0
CS1=0, CS2=1
Note:
1) Display star line (Z address) = 0
2) The Display Data store separately in two drivers.
3) The Display Data for the left section could be accessed by CS1=1.
The Display Data for the right section could be accessed by CS2=1.
4.5 Internal Registers
There are three registers in each section of LCD module. Each of them could be controlled
independently.
Page (X) Address Register
X address register designates pages of the internal display data RAM. Count function is not
available. The address should set by instruction.
Column (Y) Address Counter
Y address counter designates address of the internal display data RAM. It could be set by
instruction and is increased by 1 automatically by read or write display data operations.
Display Start Line (Z) Register
Z address register indicates of display data RAM to LCD top line. It may be used for scrolling the
display pattern on the LCD.
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 8 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
4.6 Display Control Instructions
Code
Instructions
Function
Note
Controls the display on or off. Internal status and
Display on/off
0 0 0 0 1 1 1 1 1 1/0 display data in RAM is not affected
*2
0=off, 1=on
Set Column (Y)
0 0 0 1
Y address (0-63)
Set the Column address into the Y address
Address
counter
*2
Set Page (X)
X address
0 0 1 0 1 1 1
Address
(0-7)
Set the Page address into the X address register *2
Set Display Start
Z address
0 0 1 1
Indicates the display data RAM displayed at the
Line (Z address)
(0-63)
top of the screen
*2
Read status
Busy=L, Driver ready; Busy=H, Driver busy
Status Read
0 1
0
0 0 0 0
on/off=L, Display is on; on/off=H, Display is off
*1
Reset=L, Normal Running; Reset=H, reset
Write display data into display data RAM,
Write Display Data 1 0
Write data
After writing instruction, Y address counter
*2
increased by 1 automatically
Read Display Data 1 1
Read data
Read display data form the display data RAM
*1
Note:
*1. Only one section (driver) could be read at the same time.
i.e. only the following setting is valid for the operation:
CS1=1, CS2=0
is valid
CS1=0, CS2=1
is valid
*2. Instruction could be write into both drivers at the same time.
*3. For the details of the Display Control Instructions, please refer to Samsung S6B0108
handbook.
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 9 of 10
TOPWAY
LCD Module User Manual
LM12864LFW
5. Design and Handling Precaution
Please refer to "LCD-Module-Design-Handling-Precaution.pdf".
URL: www.topwaydisplay.com
Document Name: LM12864LFW-Manual-Rev0.1
Page: 10 of 10