HOLTEK HT82M398A_06

HT82M398A
5-Key 3D WIN2000 PS/2 Mouse Controller
Features
· Operating Voltage: 4.75V~5.25V
· Supports three buttons and three axes (X, Y, Z)
inputs
· Compatible with Microsoft Windows 2000 and
· Z axis can support two kinds of scroller input
5-button Wheel Mouse
(optomechanical and mechanical)
· Compatible with Microsoft Intelli 3D PS/2 and IBM
· 2MHz RC oscillator for system frequency with
PS/2 mouse
external pull-high resistor
· Supports rolling buttons in PS/2 mouse mode
· 16-pin DIP package
· X/Y axis photo input with built-in Holtek¢s special
dynamic photo-input resistor
General Description
The HT82M398A is a Plug and Play WIN2000 and
5-button 3D PS/2 mouse controller. It is also compatible
with Microsoft Intelli 3D PS/2 and IBM PS/2 mouse. The
Z axis can support two kinds of scroller input, namely;
mechanical and optomechanical.
Pin Assignment
Z 1
1
1 6
Y 2
Z 2
2
1 5
Y 1
V D D
3
1 4
X 2
B 5
4
1 3
X 1
V S S
5
1 2
B 4
O S C I
6
1 1
L B
C L K
7
1 0
R 0
D A T A
8
9
R B
H T 8 2 M 3 9 8 A
1 6 D IP -A
Pin Description
Pin No.
Pin Name
1, 2
Z1, Z2
3
VDD
I/O
Description
I
Z, axis input supports two kinds of scroller input, namely; optomechanical and mechanical.
¾
I
Positive power supply
4
B5
5
VSS
¾
6
OSCI
I
2MHz RC oscillator for system frequency with external pull-high resistor and built-in
Capacitor.
7
CLK
I/O
CLK I/O, PS/2 mouse CLK line. NMOS open drain output with 5kW pull-high resistor.
8
DATA
I/O
DATA I/O, PS/2 mouse DATA line. NMOS open drain output with 5kW pull-high resistor.
Button 5, normal pull-low (50kW), Press connect to high.
Negative power supply
9~11
RB, RO, LB
I
Right Button: Normal pull-low (50kW),
Pressing the button connects to high.
Rolling Button: Normal pull-low (50kW),
Pressing the button connects to high.
Left Button: Normal pull-low (50kW),
Pressing the button connects to high.
12
B4
I
Button 4, normal pull-low (50kW), Press connect to high.
13~16
X1, X2, Y1, Y2
I
X/Y axis photo input with built-in Holtek¢s special dynamic photo input resistor
Rev. 1.40
1
October 12, 2006
HT82M398A
Absolute Maximum Ratings
Supply Voltage .........................................-0.3V to 6.5V
Storage Temperature ............................-50°C to 125°C
Input Voltage..............................VSS-0.3V to VDD+0.3V
Operating Temperature...........................-25°C to 70°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.
Electrical Characteristics
Symbol
Ta=25°C
Parameter
Test Conditions
VDD
Conditions
¾
Min.
Typ.
Max.
Unit
4.75
5.0
5.25
V
VDD
Operating Voltage
¾
IOP
Operating Current
5V
ROSC=130kW
¾
¾
15
mA
fOSC
RC Oscillator
5V
ROSC=130kW
1.6
2
2.4
MHz
VIL1
Input Low Voltage (Z1, Z2)
5V
¾
0
¾
1.5
V
VIH1
Input High Voltage (Z1, Z2)
5V
¾
2.2
¾
5
V
VIL2
Input Low Voltage (CLK, DATA)
5V
¾
0
¾
0.8
V
VIH2
Input High Voltage (CLK, DATA)
5V
¾
2.0
¾
5.0
V
RPH2
Pull-high Resistor (CLK, DATA)
5V
VIL=0V
2
5
10
kW
Isink
Sink Current (CLK, DATA)
5V
VOH=0.4V
4
¾
¾
mA
VIL3
Input Low Voltage (RB, Ro, LB)
5V
¾
0
¾
1.0
V
VIH3
Input High Voltage (RB, Ro, LB)
5V
¾
1.8
¾
5
V
RPL3
Pull-low Resistor (RB, Ro, LB)
5V
3.0
60
125
kW
VIL4
Input Low Voltage (X1,X2,Y1,Y2)
5V
¾
0
¾
1.5
V
VIH4
Input High Voltage (X1, X2, Y1, Y2)
5V
¾
2.2
¾
5
V
RPL5
Dynamic Photo-resistor
(X1, X2, Y1, Y2, Z1, Z2)
5V
¾
VIL=0V
See Dynamic resistor characteristics
Dynamic resistor characteristics
· R-V curve
Photo_R: R-V
R
V
Rev. 1.40
2
October 12, 2006
HT82M398A
Functional Description
PS/2 mouse
The x/y data report is 9-bit 2¢s complement
· PS/2 status byte
The z data report is 8-bit 2¢s complement
Byte 1
bit
7: Reserved
6: 0=Stream Mode, 1=Remote Mode
5: 0=Disabled, 1=Enabled
4: 0=Scaling 1:1, 1=Scaling 2:1
3: 1=Wrap Mode, 0=Stream or Remote
(different from IBM specs.)
2: 1=Left Button Pressed
1: 1=Middle Button Pressed
0: 1=Right Button Pressed
Byte 2
Bit 0~7 current resolution setting
(Bit 0=LSB)
Byte 3
Bit 0~7 current sampling rate (Bit 0=LSB)
· Data format for 5-button Wheel Mouse
Bit No.
6
5
5
4
3
2
1
0
1st word
0
0
YS
XS
1
M
R
L
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
4th word
0
0
B5
B4
Z3
Z2
Z1
Z0
Y upward movement is positive, moving down is negative
Z rolling towards the user is positive, else negative
Button status: 1=pressed, 0=released
· 5-button Wheel Mouse Mode follows the 5-button Ac-
tivation Method of Windows 2000 and the 5-button
Wheel Mouse Specification.
Variable rps, 0, 8, 1, bidirectional, synchronous
7
6
X movement towards the right is positive, moving towards the left is negative
· Standard PS/2 data format
Bit No.
7
4
3
2
1
0
1
M
R
L
1st word
YV XV YS XS
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
¨
Any time the PC sends a reset ²FFH² command to
the mouse, it will reset the mouse to Standard PS/2
mode.
¨
After power-on reset is initiated, the mouse is set to
Standard PS/2 mode.
· Data format for 3D PS/2
Variable rps, 0, 8, 1, bidirectional, synchronous
Bit No.
7
6
5
4
3
2
1
0
1st word
0
0
YS
XS
1
M
R
L
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
4th word
Z7
Z6
Z5
Z4
Z3
Z2
Z1
Z0
Timing Diagrams
X, Y Axis Photo-coupler Cross Width
X 1 (Y 1 ) (Z 1 )
X 2 (Y 2 ) (Z 2 )
tp
tr
tf
N o te : F o r X , Y - a x is tr, tp , tf > 3 0 m s
F o r Z - a x is tr, tp , tf > 1 m s
Rev. 1.40
3
October 12, 2006
HT82M398A
X/Y/Z Axis Counting
X 1
X 2
+ 1
+ 1
+ 1
-1
+ 1
-1
-1
-1
Z 1
Z 2
+ 1
+ 1
-1
-1
PS/2 Mouse
· Data output
(1 )
(3 )
(3 )
1 s t
C L K
C L K
T 3
D A T A
(3 )
(3 )
1 0 th
C L K
(4 )
1 1 th
C L K
T 6
(5 )
T 5
T 4
(7 )
T 2
T 1
(2 )
2 n d
C L K
S ta r t B it
B it 0
P a r ity B it
S to p B it
(6 )
M in ./M a x .
T im in g P a r a m e te r
T 1
D A T A tr a n s itio n to th e fa llin g e d g e o f C L K
T 2
R is in g e d g e o f C L K to D A T A tr a n s itio n
T 3
In a c tiv e C L K D u r a tio n
T 4
A c tiv e C L K D u r a tio n
M in im u m tim e to in h ib it M O U S E a fte r c lo c k 1 1
T 5
T 6
M a x im u m tim e to in h ib it M O U S E a fte r c lo c k 1 1 to e n s u r e
M O U S E d o e s n o t s ta r t a n o th e r tr a n s m is s io n
· Data input
(1 )
(2 )
I/O
In h ib it
C L K
(4 ) 1 s t
C L K
2 n d
C L K
T 7
1 0 th
C L K
9 th
C L K
(8 )
T 8
T 9
D A T A
S ta r t B it
(3 )
(6 )
B it 0
P a r ity B it
(5 )
(5 )
T im in g P a r a m e te r
Rev. 1.40
1 1 th
C L K
S to p B it
(7 )
M in ./M a x .
T 7
C L K D u r a tio n , lo w
T 8
C L K D u r a tio n , h ig h
T 9
T im e fr o m lo w to h ig h C L K tr a n s itio n to tim e w h e n
M O U S E s a m p le s D A T A lin e
4
October 12, 2006
HT82M398A
Application Circuits
HT82M398A Z Axis Optomechanical (This Application Circuit is for Reference Only)
V
C C
0 .1 m F
IR
1 3 0 k W
IR
R
1
2
3
4
5
6
7
C L K
8
D A T A
Z 1
Y 2
Z 2
Y 1
V D D
X 2
B 5
X 1
V S S
B 4
O S C I
L B
C L K
R o
D A T A
R B
1 6
1 5
1 4
1 3
1 2
S 4
1 1
S 1
1 0
S 2
9
S 3
IR
R
H T 8 2 M 3 9 8 A
S 5
HT82M398A Z Axis Mechanical (This Application Circuit is for Reference Only)
V
C C
0 .1 m F
1 3 0 k W
IR
Z - a x is M e c h n ic a l
E n c o d e r
1
2
3
4
5
6
C L K
D A T A
S 5
8
7
Z 1
Y 2
Z 2
Y 1
V D D
X 2
B 5
X 1
V S S
B 4
O S C I
L B
C L K
R o
D A T A
R B
1 6
1 5
1 4
1 3
1 2
S 4
1 1
S 1
1 0
S 2
9
S 3
IR
R
H T 8 2 M 3 9 8 A
Note: R depends on IR characteristics, R=1kW for reference only
Rev. 1.40
5
October 12, 2006
HT82M398A
Package Information
16-pin DIP (300mil) Outline Dimensions
A
B
1 6
9
8
1
H
C
D
a
G
E
I
F
Symbol
A
Rev. 1.40
Dimensions in mil
Min.
Nom.
Max.
745
¾
775
B
240
¾
260
C
125
¾
135
D
125
¾
145
E
16
¾
20
70
F
50
¾
G
¾
100
¾
H
295
¾
315
I
335
¾
375
a
0°
¾
15°
6
October 12, 2006
HT82M398A
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 Ó 2006 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.40
7
October 12, 2006