64 segments
Built-in internal resistor type bias generator
·
3-wire serial interface
·
8 kinds of time base/WDT selection
·
Time base or WDT overflow output
·
Built-in LCD display RAM
·
General Description
HT16270 is a peripheral device specially de
signed for I/O type mC used to expand the dis
play capability. The max. display segment of
the device are 1024 patterns (64´16). It also
supports serial interface, buzzer sound, watch
dog timer or time base timer functions. The
HT16270 is a memory mapping and
multi-function LCD controller. The software
HT16270
R/W address auto increment
·
Two selectable buzzer frequencies
·
(2kHz/4kHz)
Power down command reduces power
·
consumption
Software configuration feature
·
Data mode and Command mode instructions
·
Three data accessing modes
·
VLCD pin to adjust LCD operating voltage
·
configuration feature of the HT16270 make it
suitable for multiple LCD applications includ
ing LCD modules and display subsystems. Only
three lines are required for the interface be
tween the host controller and the HT16270.
The HT162X series have many kinds of prod
ucts that match various applications.
1DATAI/O Serial data input/output with pull-high resistor
2VSS
3OSCIICrystal oscillator input pin
4OSCOOCrystal oscillato output pin
5VDD
6VLCDILCD operating voltage input pad.
7IRQ
8, 9BZ, BZ
10~13T1~T4INot connected
14~29COM0~COM15OLCD common outputs
30~93SEG0~SEG63OLCD segment outputs
94CS
95RD
96WR
Negative power supply, ground
¾
Positive power supply
¾
Time base or watchdog timer overflow flag, NMOS open drain
O
output
2kHz or 4kHz tone frequency output pair (Tristate output
O
buffer)
Chip selection input with pull-high resistor. When the CS
logic high, the data and command read from or write to the
HT16270 are disabled. The serial interface circuit is also reset.
I
But if the CS
data and command transmission between the host controller
and the HT16270 are all enabled.
READ clock input with pull-high resistor. Data in the RAM of
the HT16270 are clocked out on the rising edge of the RD
nal. The clocked out data will appear on the data line. The host
I
controller 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 HT16270 on the rising edge of the WR
signal.
is at logic low level and is input to the CS pad, the
HT16270
is
sig-
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
5April 21, 2000
-
-
Page 6
HT16270
D.C. Characteristics
SymbolParameter
V
I
I
I
V
V
I
I
I
I
I
I
I
I
R
DD
DD1
DD2
STB
IL
IH
OL1
OH1
OL2
OH2
OL3
OH3
OL4
OH4
PH
Operating Voltage
Operating Current
Operating Current
Standby Current
Input Low Voltage
Input High Voltage
BZ, BZ, IRQ
BZ, BZ
DATA
DATA
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
Crystal oscillator
5V
3V
No load/LCD OFF
Crystal oscillator
5V
3V
No load
Power down mode
5V
3V
DATA, WR,CS,RD
5V0
3V
DATA, WR,CS,RD
5V4.0
V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
3V
5V
=0.3V
OL
V
=0.5V
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
3V
Min. Typ. Max. Unit
2.7
¾
3075
¾
50125
¾
0
525
1045
214
428
¾
¾
¾
¾
¾
¾
2.4
¾
¾
0.91.8
1.73
-0.9-1.8¾
-1.7-3¾
0.91.8
1.73
-0.9-1.8¾
-1.7-3¾
80160
180360
-40-80¾mA
-90-180¾mA
50100
120240
-30-60¾mA
-70-140¾mA
100200300
DATA, WR,CS,RD
5V50100150
Ta=25°C
5.2V
mA
mA
mA
mA
mA
mA
0.6V
1.0V
3V
5V
mA
¾
mA
¾
mA
mA
mA
¾
mA
¾
mA
mA
¾mA
¾mA
¾mA
¾mA
kW
kW
6April 21, 2000
Page 7
HT16270
A.C. Characteristics
SymbolParameter
f
SYS
f
LCD
t
COM
f
CLK1
f
CLK2
t
CS
t
CLK
t
r,tf
t
su
t
h
t
su1
t
h1
System Clock
LCD Frame Frequency
LCD Common Period
Serial Data Clock (WR Pin)
Serial Data Clock (RD Pin)
Serial Interface Reset Pulse
Width(Figure 3)
WR,RDInput Pulse Width
Rise/Fall Time Serial Data Clock
Width(Figure 1)
Setup Time for DATA to WR,RD
Clock Width(Figure 2)
Hold Time for DATA 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)
Test Conditions
V
DD
Conditions
3V
Crystal oscillator
5V
3V
Crystal oscillator
5V
n: Number of COM
¾
3V
Duty cycle 50%
5V
3V
Duty cycle 50%
5V
CS
¾
Write mode3.34
3V
Read mode6.67
Write mode1.67
5V
Read mode3.34
3V
¾¾
5V
3V
¾¾
5V
3V
¾¾
5V
3V
¾¾
5V
3V
¾¾
5V
Ta=25°C
Min.Typ. Max. Unit
32
¾
32
¾
64
¾
64
¾
n/f
¾
LCD
¾¾
¾¾
¾¾
¾¾
250
¾
kHz
¾
kHz
¾
Hz
¾
Hz
¾
sec
¾
150kHz
300kHz
75kHz
150kHz
ns
¾
¾¾
ms
¾¾
¾¾
ms
¾¾
120
120
120
100
100
¾
¾
¾
¾
¾
ns
ns
ns
ns
ns
7April 21, 2000
Page 8
HT16270
W R , R D
Clock
90%
50%
10%
t
f
t
CLK
t
r
t
CLK
-
V
GND
Figure 1
t
CS
WR, RD
Clock
50%
FIR ST
t
su1
50%
Clock
LAST
Clock
CS
t
h1
V
-
GND
V
-
GND
Figure 3
Functional Description
Display memory - RAM structure
The static display RAM is organized into 256´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
accessedbytheREAD,WRITEand
READ-MODIFY-WRITE commands. The following is a mapping from the RAM to the LCD
patterns.
COM 12COM 13COM 14COM 15
VALID DATA
DD
DB
WR, RD
Clock
50%
50%
t
h
t
su
Figure 2
DD
DD
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.
COM 0COM 1COM 2COM 3
-
V
DD
GND
V
DD
GND
SEG 0
SEG 1
SEG 2
SEG 3
SEG 63
D3D2D1D0
3
7
11
15
255
Addr
Data
Data 4 Bits
(D 3 , D 2 , D 1 , D 0 )
RAM mapping
8April 21, 2000
D3D2D1D0
0
4
8
12
252
Addr
Data
Address 8 B its
(A 7 , A 6 , ...., A 0 )
Page 9
HT16270
Tim e Base
V
DD
/4
CLR W DT
TIM ER EN /D IS
WDT EN/DIS
Q
D
CK
R
IR Q E N /D IS
C lock S ource
/256
CLR Timer
WDT
Timer and WDT configurations
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 re
moved.
Buzzer tone output
A simple tone generator is implemented in the
HT16270. The tone generator can output a pair
of differential driving signals on the BZ and BZ
which are used to generate a single tone.
The following are the data mode ID and the
command mode ID:
-
OperationModeID
READData1 1 0
WRITEData1 0 1
READ-MODIFY-WRITEData1 0 1
COMMANDCommand 1 0 0
If successive commands have been issued, the
command mode ID can be omitted. While the
Command format
The HT16270 can be configured by the software
setting. There are two mode commands to configure the HT16270 resource and to transfer
the LCD display data.
system is operating in the non-successive command or the non-successive address data mode,
pin should be set to ²1² and the previous
the CS
operation mode will be reset also. The CS
returns to ²0², a new operation mode ID should
be issued first.
NameCommand CodeFunction
TONE OFF0000-1000-XTurn-off tone output
TONE 4K010X-XXXX-XTurn-on tone output, tone frequency is 4kHz
TONE 2K0110-XXXX-XTurn-on tone output, tone frequency is 2kHz
and RD pin can be selected depending on the requirement of the mC.
pin must be lower than VDD.
LCD
DD
=5V, V
=4V, VR=15kW±20%.
LCD
Adjust R (external pull-high resistance) to fit user¢s time base clock.
*
VR
Piezo
C rystal 32768H z oscillator
14April 21, 2000
Page 15
HT16270
Command Summary
NameIDCommand 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
DIS
IRQ
EN
IRQ
F1
F2
F4
F8
F16
A7A6A5A4A3A2A1A0D0D1D2D3DRead data from the RAM
110
A7A6A5A4A3A2A1A0 D0D1D2D3DWrite data to the RAM
101
A7A6A5A4A3A2A1A0 D0D1D2D3DRead and Write data to the RAM
101
0000-0000-XC
100
0000-0001-XCTurn on system oscillator
100
0000-0010-XCTurn off LCD displayYes
100
0000-0011-XCTurn on LCD display
100
0000-0100-XCDisable time base outputYes
100
0000-0101-XCDisable WDT time-out flag output Yes
100
0000-0110-XCEnable time base output
100
0000-0111-XCEnable WDT time-out flag output
100
0000-1000-XCTurn off tone outputsYes
100
0000-1101-XC
100
0000-1111-XCClear the contents of the WDT stage
100
010X-XXXX-XCTone frequency output: 4kHz
100
0110-XXXX-XCTone frequency output: 2kHz
100
100X-0XXX-XCDisable IRQ outputYes
100
100X-1XXX-XCEnable IRQ output
100
101X-0000-XC
100
101X-0001-XC
100
101X-0010-XC
100
101X-0011-XC
100
101X-0100-XC
100
Turn off both system oscillator
and LCD bias generator
Clear the contents of the time base
generator
Time base clock output: 1Hz
The WDT time-out flag after: 4s
Time base clock output: 2Hz
The WDT time-out flag after: 2s
Time base clock output: 4Hz
The WDT time-out flag after: 1s
Time base clock output: 8Hz
The WDT time-out flag after: 1/2 s
Time base clock output: 16Hz
The WDT time-out flag after: 1/4 s
Yes
15April 21, 2000
Page 16
HT16270
NameIDCommand CodeD/CFunctionDef.
F32
F64
F128
TEST
NORMAL
Note:
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 110, 101, and 100, are mode commands. Of these, 100indicates 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/WDT clock fre
quency can be derived from 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 HT16270 after power on reset, for power on reset may fail, which
in turn leads to malfunctioning of the HT16270.
101X-0101-XC
100
101X-0110-XC
100
101X-0111-XC
100
1110-0000-XC
100
1110-0011-XCNormal modeYes
100
Time base clock output: 32Hz
The WDT time-out flag after: 1/8 s
Time base clock output: 64Hz
The WDT time-out flag after: 1/16 s
Time base clock output: 128Hz
The WDT time-out flag after: 1/32 s
Test mode, user don¢t use.
Yes
-
16April 21, 2000
Page 17
HT16270
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 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 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.
17April 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.