HOLTEK HT1626_02

HT1626
RAM Mapping 48´16 LCD Controller for I/O MCU
Features
· Operating voltage: 2.7V~5.2V
· Built-in LCD display RAM
· Built-in RC oscillator
· R/W address auto increment
· External 32.768kHz crystal or 32kHz frequency
· Two selection buzzer frequencies (2kHz or 4kHz)
source input
· Power down command reduces power consumption
· 1/5 bias, 1/16 duty, frame frequency is 64Hz
· Software configuration feature
· Max. 48´16 patterns, 16 commons, 48 segments
· Data mode and Command mode instructions
· Built-in internal resistor type bias generator
· Three data accessing modes
· 3-wire serial interface
· VLCD pin to adjust LCD operating voltage
· 8 kinds of time base or WDT selection
· Cascade application
· Time base or WDT overflow output
· 100-pin QFP package
General Description
HT1626 make it suitable for multiple LCD applications
including LCD modules and display subsystems. Only
three lines are required for the interface between the
host controller and the HT1626. The HT162X series
have many kinds of products that match various applications.
HT1626 is a peripheral device specially designed for I/O
type MCU used to expand the display capability. The
max. display segment of the device are 768 patterns
(48´16). It also supports serial interface, buzzer sound,
Watchdog Timer or time base timer functions. The
HT1626 is a memory mapping and multi-function LCD
controller. The software configuration feature of the
Selection Table
HT162X
HT1620
HT1621
HT1622
HT16220
HT1623
HT1625
HT1626
COM
4
4
8
8
8
8
16
SEG
32
32
32
32
48
64
48
Built-in Osc.
¾
Ö
Ö
¾
Ö
Ö
Ö
Crystal Osc.
Ö
Ö
¾
Ö
Ö
Ö
Ö
Block Diagram
D is p la y R A M
O S C O
O S C I
C S
R D
W R
C o n
a n
T im
C ir c
tro l
d
in g
u it
C O M 0
L C D D r iv e r /
B ia s C ir c u it
D A T A
V L C D
V S S
B Z
Rev. 1.10
S E G 0
S E G 4 7
V D D
B Z
C O M 1 5
T o n e F re q u e n c y
G e n e ra to r
W a tc h d o g T im e r
a n d
T im e B a s e G e n e r a to r
1
IR Q
September 11, 2002
HT1626
Pin Assignment
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
3 0
3 1
3 2
3 3
3 4
3 5
3 6
3 7
3 8
3 9
4 0
4 1
4 2
4 3
4 4
4 5
4 6
4 7
C S
R D
O
C
C
C
W R
D A T A
N C
N C
V S S
O S C I
S C O
V D D
V L C D
IR Q
B Z
B Z
T 1
T 2
T 3
T 4
C O M 0
C O M 1
C O M 2
C O M 3
C O M 4
N C
C O M 5
C O M 6
C O M 7
C O M 8
C O M 9
O M 1 0
O M 1 1
O M 1 2
1 0 0 9 9 9 8 9 7 9 6 9 5 9 4 9 3 9 2 9 1 9 0 8 9 8 8 8 7 8 6 8 5 8 4 8 3 8 2 8 1
1
8 0
2
7 9
3
7 8
4
7 7
5
7 6
6
7 5
7
7 4
8
7 3
9
7 2
1 0
7 1
1 1
7 0
1 2
6 9
1 3
6 8
1 4
6 7
H T 1 6 2 6
1 0 0 Q F P -A
1 5
1 6
1 7
6 6
6 5
6 4
1 8
6 3
1 9
6 2
2 0
6 1
2 1
6 0
2 2
5 9
2 3
5 8
2 4
5 7
2 5
5 6
2 6
5 5
2 7
5 4
2 8
5 3
2 9
5 2
3 0
3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 5 0
5 1
S E
S E
S E
S E
S E
S E
N C
N C
N C
N C
N C
N C
N C
N C
N C
N C
N C
N C
N C
N C
N C
N C
N C
S E
S E
S E
S E
S E
S E
S E
G 2
G 2
G 2
G 2
G 2
G 2
G 2
G 2
G 2
G 2
G 1
G 1
G 1
8
9
7
6
3
5
2
4
1
8
0
9
7
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
C O
C O
C O
G 1
G 1
G 1
G 1
G 1
G 1
G 1
G 9
G 8
G 7
G 6
G 5
G 4
G 3
G 2
G 1
G 0
M 1
M 1
M 1
4
3
2
1
0
6
5
5
4
3
Rev. 1.10
2
September 11, 2002
HT1626
Pad Assignment
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
S E G
2 8
2 4
2 9
2 5
3 0
2 6
3 1
2 7
3 4
3 2
3 5
3 3
3 6
3 7
6 7
6 6 6 5
6 4
6 3
6 2
6 1 6 0
5 9
5 8
5 7
5 6
5 5 5 4
3 6
3 7
3 9
4 0
4 1
4 2
4 4 4 5
4 6
4 7
4 8
6 9 6 8
3 8
3 9
7 1 7 0
4 0
7 2
4 1
7 3
4 2
7 4
4 3
4 4
7 5
4 5
7 6
4 6
7 7
4 7
D A T A
C S
R D
W R
V S S
7 8
5 3
5 2
4 9 5 0
5 1
2
V D D
3
V L C D
4
5
B Z
6
B Z
7
T 1
7 9
1
O S C I
O S C O
IR Q
8 0
(0 , 0 )
8
T 2
9
T 3
1 0
T 4
C O M 0
1 2
1 1
C O M 1
C O M 2
1 3
C O M 3
C O M 4
1 5
1 4
1 6
1 7
1 8
1 9
2 0
2 1 2 2 2 3
2 4
2 5
2 6
2 7
2 8
2 9
3 0
3 1 3 2
3 3
3 4
3 5
3 8
4 3
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
S E
C O
C O
C O
C O
C O
C O
C O
C O
C O
C O
G 2
G 2
G 2
G 2
G 1
G 1
G 1
G 1
G 1
G 1
G 1
G 1
G 1
G 1
G 9
G 8
G 7
G 6
G 5
G 4
G 3
G 2
G 1
G 0
M 1
M 1
M 1
M 1
M 1
M 1
M 9
M 8
M 7
M 6
C O M 5
0
1
2
3
4
5
6
7
8
9
0
1
2
3
0
1
2
3
4
5
Chip size: 242 ´ 196 (mil)2
* The IC substrate should be connected to VDD in the PCB layout artwork.
Rev. 1.10
3
September 11, 2002
HT1626
Pad Coordinates
Unit: mil
Pad No.
X
Y
Pad No.
X
Y
1
-115.68
77.99
41
47.47
-92.74
2
-115.68
71.36
42
54.10
-92.74
3
-113.69
54.83
43
60.73
-92.74
4
-114.92
46.62
44
67.36
-92.74
5
-115.68
37.10
45
73.99
-92.74
6
-115.68
23.80
46
80.62
-92.74
7
-115.68
4.21
47
87.25
-92.74
8
-114.92
-6.29
48
93.88
-92.74
9
-114.92
-18.27
49
100.51
-92.74
10
-114.92
-24.91
50
107.14
-92.74
11
-114.92
-36.89
51
113.77
12
-114.92
-43.52
52
114.88
-92.74
92.74
13
-114.92
-55.51
53
108.25
92.74
14
-114.92
-62.13
54
101.62
92.74
15
-114.92
-74.12
55
94.99
92.74
16
-114.92
-80.75
56
88.36
92.74
17
-114.92
-92.74
57
81.73
92.74
18
-105.02
-92.74
58
75.10
92.74
19
-98.39
-92.74
59
68.47
92.74
20
-91.76
-92.74
60
61.84
92.74
21
-85.13
-92.74
61
55.21
92.74
22
-78.50
-92.74
62
48.58
92.74
23
-71.87
-92.74
63
41.95
92.74
24
-65.24
-92.74
64
35.32
92.74
25
-58.61
-92.74
65
28.69
92.74
26
-51.98
-92.74
66
22.06
92.74
27
-45.35
-92.74
67
15.43
92.74
28
-38.72
-92.74
68
8.80
92.74
29
-32.09
-92.74
69
2.17
92.74
30
-25.46
-92.74
70
-4.46
92.74
31
-18.83
-92.74
71
-11.09
92.74
32
-12.20
-92.74
72
-17.72
92.74
33
-92.74
73
-24.35
92.74
34
-5.57
1.06
-92.74
74
-30.98
92.74
35
7.69
-92.74
75
-37.61
92.74
36
14.32
-92.74
76
-44.24
92.74
37
20.95
-92.74
77
-50.87
92.74
38
27.58
-92.74
78
-57.50
92.74
39
34.21
-92.74
79
-68.04
92.74
40
40.84
-92.74
80
-82.71
91.97
Rev. 1.10
4
September 11, 2002
HT1626
Pad Description
Pad No.
Pad Name
I/O
Description
The OSCI and OSCO pads are connected to a 32.768kHz crystal in order to
generate a system clock. If the system clock comes from an external clock
source, the external clock source should be connected to the OSCI pad. But
if an on-chip RC oscillator is selected instead, the OSCI and OSCO pads
can be left open.
1
OSCI
I
2
OSCO
O
3
VDD
¾
4
VLCD
I
LCD operating voltage input pad.
5
IRQ
O
Time base or Watchdog Timer overflow flag, NMOS open drain output
6, 7
BZ, BZ
O
2kHz or 4kHz tone frequency output pair
8~11
T1~T4
I
Not connected
12~27
COM0~COM15
O
LCD common outputs
28~75
SEG0~SEG47
O
LCD segment outputs
Positive power supply
76
CS
I
Chip selection input with pull-high resistor. When the CS is logic high, the
data and command read from or write to the HT1626 are disabled. The serial interface circuit is also reset. But if the CS is at logic low level and is input to the CS pad, the data and command transmission between the host
controller and the HT1626 are all enabled.
77
RD
I
READ clock input with pull-high resistor. Data in the RAM of the HT1626 are
clocked out on the falling edge of the RD signal. The clocked out data will
appear on the data line. The host controller can use the next rising edge to
latch the clocked out data.
78
WR
I
WRITE clock input with pull-high resistor. Data on the DATA line are latched
into the HT1626 on the rising edge of the WR signal.
79
DATA
I/O
Serial data input or output with pull-high resistor
80
VSS
¾
Negative power supply, ground
Absolute Maximum Ratings
Supply Voltage .........................................-0.3V to 5.5V
Storage Temperature ............................-50°C to 125°C
Input Voltage.............................VSS-0.3V to VDD+0.3V
Operating Temperature...........................-25°C to 75°C
Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maximum Ratings² may
cause substantial damage to the device. Functional operation of this device at other conditions beyond those
listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability.
Rev. 1.10
5
September 11, 2002
HT1626
D.C. Characteristics
Symbol
Parameter
VDD
Operating Voltage
IDD1
Operating Current
Ta=25°C
Test Conditions
VDD
Conditions
¾
¾
3V
5V
IDD2
3V
Operating Current
5V
IDD11
3V
Operating Current
5V
IDD22
3V
Operating Current
5V
ISTB
No load or LCD ON
On-chip RC oscillator
No load or LCD ON
Crystal oscillator
No load or LCD OFF
On-chip RC oscillator
No load or LCD OFF
Crystal oscillator
3V
Standby Current
No load, Power down mode
5V
VIL
3V
Input Low Voltage
3V
Input High Voltage
IOH1
IOL1
IOH1
IOL2
IOH2
IOL3
IOH3
RPH
Unit
2.7
¾
5.2
V
¾
155
310
mA
¾
260
420
mA
¾
150
310
mA
¾
250
420
mA
¾
8
30
mA
¾
20
60
mA
¾
¾
20
mA
¾
¾
35
mA
¾
1
12
mA
¾
2
24
mA
0
¾
0.6
V
0
¾
1.0
V
2.4
¾
3
V
4.0
¾
5
V
3V
VOL=0.3V
0.9
1.8
¾
mA
5V
VOL=0.5V
1.7
3
¾
mA
3V
VOH=2.7V
-0.9
-1.8
¾
mA
5V
VOH=4.5V
-1.7
-3
¾
mA
3V
VOL=0.3V
0.9
1.8
¾
mA
5V
VOL=0.5V
1.7
3
¾
mA
3V
VOH=2.7V
-0.9
-1.8
¾
mA
5V
VOH=4.5V
-1.7
-3
¾
mA
3V
VOL=0.3V
80
160
¾
mA
5V
VOL=0.5V
180
360
¾
mA
3V
VOH=2.7V
-40
-80
¾
mA
5V
VOH=4.5V
-90
-180
¾
mA
3V
VOL=0.3V
50
100
¾
mA
5V
VOL=0.5V
120
240
¾
mA
3V
VOH=2.7V
-30
-60
¾
mA
5V
VOH=4.5V
-70
-140
¾
mA
100
200
300
kW
50
100
150
kW
BZ, BZ, IRQ
BZ, BZ
DATA
DATA
LCD Common Sink Current
LCD Common Source Current
LCD Segment Sink Current
LCD Segment Source Current
3V
Pull-high Resistor
DATA, WR, CS, RD
5V
Rev. 1.10
Max.
DATA, WR, CS, RD
5V
IOL1
Typ.
DATA, WR, CS, RD
5V
VIH
Min.
6
September 11, 2002
HT1626
A.C. Characteristics
Symbol
fSYS1
fSYS2
Ta=25°C
VDD
Conditions
3V
System Clock
3V
System Clock
fLCD2
LCD Frame Frequency
tCOM
LCD Common Period
3V
3V
¾
3V
tCS
40
kHz
24
32
40
kHz
¾
32
¾
kHz
kHz
¾
5V
t r, t f
Rise or Fall Time Serial Data Clock
Width (Figure 1)
3V
tsu
Setup Time for DATA to WR, RD
Clock Width (Figure 2)
3V
th
Hold Time for DATA to WR, RD
Clock Width (Figure 2)
3V
tsu1
Setup Time for CS to WR, RD
Clock Width (Figure 3)
3V
th1
Hold Time for CS to WR, RD Clock
Width (Figure 3)
3V
32
¾
64
80
Hz
48
64
80
Hz
¾
64
¾
Hz
¾
64
¾
Hz
¾
n/fLCD
¾
sec
¾
¾
150
kHz
¾
¾
300
kHz
¾
75
kHz
¾
¾
150
kHz
¾
250
¾
ns
Write mode
3.34
¾
¾
Read mode
6.67
¾
¾
Write mode
1.67
¾
¾
Read mode
3.34
¾
¾
¾
¾
120
¾
ns
¾
¾
120
¾
ns
¾
¾
120
¾
ns
¾
¾
100
¾
ns
¾
¾
100
¾
ns
CS
WR, RD Input Pulse Width
(Figure 1)
¾
44
¾
Duty cycle 50%
5V
3V
tCLK
32
Duty cycle 50%
5V
Serial Interface Reset Pulse Width
(Figure 3)
22
n: Number of COM
3V
Serial Data Clock (RD Pin)
Unit
External clock source
5V
fCLK2
Max.
On-chip RC oscillator
5V
Serial Data Clock (WR Pin)
Typ.
External clock source
5V
LCD Frame Frequency
Min.
On-chip RC oscillator
5V
fLCD1
fCLK1
Test Conditions
Parameter
5V
5V
5V
5V
5V
ms
ms
V A L ID D A T A
tf
W R , R D
C lo c k
9 0 %
5 0 %
1 0 %
tr
tC
V
tC
L K
D B
D D
ts
G N D
L K
W R , R D
C lo c k
S
V
th
u 1
5 0 %
F IR S T
C lo c k
D D
G N D
1
G N D
V
L A S T
C lo c k
V
5 0 %
D D
5 0 %
ts
G N D
Figure 2
tC
C S
D D
th
u
W R , R D
C lo c k
Figure 1
V
5 0 %
D D
G N D
Figure 3
Rev. 1.10
7
September 11, 2002
HT1626
Functional Description
Display memory - RAM structure
If an external clock is selected as the source of system
frequency, the SYS DIS command turns out invalid and
the power down mode fails to be carried out until the external clock source is removed.
The static display RAM is organized into 192´4 bits and
stores the display data. The contents of the RAM are directly mapped to the contents of the LCD driver. Data in
the RAM can be accessed by the READ, WRITE and
READ-MODIFY-WRITE commands. The following is a mapping
from the RAM to the LCD patterns.
Buzzer tone output
A simple tone generator is implemented in the HT1626.
The tone generator can output a pair of differential driving signals on the BZ and BZ which are used to generate
a single tone.
Time base and Watchdog Timer - WDT
The time base generator and WDT share the same divided (/256) counter. TIMER DIS/EN/CLR, WDT
DIS/EN/CLR and IRQ EN/DIS are independent from each
other. Once the WDT time-out occurs, the IRQ pin will
remain at logic low level until the CLR WDT or the IRQ
DIS command is issued.
C O M 1 5
C O M 1 4
C O M 1 3
Command format
The HT1626 can be configured by the software setting.
There are two mode commands to configure the
HT1626 resource and to transfer the LCD display data.
C O M 3
C O M 1 2
C O M 2
C O M 1
C O M 0
S E G 0
3
0
S E G 1
7
4
S E G 2
1 1
8
S E G 3
1 5
1 2
S E G 4 7
1 9 1
1 8 8
D 3
D 2
D 1
D 0
A d d r
D 3
D a ta
D 2
D 1
D 0
A d d r e s s 8 B its
(A 7 , A 6 , ...., A 0 )
A d d r
D a ta
D a ta 4 B its
(D 3 , D 2 , D 1 , D 0 )
RAM mapping
T im e B a s e
T IM E R
/2 5 6
C lo c k S o u r c e
V
C L R
T im e r
W D T
/4
W D T E N /D IS
D D
Q
D
C K
C L R
IR Q
E N /D IS
IR Q
E N /D IS
R
W D T
Timer and WDT configurations
Rev. 1.10
8
September 11, 2002
HT1626
The following are the data mode ID and the command
mode ID:
Mode
ID
READ
Operation
Data
110
WRITE
Data
101
READ-MODIFY-WRITE
Data
101
Command
100
COMMAND
Name
If successive commands have been issued, the command mode ID can be omitted. While the system is operating in the non-successive command or the
non-successive address data mode, the CS pin should
be set to ²1², and the previous operation mode will be
reset also. The CS pin returns to ²0², a new operation
mode ID should be issued first.
Command Code
Function
TONE OFF
0000-1000-X
Turn-off tone output
TONE 4K
010X-XXXX-X
Turn-on tone output, tone frequency is 4kHz
TONE 2K
0110-XXXX-X
Turn-on tone output, tone frequency is 2kHz
Timing Diagrams
READ mode (command code : 1 1 0)
C S
W R
R D
D A T A
1
0
1
A 7
A 5
A 6
A 3
A 4
A 2
A 1
A 0
D 0
M e m o ry A d d re s s 1 (M A 1 )
D 1
D 2
D 3
1
0
1
A 7
A 5
A 6
D a ta (M A 1 )
A 4
A 3
A 2
A 1
A 0
D 0
D 1
D 2
D 3
D a ta (M A 2 )
M e m o ry A d d re s s 2 (M A 2 )
READ mode (successive address reading)
C S
W R
R D
D A T A
1
1
0
A 7
A 6
A 5
A 4
A 3
A 2
M e m o ry A d d re s s (M A )
Rev. 1.10
A 1
A 0
D 0
D 1
D 2
D a ta (M A )
9
D 3
D 0
D 1
D 2
D 3
D a ta (M A + 1 )
D 0
D 1
D 2
D a ta (M A + 2 )
D 3
D 0
D 1
D 2
D 3
D 0
D a ta (M A + 3 )
September 11, 2002
HT1626
WRITE mode (command code : 1 0 1)
C S
W R
1
D A T A
1
0
A 7
A 5
A 6
A 3
A 4
A 1
A 2
A 0
D 0
D 2
D 1
M e m o ry A d d re s s 1 (M A 1 )
D 3
1
1
0
A 7
A 6
D a ta (M A 1 )
A 5
A 4
A 3
A 2
A 1
A 0
D 0
D 2
D 1
M e m o ry A d d re s s 2 (M A 2 )
D 3
D a ta (M A 2 )
WRITE mode (successive address writing)
C S
W R
1
D A T A
1
0
A 7
A 5
A 6
A 4
A 3
A 2
A 1
A 0
D 0
M e m o ry A d d re s s (M A )
D 2
D 1
D 3
D 0
D a ta (M A )
D 1
D 2
D 3
D 0
D a ta (M A + 1 )
D 1
D 2
D 3
D 0
D a ta (M A + 2 )
D 2
D 1
D 3
D 0
D a ta (M A + 3 )
READ-MODIFY-WRITE mode (command code : 1 0 1)
C S
W R
R D
D A T A
1
1
0
A 6
A 7
A 5
A 4
A 3
A 2
A 1
A 0
D 0
M e m o ry A d d re s s 1 (M A 1 )
D 1
D 2
D 3
D 0
D a ta (M A 1 )
D 1
D 2
D 3
1
0
1
A 7
D a ta (M A 1 )
A 6
A 1
A 0
D 0
M e m o ry A d d re s s 2 (M A 2 )
D 1
D 2
D 3
D a ta (M A 2 )
READ-MODIFY-WRITE mode (successive address accessing)
C S
W R
R D
D A T A
1
0
1
A 7
A 6
A 5
A 4
A 3
A 2
A 1
M e m o ry A d d re s s (M A )
Rev. 1.10
A 0
D 0
D 1
D 2
D 3
D a ta (M A )
10
D 0
D 1
D 2
D a ta (M A )
D 3
D 0
D 1
D 2
D a ta (M A + 1 )
D 3
D 0
D 1
D 2
D 3
D a ta (M A + 1 )
D 0
D 1
D 2
D 3
D 0
D a ta (M A + 2 )
September 11, 2002
HT1626
Command mode (command code : 1 0 0)
C S
W R
D A T A
1
0
0
C 8
C 7
C 6
C 5
C 4
C 3
C o m m a n d 1
C 2
C 1
C 0
C 8
C o m m a n d ...
C 7
C 6
C 5
C 4
C 3
C 2
C 1
C 0
C o m m a n d i
C o m m a n d
o r
D a ta M o d e
Mode (data and command mode)
C S
W R
D A T A
C o m m a n d
o r
D a ta M o d e
A d d re s s a n d D a ta
C o m m a n d
o r
D a ta M o d e
A d d re s s a n d D a ta
C o m m a n d
o r
D a ta M o d e
A d d re s s a n d D a ta
R D
Rev. 1.10
11
September 11, 2002
HT1626
Application Circuits
C S
*
V D D
R D
*V R
W R
V L C D
D A T A
M C U
H T 1 6 2 6
*R
B Z
P ie z o
IR Q
B Z
O S C I
C lo c k O u t
O S C O
C O M 0 ~ C O M 1 5
S E G 0 ~ S E G 4 7
E x te r n a l C lo c k 1 ( 3 2 k H z )
E x te r n a l C lo c k 2 ( 3 2 k H z )
1 /5 B ia s , 1 /1 6 D u ty
O n - c h ip O S C
L C D
P a n e l
C ry s ta l
3 2 7 6 8 H z
The connection of IRQ and RD pin can be selected depending on the requirement of the MCU.
Note:
The volatage applied to VLCD pin must be lower than VDD.
Adjust VR to fit LCD display, at VDD=5V, VLCD=4V, VR=15kW±20%.
Adjust R (external pull-high resistance) to fit user¢s time base clock.
Instruction Set Summary
Name
ID
Command Code
D/C
Function
Def.
READ
1 1 0 A7A6A5A4A3A2A1A0D0D1D2D3
D
Read data from the RAM
WRITE
1 0 1 A7A6A5A4A3A2A1A0D0D1D2D3
D
Write data to the RAM
READ-MODIFY1 0 1 A7A6A5A4A3A2A1A0D0D1D2D3
WRITE
D
Read and Write data to the RAM
SYS DIS
1 0 0 0000-0000-X
C
Turn off both system oscillator and LCD
Yes
bias generator
SYS EN
1 0 0 0000-0001-X
C
Turn on system oscillator
LCD OFF
1 0 0 0000-0010-X
C
Turn off LCD display
LCD ON
1 0 0 0000-0011-X
C
Turn on LCD display
TIMER DIS
1 0 0 0000-0100-X
C
Disable time base output
Yes
WDT DIS
1 0 0 0000-0101-X
C
Disable WDT time-out flag output
Yes
TIMER EN
1 0 0 0000-0110-X
C
Enable time base output
WDT EN
1 0 0 0000-0111-X
C
Enable WDT time-out flag output
TONE OFF
1 0 0 0000-1000-X
C
Turn off tone outputs
CLR TIMER
1 0 0 0000-1101-X
C
Clear the contents of the time base
generator
CLR WDT
1 0 0 0000-1111-X
C
Clear the contents of the WDT stage
RC 32K
1 0 0 0001-10XX-X
C
System clock source, on-chip RC
oscillator
Rev. 1.10
12
Yes
Yes
Yes
September 11, 2002
HT1626
Name
ID
Command Code
D/C
Function
Def.
EXT (XTAL) 32K 1 0 0 0001-11XX-X
C
System clock source, external 32kHz
cl o ck so u r ce o r cr yst a l o sci l l a t o r
32.768kHz
TONE 4K
1 0 0 010X-XXXX-X
C
Tone frequency output: 4kHz
TONE 2K
1 0 0 0110-XXXX-X
C
Tone frequency output: 2kHz
IRQ DIS
1 0 0 100X-0XXX-X
C
Disable IRQ output
IRQ EN
1 0 0 100X-1XXX-X
C
Enable IRQ output
F1
1 0 0 101X-0000-X
C
Time base clock output: 1Hz
The WDT time-out flag after: 4s
F2
1 0 0 101X-0001-X
C
Time base clock output: 2Hz
The WDT time-out flag after: 2s
F4
1 0 0 101X-0010-X
C
Time base clock output: 4Hz
The WDT time-out flag after: 1s
F8
1 0 0 101X-0011-X
C
Time base clock output: 8Hz
The WDT time-out flag after: 1/2s
F16
1 0 0 101X-0100-X
C
Time base clock output: 16Hz
The WDT time-out flag after: 1/4s
F32
1 0 0 101X-0101-X
C
Time base clock output: 32Hz
The WDT time-out flag after: 1/8s
F64
1 0 0 101X-0110-X
C
Time base clock output: 64Hz
The WDT time-out flag after: 1/16s
F128
1 0 0 101X-0111-X
C
Time base clock output: 128Hz
The WDT time-out flag after: 1/32s
TEST
1 0 0 1110-0000-X
C
Test mode, user don¢t use.
NORMAL
1 0 0 1110-0011-X
C
Normal mode
Note:
Yes
Yes
Yes
X : Don¢t care
A7~A0 : RAM address
D3~D0 : RAM data
D/C : Data/Command mode
Def. : Power on reset default
All the bold forms, namely 1 1 0, 1 0 1, and 1 0 0, are mode commands. Of these, 1 0 0 indicates the command
mode ID. If successive commands have been issued, the command mode ID except for the first command will
be omitted. The source of the tone frequency and of the time base or WDT clock frequency can be derived from
an on-chip 32kHz RC oscillator, a 32.768kHz crystal oscillator, or an external 32kHz clock. Calculation of the
frequency is based on the system frequency sources as stated above. It is recommended that the host controller should initialize the HT1626 after power on reset, for power on reset may fail, which in turn leads to the malfunctioning of the HT1626.
Rev. 1.10
13
September 11, 2002
HT1626
Package Information
100-pin QFP (14´20) outline dimensions
C
H
D
8 0
G
5 1
I
5 0
8 1
F
A
B
E
3 1
1 0 0
K
=
J
1
Symbol
A
Rev. 1.10
3 0
Dimensions in mm
Min.
Nom.
Max.
18.50
¾
19.20
B
13.90
¾
14.10
C
24.50
¾
25.20
D
19.90
¾
20.10
E
¾
0.65
¾
F
¾
0.30
¾
G
2.50
¾
3.10
H
¾
¾
3.40
I
¾
0.10
¾
J
1
¾
1.40
K
0.10
¾
0.20
a
0°
¾
7°
14
September 11, 2002
HT1626
Holtek Semiconductor Inc. (Headquarters)
No.3, Creation Rd. II, Science Park, Hsinchu, Taiwan
Tel: 886-3-563-1999
Fax: 886-3-563-1189
http://www.holtek.com.tw
Holtek Semiconductor Inc. (Taipei Sales Office)
4F-2, No. 3-2, YuanQu St., Nankang Software Park, Taipei 115, Taiwan
Tel: 886-2-2655-7070
Fax: 886-2-2655-7373
Fax: 886-2-2655-7383 (International sales hotline)
Holtek Semiconductor Inc. (Shanghai Sales Office)
7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China 200233
Tel: 021-6485-5560
Fax: 021-6485-0313
http://www.holtek.com.cn
Holtek Semiconductor Inc. (Shenzhen Sales Office)
5/F, Unit A, Productivity Building, Cross of Science M 3rd Road and Gaoxin M 2nd Road, Science Park, Nanshan District,
Shenzhen, China 518057
Tel: 0755-8616-9908, 8616-9308
Fax: 0755-8616-9533
Holtek Semiconductor Inc. (Beijing Sales Office)
Suite 1721, Jinyu Tower, A129 West Xuan Wu Men Street, Xicheng District, Beijing, China 100031
Tel: 010-6641-0030, 6641-7751, 6641-7752
Fax: 010-6641-0125
Holtek Semiconductor Inc. (Chengdu Sales Office)
709, Building 3, Champagne Plaza, No.97 Dongda Street, Chengdu, Sichuan, China 610016
Tel: 028-6653-6590
Fax: 028-6653-6591
Holmate Semiconductor, Inc. (North America Sales Office)
46729 Fremont Blvd., Fremont, CA 94538
Tel: 510-252-9880
Fax: 510-252-9885
http://www.holmate.com
Copyright Ó 2002 by HOLTEK SEMICONDUCTOR INC.
The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used
solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable
without further modification, nor recommends the use of its products for application that may present a risk to human life
due to malfunction or otherwise. Holtek¢s products are not authorized for use as critical components in life support devices
or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information,
please visit our web site at http://www.holtek.com.tw.
Rev. 1.10
15
September 11, 2002