资源描述
资料内容仅供您学习参考,如有不当或者侵权,请联系改正或者删除。
图形点阵液晶显示模块使用手册
MS12864F
一.概述
MS12864F是一种图形点阵液晶显示器。它主要采用动态驱动原理由行驱动器、 控制器和列驱动器三部分组成了128(列)×64(行)的全点阵液晶显示。此显示器采用了SMD的硬封装方式, 经过导电橡胶和压框连接LCD,使其寿命长, 连接可靠。
二.特性
1.工作电压为+5V±10% ,可自带驱动LCD所需的负电压。
2.全屏幕点阵, 点阵数为128(列)×64(行),可显示8(/行)×4(行)个(16×
16点阵)汉字, 也可完成图形, 字符的显示。
3.与CPU接口采用4条位控制总线和8位并行数据总线输入输出, 适配
Inter8080系列时序。
4.内部有显示数据锁存器, 和用于文本显示的6×8和8×8的字符库。
5.简单的操作指令。
三.外形尺寸
1.外形尺寸图
2.主要外形尺寸
项 目
标 准 尺 寸
单 位
模 块 体 积
78.0×70.0×14.5
mm
定 位 尺 寸
68.0×65.0
mm
视 域
62.0×44.0
mm
行 列 点 阵 数
128×64
dots
点 距 离
0.44×0.60
mm
点 大 小
0.39×0.55
mm
四.硬件说明
1.引脚特性
引脚号
引脚名称
级 别
引 脚 功 能 描 述
1
FG
0V
压框地
2
VSS
0V
电源地
3
VDD
+5V
电源电压
4
VLCD
0~-10V
LCD驱动负电压, 要求VDD-VLCD=10V
5
/WR
H/L
低电平有效。写操作信号
6
/RD
H/L
低电平有效。读操作信号
7
/CE
H/L
低电平有效。片选信号
8
C/D
H/L
通道选择信号
C/D=H 为指令通道
C/D=L 为数据通道
9
/RESET
H/L
复位信号,低有效
10
DB0
H/L
八位三态并行数据总线
11
DB1
12
DB2
13
DB3
14
DB4
15
DB5
16
DB6
17
DB7
18
FS
H/L
字体选择。
FS=H, 6×8点阵字体
FS=L, 8×8点阵字体
19
A
+5V
背光电源,Idd≤960mA
20
K
0V
2.原理简图
3.背光接线图
LED背光
19
20
EL背光
19
20
+5V
0V
EL~
EL~
五、 IC说明及指令表
T6963C is LCD controller designed to be used for control LCD driver
LCD driver LSIs and display data Memory, It has an 8 bit parallel data bus
And control lines for reading or writing through a MPU I/F.
It has 128 words character generator ROM with the capability to control
External display RAM of up to 128K bytes. Allocation of text, graphics
And external generator RAM can be easily made and the display window can
Be freely moved within the allocated memory range.
It supports a very board range of LCD formats by selecting different
Combinations on a set of programmable inputs. It can be used in text,graphic
Modes and has various attribute functions.
指令表:
表 2
COMMAND
CODE
D1
D2
FUNCTION
Register Set
00100001
00100010
00100100
X address
Data
Low address
Y address
00H
High address
Cursor pointer set
Off register
Address pointer set
Control
Word set
01000000
01000001
01000010
01000011
Low address
Columns
Low address
Columns
High address
00H
High address
00H
Text home address set
Text area set
Graphic home address set
Graphic area set
Mode set
1000x000
1000x001
1000x011
1000x100
10000xxx
10001xxx
-
-
-
-
-
-
-
-
-
-
-
-
"OR" mode
"EXOR" mode
"AND" mode
"Text attribute" mode
Internal CGROM mode
External CGRAM mode
Display
Mode
10010000
1001xx10
1001xx11
100101xx
100110xx
100111xx
-
-
-
-
-
-
-
-
-
-
-
-
Display off
Cursor on, blink off
Cursor on, blink on
Text on, graphic off
Text off, graphic on
Text on, graphic on
Cursor
Pattern
Select
10100000
10100001
10100010
10100011
10100100
10100101
10100110
10100111
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1 line cursor
2 line cursor
3 line cursor
4 line cursor
5 line cursor
6 line cursor
7 line cursor
8 line cursor
Data auto
Read/write
10110000
10110001
10110010
-
-
-
-
-
-
Data auto write set
Data auto read set
Auto reset
Data read
Write
11000000
11000001
11000010
11000011
11000100
11000101
Data
-
Data
-
Data
-
-
-
-
-
-
-
Data write and ADP increment
Data read and ADP increment
Data write and ADP decrement
Data read and ADP decrement
Data write and ADP no variable
Data read and ADP no variable
Screen peek
11100000
-
-
Screen peek
Screen copy
11101000
-
-
Screen copy
Bit
Set/Reset
11110XX
11111XXX
1111X000
1111X001
1111X010
1111X011
1111X100
1111X101
1111X110
1111X111
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Bit reset
Bit set
Bit 0( LSB )
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7( MSB )
六、 电气参数
1.ABSOLUTE MAXIMUM RATING
Item
Symbol
Condition
Min
Typ
Max
Unit
Supply Voltage(logic)
VDD-VSS
-
-0.3
-
7
V
Supply Voltage(LCD Drive)
VDD-VO
-
VDD+0.3
-
VDD-0.3
V
Input Voltage
VI
-
-0.3
-
VDD+0.3
V
Operating Temperature
Topr
-
-10
-
+55
°C
Storage Temperature
Tstg
-
-20
-
+60
°C
2.OPTICAL DATA Ta=25°C
Item
Symbol
Condition
Standard Value
Unit
min
typ
max
Supply voltage(Logic)
VDD-VSS
-
4.75
5
5.25
V
Supply voltage(LCD Drive)
VDD-VO
-
-
-
-
V
Supply current
IDD
-
-
12.0
17.0
mA
IO
-
-
1.8
2.5
mA
EL Backlight current
IEL
-
-
100
-
mA
Input high voltage
VIH
High level
0.7VDD
-
VDD
V
Input low voltage
VIL
Low level
0
-
0.3VDD
V
Supply voltage for LCD Drive (1/80 duty)
VDD-VO
Ta=0°C
14.2
14.5
14.8
V
Ta=25°C
13.3
13.6
13.9
V
Ta=50°C
12.3
12.6
12.9
V
Contrast Ratio
CR
-
4
-
-
Viewing Angle
-
CR≥2
θ
-10
-
20
deg
θ
60
-
120
deg
Response Time ( rise )
Tr
Note 1
Ta=25°
-
130
200
ms
Response Time (delay )
Td
Note 2
Ta=25°
-
150
230
ms
NOTE 1: Required time for blackening ratio of segment goes up from 0% to 90% when
Wave from is switched from one selected one (θ=10°,φ=90°)
Note 2: Required time for blackening ratio of segment goes down from 100% to 10%
When wave from is switched from one selected one (θ=10°,φ=90°)
3.TIMING CHARACTERISICS
Item
Symbol
Min
Max
Unit
Operating frequency
fSCP
-
2.75
MHZ
SCP pulse width
Tcwh, Tcwl
150
ns
SCP rise/fall time
Tr
-
30
ns
LP set up time
Tlsu
150
290
ns
LP hold time
Tlhd
5
40
ns
Data set up time
Tdsu
170
-
ns
Data hold time
Tdhd
80
-
ns
FR delay time
Td
0
90
ns
CDATA set up time
Tcsu
450
850
ns
CDATA hold time
Tchd
450
950
ns
Condition: DV=+5.0V±10%, Ta=-10∽+70°C
驱动波形图
4.INTERFACE TIMING
Item
Symbol
Min
Max
Unit
C/D set up time
Tcds
100
-
ns
C/D hold time
Tcdh
10
-
ns
CE,RD,WR pulse width
Tce,Trd,Twr
80
-
ns
DATA set up time
Tds
80
-
ns
DATA hold time
Tdh
40
-
ns
Access time
Tacc
-
150
ns
Output hold time
Toh
10
50
ns
读写时序图
5.EL Backlight Electrical Characteristics
Ta=25°C VDD=5V
Symbol
Parameter
Min
Type
Max
Units
IIN
VDD supply current
10
150
mA
VA-B
Output voltage across lamp
37
40
43
V
75
80
85
V
FEL
VA-B output drive frequency
600
800
1000
V
VDD
Supply voltage
4.5
12
V
CL
Load capacitance
0
25
nF
TA
Operating temperature
0
50
°C
Note: EL Backlight with white lamp.
七、 功能描述
7.1 STATUS READ
Before sending data(read/write),command it is necessary to check the Status.
Status check
Status of T6963c can read from data lines.
/RD L
/WR H
/CE L
C/D H
D0∽D7 Status word
T6963C status word format is following
MSB LSB
STA7
STA6
STA5
STA4
STA3
STA2
STA1
STA0
D7
D6
D5
D4
D3
D2
D1
D0
STA0
Check capability of command execution
0:Disable 1:Enable
STA1
Check capability of data read/write
0:Disable 1:Enable
STA2
Check capability of auto mode data read
0:Disable 1:Enable
STA3
Check capability of auto mode data write
0:Disable 1:Enable
STA4
Not use
STA5
Check capability of controller operation
0:Disable 1:Enable
STA6
Error flag. Using screen peek/copy command
0:No error 1:error
STA7
Check the condition blink
0:Disable 1:Enable
Note 1:It is necessary to check STA0 and STA1 at the same time, The error
Is happened by sending data at executing command.
2:The status check will be enough to check STA0/STA1.
3:STA2/STA3 are valid in auto mode STA0/STA1 are invalid.
Status checking flow:
7.2 DATA SET
In T6963C,the data have been set and command executes.
The order of procedure of command sending
7.31 Description of command
1. Register set
CODE
HEX
FUNCTION
D1
D2
00100001
21H
Cursor pointer set
X address
Y address
00100010
22H
Offset register set
Data
00H
00100100
24H
Address pointer set
Low address
High address
(1) Cursor pointer set
The position of cursor is specified by X address. The cursor position
Is moved only by this command. The cursor pointer doesn't have the
Function of increment and decrement. The shift of cursor set by this
Command. X address, Y address are specified following.
X address 00H - - - - 4FH(Low 7bits are valid)
Y address 00H - - - - 1FH(Low 5bits are valid)
1 Screen drive
X address 00H - - - - 4FH
Y address 00H - - - - 0FH
(2) Offset register set
The offset register is used to determine external character generator
RAM area.
T6963C has 16 bits address lines as follow:
MSB LSB
Ad15
Ad14
Ad13
Ad12
Ad11
Ad10
Ad9
Ad8
Ad7
Ad6
Ad5
Ad4
Ad3
Ad2
Ad1
Ad0
The upper 5 bits (ad15 - ad11) are determined by offset register. The
Middle 8 bits (ad10 - ad3) are determined by character code. The
Lower 3 bit (ad2 - ad10) are determined by vertical counter. The
Lower 5 bit of D1(data) are valid. The data format of external character
Generator RAM.
(3) Address pointer set
The address pointer set command is used to indication the start address
For writing (or reading) to external RAM.
The flow chart address pointer set command
7.32 Control word set
CODE
HEX
FUNCTION
D1
D2
01000000
40H
Text home address set
Low address
High address
01000001
41H
Text area set
Columns
00H
01000010
42H
Graphic home address set
Low address
High address
01000011
43H
Graphic area set
Columns
00H
The home address and column size are defined by this command
(1) Text home address and area set
The starting address of external display RAM for text display is
Defined by this command. The text home address shows the left end and
Most upper position .
The relationship of external display RAM address and display position
Example:
Text home address: 0000H
Text area: 00A0H
MD2=0, MD3=0: 80 COLUMN
DUAL=0, MDS=1, MD0=1, MD1=0: 28 LINES
Display plane:
0000H
0001H
- - - - -
004EH
004FH
1 Line
00A0H
00A1H
- - - - -
00EEH
00EFH
2 Line
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
10E0H
10E1H
- - - - -
112EH
112FH
28 Lines
(2) Graphic home address and area set
The starting address of external display RAM for Graphic display is
Defined by this command. The graphic home address shows the left end most
Upper line.
The relationship of external display RAM address and display position.
Example:
Graphic home address: 0000H
Graphic area: 0020H
MD2=H, MD3=H: 32 COLUMNS
DUAL=H, MDS=L, MD0=H, MD1=H: 2 LINES
Example:
Display plane:
0000H
0001H
- - - - -
001EH
001FH
0020H
0021H
- - - - -
003EH
003FH
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
01E0H
01E1H
01FEH
01FFH
7.33 MODE SET
The display mode is defined by this command. The display mode don't have changed until to send next this command. Logically "OR","EXOR',"AND" of text and graphic display can be displayed.
When internal character generator mode is selected, character code 00H - 7FH are selected from built-in character generator ROM. The character code 80H-FFH are automatically selected external character generator RAM.
NOTE: Only text display is attributed, because attributed data is located.
Attribute function
"Reverse display", "Character blink" and "Inhibit" are called "Attribute".The attribute data is written in the graphic area defined by control word set command. The mode set command selects text display only and graphic the mode set command selects text display only and graphic display cannot be displayed. The attribute data of the 1ST character in text area
Is written at the IST 1 byte in graphic area, and attribute data of n-th 1byte in graphic area. Attribute function is defined as follow.
Attribute RAM 1byte
X
X
X
X
D3
D2
D1
D0
X: don't care
D3
D2
D1
D0
FUNCTION
0
0
0
0
Normal display
0
1
0
1
Reverse display
0
0
1
1
Inhibit display
1
0
0
0
Blink of normal display
1
1
0
0
Blink of reverse display
1
0
1
1
Blink of inhibit display
7.34 DATA AUTO READ/WRITE
CODE
HEX
FUNCTION
OPERAND
10110000
B0H
Data auto write set
-
10110001
B1H
Data auto read set
-
10110010
B2H
Auto reset
-
This command is convenient to send full screen data from external display RAM. After setting auto mode , "Data write(or read)" command is not necessary between each data. "Data auto write (or read)" command should follow the "Address pointer set" and address pointer is automatically increment by + 1 after each data. After sending (or receiving) all data
"Auto reset" is necessary to return normal operation because all data is regarded "Display data" and no command can be accepted in the auto mode.
Note: status check for auto mode(STA2,STA3 should be checked between each
Data. Auto reset should be performed after checking (STA3=1 STA2=1)
7.35 DATA READ WRITE
CODE
HEX
FUNCTION
OPERAND
11000000
C0H
Data write and ADP increment
Data
11000001
C1H
Data read and ADP increment
Data
11000010
C2H
Data write and ADP decrement
Data
11000011
C3H
Data read and ADP decrement
Data
11000100
C4H
Data write and ADP nonvariable
Data
11000101
C5H
Data read and ADP nonvariable
Data
This command is used for data write from MPU to external display RAM, AND data read external display RAM to MPU. Data write/data read should be executed after setting address by address pointer set command. Address Pointer can be automatically increment by setting this command.
Note: this command is necessary for each 1 byte data.
Please refer following flow chart.
NOTE:
(1) After power on, it is necessary to reset. /RESET is kept "L" between
5 CLOCK up(oscillation clock).
(2) When /HALT has been "L", the oscillation is stopped. It is necessary
To turn off power supply for LCD, because LCD goes down by DC bias.
(3) The HALF function contains the RESET function.
(4) After state of RESET/HALT.
TERMINAL
HALT
RESET
D0-D7
F
F
D0-d7
F
F
R/w
H
H
/ce
H (NOTE 1)
H (NOTE 1)
Ad0-ad15
H (NOTE 2)
H (NOTE 2)
/ce0,/ce1
H (NOTE 1)
H (NOTE 1)
ED,HOD
Final Data
Final Data
HSCP
L
L
LP
L
L
CDATA
H
H
FR
H
H
CH1
L
K0
CH2
L
VEND
DSPON
L
L
XO
H
OSC CLOCK
L: Level L
F: Floating (High impedance)
KO: Internal state (TEXT data access) normally open
VEND: End signal of V-counter(Line count) if MDS=H, T2=L,
HEND (end signal of H-count) normally open.
Not
展开阅读全文