Document
Changsha Sunman Electronics Co., Ltd
SMG240128A
SMG240128A LCM SPECIFICATION
MAIN TECHNOLOGY PARAMETER:
Number of dots: 240X128 Operating voltage: 4.5~5.5V Operating current: 18mA(5.0V)
Current of LED: <260mA Color of LED: Yellow-Green
Color of LCD: Dot size:
Operating temperature: Storage temperature:
Yellow-Green STN 0.45X0.45(WXH)mm -20~60 -30~70
PIN DESCRIPTION:
SYMB PIN SIGNAL DESCRIPTION
OL 1 FG Conformation GND 0V
2 VSS GND
3 VDD Power supply +5V
4 V0 Power supply LCD driver
5 WR Write L
6 RD Read L
Enable,R/W=LOW:Data are talking over at falling 7 CE edge,R/W=HIGH:Data can be read at E=1
8
C/D
Register selectLOW=Instruction,HIGH=Data
PIN 9 10
11 to 18 19 20 21
22
SYMBO SIGNAL DESCRIPTION
L
NC Null
/RST Reset the system L
D0 to D7 FS VEE
Data bus-software select able 4 or 8 bit mode Font L
LCD Driver minus voltage output (-10V)
BLA Anode of LED
BLK Cathode of LED
EXTERNAL DIMENSION:
144.0 0.5 138.0 133.2
114.0 107.95
1.6 8.0 3.00
104.0 0.5 97.0 79.8 9.1
6.0
2.00 K A
WWW.SUNMAN.COM.CN
22 1
2.54X21=53.34
2010-3
12.00 12.5
1/23
2.50
57.55 64.0
Changsha Sunman Electronics Co., Ltd
SMG240128A
FUNCTIONAL DEFINITION
a. After power on, it is necessary to reset./RESET is kept L between 5 clocks up(oscillation clock).
b. When /HALT=L, the oscillation stops. The power supply for the LCD must now be turned off, to protect
the LCD from DC bias.
c. The HALT function includes the RESET function.
d. The column/line counter and display register are cleared by RESET. (Other registers are not cleared.)
Disable the display using the clear-display register.
e. The status must be checked at the data or commands are sent. The MSB=0 status check must be done in
particular. There is a possibility of erroneous operation due to a hard interrupt.
f. STA0 and STA1 must be checked at the same time. When a command is executed, data transmission
errors may occur.
g. The T6963C can only handle one byte per machine cycle(16 clocks). It is impossible to send more than
two data in a machine cycle.
h. When using a command with operand data, it important to send the data first, and then execute the
command.
i. The character codes used by the T6963C are different from ASC codes.
j. State after RESET/HALT
TERMINAL
HALT
RESET
D0 to D7
F
F
d0 to d7
F
F
r/w H
H
/ce
H(Note 1)
H(Note 1)
ad0 to 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
H : Level H
L : Level L
F : Floating(high impedance)
K0 : Test signal
VENT : Test signal
(Note 1): In Attribute mode, H or L according to state of graphic pointer
(Note 2): In Attribute mode, data of graphic pointer
k. The relationship between number of row/column and oscillation clock The frequency of the crystal oscillation is adjusted by the following formula. fOSC: Frequency of oscillation fSCP: Frequency of shift clock(fSCP=fOSC/2)
WWW.SUNMAN.COM.CN
2010-3
2/23
Changsha Sunman Electronics Co., Ltd
SMG240128A
fR : Frequency of Frame M : Number if characters on one line(number of dots on one line=8M)
For all font sizes(e.g.7X8,6X8,5X8) the oscillation frequency remains constant. N : Number of rows(duty=1/8N)
8M / fSCP X 8N = 1/fR fOSC = fR X 64 X 2 X M X N (fR = 60 Hz)
UNIT:[MHz]
M N
2 4 6 8 10 12 14 16
32
0492 0.983 0.983 1.996 1.475 2.949 1.966 3.932 2.458 4.915 2.949 5.898 3.440 6.881 3.932 7.864
40
0.614 1.229 1.229 2.458 1.843 3.686 2.458 4.915 3.072 6.144 3.686 7.373 4.300 8.601 4.915 9.830
64
0.893 1.996 1.996 3.932 2.949 5.898 3.932 7.864 4.915 9.830 5.898 11.776 6.881 13.763 7.864 15.729
80
1.229 2.458 2.458 4.915 3.686 7.372 4.915 9.830 6.144 12.288 7.373 14.746 8.602 17.203 9.830 19.660
(Note 1) Upper… Single-Scan, lower… Dual-Scan at fR=60Hz
duty
1/16 1/32 1/48 1/64 1/80 1/96 1/112 1/128
Upper Lower
l. RAM Interface The external RAM is used to store display data(text, graphic and external CG data). With single-scan, text data, graphic data and external CG data can be freely allocated to the memory area(64 KB max). With dual-scan, LCD is allocated to 0000H to 7FFFH(32 KB max), LCD is allocated to 8000H to FFFFH(32 KB max). Text data, graphic data and external CG data can be freely allocated in LCD . In LCD , the same address must be allocated as in LCD , except ad15.ad15 determines selection of LCD or LCD . It can be use the address decoded signal /ce0(0000 to 07FFH), /ce1(0800 to 0FFFH) within 4 KB. /ce0 and /ce1 allow decoding of address in the ranges(0000 to 07FFH) and(0800 to 0fffH) respectively within a 4-KB memory space.
(Example) (1) Single-Scan
WWW.SUNMAN.COM.CN
(2) Dual-Scan
2010-3
3/23
Changsha Sunman Electronics Co., Ltd
SMG240128A
0000H
TEXT AREA
7FFFH GRAPHIC AREA
0000H TEXT
AREA 3FFFH
GRAPHIC
AREA 77FFH
CG RAM AREA
7FFFH
8000H TEXT
AREA BFFFH
GRAPHIC
AREA F7FFH
CG RAM AREA FFFFH
F7FFH FFFFH
CG RAM AREA
CG:Charatcer Generator
m. Flowchart of com.