LM12864BCW
LCD Module User Manual
Prepared by:
Checked by:
Approved by:
Luo Lin
Date: 2017-07-25
Date:
Date:
Rev. Descriptions
Release Date
0.1
Preliminary release
2017-07-25
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 1 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
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
1.5 Backlight 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 Adjusting the Display Contrast ...................................................................................................................................... 7
4.2 Application circuit(Example) .......................................................................................................................................... 7
4.3 Basic Setting ................................................................................................................................................................. 7
4.4 Resetting the LCD module ............................................................................................................................................ 7
4.5 Display Memory Map .................................................................................................................................................... 8
4.6 Display Commands ....................................................................................................................................................... 9
4.7 Display Commands (continue) .................................................................................................................................... 10
5. Design and Handling Precaution ............................................................................................. 11
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 2 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
1. Basic Specifications
1.1 Display Specifications
1) LCD Display Mode
: FSTN,Positive, Transflective
2) Display Color
: Display Data = “1” : Dark Gray (*1)
: Display Data = “0” : Light Gray (*2)
3) Viewing Angle
: 6H
4) Driving Method
: 1/65 duty, 1/9 bias
5) Backlight
: 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
*3. Fine Contrast adjustment function is necessary in the application design for optimal display result
1.2 Mechanical Specifications
1) Outline Dimension
: 78.5 x 51.0 x 8.9 (mm) (exclude FPC)
(See attached Outline Drawing for details)
1.3 Block Diagram
BLA
BLK
Backlight Circuit
ST7565R or equivalent
VDD,VSS
VR,V0~V4,VRS,VOUT
LCD Panel
C3P,C1N,C1P,C2P,C2N,C4P
128 × 64Pixels
/WR,/RD,D0~D7
IRS,C86,P/S,/CS1, /RES, A0
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 3 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
1.4 Terminal Functions
Descriptions
Pin No.
PIN
8-bit parallel
Serial
Name
I/O
80mode
8-bit parallel
68mode
4wire
Chip Select
1
/CS1
Input /CS1=L, enable access to the LCD module
/CS1=H, disable access to the LCD module
Reset signal
2
/RES
Input /RES = L, Initialization is executed
/RES = H, Normal running.
Register Select
3
A0
Input A0 = H, Transferring the Display Data
A0 = L, Transferring the Control Data
/WR=L  H, /RD=H; Read write control
/RD (E) and /WR
Data or Instruction
R/W=H:
(R/W) are fixed to
4
/WR
(R/W)
Input latch into the LCD
data or status read
either “H” or “L”.
module
R/W=L:
data or command write
/WR=H, /RD=L;
Enable trigger
5
/RD(E)
Input
Data or Status read
form the LCD
module
6
D0
8-bit Data bus;
D0 to D5 must be
:
:
Three state I/O terminal for display data or
fixed to “H”.
12
D6(SCL)
I/O
instruction data
Serial clock input
13
D7(SI)
Serial data input
14
VDD
Power Poitive Power Supply
15
VSS
Power 0V Power Supply, Ground
16
VOUT
Power Power Booster Output for V0
17
C3P
--
Power Booster Circuit Capacitance terminals
18
C1N
--
19
C1P
--
20
C2P
--
21
C2N
--
22
C4P
--
23
VRS
Power
This is the internal-output VREG power supply for the LCD power supply
voltagere gulator.
24
V4
Power LCD driving voltage supply terminals
25
V3
Power
26
V2
Power
27
V1
Power
28
V0
Power
29
VR
Input Power Booster Resistor ratio reference input
This is the MPU interface selection pin.
30
C86
Input C86 = “H”: 6800 Series MPU interface.
C86 = “L”: 8080 Series MPU interface.
This pin configures the interface to be parallel mode or serial mode.
31
P/S
Input P/S = “H”: Parallel data input/output.
P/S = “L”: Serial data input.
Select the resistors for the V0 voltage level adjustment
32
IRS
Input
IRS=H, Using the internal resistors
IRS=L, Not using the internal resistor, the V0 voltage level is regulated by
an external resistive voltage divider attached to the VR Terminal
1.5 Backlight Functions
PIN NO
PIN Name
I/O
Descriptions
1
BLA
Supply Backlight Positive power supply
2
BLK
Supply Backlight Negative power supply
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 4 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
2. Absolute Maximum Ratings
Items
Symbol
Min.
Max.
Unit Condition
Supply Voltage
V DD
-0.3
+3.6
V
V SS = 0V
Input Voltage
V IN
-0.3
V DD +0.3
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 =3.3V, T OP =25  C
Items
Symbol
MIN.
TYP.
MAX.
Unit Condition /
Application Pin
Operating Voltage
V DD
2.7
-
3.3
V
VDD
Input High Voltage
V IH
0.8xV DD
-
V DD
V
/RES, /CS1, A0,
Input Low Voltage
V IL
V SS
-
0.2xV DD
V
/WR, /RD,D0~D7
Operating Current
I DD
-
0.36
2.0
mA VDD
3.2 LED Backlight Circuit Characteristics
BLK=0V, BLA=3.3V, T OP =25  C
Items
Symbol
MIN.
TYP.
MAX.
Unit
Applicable Pin
Forward Voltage
BLA
-
3.3
-
V
BLA
Forward Current
I BLA
-
68
80
mA
BLA
Cautions:
Exceeding the recommended driving current could cause substantial damage to the backlight and shorten its lifetime.
BLA
BLK
No. of LED = 4pcs
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 5 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
3.3 AC Characteristics
3.3.1 8080 Mode System Bus Timing
V SS =0V, V DD =3.3V, T OP =25  C
Item
Symbol
MIN.
TYP.
MAX.
Unit
System cycle time
tcyc8
240
-
-
ns
Address setup time (A0)
taw8
0
-
-
ns
Address hold time (A0)
tah8
0
-
-
ns
Control LOW pulse width (/WR)
tcclw
80
-
-
ns
Control LOW pulse width (/RD)
tcclr
140
-
-
ns
Control HIGH pulse width (/WR)
tcchw
80
-
-
ns
Control HIGH pulse width (/RD)
tcchr
80
-
-
ns
Data setup time
tds8
40
-
-
ns
Data hold time
tdh8
0
-
-
ns
/RD access time (*2)
tacc8
-
-
70
ns
Output disable time (*2)
tch8
-
5
50
ns
Note:
*1. Input signal rise/fall time should be less than 15ns .
*2. CL=100pF
*3.All timing is using 20% and 80% of VDD as the reference.
3.3.2 Reset Timing
V SS =0V, V DD =3.3V, T OP =25  C
Item
Symbol
MIN.
TYP.
MAX.
Unit
Reset time
tr
-
-
2.5
μs
Reset LOW pulse width
trw
2.5
-
-
μs
Note:
*1.All timing is using 20% and 80% of VDD as the reference.
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 6 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
4. Function specifications
4.1 Adjusting the Display Contrast
- This LCD module equipped with latest digital contrast adjustment function.
- Its display contrast could be adjusted by MCU command. (please see the command tables for
details)
- It is recommended to provide a contrast adjustment interface for end-user, where the best
display result could meet the individual preference in mass production.
4.2 Application circuit(Example)
- 4x boosting
32
IRS
- 8-bit Parallel 8080 mode
31
P/S
30
VDD
VSS
- Using internal ref resistor
C86
29
VR
28
C1
- C1~C5=1.0μF (25V)
V0
27
C2
V1
- C6~C9=1.0μF(25V)
26
C3
V2
25
C4
VSS
V3
24
C5
V4
23
VRS
22
C4P
21
C6
C2N
20
C2P
19
C7
C1P
18
C1N
17
C3P
16
C8
C9
VOUT
15
VSS
VSS
14
VDD
13
D7
12
D6
11
D5
10
D4
9
D3
8
D2
7
D1
6
D0
5
/RD
4
Note:
/WR
3
A0
Please refer to the ST7565R data
2
/RES
1
sheet for details
/CS1
4.3 Basic Setting
To drive the LCD module correctly and provide normally display, please use the following setting
- ADC = 1 (reverse)
- SHL select = 0 (normal)
- LCD Bias Select = 1/9
- Initial Display Line = 0
- Entire Display ON/OFF = OFF (normal)
- Reverse Display ON/OFF = OFF (normal)
- Set Power Control Set:
voltage follower = ON, voltage converter = ON, voltage regulator = ON
- Display ON/OFF = ON
Note:
*1. These setting/commands should issue the LCD module while start up.
*2. See the Display Commands section for details.
4.4 Resetting the LCD module
The LCD module should be initialized by using /RES terminal.
While turning on the VDD and VSS power supply, maintain /RES terminal at LOW level. After the
power supply stabilized, release the reset terminal (/RES=HIGH)
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 7 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
4.5 Display Memory Map
Page address
data
LCD Display (front view)
D0
:
0
D7
D0
:
1
D7
D0
:
2
D7
D0
:
3
D7
D0
:
128x64 pixels
4
D7
D0
:
5
D7
D0
:
6
D7
D0
:
7
D7
Column Address
00h
7Fh
Note:
*1. ADC = 1 (reverse)
*2. SHL Selection = 0 (normal)
*3. Initial Display Line = 0
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 8 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
4.6 Display Commands
Code
No. Instructions
Function
DON=0, display off
1
Display ON/OFF
0 1 0 1 0 1 0 1 1 1
DON=1, display on
Display start
Sets the display RAM display start line
2
Display start line set
0 1 0 0 1
address
address
Page
3
Set Page Address
0 1 0 1 0 1 1
Address
Set the display RAM page address
Set Column Address
0 1 0 0 0 0 1
Col. Add.
Set the upper-4-bit of column address counter
(Upper-4-bits)
Upper
4
Set Column Address
0 1 0 0 0 0 0
Col. Add.
Set the lower-4-bit of column address counter
(Lower-4-bits)
Lower
Read the status data
5
Read Status
0 0 1
Status
0 0 0 0
6
Write Display Data
1 1 0
Write Data
Write data into the display RAM
7
Read Display Data
1 0 1
Read Data
Read data form the display RAM
Sets the display RAM address SEG output
8
ADC Select
0 1 0 1 0 1 0 0 0 0
correspondence
ADC= 0,normal . ADC=1, reverse
REV=0, Normal display
9
Normal/Reverse Display 0 1 0 1 0 1 0 0 1 1
REV=1, Reverse display
EON=0, Normal display
10
Entire Display ON/OFF
0 1 0 1 0 1 0 0 1 0
EON=1, Entire display ON
Set the LCD driving voltage bias
11
Set LCD Bias
0 1 0 1 0 1 0 0 0 1
BIAS=0, 1/9 BIAS
BIAS=1, 1/7 BIAS
Enter the “Read-Modify-Write” mode
column address counter will increase in each
12
Set Read-Modify-Write
0 1 0 1 1 1 0 0 0 0 0 “Write Display Data”,
and will not increase in each “Read Display
Data command”
13
Reset Read-Modify-Write 0 1 0 1 1 1 0 1 1 1 0 Clear the “Read-Modify-Write” mode
14
Reset
0 1 0 1 1 1 0 0 0 1 0 Resets the LCD module
Set the COM scanning direction
SHL=0, Normal display
15
SHL Select
0 1 0 1 1 0 0
* * *
SHL=1, Flipped in y direction
* = don’t care terms
Set the power circuit operation mode
VF: LCD Supply Voltage Follower
16
Power Control Set
0 1 0 0 0 1 0 1
VR: LCD Supply Voltage Regulator
VC: LCD Supply Voltage Converter
(1=ON, 0=OFF)
Radio
17
Regulator Resistor Select 0 1 0 0 0 1 0 0
setting
Set the built-in resistor ratio (Rb/Ra)
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 9 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
4.7 Display Commands (continue)
Code
No. Instructions
Function
18
Electronic volume mode set 0 1 0 1 0 0 0 0 0 0 1 Set reference voltage mode
Electronic volume register
Electronic
Set reference voltage register
set
0 1 0 * *
Control value (Display contrast value)
19
0 1 0 1 0 1 0 1 1 0 S Sleep Mode (2 byte command)
Sleep Mode Set
0 1 0 0 0 0 0 0 0 0 0
S=0, sleep mode
S=1, normal mode
Booster Ratio Set
0 1 0 1 1 1 1 1 0 0 0 Booster Ratio (2 byte command)
Ratio=00, 2x, 3x, 4x
20
0 1 0 0 0 0 0 0 0
Rati
o
Ratio=01, 5x
Ratio=11, 6x
21
NOP
0 1 0 1 1 1 0 0 0 1 1 Non-operation command
Note:
*1. Do not use any other command not listed, or the system malfunction may result.
*2. For the details of the Display Commands, please refer to ST7565R data sheet.
4.7.1 Power off the LCD Module
It recommends that enter Sleep Mode before power off the LCD module.
4.7.2 Refreshing The LCD Module
It recommends that the operating modes and display contents be refreshed periodically to prevent
the effect of unexpected noise.
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 10 of 11
TOPWAY
LCD Module User Manual
LM12864BCW
5. Design and Handling Precaution
Please refer to "LCD-Module-Design-Handling-Precaution.pdf".
URL: www.topwaydisplay.com
Document Name:LM12864BCW-Manual-Rev0.1
Page: 11 of 11