KB HE84G761B

KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
- Table of Contents 1.
General Description ___________________________________________________________________3
2.
Features _____________________________________________________________________________3
3.
Functional Block Diagram ______________________________________________________________4
4.
Pin Description _______________________________________________________________________4
5.
Pad Location _________________________________________________________________________6
6.
ROM Map Configurations_____________________________________________________________11
7.
External RAM/Flash Memory__________________________________________________________14
8.
LCD Display RAM Map ______________________________________________________________15
9.
LCD driver configurations_____________________________________________________________16
9.1.
16 Gray Scale LCD Display RAM Map ________________________________________________17
9.2.
4 Gray Scale LCD Display RAM Map _________________________________________________23
9.3.
Black and White LCD Display RAM Map______________________________________________26
10.
LCD Power Supply_________________________________________________________________29
11.
LCDC Control register _____________________________________________________________31
12.
Oscillators ________________________________________________________________________32
13.
General Purpose I/O _______________________________________________________________34
14.
Timer1 ___________________________________________________________________________36
15.
Timer2 ___________________________________________________________________________37
16.
Time Base ________________________________________________________________________38
17.
Watch Dog Timer __________________________________________________________________39
18.
Voice Output ______________________________________________________________________40
19.
Low Voltage Detection/Reset _________________________________________________________44
20.
Infrared output____________________________________________________________________45
21.
Universal Asynchronous Receiver/Transmitter__________________________________________47
21.1.
Interface Registers _________________________________________________________________48
21.2.
Baud Rate Configuration Register ____________________________________________________48
21.3.
Interrupt & Identification Register ___________________________________________________49
April 25, 2005
1
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
21.4.
Line Control Register_______________________________________________________________50
21.5.
Line Status Register ________________________________________________________________51
22.
Extension Register Access ___________________________________________________________52
23.
Summary of Registers and Mask Options ______________________________________________52
24.
Absolute Maximum Rating __________________________________________________________55
25.
Recommended Operating Conditions _________________________________________________55
26.
AC/DC Characteristics _____________________________________________________________55
27.
Application Circuit_________________________________________________________________57
28.
Important Note ____________________________________________________________________60
29.
Updated History ___________________________________________________________________60
April 25, 2005
2
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
1. General Description
HE84G762B is a member of 8-bit Micro-controller series developed by King Billion Electronics.
External address and data buses are provided to access external memory. This chip has 4096 pixel, 16
gray-scale LCD driver built-in with 4 different configurations, and up to 34-bit general purpose I/O ports.
The built-in OP comparator can be used with light, voice, temperature and humility sensor or used to
detect the battery low. The 7/8 bits current-type D/A converter and PWM driver output provides the
complete speech output solutions. The 384K bytes ROM and 5K bytes RAM can be used for the storage
of large speech data, image and text, etc. An UART is included to provide the serial communication
capability. IR output makes it suitable for remote control applications.
The instruction sets of HE80000 series is easy to learn and simple to use. There are only thirty-two
instructions and four addressing modes. Most of instructions take only 3 oscillator clocks to complete.
The performance and low power consumption make it suitable for battery-powered applications such as
translator, data bank, educational toy, digital voice recorder, etc.
2. Features
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
Operation Voltage:
Dual Clock System:
2.4V ~ 3.6V
Fast clock
32768 Hz ~ 8 MHz
Slow clock
32768 Hz
Four operation modes: Fast, Slow, Idle, Sleep modes.
Internal Program ROM: 384K bytes
Internal RAM:
5 K bytes
External memory buses to interface external Mask ROM, EPROM, NOR FLASH memory, etc.
22 ~ 34 bi-directional general-purpose I/O ports with push-pull or Open-Drain output type
selectable for each I/O pin by mask option.
Up to 4096 pixels 16, 4 gray-scale or Black/White LCD driver.
Segment extender interface with KD83 and KD80.
4 LCD configurations (COM X SEG): 32 COM x 96 SEG, 48 COM x 80 SEG, 64 COM x 64
SEG, 80 COM x 48 SEG.
Built-in LCD power supply with regulator and 3, 4, and 5 times charge pump circuit.
One 7/8-bit current-type D/A converter.
One 7/8-bit PWM output.
One built-in OP comparator.
Built-in UART for serial communication.
IR output.
Low voltage reset: 2.2V
Low voltage detection: 2.4V, 2.6V, 2.8V and 3.0V
Two external interrupts, three internal timer interrupts and extension UART interrupt
Watch dog timer to prevent deadlock condition.
Two 16-bit timers and one time-base timer.
Instruction set: 32 instructions, 4 addressing mode.
April 25, 2005
3
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
COM[31..0]
LVL1
LVL2
LVL3
LVL4
LVL5
LCAP4A
Pin Name
April 25, 2005
15~ 46
47
48
49
50
51
52
O
P
P
P
P
P
O
TC2
I/O Port
WDT
UART
LVR
LVD
4
IR
Pin # I/O
PRT10[7]
PRT10[6]
PRT10[5]
PRT10[4]
PRT10[3]
PRT10[2]
PRT10[1]
PRT10[0]
PRTD[7]
PRTD[6]
PRTD[5]
PRTD[4]
PRTD[3]
PRTD[2]
PRTD[1]
PRTD[0]
PRTC[7]
TC1
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
SEG13/CS0
SEG12/CS1
SEG11/CS2
SEG10/CS3
PRT15[1]
PRT15[0]
PRT17[7]
PRT17[6]
PRT17[5]
PRT17[4]
PRT17[3]
PRT17[2]
PRT17[1]
PRT17[0]
COM31
COM30
COM29
COM28
COM27
COM25
COM26
384 KB ROM
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
SIN, SOUT
8 Bit CPU
CMSG59
CMSG58
CMSG57
CMSG56
CMSG55
CMSG54
CMSG53
CMSG52
CMSG51
CMSG50
CMSG49
CMSG48
CMSG47
CMSG46
CMSG45
CMSG44
CMSG43
CMSG42
CMSG41
CMSG40
Ext. Memory
Interface
VSSA:G
OAC
OCCK
GND:G
OPO
OPIP
OPIN
DAO
VO
RSTP_N
FXO
FXI
TSTP_P
SXO
SXI
VX
VDD:P
Segment Ext.
Interface
154
153
152
151
150
149
148
147
146
145
144
143
142
141
140
139
138
137
136
135
LCD Power
Supply
CMSG79
CMSG78
CMSG77
CMSG76
CMSG75
CMSG74
CMSG73
CMSG72
CMSG71
CMSG70
CMSG69
CMSG68
CMSG67
CMSG66
CMSG65
CMSG64
CMSG63
CMSG62
CMSG61
CMSG60
PRTC, PRTD, PRT10,
PRT17
170
169
168
167
166
165
164
163
162
161
160
159
158
157
156
155
SEGA, SEGD
SEG32/A16
SEG33/A17
SEG34/A18
SEG35/A19
SEG36/A20
SEG37/A21
SEG38/A22
SEG39/A23
SEG40/D0
SEG41/D1
SEG42/D2
SEG43/D3
SEG44/D4
SEG45/D5
SEG46/D6
SEG47/D7
U1
188
187
186
185
184
183
182
181
180
179
178
177
176
175
174
173
172
171
OLFR, OCCK
LCD
Driver
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SEG14/WE
SEG15/OE
SEG16/A0
SEG17/A1
SEG18/A2
SEG19/A3
SEG20/A4
SEG21/A5
SEG22/A6
SEG23/A7
SEG24/A8
SEG25/A9
SEG26/A10
SEG27/A11
SEG28/A12
SEG29/A13
SEG30/A14
SEG31/A15
LVL[5..1], LGS1, LVREG
LCAP?A, LCAP?B
LVL1
LVL2
LVL3
LVL4
LVL5
LCAP4A
LCAP2B
LCAP2A
LCAP1A
LCAP1B
LCAP3A
LVREG
LGS1
LVAG
VDDA:P
COM25
COM24
COM23
COM22
COM21
COM20
COM19
COM18
COM17
COM16
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
SEG
COM
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Fast Clock
OSC.
Slow Clock
OSC
OP Amp
HE84G761B
HE80004 Series
3. Functional Block Diagram
FXI, FXO
SXI, SXO
5 KB RAM
PWM
PWM
DAC
VO, DAO
TB
OPO,OPIN, OPIP
IRO
4. Pin Description
CMSG39
CMSG38
CMSG37
CMSG36
CMSG35
CMSG34
CMSG33
CMSG32
GND_PWM
PWM
IRO
VDD_RAM:P
PRTC[0]
PRTC[1]
PRTC[2]
PRTC[3]
PRTC[4]
PRTC[5]
PRTC[6]
114
113
112
111
110
109
108
107
HE84G763B
106
105
104
103
102
101
100
99
98
97
96
LCD COMMON Driver pads.
LCD Bias Voltage 1.
LCD Bias Voltage 2
LCD Bias Voltage 3
LCD Bias Voltage 4
LCD Bias Voltage 5.
Charge Pump Capacitor Pin.
Description
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Pin Name
Pin # I/O
LCAP2B
LCAP2A
LCAP1A
LCAP1B
LCAP3A
53
54
55
56
57
O
O
O
O
O
LVREG
58
O
LGS1
LVAG
VDD_LCD(VDDA)
GND_LCD(VSSA)
OAC
OCCK
GND
OPO
OPIP
OPIN
DAO
VO
59
60
61
62
63
64
65
66
67
68
69
70
I
O
P
P
O
O
P
O
I
I
O
O
RSTP_N
71
I
FXO,
FXI
72,
73
O,
B
TSTP_P
74
I
SXO,
SXI
75,
76
O,
I
VX
77
I
VDD
78
P
PRT10[7..0]
79~86
B
PRTD[7..2]
PRTD[1]/SIN
PRTD[0]/SOUT
87~94
B
PRTC[7:0]
95~102
B
VDD_RAM
IRO
103
104
P
O
PWM
105
O
GND_PWM
106
P
CMSG[32..79]
April 25, 2005
107~154 O
HE84G761B
HE80004 Series
Description
Charge Pump Capacitor Pin.
Charge Pump Capacitor Pin.
Charge Pump Capacitor Pin.
Charge Pump Capacitor Pin.
Charge Pump Capacitor Pin.
Voltage Regulator Output. VDD is regulated to generate LVREG, which is in turns
pumped to LVP. Adjust resistor between LGS1 and LVREG to set LVREG voltage.
Regulator Voltage Setting
Reference Voltage Output. Fixed 0.9 Volt DC reference voltage
Power supply for LCD charge-pump.
LCD power system ground.
LCD frame signal for interfacing with LCD segment extender KD80.
LCD data load pin for interfacing with LCD segment extender KD80.
Power ground Input.
Output of OP Amp.
Non-inverting input of OP Amp.
Inverting input of OP Amp.
Alternate output of DAC.
DAC Output.
System Reset input pin. Level trigger, active low on this pin will put the chip in reset
state.
External fast clock pin. Two types of oscillator can be selected by MO_FXTAL (‘0’ for
RC type and ‘1’ for crystal type). For RC type oscillator, one resistor needs to be
connected between FXI and GND. For crystal oscillator, one crystal needs to be placed
between FXI and FXO. Please refer to application circuit for details.
Test input pin. Please bond this pad and reserve a test point on PCB for debugging. But
for improving ESD, please connect this point with zero Ohm resistor to GND.
External slow clock pins. Slow clock is clock source for LCD display, TIMER1,
Time-Base and other internal blocks. Both crystal and RC oscillator are provided. The
slow clock type can be selected by mask option MO_SXTAL. Choose ‘0’ for RC type
and ‘1’ for crystal oscillator.
Input pin for x32 PLL circuit. Connect to external resistor and capacitors as shown in
application circuit.
Positive power Input. A 0.1 µF decoupling capacitors should be placed as close to IC
VDD and GND pads as possible for best decoupling effect.
8-bit bi-directional I/O port 10. The output type of I/O pad can also be selected by mask
option MO_10PP[7..0] (‘1’ for push-pull and ‘0’ for open-drain).
As the output structure of I/O pad does not contain tri-state buffer. When using the I/O
pad as input pad, “1” must be outputted before reading.
8-bit bi-directional I/O port D. The output type of I/O pad can also be selected by mask
option MO_DPP[7..0] (‘1’ for push-pull and ‘0’ for open-drain).
As the output structure of I/O pad does not contain tri-state buffer. When using the I/O
as input, ‘1’ must be outputted before reading the pin.
PRTD[7..2] can be used as wake-up pins. PRTD[7..6] can be as external interrupt
sources.
PRTD[1] shares pad with UART Receiver SIN pin.
PRTD[0] shares pad with UART transmitter SOUT pin.
8-bit bi-directional I/O port C. The output type of I/O pad can also be selected by mask
option MO_CPP[7..0] (‘1’ for push-pull and ‘0’ for open-drain).
As the output structure of I/O pad does not contain tri-state buffer. When using the I/O
as input, ‘1’ must be outputted before reading the pin.
Dedicated power input for RAM
The Infrared output.
The PWM output can drive speaker or buzzer directly. Using VDD & PWM to drive
output device.
Dedicated Ground for PWM output.
COM[32..79] pads are shared with SEG[95..48] outputs. The functions of the pads to be
COM drivers or SEG drivers can be selected by mask option MO_COM[1..0]. Please
5
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Pin Name
Pin # I/O
155~
162
163~
186
SEG[47..40]/D[7..0]
SEG[39..16]/A[23..0]
O
O
OE/SEG15
187
O
WE/SEG14
188
O
CS0/SEG13
1
O
CS1/SEG12
2
O
CS2/SEG11
3
O
CS3/SEG10
4
O
PRT15[1..0]/SEG[9..8]
5~
6
B/
O
7~14
B/
O
PRT17[7..0]/SEG[7..0]
HE84G761B
HE80004 Series
Description
refer to LCD driver configuration for details.
LCD segment SEG[47..40] outputs share pads with data bus D[7..0] of external
memory.
LCD segment SEG[39..16] outputs share pads with address bus A[23..0] of external
memory.
Output Enable control of external memory shares pad with SEG[15]. The function of
the pin is selected by mask option MO_EXMEM.
When used as Output Enable control pin, this pin control the tri-state buffer of external
memory data bus.
Write Enable control of external memory shares pad with SEG[14]. The function of the
pin is selected by mask option MO_ EXMEM.
When used as Write Enable control pin, this pin controls Write Enable input of the
external memory device.
Chip Select 0 of external memory shares pad with SEG[13]. The function of the pin is
selected by mask option MO_ EXMEM.
When used as Chip Enable control pin, this pin select or de-select the external memory
device based on the address been accessed.
Chip Select 1 of external memory shares pad with SEG[12]. The function of the pin is
selected by mask option MO_ EXMEM.
When used as Chip Enable control pin, this pin select or de-select the external memory
device based on the address been accessed.
Chip Select 2 of external memory shares pad with SEG[11]. The function of the pin is
selected by mask option MO_ EXMEM.
When used as Chip Enable control pin, this pin select or de-select the external memory
device based on the address been accessed.
Chip Select 3 of external memory shares pad with SEG[10]. The function of the pin is
selected by mask option MO_ EXMEM.
When used as Chip Enable control pin, this pin select or de-select the external memory
device based on the address been accessed.
2-bit bi-directional I/O port 15 is shared with LCD segment pads SEG[9..8]. The
function of the pad can be selected individually by mask options MO_LIO15[1..0].
(‘1’ for LCD and ‘0’ for I/O).
The output type of I/O pad can also be selected by mask option MO_15PP[1..0] (1 for
push-pull and ‘0’ for open-drain).
As the output structure of I/O pad does not contain tri-state buffer. When using the I/O
as input, “1” must be outputted before reading.
8-bit bi-directional I/O port 17 is shared with LCD segment pads SEG[7..0]. The
function of the pad can be selected individually by mask options MO_LIO17[7..0].
(‘1’ for LCD and ‘0’ for I/O).
The output type of I/O pad can also be selected by mask option MO_17PP[7..0] (1 for
push-pull and ‘0’ for open-drain).
As the output structure of I/O pad does not contain tri-state buffer. When using the I/O
as input, “1” must be outputted before reading.
I: Input, O: Output, B: Bidirectional, P: Power.
5. Pad Locati
PIN
PIN
X
Y
Number
Name
Coordinate
Coordinate
-----------------------------------------------------------------------1
2
April 25, 2005
SEG[13]
SEG[12]
X= -4123.60
X= -4123.60
Y=
Y=
6
934.55
834.55
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
April 25, 2005
SEG[11]
SEG[10]
PRT15[1]
PRT15[0]
PRT17[7]
PRT17[6]
PRT17[5]
PRT17[4]
PRT17[3]
PRT17[2]
PRT17[1]
PRT17[0]
COM[31]
COM[30]
COM[29]
COM[28]
COM[27]
COM[26]
COM[25]
COM[24]
COM[23]
COM[22]
COM[21]
COM[20]
COM[19]
COM[18]
COM[17]
COM[16]
COM[15]
COM[14]
COM[13]
COM[12]
COM[11]
COM[10]
COM[9]
COM[8]
COM[7]
COM[6]
COM[5]
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-4123.60
-3930.50
-3830.50
-3730.50
-3630.50
-3530.50
-3430.50
-3330.50
-3230.50
-3130.50
-3030.50
-2930.50
-2830.50
-2730.50
-2630.50
-2530.50
-2430.50
-2330.50
-2230.50
-2130.50
-2030.50
-1930.50
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
7
HE84G761B
HE80004 Series
734.55
634.55
534.55
434.55
334.55
234.55
134.55
34.55
-65.45
-165.45
-265.45
-365.45
-465.45
-565.45
-665.45
-765.45
-865.45
-965.45
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
April 25, 2005
COM[4]
COM[3]
COM[2]
COM[1]
COM[0]
LVL1
LVL2
LVL3
LVL4
LVL5
LCAP4A
LCAP2B
LCAP2A
LCAP1A
LCAP1B
LCAP3A
LVREG
LGS1
LVAG
VDDA
VSSA
OAC
OCCK
GND
OPO
OPIP
OPIN
DAO
VO
RSTP_N
FXO
FXI
TSTP_P
SXO
SXI
VX
VDD
PRT10[7]
PRT10[6]
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
-1830.50
-1730.50
-1630.50
-1530.50
-1430.50
-1230.50
-1130.50
-1030.50
-930.50
-830.50
-730.50
-630.50
-530.50
-430.50
-330.50
-230.50
-130.50
-30.50
69.50
169.50
369.50
469.50
569.50
669.50
769.50
869.50
969.50
1069.50
1169.50
1269.50
1369.50
1469.50
1569.50
1669.50
1769.50
1869.50
1969.50
2169.50
2269.50
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
8
HE84G761B
HE80004 Series
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
April 25, 2005
PRT10[5]
PRT10[4]
PRT10[3]
PRT10[2]
PRT10[1]
PRT10[0]
PRTD[7]
PRTD[6]
PRTD[5]
PRTD[4]
PRTD[3]
PRTD[2]
PRTD[1]
PRTD[0]
PRTC[7]
PRTC[6]
PRTC[5]
PRTC[4]
PRTC[3]
PRTC[2]
PRTC[1]
PRTC[0]
VDD_RAM
IRO
PWM
GND_PWM
CMSG[32]
CMSG[33]
CMSG[34]
CMSG[35]
CMSG[36]
CMSG[37]
CMSG[38]
CMSG[39]
CMSG[40]
CMSG[41]
CMSG[42]
CMSG[43]
CMSG[44]
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
2369.50
2469.50
2569.50
2669.50
2769.50
2869.50
2969.50
3069.50
3169.50
3269.50
3369.50
3469.50
3569.50
3669.50
3769.50
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
4122.00
3668.40
3568.40
3468.40
3368.40
3268.40
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
9
HE84G761B
HE80004 Series
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1354.55
-1126.45
-1026.45
-926.45
-826.45
-726.45
-626.45
-526.45
-426.45
-326.45
-226.45
-126.45
473.55
573.55
673.55
773.55
873.55
973.55
1073.55
1173.55
1354.05
1354.05
1354.05
1354.05
1354.05
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
April 25, 2005
CMSG[45]
CMSG[46]
CMSG[47]
CMSG[48]
CMSG[49]
CMSG[50]
CMSG[51]
CMSG[52]
CMSG[53]
CMSG[54]
CMSG[55]
CMSG[56]
CMSG[57]
CMSG[58]
CMSG[59]
CMSG[60]
CMSG[61]
CMSG[62]
CMSG[63]
CMSG[64]
CMSG[65]
CMSG[66]
CMSG[67]
CMSG[68]
CMSG[69]
CMSG[70]
CMSG[71]
CMSG[72]
CMSG[73]
CMSG[74]
CMSG[75]
CMSG[76]
CMSG[77]
CMSG[78]
CMSG[79]
SEG[47]
SEG[46]
SEG[45]
SEG[44]
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
3168.40
3068.40
2968.40
2868.40
2768.40
2668.40
2568.40
2468.40
2368.40
2268.40
2168.40
2068.40
1968.40
1868.40
1768.40
1568.40
1468.40
1368.40
1268.40
1168.40
1068.40
968.40
868.40
768.40
668.40
568.40
468.40
368.40
268.40
168.40
68.40
-31.60
-131.60
-231.60
-331.60
-531.60
-631.60
-731.60
-831.60
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
10
HE84G761B
HE80004 Series
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
SEG[43]
SEG[42]
SEG[41]
SEG[40]
SEG[39]
SEG[38]
SEG[37]
SEG[36]
SEG[35]
SEG[34]
SEG[33]
SEG[32]
SEG[31]
SEG[30]
SEG[29]
SEG[28]
SEG[27]
SEG[26]
SEG[25]
SEG[24]
SEG[23]
SEG[22]
SEG[21]
SEG[20]
SEG[19]
SEG[18]
SEG[17]
SEG[16]
SEG[15]
SEG[14]
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
X=
-931.60
-1031.60
-1131.60
-1231.60
-1331.60
-1431.60
-1531.60
-1631.60
-1731.60
-1831.60
-1931.60
-2031.60
-2231.60
-2331.60
-2431.60
-2531.60
-2631.60
-2731.60
-2831.60
-2931.60
-3031.60
-3131.60
-3231.60
-3331.60
-3431.60
-3531.60
-3631.60
-3731.60
-3831.60
-3931.60
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
Y=
HE84G761B
HE80004 Series
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
1354.05
6. ROM Map Configurations
The chip has built-in 384K bytes internal ROM. In addition, address and data buses are provided to access
External ROM. The MCU can access up to 4M bytes program ROM and up to 16M bytes data space
through external buses. The SEG[47..40], SEG[39..16] pads are used as either data and address buses for
external ROM or LCD segment driver pads depending on the mask option MO_EXMEM. When the
external ROM mask option is selected, the MCU will retrieve the instructions and data from external
April 25, 2005
11
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
ROM through the address and data buses.
The bit 14 ~ 15 bit of 16-bit logical program address can be mapped to any one (16K bytes per page) of
256 pages through mapping registers PSA1, PSA2, PSA3. As logical page 0 can not be moved and is
always physical page 0, the PSA1 ~ PSA3 contain the physical page addresses of logical pages 1 ~ 3.
Logical Address
A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
Page Addr. A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
A[15..14]
00
01
10
11
Register Address
PSA1
0x2C
PSA2
0x2D
PSA3
0x2E
Type
R/W
R/W
R/W
Logical Page Physical Page Address
0
0
1
PSA1
2
PSA2
3
PSA3
A21
A21
A21
A20
A20
A20
A19
A19
A19
Physical Address
00A[13..0]
PSA1+A[13..0]
PSA2+A[13..0]
PSA3+A[13..0]
Bits Definition
A18
A17
A18
A17
A18
A17
A16
A16
A16
A15
A15
A15
A14
A14
A14
Reset
0x01
0x02
0x03
There are four configurations for external memory as determined by mask option MO_PMODE. For
example, when option 0 is selected, 384K bytes of internal ROM will occupy the address range from
0x000000 ~ 0x07FFFF of memory space, while CS1 controls external memory device whose address
ranges from 0x200000 to 3FFFFF, etc.
MO_ PMODE [1..0] Configuration
00
Option 0
01
Option 1
April 25, 2005
12
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
10
11
Address
000000
060000
100000
Option0
Int. PROM
(384KB)
Unused
CS0
Option 2
Option 3
Option1
Address
000000
Address
000000
060000
100000
CS0
200000
Option2
Int. PROM
(384KB)
Unused
CS0
200000
CS1
100000
CS1
Int. PROM
(384KB)
Unused
360000
3FFFFF
400000
CS2
CS0
300000
CS1
3FFFFF
400000
Option3
Address
000000
2FFFFF
CS1
3FFFFF
400000
HE80004 Series
400000
Unused
CS2
600000
CS2
7FFFFF
800000
7FFFFF
800000
7FFFFF
800000
CS3
CS2
FFFFFF
CS3
FFFFFF
Legend:
VDD
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
SEG34
SEG35
SEG36
SEG37
SEG38
SEG39
SEG40
SEG41
SEG42
SEG43
SEG44
SEG45
SEG46
SEG47
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
A17
A18
A19
A20
A21
A22
A23
Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
A19
A16
A15
A12
A7
A6
A5
A4
A3
A2
A1
A0
Q0
Q1
Q2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FFFFFF
Ext. Program
8 MB EPROM
CS3
CS2
CS1
CS0
WE
OE
A19
A16
A15
A12
A7
A6
A5
A4
A3
A2
A1
A0
Q0
Q1
Q2
VSS
CS3
FFFFFF
Int. Program
Ext. Bus Interface
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
7FFFFF
800000
VCC
A18
A17
A14
A13
A8
A9
A11
OE/VPP
A10
CE
Q7
Q6
Q5
Q4
Q3
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
A18
A17
A14
A13
A8
A9
A11
C89
0.1uF
A10
CS0
Q7
Q6
Q5
Q4
Q3
A16
A15
A14
A13
A12
A11
A9
A8
WE
A18
A7
A6
A5
A4
A3
A2
A1
M27C801
Ext. Data
Intel NOR FLASH
1
2 A16
3 A15
4 A14
5 A13
6 A12
7 A11
8 A9
9 A8
10 WE
11 RP
12 VPP
13 WP
14 A18
15 A7
16 A6
17 A5
18 A4
19 A3
20 A2
A1
A17
GND
A20
A19
A10
DQ7
DQ6
DQ5
DQ4
VCCQ
VCC
NC
DQ3
DQ2
DQ1
DQ0
OE
GND
CE
A0
A17
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
A20
A19
A10
DQ7
DQ6
DQ5
DQ4
DQ3
DQ2
DQ1
DQ0
OE
CE
A0
28F320-TSOP
16 MB EPROM
A19
A18
A8
A7
A6
A5
A4
A3
A2
A1
CS1
DQ0
DQ1
DQ2
DQ3
DQ4
DQ5
DQ6
DQ7
D0
Q1
Q2
Q3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
A18
A17
A7
A6
A5
A4
A3
A2
A1
A0
CE
VSS
OE
Q0
Q8
Q1
Q9
Q2
Q10
Q3
Q11
A19
A8
A9
A10
A11
A12
A13
A14
A15
A16
BY TE
VSS
Q15A-1
Q7
Q14
Q6
Q13
Q5
Q12
Q4
VCC
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
A20
A9
A10
A11
A12
A13
A14
A15
A16
A17
512KB x 8 SRAM
A11
A9
A8
A13
WE
A17
A15
VDD
A0
Q7
Q6
Q5
Q4
A18
A16
A14
A12
A7
A6
A5
A4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
A11
A9
A8
A13
WE
A17
A15
VCC
A18
A16
A14
A12
A7
A6
A5
A4
OE
A10
CS1
IO7
IO6
IO5
IO4
IO3
GND
IO2
IO1
IO0
A0
A1
A2
A3
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
OE
A10
CS3
DQ7
DQ6
DQ5
DQ4
DQ3
DQ2
DQ1
DQ0
A0
A1
A2
A3
LP62S4096-TSOP
VDD
M27C160
April 25, 2005
13
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
7. External RAM/Flash Memory
The external memory devices can be mask ROM, static RAM, or NOR type FLASH memory. Most NOR
type FLASH memory and RAM can be used as external storage for both program and data, so program
can be downloaded to external memory devices for future execution. However, there are some limitations.
When the data is to be written to external devices, the loader must reside in internal program space. In
other words, the loader program must be in internal ROM. When download is completed, the program in
the external memory can be run.
The data written to external memory devices is through a command interface composed of AC, EXMC
and EXMD registers for setting up the memory addresses, switching memory buses, generating read/write
pulse, read/write memory contents, etc. When writing finishes, external memory can be switched back the
external address and data bus for CPU to fetch data and instructions.
Writing to address registers is through a common register AC. Writing to AC will write data to ACL, ACH,
and then ACP in cyclic order. The sequence will be reset by an access to EXMD register. Therefore, it is
advisable to make a dummy read to EXMD register before writing to AC, so that the first write will be
made to ACL.
AC
Mode
Description
ACL
R/W Address Counter Low for AC7 ~ AC0
ACH
R/W Address Counter High for AC15 ~ AC8
ACP
R/W Address Counter Page for AC23 ~ AC16
ACL: Lowest Significant Byte of Address Counter.
ACH: 2nd Byte of Address Counter.
ACP: Most Significant Byte of Address Counter.
Register Mode Description
EXMC
W
DNLD: Switch the bus to download bus.
RD: Read pulse control.
WR: Write pulse control.
-
-
Reset Value
“--------“
“--------“
“--------“
DNLD
RD
WR
Reset Value
“-----011”
After address setup, the data can be written to address device through EXMD register. Program must
generate the required write pulse by firmware. The address counter AC will automatically increment with
each read/write access.
Register
EXMD
Type
R/W
D7
D6
D5
Description
D4
D3
D2
D1
D0
Reset Value
“--------“
The procedure for downloading data from I/O or any other sources, i.e. command mode ROM device is as
follows:
1.
Switch the external memory to download bus by setting the DNLD bit of EXMC register.
April 25, 2005
14
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
2.
3.
4.
5.
6.
HE80004 Series
Make a dummy read to EXMD register to reset the AC pointer.
Set up the address for transferring data by first writing to ACL, and then ACH and ACP with the first
3 writes to register.
Start writing to addressed device by first writing 1 byte of data to EXMD register, clear WR bit of
CMD register and set it again, the AC will increment with each write pulse.
To read addressed device, clear RD bit of EXMC register, read EXMD register and set RD bit again.
The AC will also increment with each read pulse. Read back for verification is optional. Please note
that read back can also be made through external address and data bus when the bus is switched back
to program bus.
Switch back to normal bus for program execution and data access by clearing the DNLD bit of
EXMC register.
Please note that NOR FLASH memory from different manufacturers such as Intel, AMD, SST, etc.
requires various command sequence to set up. Programmer still needs to follow the respective
specifications of the vendors.
8. LCD Display RAM Map
The gray-scale LCD driver can be configured to be a 16 gray-scale, 4 gray-scales or black and white
display by mask option MO_GRAY_MODE.
MO_GRAY_MODE[1..0]
00
01
10
11
Gray levels
16
4
2 (B/W)
2 (B/W)
For 4 gray-scale display, 2-bit of RAM is required for each pixel and 4 bit for 16 gray-scale display, 1-bit
for black and white display. For different LCD configuration, the LCD display RAM is arranged
differently. The following figure shows one byte of RAM in different LCD configurations:
0F
xx
0E
xx
0D
xx
Black/White
4 Gray scales
16 Gray scales
0C
xx
0B
xx
0A
xx
09
xx
08
xx
07
xx
Bit 7
Bit 6
Bit 5
Bit 4
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
06
xx
05
xx
04
xx
03
xx
02
xx
01
xx
00
xx
Bit 3
Bit 2
Bit 1
Bit 0
SEG3
SEG2
SEG1
SEG0
SEG1
SEG0
SEG0
The 16 Gray Scale register GRAY0 ~ GRAYF is the mapping register between the levels selected in
RAM and the real gray scale. In other words, if the content of GRAY0 is 0x03, when value of a certain
April 25, 2005
15
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
pixel is 0, the displayed effect will correspond to actual gray level 3. The 16 gray scale display use all 16
registers GRAY0 ~ GRAYF to select among 32 available gray levels to correspond to level 0 ~ 15, while
4 gray scale display utilizes registers GRAY0 ~ GRAY3 to select among 32 gray levels to correspond to
level 0 ~ 3. Thus user can pick the gray levels which give the best and most linear effect.
16 Gray Scale registers share a common register address GRAY16. When writing is made to the register,
it will step down to next register in order. The writing sequence can be reset by clearing bit 5 of LCDC
register.
GRAY16
Seq.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Bit4
Bit3
Field
Bit2
Bit1
Bit0
GRAY0
GRAY1
GRAY2
GRAY3
GRAY4
GRAY5
GRAY6
GRAY7
GRAY8
GRAY9
GRAYA
GRAYB
GRAYC
GRAYD
GRAYE
GRAYF
Reset
0x00
0x02
0x04
0x06
0x08
0x0A
0x0C
0x0E
0x10
0x12
0x14
0x16
0x18
0x1A
0x1C
0x1E
9. LCD driver configurations
There are 4 LCD configurations selectable by mask option MO_COM[1..0] for this chip. The function of
CMSG[79..64] in each configuration is listed in the following table.
MO_COM[1..0]
00
01
10
11
April 25, 2005
Configuration
COM x SEG
32 x 96
48 x 80
64 x 64
80 x 48
CMSG[79..64]
Function
SEG[48..63]
SEG[48..63]
SEG[48..63]
COM[79..64]
16
CMSG[63..48]
Function
SEG[64..79]
SEG[64..79]
COM[63..48]
COM[63..48]
CMSG[47..32]
Function
SEG[80..95]
COM[47..32]
COM[47..32]
COM[47..32]
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
COMXSEG
CMSG32
CMSG33
CMSG34
CMSG35
CMSG36
CMSG37
CMSG38
CMSG39
CMSG40
CMSG41
CMSG42
CMSG43
CMSG44
CMSG45
CMSG46
CMSG47
CMSG48
CMSG49
CMSG50
CMSG51
CMSG52
CMSG53
CMSG54
CMSG55
CMSG56
CMSG57
CMSG58
CMSG59
CMSG60
CMSG61
CMSG62
CMSG63
CMSG64
CMSG65
CMSG66
CMSG67
CMSG68
CMSG69
CMSG70
CMSG71
CMSG72
CMSG73
CMSG74
CMSG75
CMSG76
CMSG77
CMSG78
CMSG79
32X96
48X80
64X64
80X48
SEG95
SEG94
SEG93
SEG92
SEG91
SEG90
SEG89
SEG88
SEG87
SEG86
SEG85
SEG84
SEG83
SEG82
SEG81
SEG80
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
COM32
COM33
COM34
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
COM45
COM46
COM47
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
COM32
COM33
COM34
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
COM45
COM46
COM47
COM48
COM49
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
COM32
COM33
COM34
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
COM45
COM46
COM47
COM48
COM49
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
COM64
COM65
COM66
COM67
COM68
COM69
COM70
COM71
COM72
COM73
COM74
COM75
COM76
COM77
COM78
COM79
HE80004 Series
Since there are 4 LCD driver configurations available for selection by mask option, the RAM map of
LCD drivers is listed below for all configurations. Any unused RAM as marked with ‘*’ sign can be
used as general purposed RAM by application programs
9.1. 16 Gray Scale LCD Display RAM Map
Page
1
Cnf
Loc.
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
32x96
F
April 25, 2005
48x80
0
F
S31 ~ S00
S63 ~ S32
S95 ~ S64
64x64
0
F
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
S79 ~ S64
80x48
0
F
0
S31 ~ S00
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
17
*
COM0
COM1
COM2
COM3
S47 ~ S32
*
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
2
3
4
5
Cnf
Loc.
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
32x96
F
April 25, 2005
48x80
0
F
64x64
0
F
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
80x48
0
*
HE80004 Series
F
0
*
S31 ~ S00
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
18
*
COM4
COM5
COM6
COM7
COM8
COM9
COM10
COM11
COM12
COM13
COM14
COM15
COM16
COM17
S47 ~ S32
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
6
7
8
Cnf
Loc.
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
32x96
F
April 25, 2005
48x80
0
S95 ~ S64
F
64x64
0
*
F
S79 ~ S64
HE80004 Series
80x48
0
F
0
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
S63 ~ S32
S95 ~ S64
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S31 ~ S00
19
COM18
COM19
COM20
COM21
COM22
COM23
COM24
COM25
COM26
COM27
COM28
COM29
COM30
COM31
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
9
10
11
12
Cnf
Loc.
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
32x96
F
April 25, 2005
48x80
0
F
S63 ~ S32
S95 ~ S64
64x64
0
F
S63 ~ S32
S79 ~ S64
F
0
*
S47 ~ S32
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
S63 ~ S32
S63 ~ S32
*
*
80x48
0
S63 ~ S32
HE80004 Series
*
S79 ~ S64
S31 ~ S00
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
*
*
S31 ~ S00
S31 ~ S00
*
S63 ~ S32
S63 ~ S32
*
S79 ~ S64
S47 ~ S32
*
*
*
*
*
*
S47 ~ S32
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
*
S79 ~ S64
*
20
COM33
COM34
S31 ~ S00
*
*
*
COM32
*
S47 ~ S32
*
*
*
*
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
13
14
15
Cnf
Loc.
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
32x96
F
April 25, 2005
48x80
0
F
*
*
*
64x64
0
F
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
S79 ~ S64
80x48
0
S31 ~ S00
HE80004 Series
F
0
S31 ~ S00
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
S31 ~ S00
S63 ~ S32
S63 ~ S32
*
*
*
*
S79 ~ S64
*
*
S47 ~ S32
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
21
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
COM45
COM46
COM47
COM48
COM49
COM50
COM51
COM52
S31 ~ S00
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
COM53
COM54
COM55
COM56
S31 ~ S00
*
S47 ~ S32
*
*
COM57
COM58
S47 ~ S32
*
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
16
17
18
19
Cnf
Loc.
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
32x96
F
April 25, 2005
48x80
0
F
64x64
0
F
HE80004 Series
80x48
0
F
0
*
*
*
*
*
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
S31 ~ S00
S31 ~ S00
*
*
S63 ~ S32
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
22
*
S31 ~ S00
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
COM59
COM60
COM61
COM62
COM63
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
COM64
COM65
COM66
COM67
COM68
COM69
COM70
COM71
COM72
S47 ~ S32
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
20
Cnf
Loc.
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
32x96
F
48x80
0
F
64x64
0
F
HE80004 Series
80x48
0
F
0
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S31 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
*
*
S47 ~ S32
COM73
COM74
COM75
COM76
COM77
COM78
COM79
9.2. 4 Gray Scale LCD Display RAM Map
Page
1
Cnf
Loc.
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
32x96
F
April 25, 2005
48x80
0
S63 ~ S00
F
S95 ~ S64
*
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
*
S95 ~ S64
*
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S95 ~ S64
*
*
F
*
0
S47 ~ S00
S79 ~
S64
*
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
*
S47 ~ S00
S79 ~
S64
*
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
80x48
0
S63 ~ S00
S63 ~ S00
*
*
F
S63 ~ S00
*
*
64x64
0
S63 ~ S00
S79 ~
S64
*
23
*
*
S47 ~ S00
*
COM0
COM1
COM2
COM3
COM4
COM5
COM6
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
2
3
4
5
Cnf
Loc.
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
32x96
F
April 25, 2005
48x80
0
S63 ~ S00
*
S95 ~ S64
S63 ~ S00
*
S95 ~ S64
F
*
*
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
*
S95 ~ S64
S95 ~ S64
*
*
S63 ~ S00
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
*
S95 ~ S64
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S95 ~ S64
*
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
*
S95 ~ S64
*
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
S63 ~ S00
*
S95 ~ S64
S63 ~ S00
*
*
S95 ~ S64
*
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
*
S95 ~ S64
*
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
*
S95 ~ S64
*
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S63 ~ S00
S63 ~ S00
S95 ~ S64
S63 ~ S00
*
S95 ~ S64
*
S63 ~ S00
S95 ~ S64
*
*
*
*
*
*
*
S63 ~ S00
S79 ~
S64
S63 ~ S00
S79 ~
S64
*
S63 ~ S00
S79 ~
S64
*
S63 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
S63 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
*
S47 ~ S00
S79 ~
S64
*
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
*
S47 ~ S00
S79 ~
S64
*
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
*
S47 ~ S00
S79 ~
S64
*
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
*
S47 ~ S00
S79 ~
S64
*
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
*
S47 ~ S00
S79 ~
S64
*
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
*
*
S63 ~ S00
*
*
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
S63 ~ S00
*
*
*
S63 ~ S00
0
S47 ~ S00
*
*
S63 ~ S00
*
*
S79 ~
S64
S63 ~ S00
*
*
*
S63 ~ S00
S63 ~ S00
*
*
S63 ~ S00
S79 ~
S64
S63 ~ S00
*
*
*
S63 ~ S00
*
*
S63 ~ S00
S79 ~
S64
S63 ~ S00
*
F
*
S63 ~ S00
*
*
S79 ~
S64
80x48
0
S63 ~ S00
S63 ~ S00
S63 ~ S00
S63 ~ S00
F
S63 ~ S00
*
*
64x64
0
HE80004 Series
S63 ~ S00
S79 ~
S64
*
S79 ~
S64
S63 ~ S00
*
24
*
*
S47 ~ S00
*
*
S47 ~ S00
*
COM7
COM8
COM9
COM10
COM11
COM12
COM13
COM14
COM15
COM16
COM17
COM18
COM19
COM20
COM21
COM22
COM23
COM24
COM25
COM26
COM27
COM28
COM29
COM30
COM31
COM32
COM33
COM34
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
6
7
8
Cnf
Loc.
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
32x96
F
April 25, 2005
48x80
0
*
*
*
*
F
*
S63 ~ S00
*
*
S63 ~ S00
*
*
*
S63 ~ S00
*
*
*
*
*
*
S63 ~ S00
S63 ~ S00
S79 ~
S64
*
S63 ~ S00
S79 ~
S64
*
S63 ~ S00
*
S63 ~ S00
*
*
S63 ~ S00
*
*
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
*
*
S47 ~ S00
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
*
S63 ~ S00
*
*
S47 ~ S00
S79 ~
S64
*
S63 ~ S00
*
*
S79 ~
S64
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
*
*
*
S63 ~ S00
*
S47 ~ S00
S79 ~
S64
S79 ~
S64
*
*
*
S63 ~ S00
0
S47 ~ S00
*
*
S63 ~ S00
*
*
S79 ~
S64
S79 ~
S64
*
S63 ~ S00
*
*
*
S63 ~ S00
S63 ~ S00
*
*
*
S63 ~ S00
S79 ~
S64
S79 ~
S64
*
*
*
S63 ~ S00
*
*
S63 ~ S00
S79 ~
S64
S63 ~ S00
F
*
S63 ~ S00
*
80x48
0
S63 ~ S00
S79 ~
S64
*
*
*
*
F
S63 ~ S00
*
*
64x64
0
HE80004 Series
*
*
*
S63 ~ S00
*
*
*
*
S47 ~ S00
*
*
*
*
S63 ~ S00
*
*
S47 ~ S00
*
*
*
S63 ~ S00
*
S47 ~ S00
*
*
*
*
S63 ~ S00
*
*
*
*
S47 ~ S00
*
*
*
*
S63 ~ S00
*
*
S47 ~ S00
*
*
*
S63 ~ S00
*
S47 ~ S00
*
*
*
*
*
S63 ~ S00
*
*
*
*
*
*
*
S63 ~ S00
*
*
S47 ~ S00
*
*
*
S63 ~ S00
*
S47 ~ S00
*
*
*
*
*
S63 ~ S00
*
*
*
*
*
*
*
S63 ~ S00
*
*
S47 ~ S00
*
*
*
S63 ~ S00
*
S47 ~ S00
*
*
*
*
*
S63 ~ S00
*
*
*
*
*
*
*
S63 ~ S00
*
25
*
S47 ~ S00
*
*
*
S47 ~ S00
*
*
*
S47 ~ S00
*
*
S47 ~ S00
*
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
COM45
COM46
COM47
COM48
COM49
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
9
A
Cnf
Loc.
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
32x96
F
48x80
0
F
64x64
0
F
80x48
0
*
*
S63 ~ S00
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
HE80004 Series
F
0
*
S47 ~ S00
COM63
*
*
S47 ~ S00
COM64
*
*
S47 ~ S00
*
*
S47 ~ S00
COM65
COM66
*
*
S47 ~ S00
COM67
*
*
S47 ~ S00
*
*
S47 ~ S00
COM68
COM69
*
*
S47 ~ S00
COM70
*
*
S47 ~ S00
*
*
S47 ~ S00
COM71
COM72
*
*
S47 ~ S00
COM73
*
*
S47 ~ S00
*
*
S47 ~ S00
COM74
COM75
*
*
S47 ~ S00
COM76
*
*
S47 ~ S00
*
*
S47 ~ S00
COM77
COM78
*
*
S47 ~ S00
COM79
*
9.3. Black and White LCD Display RAM Map
Page
1
Cnf
Loc.
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
32x96
F
*
48x80
0
F
64x64
0
*
S95 ~ S00
S95 ~ S00
*
*
*
S95 ~ S00
*
S95 ~ S00
F
S79 ~ S00
80x48
0
F
0
S63 ~ S00
*
S47 ~ S00
S79 ~ S00
*
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
April 25, 2005
26
COM0
COM1
COM2
COM3
COM4
COM5
COM6
COM7
COM8
COM9
COM10
COM11
COM12
COM13
COM14
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
2
3
4
5
Cnf
Loc.
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
00
10
20
30
40
50
32x96
F
48x80
0
F
64x64
0
F
HE80004 Series
80x48
0
F
0
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S95 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
*
S79 ~ S00
*
*
S63 ~ S00
*
S47 ~ S00
S79 ~ S00
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S79 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
*
S63 ~ S00
*
S47 ~ S00
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
*
S63 ~ S00
*
S47 ~ S00
S63 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
April 25, 2005
*
*
*
*
27
COM15
COM16
COM17
COM18
COM19
COM20
COM21
COM22
COM23
COM24
COM25
COM26
COM27
COM28
COM29
COM30
COM31
COM32
COM33
COM34
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
COM45
COM46
COM47
COM48
COM49
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
COM64
COM65
COM66
COM67
COM68
COM69
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Page
Cnf
Loc.
60
70
80
90
A0
B0
C0
D0
E0
F0
32x96
F
April 25, 2005
48x80
0
F
64x64
0
F
28
HE80004 Series
80x48
0
F
0
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
*
S47 ~ S00
COM70
COM71
COM72
COM73
COM74
COM75
COM76
COM77
COM78
COM79
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
10. LCD Power Supply
The built-in LCD power supply is equipped with input voltage regulator, voltage multiplier and bias
voltage generating circuit with active buffer instead of passive resistor voltage dividing network. If the
external LCD power is provided, the internal LCD power system shall be disabled. The following table
shows the relationship of the LCD power system
LCDE(LCDC BIT0)
MO_PSMODE[1:0]
Function
Internal voltage multiplier and Bias voltage
1
00
generating circuit are enable to supply the
LCD display power.
Internal voltage multiplier is enabled, but the
1
Bias voltage generating circuit is disabled,and
01
the external power sources are applied
LV4~LV1.
Internal voltage multiplier is disabled, but the
Bias voltage generating circuit is enabled.
1
10
The single external power is applied to LV5,
and internal bias circuit will generate the
LV4~LV1 voltages.
Internal voltage multiplier and Bias voltage
1
generating circuit are disabled, and the
11
external power sources are applied to
LV5~LV1.
0
The lcd power system is disable,but the LV5~
00
LV1 is applied to VDD .
The lcd power system is disable,but the LV5
0
01
is applied to VDD and LV4~LV1 is applied to
hight impedance.
The lcd power system is disable, LV5 is
0
10
applied to hight impedance,and the LV4~LV1
Applied to LV5.
0
April 25, 2005
The lcd power system is disable, LV5~LV1 is
11
applied to hight impedance.
29
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE80004 Series
when the internal LCD power system is used by internal voltage multiplier . The input voltage is
regulated to LVREG using the internally by resistor between LGS1 and LVREG generated LVAG as
reference voltage. LVREG can be adjusted
LVREG adjustment guideline: First, the level of VDD must be 0.3 volt higher than LVREG even at the
end of battery life for the regulator to function properly. For example, if the VDD is expected to drop to
2.2 volts when battery is low, then the level of LVREG can only be set at 1.9 volts max. Secondly, the
higher the level of LVREG, the less multiples it requires pumping LV5 to same level. For example, to
pump the 2.25 volts to 9 volts requires 4 times multiplier; to pump the 3 volts to 9 volts requires only 3
time multiplier which consumes less power. So it is advisable not to adjust the LVREG to an unnecessary
low level.
Voltage multiplication: The LVREG is then multiplied by 3, 4, or 5 times, depending on external
capacitors configurations as shown below, to generate LV5. Please note that LV5 must be lower than 8.5
volts to prevent chip from breaking down.
x4 multiplier
x3 multiplier
4.7uF
LVL1
4.7uF
LVL1
4.7uF
LVL1
0.1uF
LVL2
0.1uF
LVL2
0.1uF
LVL2
0.1uF
LVL3
0.1uF
LVL3
0.1uF
LVL3
4.7uF
LVL4
4.7uF
LVL4
4.7uF
LVL4
4.7uF
LV5
4.7uF
LVL5
4.7uF
LVL5
LCAP4A
LCAP4A
0.1uF
LCAP4A
LCAP2B
LCAP2B
LCAP2A
0.1uF
LCAP2A
0.1uF
LCAP2A
0.1uF
LCAP1A
0.1uF
LCAP1A
0.1uF
LCAP1A
LCAP3A
0.1uF
LCAP3A
LVREG
0.1uF
0.1uF
LCAP1B
LCAP3A
0.1uF
LVREG
0.1uF
R1
R2
0.1uF
April 25, 2005
LCAP2B
0.1uF
LCAP1B
GND_LCD
x5 multiplier
LCAP1B
R1
R2
LGS1
LVAG
R2
LGS1
LVAG
0.1uF
GND_LCD
LVREG
R1
0.1uF
LGS1
LVAG
GND_LCD
30
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
Different duties require different bias settings. There is some theoretical correspondence between the
Duty and Bias Setting. However, it is better to use it as starting point and adjust it with real LCD panel
connected to it to determine the final setting. The theoretic relationship between the duty and bias setting
as following:
Duty Cycle Normal Bias Alternative Bias
32 duty
1/7
1/7.5
48 duty
1/8
1/7.5, 1/8.5
64 duty
1/9
1/8.5, 1/9.5
80 duty
1/10
1/9.5, 1/10.5
The bias setting is made by mask option MO_LBSR[2..0].
MO_LBSR[2..0]
000
001
010
011
100
101
110
111
Bias Setting
1/7
1/7.5
1/8
1/8.5
1/9
1/9.5
1/10
1/5
11. LCDC Control register
LCD Control Register LCDC controls the functions of LCD driver.
LCDC
Field
Mode
Reset
bit 7
-
Field
Value
0
1
000
CLR_GP
GRAY
.
.
.
111
April 25, 2005
bit 6
-
bit 5
CLR_GP
W
1
bit 4
bit 3
GRAY
W
xxx
bit 2
bit 1
BLANK
W
1
bit 0
LCDE
W
0
Function
Reset GRAY palette register pointer by write ‘0’ to CLR_GP bit.
No effect on GRAY palette register pointer.
LCD is darkest.
LCD display contrast adjustment.
LCD is lightest.
31
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Field
Value
0
BLANK
LCDE
1
0
1
HE84G761B
HE80004 Series
Function
Normal display.
LCD display blanked. The COM signals of LCD driver output inactive levels
(LVL4 and LVL1) while SEG signals output normal display patterns.
LCD driver disabled, LCD driver has no output signal and applied to VDD
LCD driver Enabled.
Please note that LCD driver must be turned off before the system goes into "sleep" mode. That means
user must clear the bit 0 of LCDC to turn off LCD driving circuit before setting bit6 of OP1 to enter sleep
mode. Large current might happen if the procedure is not followed.
Please note that LCD driver uses slow clock as clock source. The LCD display will not display normally
if it works in Fast clock only mode because the LCD refresh action is too fast.
12. Oscillators
The MCU is equipped with two clock sources with a variety of selections on the types of oscillators to
choose from. The system designer can select oscillator types based on the cost target, timing accuracy
requirements etc. Crystal, Resonator or the RC oscillator can be used as fast clock source, components
should be placed as close to the pins as possible. The type of oscillator used is selected by mask option
MO_FXTAL.
MO_FXTAL
Fast clock type
0
RC Oscillator.
1
Crystal Oscillator.
FXI
FXI
FXO
FXO
Crystal Osc.
RC Osc.
The RC oscillator has a built-in capacitor. An external resistor is needed to connect from FXI to GND to
determine the oscillation frequency. The capacitance of internal RC oscillator is selected by mask option
MO_RCAP[2..0].
MO_RCAP[2:0]
000
001
010
011
100
101
April 25, 2005
Internal RC Cap. (pF)
2
4
7
14
20
40
32
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
110
111
HE84G761B
HE80004 Series
50
60
The following table shows the combinations of R and C, and the resulting frequency. Please note that
oscillation frequency in the table only represents oscillation frequencies of certain samples. The actual
oscillation frequency may vary up to ±15% from lot to lot due to process parameter variations. User must
take this into consideration when using this chip in applications.
Ring Oscillator Frequency Table
C (pF)
R (KΩ)
30.20
19.92
9.98
40
20
14
7
4
0.8
1.2
2.3
1.5
2.2
4.0
2.0
2.8
5.1
3.0
4.4
7.5
4.0
5.6
9.4
2
5.0 MHz
7.0 MHz
11.4 MHz
Two types of oscillator, crystal and RC, can be used as slow clock selectable by mask option
MO_SXTAL. If used time keeping function or other applications that required the accurate timing, crystal
oscillator is recommended. If the timing accuracy is not important, then RC type oscillator can be used to
reduce cost.
MO_SXTAL
Slow clock type
0
R/C oscillator
1
Crystal oscillator
SXI
SXI
SXO
SXO
Crystal Osc.
RC Osc.
With two clock sources available, the system can switch among operation modes of Normal, Slow, Idle,
and Sleep modes by the setting of OP1 and OP2 registers as shown in tables below to suit the needs of
application such as high speed or low power, etc.
OP1
Field
Mode
Reset
Bit 7
DRDY
R/W
1
Bit 6
STOP
R/W
0
Bit 5
SLOW
R/W
0
Bit 4
INTE
R/W
0
Bit 3
T2E
R/W
0
Bit 2
T1E
R/W
0
Bit 1
Z
R/W
-
Bit 0
C
R/W
-
OP2
Field
Mode
Bit 7
IDLE
R/W
Bit 6
PNWK
R
Bit 5
TCWK
R
Bit 4
TBE
R/W
Bit 3
Bit 2
Bit 1
TBS[3..0]
W
W
Bit 0
April 25, 2005
33
W
W
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Reset
0
-
-
0
-
HE84G761B
HE80004 Series
-
-
-
If the dual clock mode is used, the LCD display, Timer1 and Timer Base will derive its clock source from
slow clock while the other blocks will operate with the fast clock.
13. General Purpose I/O
There are three dedicated general purpose I/O port, PRTC, PRTD and PRT10, while PRT15[1..0] and
PRT17 are multiplexed with LCD segment driver pins. All the I/O Ports are bi-directional and of nontri-state output structure. The output has weak sourcing (50 µA) and stronger sinking (1 mA) capability
and each can be configured as push-pull or open-drain output structure individually by mask option.
When the I/O port is used as input, the weakly high sourcing can be used as weakly pull-up. Open drain
can be used if the pull-up is not required and let the external driver to drive the pin. Please note that a
floating pad could cause more power consumption since the noise could interfere with the circuit and
cause the input to toggle. A ‘1’ needs to be written to port first before reading the input data from the I/O
pin. If the PMOS is used as pull-up, care should be taken to avoid the constant power drain by DC path
between pull-up and external circuit.
The input port has built-in Schmidt trigger to prevent it from chattering. The hysteresis level of Schmidt
trigger is 1/3 VDD.
VDD
DOUT
VDD
Q
LATCH
Q'
MO_?PP
PAD
DIN
SCHMIDT Trigger input
As pads of PRT15 and PRT17 are shared with LCD segment driver, the function of the pad is determined
by mask options. Following table is the setting for MO_LIO?[...] and MO_?PP[...] and others related to
LCD display setting and pin assignment features.
April 25, 2005
34
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
MO_LIO?[…] MO_?PP[...]
I/O Port
LCD Pin
0
0
Open-drain output
-0
1
Push-pull output
-1
0
-xx
1
1
-LCD Display
--: Function not available.
xx: Display enable, but may have abnormal leakage current, do not use.
April 25, 2005
35
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
14. Timer1
The Timer1 consists of two 8-bit write-only preload registers T1H and T1L and 16-bit down counter. If
Timer1 is enabled, the counter will decrement by one with each incoming clock pulse. Timer1 interrupt
will be generated when the counter underflows - counts down to FFFFH. And the counter will be
automatically reloaded with the value of T1H and T1L.
The clock source of Timer1 is derived from slow clock “SCK” at dual clock or slow clock only mode.
And it comes from the fast clock “FCK” at fast clock only mode.
Please note that the interrupt is generated when counter counts from 0000H to FFFFH. If the value of
T1H and T1L is N, and count down to FFFFH, the total count is N+1. The content of counter is zero
when system resets. Once it is enabled to count at this moment, interrupt will be generated immediately
and value of T1H and T1L will be loaded since it counts to FFFFH. So the T1H and T1L value should be
set before enabling Timer1.
T1H
The contents of
T1H and T1L are
almost loaded into
Timer1 immediately
when Timer1 is
enabled after reset.
T1L
Auto reload
when Timer1
is underflow
< Timer1 Counter >
Decreases 1
No
Count To
0xFFFFh
Yes
Timer1
Interrupt
Request
T1_INT
The Timer1 related control registers are list as below:
Register Address
Field
Bit position Mode
IER
0x02
TC1_IER
2
T1L
T1H
0x03
0x04
T1L[7:0]
T1H[7:0]
7~0
7~0
OP1
0x09
TC1E
2
April 25, 2005
Description
0: TC1 interrupt is disabled. (default)
R/W
1: TC1 interrupt is enabled.
W Low byte of TC1 pre-load value
W High byte of TC1 pre-load value
0: TC1 is disabled. (default)
R/W
1: TC1 is enabled.
36
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
15. Timer2
Timer2 is similar in structure to Timer1 except that clock source of Timer2 comes from the system clock
“Fsys”/1.5. The system clock “Fsys” varies depending on the operation modes of the MCU.
The Timer2 consists of two 8-bit write-only preload registers T2H and T2L and 16-bit down counter. If
Timer2 is enabled, counter will decrement by one with each incoming clock pulse. Timer2 interrupt will
be generated when the counter underflows - counts down to FFFFH. And it will be automatically reloaded
with the value of T2H and T2L.
Please note that the interrupt signal is generated when counter counts from 0000H to FFFFH. If the value
of counter is N, and count down to FFFFH, the total count is N+1. The content of counter is zero when
system resets. Once it is enabled to count at this time, the interrupt will be generated immediately and
value of T2H and T2L will be loaded since the counter counts to FFFFH. So the T2H and T2L value
should be set before enabling Timer2.
The Timer2 related control registers are list as below:
Register Address
Field
Bit position Mode
IER
0x02
TC2_IER
1
T2L
T2H
0x05
0x06
T2L[7:0]
T2H[7:0]
7~0
7~0
OP1
0x09
TC2E
3
April 25, 2005
Description
0: TC2 interrupt is disabled. (default)
R/W
1: TC2 interrupt is enabled.
W Low byte of TC2 pre-load value
W High byte of TC2 pre-load value
0: TC2 is disabled. (default)
R/W
1: TC2 is enabled.
37
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
T2H
The contents of
T2H and T2L are
almost loaded into
Timer2 immediately
when Timer2 is
enabled after reset.
T2L
HE84G761B
HE80004 Series
Auto reload
when Timer2
is underflow
< Timer2 Counter >
Decreases 1
No
Count To
0xFFFFh
Timer2
Interrupt
Request
Yes
T2_INT
16. Time Base
The TB timer is used to generate time-out interrupt at fixed period. The time-out frequency of TB is
determined by dividing slow clock with a factor selected in OP2[3..0]. TBE (Time Base Enable) bit
controls enable or disable of the circuit.
OP2
Field
Mode
Reset
Bit 7
IDLE
R/W
0
Bit 6
PNWK
R
-
Bit 5
TCWK
R
-
Bit 4
TBE
R/W
0
Bit 3
R/W
-
Bit 2
Bit 1
TBS[3..0]
R/W
R/W
-
Bit 0
R/W
-
TBE
Function
0
Disable Time Base
1
Enable Time Base
For example, if the slow clock is 32768 Hz, then the interrupt frequency is as shown in following table.
TBS[3..0]
0000
0001
0010
0011
0100
0101
0110
0111
1000
April 25, 2005
Interrupt Frequency
16.384 KHz
8.192 KHz
4.096 KHz
2.048 KHz
1.024 KHz
512 Hz
256 Hz
128 Hz
64 Hz
38
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
TBS[3..0]
1001
1010
1011
1100
1101
1110
1111
HE84G761B
HE80004 Series
Interrupt Frequency
32 Hz
16 Hz
8 Hz
4 Hz
2 Hz
1 Hz
0.5 Hz
17. Watch Dog Timer
Watch Dog Timer (WDT) is designed to reset system automatically and prevents system dead lock caused
by abnormal hardware activities or program execution. The WDT needs to be enabled in Mask Option.
MO_WDTE
0
1
Function
WDT disable
WDT enable
Using the WDT function, the “CLRWDT” instruction needs to be executed in every possible program
path when the program runs normally in order to clears the WDT counter before it overflows, so that the
program can operate normally. When abnormal conditions happen to cause the MCU to divert from
normal path, the WDT counter will not be cleared and reset signal will be generated to reset the system.
The WDT clock source is the same as TC1 (Timer1 clock), and the WDT reset signal is generated when
the counter had counted 32768 clock. The WDT can function in Normal, Slow and Idle Mode. However,
WDT will not function during Sleep Mode (as the TC1 clock has stopped.)
April 25, 2005
39
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE80004 Series
18. Voice Output
There are 7 or 8 bits DAC/PWM voice output available for user. The 7 bits DAC/PWM output format and
configuration are the same as the previous IC of HE80000 series. The 8 bits DAC/PWM format and
configuration are new designed and controlled by the VOC and PWMC registers. The selection of 7/8 bits
DAC/PWM output is by mask option MO_8BVOC.
MO_8BVOC
0
1
Function
7-bit DAC/PWM output
8-bit DAC/PWM output
8-Bit DAC/PWM Output:
The Digital-to-Analog converter converts the 8-bit unsigned speech data which is written into PWMC
data register to proportional current output.
PWMC
Field
address
0x0E
Reset
--
bit 7
DA7
bit 6
DA6
bit 5
DA5
bit 4
DA4
bit 3
DA3
bit 2
DA2
bit 1
DA1
bit 0
DA0
There are two output paths for the DAC. Either VO or DAO can be selected as output port of DAC by
VOC register when it is enabled. The VO output is primarily intended for speech generation, although it
is not necessary so, while the DAO output path can be used in conjunction with built-in OP comparator to
function as an Analog-to-Digital Converter as required in applications such as speech recording, speech
recognition or sensor interfaces.
OPO
OP
+
-
PWMC[DATA]
DAC
OPIP
OPIN
1
DAO
0
VO
R
VOC[DAC]
VOC[OP]
The DAC is enabled by DAC bit of VOC register. When DAC is enabled, the DAC output path can be
selected to output to DAO or VO pin by OP bit of VOC register.
VOC
Field
Reset
address
0x13
April 25, 2005
Bit 7
-
Bit 6
Bit 5
Bit 4
PWM O/P driver
0
0
0
40
Bit 3
PWME
0
Bit 2
PWM
0
Bit 1
DAC
0
Bit 0
OP
0
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Bit
Name
Value
1
VOC[3] PWME
0
1
VOC[2] PWM
0
1
VOC[1] DAC
0
1
VOC[0]
OP
0
HE84G761B
HE80004 Series
Function description
PWM Output Driver Enable
PWM Output Driver Disable
PWM Module Enable
PWM Module Disable
Digital-to-Analog Converter Enable
Digital-to-Analog Converter Disable
DAC output to DAO pin
DAC output to VO pin
The pulse-width modulator (PWM) converts 8-bit unsigned speech data which is written into PWMC data
register to proportional duty cycle of PWM output. PWM module shares the same digital input register
PWMC with Digit-to-Analog Converter. So PWM and DA output can exist at the same time. When PWM
circuit is enabled, it generates signal with duty ratio in proportion to the value of PWMC register.
DA = 0x20
DA = 0x80
DA = 0xE0
1 subframe
PWMC
Field
VOC
address
0x0E
bit 7
DA7
bit 6
DA6
bit 5
DA5
bit 4
DA4
VOC
Field
Reset
address
0x13
Bit 7
-
Bit 6
Bit 5
Bit 4
PWM O/P driver
0
0
0
bit 3
DA3
bit 2
DA2
bit 1
DA1
bit 0
DA0
Bit 3
PWME
0
Bit 2
PWM
0
Bit 1
DAC
0
Bit 0
OP
0
The PWM bit of VOC controls the enable/disable of the PWM circuit and output driver. When PWM bit
of VOC is ‘0’, PWME bit and output drivers are both cleared. To use PWM as voice output, PWM bit has
to be set to ‘1’ first, then set PWME bit and enable output driver by setting the driver number. If PWM bit
is disabled and enabled again, the setting for driver and PWME bit will be clear.
The Fast Clock is gated through PWME bit of VOC register to provide the clock source of PWM circuit
when it is enabled. As PWM needs higher frequency to operate, it cannot generate correct PWM signal in
Slow clock only mode.
When the program enters into sleep mode or idle mode, it will automatically turn off all voice outputs by
April 25, 2005
41
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
clearing VOC[6:0] to ”0000000”. To activate voice output again when returning to normal mode, the
VOC register needs to be set again.
The PWM output volume can be adjusted by command register VOC[6..4]. The bit 6 and 5 control 2
time driver, while bit 4 controls 1 time driver, thus it has 5 levels of driver output. By turning on/off the
internal drivers, the sound level of PWM output can be turned up and down. Please note that this
adjustment apply only to PWM, but not DA output.
PWM output driver selection
VOC[6..4]
Number of Driver
000
off
001
1
010
2
011
3
100
2
101
3
110
4
111
5
7-Bit DAC/PWM Output:
The 7-bit DAC/PWM voice generator is another scenario and the definitions of PWMC and VOC
registers are different from the 8-bit DAC/PWM format. These register are described as following.
The 7-bit voice output is controlled by PWMC and VOC register, and the PWMC is a command/data
register which is determined by PWMC[7] bit.
PWMC register
DA & PWM Data
Control
Bit 7
0
1
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
DA and PWM output value
PWM O/P driver
Reserved
Bit 1
Bit 0
PWME
When users write data into the PWMC register, the PWMC[7] bit will determines the data written into
PWM command register or 7-bit data register and the data register is also sent to the DA converter shown
as the below diagram. The definitions of “PWME” bit and “PWM O/P driver” bits are the same as VOC
register definition of 8-bit output mode.
April 25, 2005
42
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
_____
reset
VOC[2]
PWMC[6..0]
Register.write.strobe
PWMC[7]
PWMC_REG[6..4]
PWM
command
register
CLK
PWMC_REG[3..1]
HE80004 Series
PWM
Driver
_____
reset
PWMC
_REG[0]
PWMP
PWMN
cp
Fast clock
PWMC[6..0]
7 bit data
register
PWM_O[6..0]
DAC
CLK
The fast clock is used to provide as PWM driver time base, and user shall set the PWMC[7]=’1’ and
VOC[2]=’1’ to enable the PWM output. When the system enters into sleep or idle mode, it will
automatically turn off the voice device by clearing VOC[2:0] to ”000”. In order to activate voice output
again when the system returns and enter into normal mode, the related bits of VOC register need to be set
again.
PWM
Data=0x40h
Data=0x10h
Data=0x70h
subframe
When the DAC is used as sound generator, the bias & filter circuit is used for bias voltage setting and
waveform filter regulation and the DAC is output to the VO (Voice Output) pin and please see application
notes for detailed calculation example and application. The driving capability of DAC is shown below.
VO/DAO
April 25, 2005
Condition
VDD=3V;VO=0~2V;Data=7Fh
43
Min.
2.5
Typ.
3
Max.
Unit
mA
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
VDD
CPU
VO(DAO)
bias &
filter
circuit
SPEAKER
The VOC is a three bit voice control register in the 7-bit mode.
VOC
address
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Field
0x13
PWM
Reset
0
PWM: ‘1’ PWM output enabled; ‘0’ PWM output disabled.
DAC: ‘1’ DAC enabled; ‘0’ DAC disabled.
OP: ‘1’ DAC uses DAO pin as output pin; ‘0’ DAC uses VO pin as output pin.
Bit 1
DAC
0
Bit 0
OP
0
19. Low Voltage Detection/Reset
The low voltage detection is used to detect low battery or low power condition. There are 4 options on the
detection level selectable by mask option MO_DLVL. The low voltage detection circuit can be turned off
by clearing LVDE bit, and the status of supply power can be read out at bit LVDO of LVDC register
(extension register 0x17h).
MO_DLVL
00
01
10
11
Detection voltage
2.4 volts
2.6 volts
2.8 volts
3.0 volts
LVDC Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Field LVDO
LVDE
Mode
R
W
Reset
0
LVDO: ‘0’ Æ Battery level low; ‘1’ Æ Battery level high
LVDE: ‘0’ Æ Disable voltage Detection; ‘1’ Æ Enable voltage Detection
Low voltage reset circuit prevents the CPU from operating below its physical limit. When the supply
voltage drops below VDET (2.2Volt), the CPU will be held in reset state until the supply voltage rises to
VRLS. Then CPU will be released from reset state. VRLS will be higher than VDET by 5% to provide
hysteresis and prevent CPU from bouncing back and forth between reset and operating state. The low
voltage reset function can be enabled or disabled by mask option MO_LVRE.
April 25, 2005
44
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
MO_LVRE
Function
0
Disable LVR
1
Enable LVR
The voltage detection circuit is temperature compensated to prevent the detection voltage from drifting
with temperature variation.
Vrst
VDD
Vdet
Vrls
20. Infrared output
To achieve an IR output with programmable frequency and duty cycle, two 7-bit registers are employed
here. The IRH register represents the period (on FCK clock number) of output high, while IRL register
represents the period of output low. With this mechanism, the output IR frequency is equal to
FCK/(IRH+IRL), and the high duty cycle ratio is equal to IRH/(IRH+IRL). To make the IRO as output
pin alone, either IRH or IRL can be set as 0. When IRH is 0, the IRO output is a DC low. On the contrary,
if IRL is 0, the output is a DC high. Special care in hardware implementation is also taken according to
the MO_IRO (mask option to determine the default state of the IRO) to avoid glitch when PWM output is
disabled.
April 25, 2005
45
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE80004 Series
IRO
IRO
MUX
IR
generator
Compare
Counter+1
D Counter Q
7-bit
Fck
CK
R
IRO
IRL=0?
0
IRH=0?
1
IRL
MO_IRO
IRH
Toggle signal
reset
To avoid unexpected IR output, users should firstly load the content of IRH and IRL before turn on IR by
set IROE bits to ‘1’.
The access of all the registers of IR is through the extension register. They are list as below:
Extension register
Address Name Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1
0x15h IRL* IROE
IR PWM LOW DURATION
0x16h IRH
IR PWM HIGH DURATION
* IRL[7] is read/write, and IRL[6..0] is write only.
Bit0 Mode
R/W
W
Reset value
0xxx xxxx
-xxx xxxx
IROE: ‘0’ Æ IR is disabled (default); ‘1’ Æ IR is enabled.
April 25, 2005
46
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
21.
HE84G761B
HE80004 Series
Universal Asynchronous Receiver/Transmitter
The UART (Universal Asynchronous Receiver/Transmitter) interface provides serial communication
capabilities with other devices such as PC. Features include:
9
9
9
9
9
9
9
9
9
Full duplex Asynchronous communication
Programmable transmission rate with internal baud rate generator with selectable bit rates
Double buffered Transmitter and Receiver.
Programmable Data length (from 5 to 8 bits)
Programmable stop bits (1, 1.5 or 2-stop bit) generation and detection
Programmable parity type (odd, even or no parity)
Error (parity, overrun and framing errors) detection
Fully prioritized interrupt system control
Line break generation and detection.
Example – 8-bit UART Frame Format: (1 Start Bit, 8 Data Bits, 1 Parity Bit, 1 Stop Bit)
April 25, 2005
47
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Trans Hoding Reg
HE80004 Series
Trans Shift Reg
SOUT
TRANSMIT
MACHINE
Data
Bus
Buffer
EX_PT[7:0]
“Transmitter
control signal"
TRANSMITTER
TIMING
AND
CONTROL
Line Control Reg
“Transmitter
status"
Div Latch (MS)
ADS_N
BAUD-RATE
GENERATOR
XRD_N
Div Latch (LS)
BrgClk
XWR_N
MCLK
MCU
I/F
“Receive status"
Line Status Reg
CTRL
LOGIC
RECEIVE
TIMING
AND
CONTROL
“Receiver
control signal"
Rec Buffer Reg
RESET
RECEIVE
MACHINE
Interrupt Id Reg
Interrupt
Arbitrator
Interrupt En Reg
INTR
Rec Shift Reg
SIN
21.1. Interface Registers
Addressable extension register used to interface with MCU
Address
00H
01H
02H
03H
04H
05H
06H
Name
RBR
THR
IEIR
LCR
BRL
BRH
LSR
0
BRGE
0
Function
UART RECEIVER BUFFER
UART TRANSMITTER HOLDING REGISTER
RLSI
THRI
RBRI
0
ID2
ID1
SB
SP
EPS
PEN
STB
WLS1
UART LSB of Baud Rate Register
UART MSB of Baud Rate Register
TEMT
THRE
BI
FE
PE
OE
ID0
WLS0
DR
Mode
R
R/W
R/W
R/W
R/W
R/W
R
RESET
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0110 0000
IEIR: Interrupt enable/disable identification register.
LCR: Line control register.
LSR: Line status register.
21.2.Baud Rate Configuration Register
The BRH and BRL registers hold the upper and lower bytes of 16 bit baud rate divisor and which are
readable/writable. The baud rate of UART is calculated as following:
April 25, 2005
48
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
BAUD _ RATE _ DIVISOR =
HE84G761B
HE80004 Series
FCK
, (FCK: fast clock of system)
16 * BAUD _ RATE
The contents of BRH and BRL are calculated by the following two formulas:
BRL = BAUD _ RATE _ DIVISOR % 256
BRH = ( BAUD _ RATE _ DIVISOR – BRL) / 256
The “%” symbol is the modulus operation (reminder of division). For example, if the FCK is 1.8432M Hz
and the desired baud rate is 2400 baud, then
BAUD _ RATE _ DIVISOR =
1843200
= 48
16 * 2400
The BRL register shall be set to 0x30 and BRH set to 0x00. The setting of baud_rate_divisor is not
updated until the BRH register is written. Thus user is strongly recommended to write BRL first, then
BRH.
In order to obtain good communication quality, the same time base shall be used in the both sides of
transmitting and receiving. The following table shows the most common baud rate setting used in the PC
UART communication.
BRL and BRH: Baud Rate Control Registers
FCK(Hz) Baud Rate (bps) Divisor
BRL
1.8432M
50
2304
0x00
1.8432M
300
384
0x80
1.8432M
1200
96
0x60
1.8432M
2400
48
0x30
1.8432M
4800
24
0x18
1.8432M
9600
12
0x0C
1.8432M
19200
6
0x06
1.8432M
38400
3
0x03
1.8432M
57600
2
0x02
1.8432M
115200
1
0x01
BRH
0x09
0x01
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
21.3. Interrupt & Identification Register
This high nibble of IEIR register allows to enable/disable interrupt generation by the UART, the low
nibble ID[2..0] of IEIR register is used to identify the source of interrupts.
Address
0x02h
Bit 7 Bit 6 Bit 5
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset Value
0
RLSI THRI RBRI
0
ID2
ID1
ID0
“0000_0000”
R/W
R/W
R/W
R
R
R
RBRI: Receiver Buffer Register Interrupt (1 = Enable, 0 = Disable), related to ID[1] bit.
THRI: Transmitter Hold Register Interrupt (1 = Enable, 0 = Disable), related to ID[0] bit.
RLSI: Receiver Line Status Interrupt (1 = Enable, 0 = Disable), related to ID[2] bit.
April 25, 2005
Name
IEIR
49
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
The following table shows the related interrupt sources, user can read the ID[2:0] to retrieve what is the
current highest priority of pending interrupts. The ID[2:0] bits will be cleared when user read the related
registers. For example, when an interrupt happened and the content of ID[2:0] is “101”, this means that
LRS error and THR empty happen; user can read the LSR register to clear the ID[2] bit and ID[0] bit can
also be cleared by reading the IEIR or writing data into THR register.
Level
None
Highest
Second
IEIR Bit [2:0]
Source of Interrupt
000
None
100
LSR error flags (OE/PE/FE/BI)
010
LSR receiver data ready flag (DR)
Third
001
LSR flag THR Empty (THRE)
Interrupt Reset Control
None
Reading LSR register to clear ID[2]
Reading RBR register to clear ID[1]
Reading IEIR register or Writing
THR register to clear ID[0]
21.4.Line Control Register
The line control register allows user to configure the asynchronous data transfer format and set the UART
function. Reading from the register is allowed to check the current settings of the communication.
Bit 7
BRGE
Bit 6
SB
Bit 5
SP
Bit 4
EPS
Bit 3
PEN
Bit 2
STB
Bit 1
WLS1
Bit 0
WLS0
Name
Description
Word Length Select
“00”: word length = 5
“01”: word length = 6
WLS[1..0]
“10”: word length = 7
“11”: word length = 8
Stop Bit Length
‘0’: Stop bit length = 1
STB
‘1’: Stop bit length = 1.5 when WLS[1..0]=”00”
‘1’ Stop bit length = 2 when WLS[1..0]=”01”,”10”,”11”
Parity Selection
“xx0”: No Parity
“001”: odd Parity
[SP, EPS, PEN]
“011”: even Parity
“101”: Stick Parity 1
“111”: Stick parity 0
Set Break
When enable the break control bit causes a break condition to be transmitted (SOUT is
forced to a logic 0 state). This condition exists until disabled by resetting this bit to
SB
logic 0.
‘0’: disable break; ‘1’: enable break
Baud Rate Generator
‘0’: disable baud rate clock generator
BRGE
‘1’: enable baud rate clock generator
April 25, 2005
50
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
21.5.Line Status Register
Bit 7
0
Name
DR
OE
PE
FE
Bit 6
TEMT
Bit 5
THRE
Bit 4
BI
Bit 3
FE
Bit 2
PE
Bit 1
OE
Bit 0
DR
Description
Receiver Data Ready
DR indicates status of RBR. It will be set to logic 1 when RBR data is valid and will
be reset to logic 0 when RBR is empty. When line errors (OE/PE/FE/BI) happen, DR
will also be set to logic 1 and RBR will be updated to reflect the Data bits portion of
the frame.
Overrun Error
This bit will be set when the next character is transferred into RBR before the
previous RBR data is read by the CPU. Even though DR will still be 1 when OE is set
to logic 1, the previous frame data stored in RBR which is not read by the CPU is
trashed and can‘t be recovered.
Parity Error
This bit will be set to logic 1 only when the Parity is enabled and the Parity bit is not
at the logic state it should be. For Even Parity, the Parity bit should be 1 if an odd
number of 1s in the Data bits is received; otherwise, the Parity bit should be 0. For
Odd Parity, the Parity bit should be 1 if an even number of 1s in the Data bits is
received; otherwise, the Parity bit should be 0. For Stick Parity '1', the Parity bit
should be 1. For Stick Parity '0', the Parity bit should be 0.
Framing Error
FE will be reset to logic 0 whenever SIN is sampled high at the center of the first
Stop bit, regardless of how many Stop bits the UART is configured to.
Break Interrupt
BI will be set to logic 1 whenever SIN is low for longer than the whole frame (the
time of Start bit + Data bits + Parity bit + Stop bits), not at the SIN rising edge where
BI
Break is negated. If SIN is still low after BI is reset to logic 0 by reading LSR, BI will
not be set to logic 1 again. Since Break is also a Framing error, FE will also be set to
1 when BI is set.
THR Empty
THRE will be set to logic 1 whenever THR is empty which indicates that the
THRE
transmitter is ready to accept new data to transmit.
Both THR and TSR are Empty
This bit will be set to logic 1 when THRE is set to 1 and the last Data bit in the TSR
TEMT
is shifted out through SOUT.
* The four error flags (OE, PE, FE and BI) of LSR will be reset to logic 0 after a LSR read.
Since the SIN and SOUT of UART pins are shared with PRTD[1..0], users can use the mask option to
enable the UART function and select PRTD[1..0] function.
MO_UART
April 25, 2005
0
1
PRTD[1:0] = I/O Pin
PRTD[1:0] = UART Pin
51
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE80004 Series
22. Extension Register Access
The extension registers can be accessed through the extension port control registers EXTAS and
EXTDA. User can read/write the extension register easily and the control timing is generated by
hardware automatically. The following code shows how to access the extension registers.
Read Extension Register:
LDA
#0x00h ; load #0x00h data to A Register
STA
EXTAS
; store A register data to the extension port address register.
LDA
EXTDA ; store the extension register (0x00h) data to A Register.
Write Extension Register:
LDA
#0x03h ; load #0x03h data to A Register
STA
EXTAS
; store A register data to the extension port address register.
LDA
#0x18h ; load #0x18h data to A Register
STA
EXTDA ; store A register data to the extension port data register.
23. Summary of Registers and Mask Options
All the registers and mask options used in this chip are listed in the following tables.
Address NAME
00H
TPL
01H
TPH
02H
IER
03H
T1L
04H
T1H
05H
T2L
06H
T2H
07H
SP
08H
DP
09H
DRDY
OP1
0AH
IDLE
OP2
0BH
PP
0CH
PRTC
0DH
PRTD
0EH
PWMC*
0FH
LCDC
10H
PRT10
11H
PRT11
12H
DTMF
13H
VOC*
14H
PRT14
15H
PRT15
16H
TPP
April 25, 2005
Field
Table pointer low byte
Table pointer high byte
INT_EX
TB
INT1
T1
T2
Timer 1 low byte
Timer 1 high byte
Timer 2 low byte
Timer 2 high byte
stack pointer
data RAM pointer
STOP
SLOW
INTE
T2E
T1E
Z
PNWK TCWK
TBE
TBS[3..0]
RAM page pointer
I/O port C
I/O port D
PWM data
CLR_GP
GRAY
BLANK
I/O port 10
Reserved
Reserved
PWM O/P driver
PWME
PWM
DAC
Reserved
I/O port 15
ROM table page pointer
52
INT2
C
LCDE
OP
Mode
R/W
R/W
R/W
W
W
W
W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
W
R/W
R/W
R/W
W
R/W
R/W
R/W
RESET
xxxx xxxx
xxxx xxxx
--00 0000
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
1111 1111
xxxx xxxx
1000 00xx
0xx- ---0000 0000
1111 1111
1111 1111
0000 0000
xx1x xx10
1111 1111
xxxx xxxx
xxxx xxxx
x000 0000
xxxx xxxx
---- --11
0000 0000
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
Address NAME
17H
PRT17
18~1FH
20H
EXTAS
21H
EXTDA
22~2AH
2BH GRAY16
GRAY0
GRAY1
GRAY2
GRAY3
GRAY4
GRAY5
GRAY6
GRAY7
GRAY8
GRAY9
GRAYA
GRAYB
GRAYC
GRAYD
GRAYE
GRAYF
2CH
PSA1
2DH
PSA2
2EH
PSA3
2FH
30H
AC
ACL
ACH
ACP
31H
EXMD
32H
EXMC
AC7
AC15
AC23
-
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
Field
I/O port 17
Reserved
Extension port address register
Extension port data register
Reserved
32 to 16 Gray Level Palette Register
Gray level 0 mapping register
Gray level 1 mapping register
Gray level 2 mapping register
Gray level 3 mapping register
Gray level 4 mapping register
Gray level 5 mapping register
Gray level 6 mapping register
Gray level 7 mapping register
Gray level 8 mapping register
Gray level 9 mapping register
Gray level A mapping register
Gray level B mapping register
Gray level C mapping register
Gray level D mapping register
Gray level E mapping register
Gray level F mapping register
Physical page address mapping register for logical page 1
Physical page address mapping register for logical page 2
Physical page address mapping register for logical page 3
Reserved
Download bus address counter
AC6
AC5
AC4
AC3
AC2
AC1
AC14
AC13
AC12
AC11
AC10
AC9
AC22
AC21
AC20
AC19
AC18
AC17
Download bus data port
WR
RD
Mode
R/W
R/W
R/W
R/W
R/W
w
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
W
R/W
R/W
R/W
R/W
R/W
AC0
R/W
AC8
R/W
AC16 R/W
R/W
DNLD R/W
HE80004 Series
RESET
1111 1111
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxx0 0000
xxx0 0010
xxx0 0100
xxx0 0110
xxx0 1000
xxx0 1010
xxx0 1100
xxx0 1110
xxx1 0000
xxx1 0010
xxx1 0100
xxx1 0110
xxx1 1000
xxx1 1010
xxx1 1100
xxx1 1110
0000 0001
0000 0010
0000 0011
xxxx xxxx
0000 0000
0000 0000
0000 0000
xxxx xxxx
xxxx x011
* The definitions of PWMC and VOC are different for 7-bit and 8-bit voice output. Please refer to voice
output section for the detailed description.
Extension registers:
Address
00H
01H
02H
03H
04H
05H
06H
15H
16H
17H
Name
RBR
THR
IEIR
LCR
BRL
BRH
LSR
IRL
IRH
LVDC
0
BRGE
0
IROE
-
LVDO
Function
UART RECEIVER BUFFER
UART TRANSMITTER HOLDING REGISTER
RLSI
THRI
RBRI
0
ID2
ID1
SB
SP
EPS
PEN
STB
WLS1
UART LSB of Baud Rate Register
UART MSB of Baud Rate Register
TEMT
THRE
BI
FE
PE
OE
IR PWM LOW DURATION
IR PWM HIGH DURATION
-
Mode
R
R/W
ID0
R/W
WLS0 R/W
R/W
R/W
DR
R
R/W
W
LVDE R/W
RESET
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0110 0000
0xxx xxxx
-xxx xxxx
x--- ---0
Mask Options:
NAME
MO_LVRE
April 25, 2005
VALUE
0
1
NOTE
low voltage reset disable
low voltage reset enable
53
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
NAME
MO_FXTAL
MO_SXTAL
MO_FCK/SCKN
MO_WDTE
MO_CPP[7:0]
MO_DPP[7:0]
MO_10PP[7:0]
MO_15PP[1:0]
MO_17PP[7:0]
MO_LIO15[1:0]
MO_LIO17[7:0]
MO_COM[1:0]
MO_LBSR[2:0]
MO_RCAP[2:0]
MO_8BVOC
MO_GRAY_MODE[1:0]
MO_EXMEM
MO_DLVL[1:0]
April 25, 2005
VALUE
0
1
0
1
00
01
10
11
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
00
01
10
11
000
001
010
011
100
101
110
111
000
001
010
011
100
101
110
111
0
1
00
01
10
11
0
1
00
01
10
11
HE84G761B
HE80004 Series
NOTE
R/C oscillator For fast clock
Crystal oscillator For fast clock
R/C oscillator For 32k clock
Crystal oscillator For 32k clock
slow clock only
illegal
dual clock
fast clock only
WDT disable
WDT enable
open-drain output
push-pull output
open-drain output
push-pull output
open-drain output
push-pull output
open-drain output
push-pull output
open-drain output
push-pull output
IO pin
LCD pin
IO pin
LCD pin
32x96
48x80
64x64
80x48
1/7 bias
1/7.5 bias
1/8 bias
1/8.5 bias
1/9 bias
1/9.5 bias
1/10 bias
1/5 bias
Ring-osc internal cap. Select C=2P
Ring-osc internal cap. Select C=4P
Ring-osc internal cap. Select C=7P
Ring-osc internal cap. Select C=14P
Ring-osc internal cap. Select C=20P
Ring-osc internal cap. Select C=40P
Ring-osc internal cap. Select C=50P
Ring-osc internal cap. Select C=60P
7-bit DAC/PWM output
8-bit DAC/PWM output
16 Gray Level
4 Gray Level
2 Level(B/W)
2 Level(B/W)
internal MEMORY
external MEMORY
LVD level voltage detect is 2.4V
LVD level voltage detect is 2.6V
LVD level voltage detect is 2.8V
LVD level voltage detect is 3.0V
54
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
NAME
VALUE
0
1
00
01
10
11
0
1
00
01
10
11
MO_IRO
MO_PMODE[1:0]
MO_UART
MO_PSMODE[1:0]
HE80004 Series
NOTE
Default State of the IRO is ‘0’
Default State of the IRO is ‘1’
ROM map option 0
ROM map option 1
ROM map option 2
ROM map option 3
PRTD[1:0] = I/O Pin
PRTD[1:0] = UART Pin
Internal Mode(
Internal CP+External R String and Opamps
External CP+Internal R String and Opamps
External CP+External R String and Opamps
24. Absolute Maximum Rating
Item
Symbol
Rating
Condition
Supply Voltage
VDD
-0.5V ~ 4.0V
Input Voltage
VIN
-0.5V ~ VDD+0.5V
Output Voltage
VO
-0.5V ~ VDD+0.5V
Operating Temperature
TOP
0°C ~ 70°C
Storage Temperature
TST
-50°C ~ 100°C
25. Recommended Operating Conditions
Item
Supply Voltage
Symbol
Rating
Condition
VDD
2.4V ~ 3.6V
VIH
0.9 VDD ~ VDD
Input Voltage
VIL
0.0V ~ 0.1VDD
8M Hz
VDD =3.0V
Operating Frequency
FMAX.
6M Hz
VDD =2.4V
Operating Temperature
TOP
0°C ~ 70°C
Storage Temperature
TST
-50°C ~ 100°C
26. AC/DC Characteristics
Testing Condition : TEMP=25℃, VDD=3V±10%
Parameters
Symbol
Power consumption
NORMAL Mode Current
SLOW Mode Current
IDLE Mode Current
Sleep Mode Current
IFAST
ISLOW
IIDLE
ISLEEP
Additional Current if LCD
ON
I/O specification
Input High Voltage
Input Low Voltage
April 25, 2005
Min.
Max.
Unit
Condition
1
15
10
1.5
25
20
1
220
275
330
mA
µA
µA
µA
2M external R/C fast clock
32768 Hz slow clock with LCD disabled
32768 Hz slow clock with LCD disabled
200
250
300
ILCD
VIH
VIL
Typ.
0.8
0.2
55
µA
VDD
VDD
LV5=3xLVREG
LV5=4xLVREG
LV5=5xLVREG
Input Pins
Input Pins
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
Input Hysteresis Width
VHYS
1/3
VDD
Output Source Current
Output Sink Current
IOH
IOL1
Input Low Current
IIL1
20
µA
Input Low Current
IIL2
100
µA
14
8
5
mA
mA
mA
3
mA
2.2
2.31
Volts
Volts
50
1.0
µA
mA
PWM and DAC
PWM Output Current
IPWM
10
6
4
DAC Output Current
IoVO
2.5
Low voltage Reset
LVR detection voltage
LVR release voltage
VDET
VRLS
HE84G761B
HE80004 Series
I/O, RSTP_N Threshold = 2/3 VDD
(Input from low to high), Threshold = 1/3
VDD (Input from high to low)
Output drive high*1, VOH =2.0V
Output drive low, VOL=0.4V
RSTP_N, VIL = GND, Pull high
Internally
I/O, VIL=GND, if pull high Internally by
user
PWM *2 With 32Ω Loading
With 64Ω Loading
With 100Ω Loading
VO, DAO@ VDD=3V,VO=0~2V,
Data =FF
Notes:
1. The “Output Source Current” specification is applicable only to the Push-Pull I/O type.
2. This Specification indicates only one PWM driving capability, and there are totally five built-in
drivers, user can multiply the actual number of driver to get the total amount of current. (IPWM x N;
N=0, 1, 2, 3, 4, 5)
April 25, 2005
56
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
April 25, 2005
VDD
PWM
1K
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
4.7u
80 COM X 128 SEGMENT
U2
1
2
3
4
5
6
7
8
SEG18
SEG17
SEG16
SEG15
SEG14
SEG13
SEG12
SEG11
0.1u
0.1u
0.1u
VO
Q1
8050
C8
224
4.7u
4.7u
57
0.1u
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
JP3
R1
R2
0.1u
41
42
43
44
45
46
47
48
49
50
2
1
R1
LVL1
LVL2
LVL3
LVL4
LVL5
JP1
SEG127
SEG126
SEG125
SEG124
SEG123
SEG122
SEG121
SEG120
SEG119
SEG118
PWM
DAO
X4 MULTIPLIER
SEG89
SEG90
SEG91
SEG92
SEG93
SEG94
SEG95
SEG96
SEG97
SEG98
SEG99
SEG100
SEG101
SEG102
SEG103
SEG104
SEG105
SEG106
SEG107
SEG108
SEG109
SP select
3
2
1
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
2
1
SEG67
SEG68
SEG69
SEG70
SEG71
SEG72
SEG73
SEG74
SEG75
SEG76
SEG77
SEG78
SEG79
SEG80
SEG81
SEG82
SEG83
SEG84
SEG85
SEG86
SEG87
SEG88
VO
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
VDD
JP2
STBN
D_CN
R_WN
REN
RD7
RD6
RD5
RD4
RD3
RD2
RD1
RD0
GND
OAC
OCCK
GND
OPO
OPIP
OPIN
DAO
VO
RSTP_N
FXO
FXI
TSTP_P
SXO
SXI
VX
VDD
LCAP2B
LCAP2A
LCAP1A
LCAP1B
LCAP3A
LVREG
LGS1
LVAG
VDD
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
PRT10[7]
PRT10[6]
PRT10[5]
PRT10[4]
PRT10[3]
PRT10[2]
PRT10[1]
PRT10[0]
PRTD[7]
PRTD[6]
PRTD[5]
PRTD[4]
PRTD[3]
PRTD[2]
PRTD[1]
PRTD[0]
PRTC[7]
VSSA:G
OAC
OCCK
GND:G
OPO
OPIP
OPIN
DAO
VO
RSTP_N
FXO
FXI
TSTP_P
SXO
SXI
VX
VDD:P
LVL1
LVL2
LVL3
LVL4
LVL5
LCAP4A
LCAP2B
LCAP2A
LCAP1A
LCAP1B
LCAP3A
LVREG
LGS1
LVAG
VDDA:P
SEG13/CS0
SEG12/CS1
SEG11/CS2
SEG10/CS3
PRT15[1]
PRT15[0]
PRT17[7]
PRT17[6]
PRT17[5]
PRT17[4]
PRT17[3]
PRT17[2]
PRT17[1]
PRT17[0]
COM31
COM30
COM29
COM28
COM27
COM25
COM26
SEG41
SEG42
SEG43
SEG44
SEG45
SEG46
SEG47
SEG48
SEG49
SEG50
SEG51
SEG52
SEG53
SEG54
SEG55
SEG56
SEG57
SEG58
SEG59
SEG60
SEG61
101
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
SEG34
SEG35
SEG36
SEG37
SEG38
SEG39
SEG40
CMSG59
CMSG58
CMSG57
CMSG56
CMSG55
CMSG54
CMSG53
CMSG52
CMSG51
CMSG50
CMSG49
CMSG48
CMSG47
CMSG46
CMSG45
CMSG44
CMSG43
CMSG42
CMSG41
CMSG40
CMSG79
CMSG78
CMSG77
CMSG76
CMSG75
CMSG74
CMSG73
CMSG72
CMSG71
CMSG70
CMSG69
CMSG68
CMSG67
CMSG66
CMSG65
CMSG64
CMSG63
CMSG62
CMSG61
CMSG60
SEG32/A16
SEG33/A17
SEG34/A18
SEG35/A19
SEG36/A20
SEG37/A21
SEG38/A22
SEG39/A23
SEG40/D0
SEG41/D1
SEG42/D2
SEG43/D3
SEG44/D4
SEG45/D5
SEG46/D6
SEG47/D7
SEG14/WE
SEG15/OE
SEG16/A0
SEG17/A1
SEG18/A2
SEG19/A3
SEG20/A4
SEG21/A5
SEG22/A6
SEG23/A7
SEG24/A8
SEG25/A9
SEG26/A10
SEG27/A11
SEG28/A12
SEG29/A13
SEG30/A14
SEG31/A15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
GND
RD[7]
RD[6]
RD[5]
RD[4]
RD[3]
RD[2]
RD[1]
RD[0]
RES_N
VDD
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
LVP
LVL5
LVL3
LVL2
OAC
OCCK
REN
R_WN
D_CN
STBN
COM25
COM24
COM23
COM22
COM21
COM20
COM19
COM18
COM17
COM16
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
SEG13
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
COM31
COM30
COM29
COM28
COM27
COM26
30
31
32
33
34
35
36
37
38
39
40
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SEG14
SEG15
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
SEG34
SEG35
SEG36
SEG37
SEG38
SEG39
SEG40
SEG41
SEG42
SEG43
SEG44
SEG45
SEG46
SEG47
COM79
COM78
COM77
COM76
COM75
COM74
COM73
COM72
COM71
COM70
COM69
COM68
COM67
COM66
COM65
COM64
COM63
COM62
COM61
COM60
COM59
COM58
COM57
COM56
COM55
COM54
COM53
COM52
COM51
COM50
COM49
COM48
COM47
COM46
COM45
COM44
COM43
COM42
COM41
COM40
188
187
186
185
184
183
182
181
180
179
178
177
176
175
174
173
172
171
170
169
168
167
166
165
164
163
162
161
160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
U7
GND
RD7
RD6
RD5
RD4
RD3
RD2
RD1
RD0
RES_N
VDD
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
LVL5
LVL5
LVL3
LVL2
OAC
OCCK
REN
R_WN
D_CN
STBN
COM25
COM24
COM23
COM22
COM21
COM20
COM19
COM18
COM17
COM16
COM15
COM14
COM13
COM12
COM11
COM10
COM9
COM8
COM7
COM6
COM5
COM4
COM3
COM2
COM1
COM0
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
0.1u
KD83
SEG62
SEG63
SEG64
SEG65
SEG66
SEG67
SEG68
SEG69
HE84G761B
HE80004 Series
27. Application Circuit
CMSG39
CMSG38
CMSG37
CMSG36
CMSG35
CMSG34
CMSG33
CMSG32
HE84G763B
GND_PWM
PWM
IRO
VDD_RAM:P
PRTC[0]
PRTC[1]
PRTC[2]
PRTC[3]
PRTC[4]
PRTC[5]
PRTC[6]
R10
FXI
0.1u
FXO
SXI
R5
SXO
RSTP_N
VX
R3
58
57
56
55
54
53
52
51
114
113
112
111
110
109
108
107
COM39
COM38
COM37
COM36
COM35
COM34
COM33
COM32
106
105
104
103
102
101
100
99
98
97
96
GND
PWM
IRO
VDD
PRTC0
PRTC1
PRTC2
PRTC3
PRTC4
PRTC5
PRTC6
Y1
6M
C4
10p
C5
10p
Y2
32768
C6
10p
R2
C10
10p
100k
C11
105
TSTP_P
SW1
reset
R4 12K
0
C12
104
C13
103
HE84G763B+KD83
SEG110
SEG111
SEG112
SEG113
SEG114
SEG115
SEG116
SEG117
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
HE84G761B
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE80004 Series
Note: Options for LCD, Osc. and external memory
COMXSEG
CMSG32
CMSG33
CMSG34
CMSG35
CMSG36
CMSG37
CMSG38
CMSG39
CMSG40
CMSG41
CMSG42
CMSG43
CMSG44
CMSG45
CMSG46
CMSG47
CMSG48
CMSG49
CMSG50
CMSG51
CMSG52
CMSG53
CMSG54
CMSG55
CMSG56
CMSG57
CMSG58
CMSG59
CMSG60
CMSG61
CMSG62
CMSG63
CMSG64
CMSG65
CMSG66
CMSG67
CMSG68
CMSG69
CMSG70
CMSG71
CMSG72
CMSG73
CMSG74
CMSG75
CMSG76
CMSG77
CMSG78
CMSG79
32X96
48X80
64X64
80X48
SEG95
SEG94
SEG93
SEG92
SEG91
SEG90
SEG89
SEG88
SEG87
SEG86
SEG85
SEG84
SEG83
SEG82
SEG81
SEG80
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
COM32
COM33
COM34
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
COM45
COM46
COM47
SEG79
SEG78
SEG77
SEG76
SEG75
SEG74
SEG73
SEG72
SEG71
SEG70
SEG69
SEG68
SEG67
SEG66
SEG65
SEG64
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
COM32
COM33
COM34
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
COM45
COM46
COM47
COM48
COM49
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
SEG63
SEG62
SEG61
SEG60
SEG59
SEG58
SEG57
SEG56
SEG55
SEG54
SEG53
SEG52
SEG51
SEG50
SEG49
SEG48
COM32
COM33
COM34
COM35
COM36
COM37
COM38
COM39
COM40
COM41
COM42
COM43
COM44
COM45
COM46
COM47
COM48
COM49
COM50
COM51
COM52
COM53
COM54
COM55
COM56
COM57
COM58
COM59
COM60
COM61
COM62
COM63
COM64
COM65
COM66
COM67
COM68
COM69
COM70
COM71
COM72
COM73
COM74
COM75
COM76
COM77
COM78
COM79
Ext. Bus Interface
VDD
8 MB EPROM
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
CS3
CS2
CS1
CS0
WE
OE
SEG16
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
SEG34
SEG35
SEG36
SEG37
SEG38
SEG39
SEG40
SEG41
SEG42
SEG43
SEG44
SEG45
SEG46
SEG47
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
A17
A18
A19
A20
A21
A22
A23
Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
A19
A16
A15
A12
A7
A6
A5
A4
A3
A2
A1
A0
Q0
Q1
Q2
A19
A16
A15
A12
A7
A6
A5
A4
A3
A2
A1
A0
Q0
Q1
Q2
VSS
VCC
A18
A17
A14
A13
A8
A9
A11
OE/VPP
A10
CE
Q7
Q6
Q5
Q4
Q3
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
A18
A17
A14
A13
A8
A9
A11
C89
0.1uF
A10
CS0
Q7
Q6
Q5
Q4
Q3
A18
A7
A6
A5
A4
A3
A2
A1
M27C801
SEG15
SEG14
SEG13
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
Intel NOR FLASH
1
2 A16
3 A15
4 A14
5 A13
6 A12
7 A11
8 A9
9 A8
10 WE
11 RP
12 VPP
13 WP
14 A18
15 A7
16 A6
17 A5
18 A4
19 A3
20 A2
A1
A17
GND
A20
A19
A10
DQ7
DQ6
DQ5
DQ4
VCCQ
VCC
NC
DQ3
DQ2
DQ1
DQ0
OE
GND
CE
A0
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
A17
A20
A19
A10
DQ7
DQ6
DQ5
DQ4
DQ3
DQ2
DQ1
DQ0
OE
CE
A0
28F320-TSOP
16 MB EPROM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
A19
A18
A8
A7
A6
A5
A4
A3
A2
A1
CS1
DQ0
DQ1
DQ2
DQ3
DQ4
DQ5
DQ6
DQ7
D0
Q1
Q2
Q3
A18
A17
A7
A6
A5
A4
A3
A2
A1
A0
CE
VSS
OE
Q0
Q8
Q1
Q9
Q2
Q10
Q3
Q11
A19
A8
A9
A10
A11
A12
A13
A14
A15
A16
BY TE
VSS
Q15A-1
Q7
Q14
Q6
Q13
Q5
Q12
Q4
VCC
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
A20
A9
A10
A11
A12
A13
A14
A15
A16
A17
512KB x 8 SRAM
A11
A9
A8
A13
WE
A17
A15
VDD
A0
Q7
Q6
Q5
A18
A16
A14
A12
A7
A6
A5
A4
Q4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
OE
A10
CS1
IO7
IO6
IO5
IO4
IO3
GND
IO2
IO1
IO0
A0
A1
A2
A3
A11
A9
A8
A13
WE
A17
A15
VCC
A18
A16
A14
A12
A7
A6
A5
A4
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
OE
A10
CS3
DQ7
DQ6
DQ5
DQ4
DQ3
DQ2
DQ1
DQ0
A0
A1
A2
A3
LP62S4096-TSOP
VDD
M27C160
x4 multiplier
x3 multiplier
OE
WE
CS0
CS1
CS2
CS3
PRT151
PRT150
PRT177
PRT176
PRT175
PRT174
PRT173
PRT172
PRT171
PRT170
A16
A15
A14
A13
A12
A11
A9
A8
WE
OE
WE
CS0
CS1
CS2
CS3
PRT151
PRT150
PRT177
PRT176
PRT175
PRT174
PRT173
PRT172
PRT171
PRT170
LVL1
4.7uF
LVL1
4.7uF
LVL1
0.1uF
LVL2
0.1uF
LVL2
0.1uF
LVL2
0.1uF
LVL3
0.1uF
LVL3
0.1uF
LVL3
4.7uF
LVL4
4.7uF
LVL4
4.7uF
LVL4
4.7uF
LV5
4.7uF
LVL5
4.7uF
LVL5
LCAP4A
LCAP4A
0.1uF
LCAP4A
LCAP2B
LCAP2B
LCAP2A
0.1uF
LCAP2A
0.1uF
LCAP2A
0.1uF
LCAP1A
0.1uF
LCAP1A
0.1uF
LCAP1A
0.1uF
LCAP3A
SXI
LCAP1B
0.1uF
LCAP3A
0.1uF
0.1uF
LVREG
R1
R2
LGS1
0.1uF
LCAP1B
LCAP3A
0.1uF
LVREG
R1
R2
SXO
LCAP2B
0.1uF
LCAP1B
SXI
x5 multiplier
4.7uF
0.1uF
LVAG
LVREG
R1
R2
LGS1
0.1uF
LVAG
LGS1
LVAG
SXO
Crystal Osc.
RC Osc.
FXI
FXI
FXO
FXO
GND_LCD
GND_LCD
GND_LCD
Crystal Osc.
RC Osc.
April 25, 2005
58
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
LVL5
L1
330uH
R13
100K
R23
U4
8
180
7
6
R25
0.5
5
RV4
DRC
SWC
Ipk
SWE
VCC
TC
CII
GND
1
2
3
R14
100K
D4
4
C25
RV3
1N4148
1.5nF
MC34063
VDD
R15
300K
R27
43K
220uF/25V
100nF
J4
220uF/25V
R16
100K
1 2
variable
resistor
C36
2
C35
R29
5K1
1
1
LVL5
R17
100K
J6
1
1 2
2
J5
1
C32
RV1
LVL5
RV2
LVL2
1
2
3
4
5
6
7
OUT1
IN1IN1+
VCC+
IN2+
IN2OUT2
OUT4
IN4IN4+
VCCIN3+
IN3OUT3
14
13
12
11
10
9
8
LVL4
RV4
R18
100K
RV2
RV3
LVL3
LM324
R19
100K
RV1
EXTERNAL LCD POWER SYSTEM
April 25, 2005
2
LVL1
2
U3
59
R20
100K
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.
KING BILLION ELECTRONICS CO., LTD
駿 億 電 子 股 份 有 限 公 司
HE84G761B
HE80004 Series
28. Important Note
1.
2.
3.
4.
5.
6.
Please note the ICE is a superset of HE80004 series IC. Each member of the family only has parts of
all resources. Do not use any hardware resource that your target chip doesn’t have, for example,
RAM and register. KBIDS and compiler can’t prevent user from using some hardware resources that
don’t exist in your target chip.
To access “Data ROM”, users must update TPP first, TPH, and then TPL. Only follow this order, the
pre-charge circuit of ROM will work correctly. The 5µs waiting is also necessary before LDV
instruction is executed since Data ROM is a low speed ROM. User can’t emulate this accessing
process in ICE, so 5µs delay should be added by firmware.
LCD driving circuit must be turned off before the system goes into sleep mode.
Please bond the TSTP_P, RSTP_N and PRTD [7:0] with test points on PCB (can be soldered and
probed) as you can, then some testing can be performed on PCB when it’s necessary. The TSTP_P is
suggested to connect to ground by a 0 ohm resistor.
The LV5 must be lower than 8.5 volts; otherwise permanent damages to the IC might be incurred.
The LCD voltage adjustment mechanism shall be reserved for LV5 voltage fine-tunes; since it’s
possible there is some variation in LV5 voltage due to IC manufacture process variation. User can
use variable-resistor to adjust the LV5 voltage or use some tools to detect the LV5 and then select a
proper resistor. Please refer to application note AN025 for the detailed description.
29. Updated History
Version
V0.9
V0.91
V0.92
Date
Update History
New Created.
HE84G761 -> HE84G761B,
1. The LCD power system had been modified, and the resistance of LCD driver
pin had been also reduced to improve the display quality.
2004/1/15
2. The VDD_LCD and GND_LCD pins are added for LCD charge-pump
dedicated.
3. LVP and LGS2 had been removed, and the LV5 is highest voltage.
4. LVR/LVD accuracy had been improved.
2004/1/15 Modify the external circuit of charge-pump.
1. Modify the ur line control register
2004/6/1
2. Add external lcd power application circuit
April 25, 2005
60
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.