Professional Documents
Culture Documents
Sitronix: Chinese Fonts Built in LCD Controller/driver
Sitronix: Chinese Fonts Built in LCD Controller/driver
Sitronix ST7920
Chinese Fonts built in LCD controller/driver
Main Features
z RC oscillator built in (with external R)
z Voltage operating range: z Low power design
- 2.7 to 5.5V Normal mode (450uA Typ VDD=5V)
z Support 8 bit, 4 bit, serial bus MPU interface Standby mode (30uA Max VDD=5V)
z 64 x 16-bits character display RAM (max. 16 z VLCD (V0~ Vss): max 7V
chars x 4 lines, LCD display range 16 char. X 2 z Graphic and character mix modes display
lines z Multiple instructions:
z 64 x 256-bits graphic display RAM(GDRAM) - (Display clear)
z 2M-bits Chinese fonts ROM (CGROM) - (Return home)
supporting 8192 Chinese fonts (16x16 dot - (Display on/off)
matrix) - (Cursor on/off)
z 16K-bits half height ROM (HCGROM) supporting - (Display character blink)
126 character set (16x8 dot matrix) - (Cursor shift)
z 64 x 16-bits character generation RAM (CGRAM)
- (Display shift)
z 15 x 16-bits total 240 ICON RAM(IRAM)
- (Vertical line scroll)
z 33-common x 64-segment (2 lines display) LCD
- (By_line reverse display)
drivers
z Automatic power on reset - (Standby mode)
z External reset pin (XRESET) z Built in voltage booster (2 times)
z With extension segment drivers display area can z 1/33 Duty
up to 16x2 lines
Function Description
ST7920 LCD controller/driver IC can display alphabets, numbers, Chinese fonts and self-defined characters. It
supports 3 kinds of bus interface, namely 8 bit/ 4bit and serial. All functions, including display RAM, character
generator ROM, LCD display drivers and control circuits are all in a one-chip solution. With a minimum system
configuration, a Chinese character display system can easily achieved.
ST7920 includes character ROM with 8192 16X16 dots Chinese fonts and 126 16X8 dots half height alphanumerical
fonts. Also for graphic display it supports 64x256 dots graphic display area(GDRAM)and 240 dots ICON RAM. Mix
mode display with both character and graphic data is possible. ST7920 has built in 4 sets CGRAM providing
software programmable 16X16 font.
ST7920 has wide operating voltage (2.7V to 5.5V) and low power consumption suitable for battery power portable
device.
ST7920 LCD driver consists of 33 common and 64 segments. Together with extension segment driver ST7921,
ST7920 can support up to 33 common x 256 segments display.
Instruction
Register (IR) COM1 to
RS MPU Display 33/49-b Common COM33
Interface Data RAM it shift Signal
RW (DDRAM) register Driver
60 x 16 bits
E Instruction
Decoder
SEG1 to
SEG64
64-bit 64-bit Segment
shift latch Signal
Address register circuit Driver
Counter
DB4 to
DB7
Input/
Output Data
DB0 to Buffer Register LCD Drive
DB3 (DR) Voltage
Selector
Busy
Flag
Parallel/Serial converter
Vss and
Attribute Circuit
VDD
XOFF
XRESET
V0 V1 V2 V3 V4
Pads diagram
30 1
31
ST7920
136
“ST7920
(0,0)
99
68
1
69 98
Pin Description
CL1 12 O Extension segment drv. Latch signal for extension segment drivers
CL2 13 O Extension segment drv. Shift clock for extension segment drivers
AC signal for extension segment drivers voltage
M 15 O Extension segment drv.
inversion
DOUT 16 O Extension segment drv. Data output for extension segment drivers
COM1 to
40〜72 O LCD Common signals
COM33
SEG1 to
136〜73 O LCD Segment signals
SEG64
1〜3 LCD bias voltage
V0 to V4 ― ―
7,8 V0 - V4 ≦ 7 V
VDD 10,14 I Power VDD : 2.7V to 5.5V
Vss 9,20 I Power VSS: 0V
For internal oscillation resistor
5.0V R=33K
OSC1, OSC2 21,22 I, O Resistors
2.7V R=18K
use OSC1 for external clock input
VOUT 33 O Resistors LCD voltage doubler output
*note: The OSC pin must have the shortest wiring pattern of all other pins.To prevent noise from other signal lines , it should also be
enclosed with the largest GND pattern possible. Poor noise characteristics on the OSC line will result in malfunction , or adversely
affect the clock’s duty ratio.
Pin description
Note:
3.When using voltage doubler for VOUT it is recommended that the total sum of bleeder resistors R1~R5 should be larger than 20K Ohm
R=33K (VDD=5.0V)
R=18K (VDD=2.7V)
R Clock
external resistor & current (VDD=5V) external resistor & Frequency (VDD=5V)
800 900
700 800
600 700
Frequency(KHz)
600
500
Iss (uA)
500
400
400
300
300
200 200
100 100
0 0
15
25
40
60
80
5
0
15
25
40
60
80
0
5
10
10
Resistor(K) Resistor(K)
Voltage doubler
reference voltage
Vss
- + Cap1M
+ - VD2
Cap1P
Cap2M
x Cap2P
Cap3M
Vout
Vout
Vout Unit: V
10
9
8
7
6
5
4
3
2
1
0
VD2
7
3
5
2
4.
4.
4.
3.
3.
3.
2.
2.
2.
Reference voltage
Function Description :
System interface
ST7920 supports 3 kinds of bus interface to MPU. 8 bits parallel, 4 bits parallel and clock synchronized serial
interface. Parallel interface is selected by PSB=”1” and serial interface by PSB=”0”. 8 bit / 4 bit interface is selected
by function set instruction DL bit.
Two 8 bit registers (data register DR, instruction register IR) are used in ST7920’s write and read operation. Data
Register(DR)can access DDRAM/CGRAM/GDRAM and IRAM’s data through the address pointer implemented by
Address Counter (AC). Instruction Register (IR) stores the instruction by MPU to ST7920.
RS RW description
Busy Flag(BF)
Internal operation is in progress when BF=”1”, ST7920 is in busy state. No new instruction will be accepted until
BF=”0”. MPU must check BF to determine whether the internal operation is finished and new instruction can be sent.
Address counter(AC)
Address counter(AC)is used for address pointer of DDRAM/CGRAM/IRAM/GDRAM. (AC) can be set by instruction and
after data read or write to the memories (AC) will increase or decrease by 1 according to the setting in “entry mode set”. When
RS=“0”and RW=“1”and E=”1” the value of(AC)will output to DB6〜DB0.
16x16 character generation ROM (CGROM) and 8x16 half height ROM(HCGROM)
ST7920 provides character generation ROM supporting 8192 16 x 16 character fonts and 126 8 x 16 alphanumeric
characters. It is easy to support multi languages application such as Chinese and English. Two consecutive bytes
are used to specify one 16x16 character or two 8x16 half-height characters. Character codes are written into
DDRAM and the corresponding fonts are mapped from CGROM or HCGROM to the display drivers.
ICON RAM(IRAM)
ST7920 provides 240 ICON display. It consists of 15 sets of IRAM address. Each IRAM address has 16 bits data.
IRAM address should be set first before writing to the IRAM. Two bytes for each address. First higher byte (D15~D8)
and then lower byte (D7~D0).
CGRAM fonts and CGROM fonts can only be displayed in the start position of each address. (Refer toTable 4)
80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F
H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L
S i t r o n i x S T 7 9 2 0
矽 創 電 子 . . 中 文 編 碼 ( 正 確 )
矽 創 電 子 . . . 中 文 編 碼
Table 4
Incorrect position
Graphic RAM(GDRAM)
Graphic display RAM supports 64x256 bits bit-mapped memory space. GDRAM address is set by writing 2
consecutive bytes for vertical address and horizontal address. Two-bytes data write to GDRAM for one address.
Address counter will automatically increase by one for the next two-byte data. The procedure is as followings.
1. Set vertical address(Y)for GDRAM
2. Set horizontal address(X)for GDRAM
3. Write D15〜D8 to GDRAM 中(first byte)
4. Write D7〜D0 to GDRAM 中(second byte)
Graphic display memory map please refer to Table-8
LCD driver
LCD driver have 33 common and 64 segments to drive the LCD panel. Segment data from CGRAM /CGROM
/HCGROM are shifted into the 64 bits segment latches to display. Extended segment driver ST7921 can be used to
extend the segment drivers to 256.
AC3 AC2 AC1 AC0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15
0 0 0 1 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31
0 0 1 0 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40 SEG41 SEG42 SEG43 SEG44 SEG45 SEG46 SEG47
0 0 1 1 SEG48 SEG49 SEG50 SEG51 SEG52 SEG53 SEG54 SEG55 SEG56 SEG57 SEG58 SEG59 SEG60 SEG61 SEG62 SEG63
0 1 0 0 SEG64 SEG65 SEG66 SEG67 SEG68 SEG69 SEG70 SEG71 SEG72 SEG73 SEG74 SEG75 SEG76 SEG77 SEG78 SEG79
0 1 0 1 SEG80 SEG81 SEG82 SEG83 SEG84 SEG85 SEG86 SEG87 SEG88 SEG89 SEG90 SEG91 SEG92 SEG93 SEG94 SEG95
0 1 1 0 SEG96 SEG97 SEG98 SEG99 SEG100 SEG101 SEG102 SEG103 SEG104 SEG105 SEG106 SEG107 SEG108 SEG109 SEG110 SEG111
0 1 1 1 SEG112 SEG113 SEG114 SEG115 SEG116 SEG117 SEG118 SEG119 SEG120 SEG121 SEG122 SEG123 SEG124 SEG125 SEG126 SEG127
1 0 0 0 SEG128 SEG129 SEG130 SEG131 SEG132 SEG133 SEG134 SEG135 SEG136 SEG137 SEG138 SEG139 SEG140 SEG141 SEG142 SEG143
1 0 0 1 SEG144 SEG145 SEG146 SEG147 SEG148 SEG149 SEG150 SEG151 SEG152 SEG153 SEG154 SEG155 SEG156 SEG157 SEG158 SEG159
1 0 1 0 SEG160 SEG161 SEG162 SEG163 SEG164 SEG165 SEG166 SEG167 SEG168 SEG169 SEG170 SEG171 SEG172 SEG173 SEG174 SEG175
1 0 1 1 SEG176 SEG177 SEG178 SEG179 SEG180 SEG181 SEG182 SEG183 SEG184 SEG185 SEG186 SEG187 SEG188 SEG189 SEG190 SEG191
1 1 0 0 SEG192 SEG193 SEG194 SEG195 SEG196 SEG197 SEG198 SEG199 SEG200 SEG201 SEG202 SEG203 SEG204 SEG205 SEG206 SEG207
1 1 0 1 SEG208 SEG209 SEG210 SEG211 SEG212 SEG213 SEG214 SEG215 SEG216 SEG217 SEG218 SEG219 SEG220 SEG221 SEG222 SEG223
1 1 1 0 SEG224 SEG225 SEG226 SEG227 SEG228 SEG229 SEG230 SEG231 SEG232 SEG233 SEG234 SEG235 SEG236 SEG237 SEG238 SEG239
1 1 1 1 --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
e
32
s
s 33
34
35
36
Y
37
38
39
40
41
42
43
44
45
...........
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Instructions
ST7920 offers basic instruction set and extended instruction set:
ENTRY Set cursor position and display shift when doing write or read
0 0 0 0 0 0 0 1 I/D S 72us
MODE operation
D=1: display ON
DISPLAY
0 0 0 0 0 0 1 D C B C=1: cursor ON 72 us
ON/OFF
B=1: blink ON
CURSOR
Cursor position and display shift control ;the content of
DISPLAY 0 0 0 0 0 1 S/C R/L X X 72 us
DDRAM are not changed
CONTROL
DL=1 8-BIT interface
FUNCTION 0 DL=0 4-BIT interface
0 0 0 0 1 DL X X X 72 us
SET RE RE=1: extended instruction
RE=0: basic instruction
SET Set CGRAM address to address counter(AC)
CGRAM 0 0 0 1 AC5 AC4 AC3 AC2 AC1 AC0 Make sure that in extended instruction SR=0 (scroll or 72 us
ADDR. RAM address select)
SET
0 Set DDRAM address to address counter(AC)
DDRAM 0 0 1 AC5 AC4 AC3 AC2 AC1 AC0 72 us
AC6 AC6 is fixed to 0
ADDR.
READ
BUSY Read busy flag(BF)for completion of internal operation, also
0 1 BF AC6 AC5 AC4 AC3 AC2 AC1 AC0 0 us
FLAG(BF) Read out the value of address counter(AC)
& ADDR.
WRITE Write data to internal RAM
1 0 D7 D6 D5 D4 D3 D2 D1 D0 72 us
RAM (DDRAM/CGRAM/IRAM/GDRAM)
READ RAM Read data from internal RAM
1 1 D7 D6 D5 D4 D3 D2 D1 D0 72 us
(DDRAM/CGRAM/IRAM/GDRAM)
Note:
1. Make sure that ST7920 is not in busy state by reading the busy flag before sending instruction or data. If use delay loop
instead please make sure the delay time is enough. Please refer to the instruction execution time.
2. “RE”is the selection bit of basic and extended instruction set. Each time when altering the value of RE it will remain.
There is no need to set RE every time when using the same group of instruction set.
ENTRY 0 0 0 0 0 0 0 1 I/D S
Cursor move to right ,DDRAM address counter(AC)plus 1
MODE SET 1 0
0 0 0 0 0 0 1 D C B
DISPLAY
Display, cursor and blink ALL OFF
STATUS
0 0 0
0 0 0 0 0 0 0 1 R1 R0
REVERSE Begin with normal and toggle to reverse
0 0
1
EXTENDED 0 0 0 0 1 DL X G 0
RE
FUNCTION Graphic display OFF
SET 0
0 0 0 0 0 0 0 0 0 1
Code
Fill DDRAM with "20H"(space code). And set DDRAM address counter (AC)to"00H". Set entry mode I/D bit to be "1".
Cursor moves right and AC adds 1 after write or read operation.
z HOME
0 0 0 0 0 0 0 0 1 x
Code
Set DDRAM address counter(AC)to "00H". Cursor moves to origin. Then content of DDRAM is not changed.
0 0 0 0 0 0 0 1 I/D S
Code
Set the cursor movement and display shift direction when doing write or read operation.
I/D :address counter increase / decrease
When I/D = "1", cursor moves right, DRAM address counter(AC)add by 1.
When I/D = "0", cursor moves left, DRAM address counter(AC)subtract by 1.
S: Display shift
S I/D DESCRIPTION
H H Entire display shift left by 1
H L Entire display shift right by 1
z DISPLAY STATUS
0 0 0 0 0 0 1 D C B
Code
0 0 0 0 0 1 S/C R/L x x
Code
Instruction to move the cursor or shift the entire display. The content of DDRAM is not changed.
z FUNCTION SET
RS RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 1 DL X RE x x
Code
Read busy flag(BF)can check whether internal operation is finished. At the same time the value of address counter
(AC)is also read. When BF = “1” new instruction will not be accepted. Must wait for BF = “0” for new instruction.
1 0 D7 D6 D5 D4 D3 D2 D1 D0
Code
1 1 D7 D6 D5 D4 D3 D2 D1 D0
Code
0 0 0 0 0 0 0 0 0 1
Code
Instruction to enter stand by mode. Any other instruction follows this instruction can terminate stand by.
The content of DDRAM remain the same.
0 0 0 0 0 0 0 0 1 SR
Code
z REVERSE
0 0 0 0 0 0 0 1 R1 R0
Code
Select 1 out of 4 lines to reverse the display and to toggle the reverse condition by repeating this instruction.
R1,R0 initial vale is 00. When set the first time the display is reversed and set the second time the display become normal.
R1 R0 Description
L L First line normal or reverse
L H Second line normal or reverse
H L Third line normal or reverse
H H Fourth line normal or reverse
Please note that only 2 lines out of 4 line display data can be displayed.
0 0 0 0 1 DL x RE G x
Code
Parallel interface :
ST7920 is in parallel mode by pulling up PSB pin. And can select 8 bit or 4-bit bus interface by function set instruction DL
control bit. MPU can control ( RS , RW , E , and DB0..DB7 ) pins to complete the data transmission.
In 4-bit transfer mode, every 8 bits data or instruction is separated into 2 parts. Higher 4 bits(DB7~DB4)data will transfer
First and placed into data pins(DB7~DB4). Lower 4 bits(DB3~DB0)data will transfer second and placed into data pins
(DB7~DB4). (DB3~DB0) data pins are not used.
RS
R/W
DB0-DB7
RS
R/W
E
Upper Low Upper Low Upper Low
4-bit 4-bit 4-bit 4-bit 4-bit 4-bit
DB0-DB7
Instruction Dummy RAM
Serial interface :
ST7920 is in serial interface mode when pull down PSB pin. Two pins (SCLK and SID) are used to complete the data transfer.
Only write data is available.
When connecting several ST7920, chip select(CS)must be used. Only when(CS)is high the serial clock(SCLK)can be
accepted. On the other hand, when chip select(CS)is low ST7920 serial counter and data will be reset. Transmission will be
terminated and data will be cleared. Serial transfer counter is set to the first bit. For a minimal system with only one ST7920 and
one MPU, only SCLK and SID pins are necessary. CS pin should pull to high.
ST7920’s serial clock(SCLK)is asynchronous to the internal clock and is generated by MPU. When multiple instruction/data is
transferred instruction execution time must be considered. Must wait for the previous instruction to finish before sending the
next. ST7920 has no internal instruction buffer area.
When starting a transmission a start byte is required. It consists of 5 consecutive 〝1〞(sync character). Serial transfer counter
will be reset and synchronized. Following 2 bits for read/write(RW)and register/data select(RS). Last 4 bits is filled by 〝0〞
。
After receiving the sync character and RW and RS bits, every 8 bits instruction/data will be separated into 2 groups. Higher
4 bits(DB7~DB4)will be placed in first section followed by 4 〝0〞. And lower 4 bits(DB3~DB0)will be placed in second
section followed by 4 〝0〞.
CS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
SCLK
SID 1 1 1 1 1 RW RS 0 D7 D6 D5 D4 0 0 0 0 D3 D2 D1 D0 0 0 0 0
;-------------------------------------------------------------- ;-------------------------------------------------
; Write data from A into INSTRUCTION Register ; Write data from A into DATA Register
;-------------------------------------------------------------- ;-------------------------------------------------
WRINS: WRDATA:
SETB CS SETB CS
SETB SID ; SID = 1 SETB SID ; SID = 1
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
CLR SID ; SID = 0 CLR SID ; SID = 0
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SID ; SID = 1
CLR SCLK SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK CLR SID ; SID = 0
MOVBIT SID, A.7 ; SID = A.7 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK MOVBIT SID, A.7 ; SID = A.7
MOVBIT SID, A.6 ; SID = A.6 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK MOVBIT SID, A.6 ; SID = A.6
MOVBIT SID, A.5 ; SID = A.5 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK MOVBIT SID, A.5 ; SID = A.5
MOVBIT SID, A.4 ; SID = A.4 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK MOVBIT SID, A.4 ; SID = A.4
CLR SID ; SID = 0 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK CLR SID ; SID = 0
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
MOVBIT SID, A.3 ; SID = A.3 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK MOVBIT SID, A.3 ; SID = A.3
MOVBIT SID, A.2 ; SID = A.2 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK MOVBIT SID, A.2 ; SID = A.2
MOVBIT SID, A.1 ; SID = A.1 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK MOVBIT SID, A.1 ; SID = A.1
MOVBIT SID, A.0 ; SID = A.0 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK MOVBIT SID, A.0 ; SID = A.0
CLR SID ; SID = 0 SETB SCLK ; READ DATA FROM SID
SETB SCLK ; READ DATA FROM SID CLR SCLK
CLR SCLK CLR SID ; SID = 0
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
SETB SCLK ; READ DATA FROM SID SETB SCLK ; READ DATA FROM SID
CLR SCLK CLR SCLK
CLR CS SETB SCLK ; READ DATA FROM SID
CALL DLY8 CLR SCLK
RET CLR CS
CALL DLY8
RET
8 bit interface:
POWER ON
Function set
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 1 1 X 0 X X
Function set
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 1 1 X 0 X X
Display clear
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 0 0 0 0 0 1
Initialization end
4 bit interface:
POWER ON
Function set
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 1 0 X X X X
Function set
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 1 0 X X X X
0 0 X 0 X X X X X X
Display clear
RS R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 0 0 0 X X X X
0 0 0 0 0 1 X X X X
Initialization end
VD2
Cap2M
2.7V x Cap2P
Cap3M
Vout
Vout
Vss
VDD
Tres
XRESET
Trw
V0
V1
V2
COM1 V3
V4
VSS
V0
V1
V2
COM2 V3
V4
VSS
V0
V1
V2
COM33 V3
V4
VSS
V0
V1
SEGx V2
off V3
V4
VSS
V0
V1
SEGx V2
on V3
V4
VSS 1 frame
VIH1
RS VIL1
TAS TAH
R/W
TPW TAH
E
TDSW TH
TR
VIH1
RS VIL1
TAS TAH
R/W
TPW TAH
TR
E
TDDR TH
TCSS TCSH
CS
TSCYC
SCLK TSLW
TSHW
Tf
Tr
TSDS TSDH
Enable
DATA
V3.0
VCC
JP1
R5
R4
R3
R2
R1
1
4.7K
4.7K
2.2K
4.7K
4.7K
2
R10
10K
VCC
LCD
3
4
HEADER 16
5
6
J1
3
2
1
7
R6
CON3
8
33K
1
1
9
VCC
10
R7
2K
11
ST7920
12
13
14
C1
104
15
16
JK
2
CON2
1
VCC
JP2
2
1
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
HEADER 2
R8
R9
E
M
D6
D5
D4
D3
D2
D1
D0
RS
V4
V3
V2
V1
V0
RW
LCD Voltage : VCC
CL2
CL1
PSB
VSS
VSS
VXC
VXB
VDD
VDD
VXA
OSC2
OSC1
33
33
31 136 S1
DOUT
D7 S1
XRESET
32 135 S2 C25 192 96 C24
XOFF S2 C25 C24
33 134 S3 C26 191 95 C23
VOUT S3 C26 C23
2
2
JA
34 133 S4 C27 190 94 C22
2 CAP3M S4 C27 C22
35 132 S5 C28 189 93 C21
CON2
1 CAP1P S5 C28 C21
VCC
36 131 S6 C29 188 92 C20
CAP1M S6 C29 C20
Application circuit 1:
3
3
40/42
S113 S93
S112 156 60 S92
C30
C31
C32
C33
S64
S63
S62
S61
S60
S59
S58
S57
S56
S55
S54
S53
S52
S51
S50
S49
S48
S47
S46
S45
S44
S43
S42
S41
S40
S39
S112 S92
S111 155 59 S91
S111 S91
S110 154 58 S90
U1
S110 S90
S109 153 57 S89
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
S109 S89
ST7920
S108 152 56 S88
S108 S88
S107 151 55 S87
S107 S87
S106 150 54 S86
S64
S63
S62
S61
S60
S59
S58
S57
S56
S55
S54
S53
S52
S51
S50
S49
S48
S47
S46
S45
S44
S43
S42
S41
S40
S39
C30
C31
C32
S106 S86
S105 149 53 S85
S105 S85
S104 148 52 S84
S104 S84
S103 147 51 S83
S103 S83
S102 146 50 S82
S102 S82
S101 145 49 S81
S101 S81
S80 144 48 S60
S80 S60
4
4
S74 S54
S113 S73 137 41 S53
S73 S53
S72 136 40 S52
S72 S52
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
95
M
S69 S49
S1
V3
V2
V0
S49
S68 132 36 S48
CL2
CL1
DL2
DL1
VSS
DR2
DR1
S68 S48
VDD
SHL2
SHL1
5
5
B
Size
S129 16 79 S81 S33 117 21 S13
File:
Title
Date:
S65 S17 S33 S13
S130 17 78 S82 S32 116 20 S12
S66 S18 S32 S12
S131 18 77 S83 S31 115 19 S11
S67 S19 S31 S11
S132 19 76 S84 S30 114 18 S10
S68 S20 S30 S10
S133 20 75 S85 S29 113 17 S9
S69 S21 S29 S9
S134 21 74 S86 S28 112 16 S8
S70 S22 S28 S8
S135 22 73 S87 S27 111 15 S7
Number
S71 S23 S27 S7
S136 23 72 S88 S26 110 14 S6
1-Mar-2001
S72 S24 S26 S6
S137 24 71 S89 S25 109 13 S5
S73 S25 S25 S5
S138 25 70 S90 S24 108 12 S4
S74 S26 S24 S4
S139 26 69 S91 S23 107 11 S3
S75 S27 S23 S3
S140 27 68 S92 S22 106 10 S2
S76 S28 S22 S2
S141 28 67 S93 S21 105 9 S1
D:\Buffer-2\7920V1.DDB
S77 S29 S21 S1
S142 29 66 S94
S78 S30
S143 30 65 S95 C16 104 8 C1
S79 S31 C16 C1
S144 31 64 S96 C15 103 7 C2
S80 S32 C15 C2
S145 32 63 S97 C14 102 6 C3
S81 S33 C14 C3
Sitronix
S146 33 62 S98 C13 101 5 C4
S82 S34 C13 C4
S147 34 61 S99 C12 100 4 C5
S83 S35 C12 C5
S148 35 60 S100 C11 99 3 C6
S84 S36 C11 C6
S149 36 59 S101 C10 98 2 C7
S85 S37 C10 C7
ST7920 LCM
S150 37 58 S102 C9 97 1 C8
S86 S38 C9 C8
S151 38 57 S103
S87 S39
6
6
Sheet 1 of 1
S88
S89
S90
S91
S92
S93
S94
S95
S96
S48
S47
S46
S45
S44
S43
S42
S41
S40
L1
U2
Revision
ST7921
WDG1603P
1.2
S152
S153
S154
S155
S156
S157
S158
S159
S160
S112
S111
S110
S109
S108
S107
S106
S105
S104
B
C
A
D
2002/10/11
B
C
D
V3.0
JP1
R5
R4
R3
R2
R1
1
4.7K
4.7K
2.2K
4.7K
4.7K
2
R10
10K
VCC
LCD
3
4
HEADER 16
5
6
J1
3
2
1
7
R6
CON3
8
33K
1
1
9
VCC
10
R7
2K
11
ST7920
12
13
14
C1
104
15
16
JK
2
CON2
1
VCC
JP2
2
1
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
HEADER 2
R8
R9
E
M
D6
D5
D4
D3
D2
D1
D0
RS
V4
V3
V2
V1
V0
RW
CL2
CL1
PSB
VSS
VSS
VXC
VXB
VDD
VDD
VXA
OSC2
OSC1
33
33
31 136 S1
DOUT
D7 S1
XRESET
32 135 S2 C25 192 96 C24
XOFF S2 C25 C24
33 134 S3 C26 191 95 C23
VOUT S3 C26 C23
2
2
JA
34 133 S4 C27 190 94 C22
2 CAP3M S4 C27 C22
35 132 S5 C28 189 93 C21
CON2
1 CAP1P S5 C28 C21
VCC
36 131 S6 C29 188 92 C20
CAP1M S6 C29 C20
Application circuit 2:
+ C3
C1 S10
4.7u
C2 41 126 S11 S160 184 88 S140
C2 S11 S160 S140
C3 42 125 S12 S159 183 87 S139
C3 S12 S159 S139
C4 43 124 S13 S158 182 86 S138
C4 S13 S158 S138
C2
C5 44 123 S14 S157 181 85 S137
+
4.7u
C5 S14 S157 S137
C6 45 122 S15 S156 180 84 S136
C6 S15 S156 S136
C7 46 121 S16 S155 179 83 S135
C7 S16 S155 S135
C8 47 120 S17 S154 178 82 S134
C8 S17 S154 S134
C9 48 119 S18 S153 177 81 S133
C9 S18 S153 S133
C10 49 118 S19 S152 176 80 S132
C10 S19 S152 S132
C11 50 117 S20 S151 175 79 S131
C11 S20 S151 S131
C12 51 116 S21 S150 174 78 S130
C12 S21 S150 S130
C13 52 115 S22 S149 173 77 S129
C13 S22 S149 S129
C14 53 114 S148 172 76 S128
: 32 COM x 160 SEG
S23
C14 S23 S148 S128
C15 54 113 S24 S147 171 75 S127
C15 S24 S147 S127
C16 55 112 S25 S146 170 74 S126
C16 S25 S146 S126
C17 56 111 S26 S145 169 73 S125
C17 S26 S145 S125
C18 57 110 S27 S144 168 72 S124
C18 S27 S144 S124
C19 58 109 S28 S143 167 71 S123
C19 S28 S143 S123
3
3
41/42
S113 S93
S112 156 60 S92
C30
C31
C32
C33
S64
S63
S62
S61
S60
S59
S58
S57
S56
S55
S54
S53
S52
S51
S50
S49
S48
S47
S46
S45
S44
S43
S42
S41
S40
S39
S112 S92
S111 155 59 S91
S111 S91
S110 154 58 S90
U1
S110 S90
S109 153 57 S89
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
S109 S89
ST7920
S108 152 56 S88
S108 S88
S107 151 55 S87
S107 S87
S106 150 54 S86
S64
S63
S62
S61
S60
S59
S58
S57
S56
S55
S54
S53
S52
S51
S50
S49
S48
S47
S46
S45
S44
S43
S42
S41
S40
S39
C30
C31
C32
S106 S86
S105 149 53 S85
S105 S85
S104 148 52 S84
S104 S84
S103 147 51 S83
S103 S83
S102 146 50 S82
S102 S82
S101 145 49 S81
S101 S81
S80 144 48 S60
S80 S60
4
4
S74 S54
S113 S73 137 41 S53
S73 S53
S72 136 40 S52
S72 S52
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
95
M
S69 S49
S1
V3
V2
V0
S49
S68 132 36 S48
CL2
CL1
DL2
DL1
VSS
DR2
DR1
S68 S48
VDD
SHL2
SHL1
5
5
B
Size
S129 16 79 S81 S33 117 21 S13
File:
Title
Date:
S65 S17 S33 S13
S130 17 78 S82 S32 116 20 S12
S66 S18 S32 S12
S131 18 77 S83 S31 115 19 S11
S67 S19 S31 S11
S132 19 76 S84 S30 114 18 S10
S68 S20 S30 S10
S133 20 75 S85 S29 113 17 S9
S69 S21 S29 S9
S134 21 74 S86 S28 112 16 S8
S70 S22 S28 S8
S135 22 73 S87 S27 111 15 S7
Number
S71 S23 S27 S7
LCD Voltage : VCC x 2(Voltage doubler is used)*Vlcd should not over 7v.
17-Aug-2001
S137 24 71 S89 S25 109 13 S5
S73 S25 S25 S5
S138 25 70 S90 S24 108 12 S4
S74 S26 S24 S4
S139 26 69 S91 S23 107 11 S3
S75 S27 S23 S3
S140 27 68 S92 S22 106 10 S2
S76 S28 S22 S2
S141 28 67 S93 S21 105 9 S1
S77 S29 S21 S1
S142 29 66 S94
S78 S30
S143 30 65 S95 C16 104 8 C1
S79 S31 C16 C1
S144 31 64 S96 C15 103 7 C2
S80 S32 C15 C2
S145 32 63 S97 C14 102 6 C3
S81 S33 C14 C3
Sitronix
S146 33 62 S98 C13 101 5 C4
S82 S34 C13 C4
S147 34 61 S99 C12 100 4 C5
S83 S35 C12 C5
S148 35 60 S100 C11 99 3 C6
S84 S36 C11 C6
S149 36 59 S101 C10 98 2 C7
S85 S37 C10 C7
S150 37 58 S102 C9 97 1 C8
S86 S38 C9 C8
S151 38 57 S103
S87 S39
6
6
Sheet 1 of 1
ST7920 LCM (Booster)
S88
S89
S90
S91
S92
S93
S94
S95
S96
S48
S47
S46
S45
S44
S43
S42
S41
S40
L1
U2
Revision
ST7921
WDG1603P
1.4
S152
S153
S154
S155
S156
S157
S158
S159
S160
S112
S111
S110
S109
S108
S107
S106
S105
S104
B
C
A
D
2002/10/11
2002/10/11
Dot Matrix LCD Panel
Com 1-32 Seg 1-64 Seg 1-96 Seg 1-96
Dout DL1 DR2 DL1 DR2
VDD DL2 VDD DL2
: 2Line 16Chinese Word (32 COM x 256 SEG)
DR1 DR1
SHL1 ST7921 CL1 SHL1 ST7921 CL1
SHL2 CL2 SHL2 CL2
VSS M VSS M
V0 V0
V2 V3 V2 V3
42/42
ST7920 VDD
VSS
CL2
CL1
M
V0
V1
V2
Application circuit 3:
V3
V4
DB0-DB7
Vcc(+5V/+3V) VSS
VR Regsister Regsister Regsister Regsister Regsister
To MPU
Note:Regsister=2.2K~10K ohm
ST7920
VR=1K~30Kohm
LCD
V3.0