4-Level Gray Scale 64´16 LCD Controller for I/O mC
Features
Operating voltage: 2.7V~5.2V
·
Built-in 32kHz RC oscillator
·
External 32.768kHz crystal oscillator or
·
32kHz frequency source input
Standby current < 1mAat3V,<2mAat5V
·
Internal resistor type: 1/5 bias or 1/4
·
bias, 1/16 duty
Two selectable LCD frame frequencies:
·
89Hz or 170Hz
Max. 64´16 patterns, 64 segments and 16
·
commons
Built-in bit-map display RAM: 2048 bits
·
(=64´16´2 bits)
Built-in internal resistor type bias generator
·
Six-wire interface (four data wires)
·
Eight kinds of time base/WDT selection
·
Time base or WDT overflow output
·
R/W address auto increment
·
Applications
Toys
·
Games
·
Personal digital assistant
·
HT1647
Built-in buzzer driver (2kHz/4kHz)
·
Power down command reduces power
·
consumption
Software configuration feature
·
Data mode and Command mode
·
instructions
Three data accessing modes
·
Provides VLCD pin to adjust LCD operating
·
voltage
Provides three kinds of bias current
·
programming
Control of TN-type, STN-type LCDs and
·
ECB-type LCDs
Four-level gray scale output for TN-type,
·
STN-type LCDs panel
Four-color output for ECB-type LCDs panel
·
Available in 100-pin QFP and in chip form
·
Cellular phone
·
Global positioning system
·
Consumer electronics
·
General Description
HT1647 is a peripheral device specially designed for I/O type mC used to expand the display capability. The max. display segment of
the device are 1024 patterns (64 segments and
16 commons). It also supports four data bits in
terface, buzzer sound, Watchdog Timer or time
base timer functions. The HT1647 is a memory
mapping and multi-function LCD controller.
Since the HT1647 can control ECB-type (Elec
trically Controlled Birefringence) LCDs in ad
dition to current TN-type (Twisted Nematic) or
STN-type (Super Twisted Nematic) LCDs, it
can support 4-color display as well as 4-level
gray scale display. It displays 4-level gray scale
output when HT1647 drives TN-type,
STN-type LCDs. It displays four color output
when HT1647 drives ECB-type. HT1647 uses
PWM (Pulse Width Modulation) technique. The
software configuration feature of the HT1647
make it suitable for multiple LCD applications
including LCD modules and display subsys
tems. Only six lines (CS
required for the interface between the host con
troller and the HT1647. The HT164X series
have many kinds of products that match vari
ous applications.
1April 21, 2000
,WR, DB0~DB3) are
-
-
-
4-Level Gray Scale LCD Controller Product Line Selection Table
HT164X*HT1642*HT1645HT1647
COM88
SEG3264
*Under development
Block Diagram
HT1647
16
64
OSCO
OSCI
CS
RD
WR
DB0
DB3
VDD
VSS
BZ
BZ
N ote: C S : C hip selection
Tone Frequency
G enerator
BZ, B Z: Tone outputs
W R, RD: W RITE clock, READ clock
D B 0~D B3: D ata bus
C O M 0~C O M 15, S E G 0~S EG 63: LC D outputs
IR Q : Tim e base or W D T overflow output
C ontrol
&
Tim ing
Circuit
D ispla y R A M
LC D D river/
Bias Circuit
W atchdog Tim er
Tim e Base G enerator
&
COM 0
COM 15
SEG 0
SEG 63
VLCD
IR Q
2April 21, 2000
Pin Assignment
HT1647
SEG 44
SEG 45
SEG 46
SEG 47
SEG 48
SEG 49
SEG 50
SEG 51
SEG 52
SEG 53
SEG 54
SEG 55
SEG 56
SEG 57
SEG 58
SEG 59
SEG 60
SEG 61
SEG 62
SEG 63
CS
RD
WR
DB0
DB1
DB2
DB3
VSS
OSCI
OSCO
VDD
VLCD
IR Q
BZ
BZ
T1
T2
T3
T4
NC
COM 0
COM 1
COM 2
COM 3
COM 4
COM 5
COM 6
COM 7
COM 8
COM 9
1
H T1647
100 Q FP
30
3150
COM 10
COM 11
COM 12
COM 13
COM 14
COM 15
SEG 0
SEG 1
SEG 2
SEG 4
SEG 5
SEG 6
SEG 7
SEG 8
SEG 9
SEG 10
SEG 11
SEG 3
SEG 12
81100
80
51
SEG 13
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
3April 21, 2000
Pad Assignment
SEG 40
SEG 41
HT1647
SEG 17
SEG 18
SEG 19
SEG 20
SEG 22
SEG 24
SEG 25
SEG 26
SEG 27
SEG 28
SEG 29
SEG 30
SEG 31
SEG 32
SEG 33
SEG 34
SEG 35
SEG 36
SEG 37
SEG 38
SEG 39
SEG 21
SEG 23
SEG 42
SEG 43
SEG 44
SEG 45
SEG 46
SEG 47
SEG 48
SEG 49
SEG 50
SEG 51
SEG 52
SEG 53
SEG 54
SEG 55
SEG 56
SEG 57
SEG 58
SEG 59
SEG 60
SEG 61
SEG 62
SEG 63
CS
RD
WR
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
99
23
24
25
26762777287829
DB0
DB1
DB2
74
75
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
4494459546964797489849
COM 2
COM 3
COM 6
COM 5
COM 4
SEG 16
SEG 15
SEG 14
SEG 13
SEG 12
SEG 11
SEG 10
SEG 9
SEG 8
SEG 7
SEG 6
SEG 5
SEG 4
SEG 3
SEG 2
SEG 1
SEG 0
COM 15
COM 14
COM 13
COM 12
COM 11
COM 10
COM 9
COM 8
COM 7
T4
7930803181328233833484358536863787
COM 0
COM 1
9142924393
(0 , 0 )
38883989409041
DB3
VSS
OSCI
OSCO
VDD
VLCD
BZ
IR Q
BZ
T1T3T2
Chip size: 3865 ´ 3770 (mm)
2
* The IC substrate should be connected to VSS in the PCB layout artwork.
Chip selection input with pull-high resistor. When the CS
logic high, the data and command read from or write to the
HT1647 are disabled. The serial interface circuit is also reset.
23CS
24RD
25WR
26~29DB0~DB3I/O Parallel data input/output with a pull-high resistor
30VSS
31OSCIIThe OSCI and OSCO pads are connected to a 32.768kHz crystal
32OSCOO
33VDD
34VLCDIPower supply for LCD driver circuit
35IRQ
36, 37BZ, BZ
38~41T1~T4INot connected
42~57COM0~COM15OLCD common outputs
58~99,
1~22
SEG0~SEG63OLCD segment outputs
I
But if the CS
data and command transmission between the host controller
and the HT1647 are all enabled.
READ clock input with pull-high resistor. Data in the RAM of
the HT1647 are clocked out on the rising edge of the RD
I
The clocked out data will appear on the data line. The host con
troller can use the next falling edge to latch the clocked out data.
WRITE clock input with pull-high resistor. Data on the DATA
I
line are latched into the HT1647 on the rising edge of the WR
signal.
Negative power supply for logic circuit, ground
¾
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.
Positive power supply for logic circuit
¾
Time base or Watchdog Timer overflow flag, NMOS open drain
O
output.
O2kHz or 4kHz frequency output pair (tristate output buffer)
is at a logic low level and is input to the CS pad, the
is
signal.
-
Absolute Maximum Ratings
Supply Voltage..............................-0.3V to 5.5V
Input Voltage ................V
Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maxi
mum 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 expo
sure to extreme conditions may affect device reliability.
-0.3V to VDD+0.3V
SS
Storage Temperature.................-50°Cto125°C
Operating Temperature ..............-25°Cto75°C
6April 21, 2000
-
-
HT1647
D.C. Characteristics
SymbolParameter
V
DD
I
DD1
I
DD2
I
DD11
I
DD22
I
STB
V
IL
V
IH
I
OL1
I
OH1
I
OL2
I
OH2
I
OL3
I
OH3
I
OL4
I
OH4
R
PH
Operating Voltage
Operating Current
Operating Current
Operating Current
Operating Current
Standby Current
Input Low Voltage
Input High Voltage
BZ, BZ, IRQ Sink Current
BZ, BZ Source Current
DB0~DB3 Sink Current
DB0~DB3 Source Current
LCD Common Sink Current
LCD Common Source Current
LCD Segment Sink Current
LCD Segment Source Current
Pull-high Resistor
Test Conditions
V
DD
Conditions
¾¾
3V
No load/LCD ON
On-chip RC oscillator
5V
3V
No load/LCD ON
Crystal oscillator
5V
3V
No load/LCD OFF
On-chip RC oscillator
5V
3V
No load/LCD OFF
Crystal oscillator
5V
3V
No load
Power down mode
5V
3V
DB0~DB3, WR
RD
5V0
3V
DB0~DB3, WR
RD
5V4.0
V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V60125180
=0.3V
OL
=0.5V
V
OL
V
=2.7V
OH
V
=4.5V
OH
V
=0.3V
OL
=0.5V
V
OL
V
=2.7V
OH
V
=4.5V
OH
V
=0.3V
OL
=0.5V
V
OL
V
=2.7V
OH
V
=4.5V
OH
V
=0.3V
OL
=0.5V
V
OL
V
=2.7V
OH
V
=4.5V
OH
DB0~DB3, WR
RD
,CS,
,CS,
,CS,
Min. Typ. Max. Unit
2.7
¾
150250
¾
250370
¾
135200
¾
200300
¾
1530
¾
5070
¾
210
¾
310
¾
¾¾
¾¾
0
¾
¾
2.4
¾
¾
1.22.5
36
-0.9-1.8¾
-2-4¾
1.22.5
36
-0.9-1.8¾
-2-4¾
50100
100200
-25-50¾mA
-50-100¾mA
3060
60120
-20-40¾mA
-35-70¾mA
150250350
Ta=25°C
5.2V
mA
mA
A
m
mA
mA
mA
mA
mA
1
mA
2
mA
0.6V
1.0V
3V
5V
mA
¾
mA
¾
mA
mA
mA
¾
mA
¾
mA
mA
¾mA
¾mA
¾mA
¾mA
kW
kW
7April 21, 2000
HT1647
A.C. Characteristics
SymbolParameter
f
SYS1
f
SYS2
f
SYS3
f
LCD1
f
LCD2
f
LCD3
t
COM
f
CLK1
f
CLK2
t
CS
t
CLK
t
r,tf
t
su
t
h
t
su1
t
h1
System Clock
System Clock
System Clock
LCD Frame Frequency
LCD Frame Frequency
LCD Frame Frequency
LCD Common Period
4-Bit Data Clock (WR Pin)
4-Bit Data Clock (RD Pin)
4-Bit Interface Reset Pulse
Width(Figure 3)
WR,RDInput Pulse Width
Rise/Fall Time Serial Data
Clock Width(Figure 1)
Setup Time for DB to WR,
RD
Clock Width(Figure 2)
Hold Time for DB to WR,RD
Clock Width(Figure 2)
Setup Time for CS to WR,RD
Clock Width(Figure 3)
Hold Time for CS to WR,RD
Clock Width(Figure 3)
(Figure 1)
Ta=25°C
Test Conditions
V
DD
3V
5V243240kHz
3V
5V
3V
5V
3V
5V486480Hz
3V
5V
3V
5V
¾
3V
5V
3V
5V
¾
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
Conditions
On-chip RC oscillator
Crystal oscillator
External clock source
On-chip RC oscillator
Crystal oscillator
External clock source
n: Number of COM
Duty cycle 50%
Duty cycle 50%
CS
Write mode3.34
Read mode6.67
Write mode1.67
Read mode3.34
¾¾
¾¾
¾¾
¾¾
¾¾
Min. Typ. Max. Unit
223240kHz
¾
¾
¾
¾
32.768
32.768
32
32
¾
¾
¾
¾
kHz
kHz
kHz
kHz
446480Hz
64
¾
64
¾
64
¾
64
¾
n/f
¾
¾¾
¾¾
¾¾
¾¾
250
¾
LCD
¾
¾
¾
¾
¾
150kHz
300kHz
75kHz
150kHz
¾
¾¾ms
¾¾ms
120
120
120
100
100
¾
¾
¾
¾
¾
Hz
Hz
Hz
Hz
sec
ns
ns
ns
ns
ns
ns
8April 21, 2000
HT1647
WR, RD
Clock
90%
50%
10%
t
f
t
CLK
t
r
t
CLK
Figure 1
t
CS
WR, RD
Clock
50%
FIR ST
Clock
50%
CS
t
LAST
Clock
h1
t
su1
V
GND
V
GND
Figure 3
Functional Description
System oscillator
The HT1647 system clock is used to generate
the time base/Watchdog Timer (WDT) clock fre
quency, LCD driving clock, and tone frequency.
The source of the clock may be from an on-chip
RC oscillator (32kHz), a crystal oscillator
(32.768kHz), or an external 32kHz clock by the
S/W setting. The configuration of the system oscillator is as shown. After the SYS DIS command is executed, the system clock will stop
and the LCD bias generator will turn off. That
command is, however, available only for the
on-chip RC oscillator or for the crystal oscillator. Once the system clock stops, the LCD display will become blank, and the time base/WDT
loses its function as well.
VALID DATA
50%
t
su
50%
t
h
V
DD
GND
W R , R D
Clock
DB
Figure 2
DD
DD
The LCD OFF command is used to turn the
LCD bias generator off. After the LCD bias gen
-
erator switches off by issuing the LCD OFF
command, using the SYS DIS command re
duces power consumption, serving as a system
power down command. But if the external clock
source is chosen as the system clock, using the
SYS DIS command can neither turn the oscillator off nor carry out the power down mode. The
crystal oscillator option can be applied to connect an external frequency source of 32kHz to
the OSCI pin. In this case, the system fails to
enter the power down mode, similar to the case
in the external 32kHz clock source operation.
At the initial system power on, the HT1647 is at
the SYS DIS state.
V
DD
GND
GND
-
-
OSCI
OSCO
C rystal O scillator
32768H z
E xte rna l C lo ck S ource
32kHz
O n-chip R C O scillator
32kHz
System oscillator configuration
9April 21, 2000
S yste m
Clock
HT1647
Display memory - RAM structure
The static display RAM is organized into 512´4
bits and stores the display data. Two bits of
RAM map to Lad¢s one pixel and decide
whether 4-level gray scale or 4-color display
COM 14COM 15
SEG 0
SEG 1
SEG 2
SEG 3
SEG 63
D0D1D2D3
7
15
23
31
511
Addr
Data
Data 4 Bits
(D 3, D 2, D 1, D 0)
: Tw o bits of R AM m ap to LC D 's one pixel and decide 4-level gray scale
or 4-color display concurrently.
concurrently. The contents of the RAM are di
rectly 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.
COM 0COM 1
0
8
16
Address 9 B its
24
(A 8 , A 7 , ...., A 0 )
504
D0
Addr
Data
D1D2D3
-
Display memory - RAM structure
Gray scale level decision
HT1647 uses PWM technique to provide 4-level
gray scale display. Two bits of RAM data code
((D3, D2) or (D1, D0)) decide one pixel level of
LCDs, level 1~level 4 dividedly. Every level
must be defined as one kind of gray scale by PWM
data (namely B4~B0) previously.
RAM data code
(D3, D2) or (D1, D0)
Choice Gray Scale
Level
(1, 1)Level 1
(1, 0)Level 2
(0, 1)Level 3
(0, 0)Level 4
RAM data defined gray scale level
Frame frequency
HT1647 provides two kinds frame frequency option by command code, 89Hz and 170Hz respectively. FRAME 89Hz provides 89Hz frame
frequency and active segment signal width can be
divided into 24 sections concurrently. FRAME
170Hz provides 170Hz frame frequency and ac
tive segment signal width can be divided into 13
sections concurrently. The 24 sections display a
particularly gray scale more than the 13 sections
by PWM data. The default is FRAME 89Hz.
Gray scale display
If the user choose 89Hz frame frequency, a max.
of 24 sections can be programmed to suit a sat
isfactory gray scale in every level. Similarly, if
the user choose 170Hz frame frequency, a max.
of 13 sections can be programmed to suit a satis
10April 21, 2000
-
-
-
NameCommand CodeFunction
FRAME 170Hz
FRAME 89Hz
X100-0001-1000-XXXX
X100-0001-1101-XXXX
Frame frequency selection command code
Select 170Hz frame frequency and active segment
signal width can be divided into 13 sections
Select 89Hz frame frequency and active segment sig
nal width can be divided into 24 sections
HT1647
-
factory gray scale in every level. HT1647 provides
5-bit PWM data to control the length of the sec
tion. In other words, a max. 24 gray scales are gen
erated by 5-bit binary PWM data. At FRAME
89Hz mode, the HT1647 only provides a max. of
24 adjustable gray scales although 32 is the ex
pressed max. value by 5 bits binary code. When 5
bits binary code value is more than 23, the PWM
control circuit uniformly regards 23. To increase
PWM data indicates to increase the length of the
active segment signal. The varied length of the ac
tive segment signal displays varied gray scale in
NameCommand CodeFunction
GRS LEVEL 1
GRS LEVEL 2
GRS LEVEL 3
GRS LEVEL 4
X100-001 B4-B3 B2 B1 B0-XXXX
X100-010 B4-B3 B2 B1 B0-XXXX
X100-011 B4-B3 B2 B1 B0-XXXX
X100-100 B4-B3 B2 B1 B0-XXXX
Four kinds of gray scale level command code
TN-type, STN-type LCDs (refer to table 1). Simi
larly, it displays varied color in ECB-type LCDs.
The color display is derived from ECB-type LCD
specification. At FRAME 170Hz mode, the
HT1647 only provides a max. of 13 adjustable
gray scales although 32 is the expressed max.
value by 5 bits binary code. When the 5 bits bi
nary code value is more than 12, the PWM con
trol circuit uniformly regards 12. The user must
appoint four kinds of PWM data to four kinds of
different gray scale level by commanding PWM
data (refer to table 2).
Set PWM data in gray scale level 1
Set PWM data in gray scale level 2
Set PWM data in gray scale level 3
Set PWM data in gray scale level 4
-
-
-
11April 21, 2000
HT1647
COM
V
LC D
V1
V2
V3
V4
V
SS
1612
1612
W
W'
SEG
V
LC D
V1
V2
V3
V4
V
SS
W'
W
ON
COM ~SEG
3/5V
1/5V
-1 /5 V
-3 /5 V
V
LC D
LC D
LC D
LC D
LC D
-V
LC D
ONOFF
1 fram e
N ote: "W '" R eal active segm ent signal w idth (adjustable w idth by P W M data)
"W " M a x . a c tiv e s e g m e n t s ig n a l w id th
<
P W M (O N w id th ): W '/W , 0 W '/W 1 ( re fe r to ta b le 1 & tabel 2)
<
Example of waveform (B type) in 1/5 bias, 1/16 duty cycle drive
12April 21, 2000
HT1647
Time base and Watchdog Timer - WDT
The time base generator and WDT share the
same divided (/256) counter. The IRQ
clock can be
programmed as 1Hz, 2Hz, ...., 128Hz output.
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
Tim e Base
C lock S o urce
/256
CLR Tim er
pin will
WDT
/4
CLR W DT
remain at a logic low level until the CLR WDT
or the IRQ
DIS command is issued.
If an external clock is selected as the system
frequency source, the SYS DIS command turns
out invalid and the power down mode fails to be
carried out until the external clock source is re
moved.
TIM ER E N /D IS
W D T E N /D IS
V
DD
Q
D
CK
R
IR Q E N /D IS
Time base and WDT configurations
Buzzer tone output
A simple tone generator is implemented in the
HT1647. The tone generator can output a pair
of differential driving signals on the BZ and BZ
which are used to generate a single tone.
By executing the TONE 4K and TONE 2K commands there are two tone frequency outputs
selectable and turn on tone output. The TONE
4K and TONE 2K commands set the tone fre
quency to 4kHz and 2kHz, respectively. The
tone output can be turned off by invoking the
TONE OFF command. The tone outputs,
namely BZ and BZ
driving outputs used to drive a piezo buzzer.
Once the system is disabled or the tone output
is inhibited, the BZ and the BZ
main at low level.
NameCommand CodeFunction
TONE OFF
TONE 4K
TONE 2K
X100-0000-1000-XXXX
X100-0001-0000-XXXX
X100-0001-0001-XXXX
Turn-off tone output
Turn-on tone output, tone frequency is 4kHz
Turn-on tone output, tone frequency is 2kHz
-
IR Q
-
, are a pair of differential
outputs will re-
Buzzer tone output command code
Command format
The HT1647 can be configured by software set
ting. There are two mode commands to config
ure the HT1647 resource and to transfer the
LCD display data.
The configuration mode of the HT1647 is called
command mode, and its command mode ID is
100. The command mode consists of a system
configuration command, a system frequency se
lection command, an LCD configuration com
mand, a tone frequency selection command, a
bias current selection command, a gray scale
level selection command, a timer/WDT setting
command, and an operating command. The
data mode, on the other hand, includes READ,
WRITE, and READ-MODIFY-WRITE opera
tions.
13April 21, 2000
-
-
-
HT1647
The following are the data mode ID and the
command mode ID:
OperationModeID
READData110
WRITEData101
READ-MODIFY-WRITEData101
COMMANDCommand100
If successive commands have been issued, the
command mode ID can be omitted. While the
system is operating in the non-successive com
mand or the non-successive address data mode,
pin should be set to ²1² and the previous
the CS
operation mode will also be reset. The CS
pin
returns to ²0², so a new operation mode ID
should be issued first.
Bias generator
The HT1647 bias voltage belong to internal re
sistor type. It provides two kinds of bias option
named 1/5 bias and 1/4 bias respectively. It is
recommeaded to select 1/5 bias to fit TN-type,
STN-type LCDs and select 1/4 bias to fit
ECB-type LCDs. It also provides three kinds of
bias current option by programming to suitably
drive LCD panel. The three kinds of bias cur
rent are large, middle, and small, respectively.
Usually, large panel LCD can be excellently dis
played by large bias current. Relatively, it con
sumes large current when LCD ON command is
used. Small bias current provides low power
consumption during on condition when the
LCD is normally displayed. The following are
the reference value table.
VLCDBiasLarge bias currentMiddle bias currentSmall bias current
4V1/5
4V1/4
300mA100mA40mA
375mA125mA50mA
VDD
VLCD
V1
V2
V3
V4
VSS
1/5 bias
*
VR
R
R
*
R
V
LC D
R
R
VDD
VLCD
V1
V2
V3
V4
VSS
1/4 bias
*
VR
R
R
*
R
V
LC D
R
R
-
-
-
-
* The voltage applied to V
p in m u s t b e lo w e r th a n V
LC D
DD
* A d ju s t V R to fit L C D d is p la y , a t V DD= 5 V , V LC D= 4 V , V R = 1 5 kW 2 0 %
Internal resistor type bias generator configurations
14April 21, 2000
HT1647
Interfacing
Only six lines are required to interface with the
HT1647. The CS
line is used to initialize the se
rial interface circuit and to terminate the commu
nication between the host controller and the
HT1647. If the CS
pin is set to 1, the data and
command issued between the host controller and
the HT1647 are first disabled and then initial
ized. Before issuing a mode command or mode
switching, a high level pulse is required to initial
ize the serial interface of the HT1647. The
DB0~DB3 are the 4-bit parallel data input/out
put lines. Data to be read or written or commands
to be written have to pass through the DB0~DB3
lines. The RD
line is the READ clock input. Data
Relationship table between PWM data and
gray scale
N ote: The varied PW M data display varied
g ra y s c a le in T N -ty p e , S T N -ty p e L C D s .
T h e c o lo r d is p la y d e riv e s fro m E C B -ty p e
L C D 's s p e c ific a tio n .
G ray Scale
sig
-
-
1
31
1
1 (31/23)
15April 21, 2000
Timing Diagrams
READ mode (command ID code:110)
CS
WR
RD
HT1647
DB3
DB2
DB1
DB0
A8 A7A3D3
A6 A2 D 2
1
A5A1D1
1
A4 A0 D0
0
C om m and ID code
(S ingle address reading)(S uccessive address reading)
(S in gle add ress acce ssin g)(S ucce ssive a dd ress acce ssing )
D3
D3
D2
D1
D0
Data (M A)
Memory
Address (M A )
Data (M A)
A7 A3
D3A8D3 D3 D3 D3 D3 D3 D3 D3 D3 D3 D3 D3 D3
A6 A2 D 21D2 D2 D2 D2 D2 D2 D2 D2 D2 D2 D2 D2 D2
A5 A1 D10D1 D1 D1 D1 D1 D1 D1 D1 D1 D1 D1 D1 D1
A4 A0 D01D0 D0 D0 D0 D0 D0 D0 D0 D0 D0 D0 D0 D0
Data (M A)
Memory
Address (M A )
C om m and ID code
Data (M A+1)
Data (M A)
Data (M A+2)
Data (M A+1)
Data (M A+3)
Data (M A+2)
Data (M A+3)
Data (M A+4)
Data (M A+5)
Data (M A+4)
Data (M A+6)
Data (M A+6)
Data (M A+5)
18April 21, 2000
Command mode (command ID code:100)
CS
WR
RD
HT1647
DB3
DB2
DB1
DB0
XC8C4C0
1C7C3X
0C6C2X
0
C5 C1 X
C om m and ID code
C om m and
(S ingle com m and)
Note: ²X² stands for don¢t care
C8 C4 C0 C8XC4C0C8C4C0C8C4C0C8C4C0C8C4C0
1
C7 C3 X
0
C6 C2 X C6 C2 X
C5 C1 X C5 C1 X
0
C om m and ID code
C om m and 1
C7 C3 X
C7 C3 X C7 C3 X C7 C3 X C7 C3
C6 C2 X C6 C2 X C6 C2 X C6 C2
C5 C1 X C5 C1 X C5 C1 X C5 C1
C om m and 2
(S uccessive com m and)
C om m and 3
C om m and 4
C om m and 5
X
X
X
C om m and 6
19April 21, 2000
Application Circuits
Host controller with an HT1647 display system
*
m
C
*
R
C lock O ut
External C lock 1 (32kHz)
External C lock 2 (32kHz)
O n-chip O SC
C rysta l
32768H z
CS
RD
WR
DB0~DB3
IR Q
OSCI
OSCO
C O M 0 ~ C O M 1 5S E G 0 ~ S E G 6 3
*1/5 B ias (or 1/4 B ias), 1/16 D uty
H T1647
LCD Panel
VDD
VLCD
BZ
BZ
HT1647
*
VR
Piezo
*Note:
The connection of IRQ
The voltage applied to V
Adjust VR to fit LCD display, at V
and RD pin can be selected depending on the mC.
pin must be lower than VDD.
LCD
=5V, V
DD
=4V, VR=15kW±20%.
LCD
It is recommended toselect 1/5 bias to fitTN-type, STN-type LCDs and select 1/4 bias to fitm
ECB-type LCDs.
Adjust R (external pull high resistance) to fit user¢s time base clock.
20April 21, 2000
HT1647
Instruction Set Summary
NameCommand CodeD/CFunctionDef.
READ
WRITE
READMODIFYWRITE
SYS DIS
SYS EN
LCD OFF
LCD ON
TIMER DIS
WDT DIS
TIMER EN
WDT EN
TONE OFF
CLR
TIMER
CLR WDT
TONE 4K
TONE 2K
IRQ DIS
IRQ EN
RC 32K
EXT
(XTAL)
LARGE
BIAS
MIDDLE
BIAS
A8110-A7A6A5A4A3A2A1A0D3D2D1D0
A8101-A7A6A5A4A3A2A1A0D3D2D1D0
A8101-A7A6A5A4A3A2A1A0D3D2D1D0
X100-0000-0000-XXXX
X100-0000-0001-XXXX
X100-0000-0010-XXXX
X100-0000-0011-XXXX
X100-0000-0100-XXXX
X100-0000-0101-XXXX
X100-0000-0110-XXXX
X100-0000-0111-XXXX
X100-0000-1000-XXXX
X100-0000-1101-XXXX
X100-0000-1111-XXXX
X100-0001-0000-XXXX
X100-0001-0001-XXXX
X100-0001-0010-XXXX
X100-0001-0011-XXXX
X100-0001-0100-XXXX
X100-0001-0101-XXXX
X100-0001-0110-XXXX
X100-0001-0111-XXXX
D Read data from the RAM
D Write data to the RAM
D Read and Write data to the RAM
Turn Off both system oscillator
C
and LCD bias generator
C Turn On system oscillator
C Turn Off LCD displayYes
C Turn On LCD display
C Disable time base outputYes
C Disable WDT time-out flag output Yes
C Enable time base output
C Enable WDT time-out flag output
C Turn Off tone outputsYes
Clear the contents of the time base
C
generator
Clear the contents of the WDT
C
stage
Turn on tone output, tone
C
frequency output: 4kHz
Turn on tone output, tone
C
frequency output: 2kHz
C Disable IRQ
C Enable IRQ
System clock source, on-chip RC
C
oscillator
System clock source, external
C
32kHz clock source or crystal
oscillator 32.768kHz
C Large bias current optionYes
C Middle bias current option
outputYes
output
Yes
Yes
21April 21, 2000
HT1647
NameCommand CodeD/CFunctionDef.
SMALL
BIAS
BIAS 1/5
BIAS 1/4
FRAME
170Hz
FRAME
89Hz
GRS
LEVEL1
GRS
LEVEL2
GRS
LEVEL3
GRS
LEVEL4
F1
F2
F4
F8
F16
F32
F64
F128
TEST
NORMAL
X100-0001-1000-XXXX
X100-0001-1001-XXXX
X100-0001-1010-XXXX
X100-0001-1100-XXXX
X100-0001-1101-XXXX
X100-001 B4-B3 B2 B1 B0-XXXX
X100-010 B4-B3 B2 B1 B0-XXXX
X100-011 B4-B3 B2 B1 B0-XXXX
X100-100 B4-B3 B2 B1 B0-XXXX
X100-1010-0000-XXXX
X100-1010-0001-XXXX
X100-1010-0010-XXXX
X100-1010-0011-XXXX
X100-1010-0100-XXXX
X100-1010-0101-XXXX
X100-1010-0110-XXXX
X100-1010-0111-XXXX
X100-1111-1111-XXXX
X100-1111-1110-XXXX
C Small bias current option
C LCD 1/5 bias optionYes
C LCD 1/4 bias option
Select 170Hz frame frequency
C
and active segment signal width
can be divided 13 sections
Select 89Hz frame frequency
C
and active segment signal width
can be divided 24 sections
C Set PWM data in gray scale level 1
C Set PWM data in gray scale level 2
C Set PWM data in gray scale level 3
C Set PWM data in gray scale level 4
Time base clock output: 1Hz
C
The WDT time-out flag after: 4s
Time base clock output: 2Hz
C
The WDT time-out flag after: 2s
Time base clock output: 4Hz
C
The WDT time-out flag after: 1s
Time base clock output: 8Hz
C
The WDT time-out flag after: 1/2 s
Time base clock output: 16Hz
C
The WDT time-out flag after: 1/4 s
Time base clock output: 32Hz
C
The WDT time-out flag after: 1/8 s
Time base clock output: 64Hz
C
The WDT time-out flag after: 1/16 s
Time base clock output: 128Hz
C
The WDT time-out flag after: 1/32 s
C
Test mode, user don¢t use.
C Normal modeYes
Yes
Yes
22April 21, 2000
Note:
²X² stands for don¢t care
A8~A0 : RAM address
D3~D0 : RAM data
B4~B0 : PWM data
D/C : Data/Command mode
Def. : Power-on reset default
All the bold forms, namely 110, 101, and 100, are mode commands. Of these, 100indicates
the command mode ID. If successive commands have been issued, the command mode ID ex
cept for the first command will be omitted. The source of the tone frequency and of the time
base/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 sys
tem frequency sources as stated above. It is recommended that the host controller should ini
tialize the HT1647 after power-on reset, for power on reset may fail, which in turn leads to the
malfunctioning of the HT1647.
HT1647
-
-
-
23April 21, 2000
HT1647
Holtek Semiconductor Inc. (Headquarters)
No.3 Creation Rd. II, Science-based Industrial Park, Hsinchu, Taiwan, R.O.C.
Tel: 886-3-563-1999
Fax: 886-3-563-1189
Holtek Semiconductor Inc. (Taipei Office)
5F, No.576, Sec.7 Chung Hsiao E. Rd., Taipei, Taiwan, R.O.C.
Tel: 886-2-2782-9635
Fax: 886-2-2782-9636
Fax: 886-2-2782-7128 (International sales hotline)
Holtek Semiconductor (Hong Kong) Ltd.
RM.711, Tower 2, Cheung Sha Wan Plaza, 833 Cheung Sha Wan Rd., Kowloon, Hong Kong
Tel: 852-2-745-8288
Fax: 852-2-742-8657
Copyright ã 2000 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 thespecifications 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 pres
ent a risk to human life due to malfunction or otherwise. 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.
24April 21, 2000
-
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.